Reputation
4,348
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
10 29
Impact
~76k people reached

Aug
2
comment texfot hangs when used with tex4ht but does not hang with pdflatex
@michal.h21 the full mk4 I am using is from the link to your post. This is your file :) I just removed the part that I did not think was needed to make it small. But I just put the full main.mk4 in the question. the cfg is not needed so I kept it out to keep things simple.
Aug
2
comment texfot hangs when used with tex4ht but does not hang with pdflatex
@michal.h21 the mk4 file I show above is small version of the main one I have which is much larger. I did not think the full mk4 is needed. But I can put the main one I am using now. But it does not make any difference. It still hangs. Also the cfg is not really needed to show the problem. I tried to keep things simple, just to show the hang.
Aug
1
comment texfot hangs when used with tex4ht but does not hang with pdflatex
@cfr as I mentioned in my post, I tried many options. And yes, it hangs without --tee /dev/null . I do not know how to make a MWE since it hangs only when the file is large. i.e. has lots of math content. For small files, it does not hang. Please do not bother with this if the file size is too large for your system. I wish I could figure how to make a MWE.
Aug
1
comment why lualatex gives erorr “Too many open files” but pdflatex does not on same latex file?
@MartinSchröder I just did. But it did not work I am afraid. On Linux mint 7.2. I still get the same exact error as before.
Aug
1
comment Sum of finite series using LaTeX 3
But you can do the above and much much more and more easily as well, using a computer algebra system, then export the results to Latex at the end.
Aug
1
comment why lualatex gives erorr “Too many open files” but pdflatex does not on same latex file?
@PaulGaborit Linux mint 7.2 does not have this command: >unlimit descriptors unlimit: command not found but I thought file handlers limits is fixed in the system to something like 1024 if I remember and can't be changed by the program. But I could be wrong.
Jul
29
comment why is adding `breqn` package breaks `etoolbox` command?
thanks. Initial test shows it works but generates what seems to be harmless error from lualatex but no such message from pdflatex. When I compiled using lualatex -shell-esc foo.tex I see message: (/usr/local/texlive/2015/texmf-dist/tex/generic/oberdiek/ifluatex.sty))) (./foo2.aux)id: invalid option -- '.' Try 'id --help' for more information. but when I look at the pdf file, I see the group id there ! I need to test this more on my main file which does something more complicated. thanks
Jul
29
comment how to use output of bashful splice to assign it to a Latex counter?
@DavidCarlisle Ok, thanks. I am switching to egrep \shellcommand which works! but it has problem when I use breqn package, which I must use. I posted separate question on that. Latex is so hard.
Jul
29
comment how to use output of bashful splice to assign it to a Latex counter?
@DavidCarlisle that was just an example. I am using the bash command to obtain different information. But using id -g for illustrations.
Jul
29
comment why is adding `breqn` package breaks `etoolbox` command?
@Bort I do not undertand. The command works fine when breq package is not included. This is a standard linux command: id -g gives me 1000. The error in the command was due to using the breq package.
Jul
29
comment How to use bashful package from inside etoolbox list processing?
thanks, did not know about the \@@input, looks very useful.
Jul
29
comment Suggest a “nice” font family for my basic LaTeX template (text and math)
I am switching all my files to use kpfonts. Very nice font!
Jul
27
comment How to check that image has valid size before `\includegraphics` is called?
I thought it will go over multiple pages, and I just needed to check. I had no idea how it will work with such large image. pdflatex said pdfTeX warning: pdflatex (file ./image.pdf): PDF inclusion: multiple pdfs with page group included in a single page so this is OK. I wanted it to fit on one page. thanks.
Jul
27
comment How to check that image has valid size before `\includegraphics` is called?
I just tried your solution and the image does show on only ONE page, which is great! that is what I want.
Jul
27
comment How to check that image has valid size before `\includegraphics` is called?
Thanks. There are few images out of over 55,000 images that have this problem. Most are small and cause no problem. Also pdf allows zooming so one can zoom to see the image if needed. The point is not to break the compilation each time new images are generated. So your solutions allows me to compile the pdf and not have to worry about breaking the build. But I would need it to fit to one page as before, even if it become too smal to see. But will try and see.
Jul
26
comment Dimension too large. error from pdflatex when using \includegraphics
The issue not for latex to "correct" anything. The issue is to provide the means for the user to check if they want to load the image or not. This is called defensive programming. I should be able to write a Latex document that handle any size images by adding checks. If the image is too large, I will not load it. Now my Latex document is robust and will compile all the time. I can replace the image by a message saying image too large to include. Any way, I opened new question on this topic so this discussion may be belong to there.
Jul
26
comment Dimension too large. error from pdflatex when using \includegraphics
These are Mathematica graphics, exported to pdf using Mathematica Export. From design point of view, it is better to have the program trying to load the pdf to check if it can do it not, than trying to figure how to make Mathematica only export pdf files that Latex can load. May be later I want to use these pdf files by another program than can read them? Also it is hard to map Mathematica graphics sizes to what will show up as in pdf after export.
Jul
26
comment Dimension too large. error from pdflatex when using \includegraphics
This is all automated. I need a way in Latex to check if the image can be loaded correctly before issuing the includegraphics command so that my build does not fail in the middle. I can't open each image manually and check its size one by one.
Jul
26
comment Dimension too large. error from pdflatex when using \includegraphics
Thanks. Is there a way to check for this in Latex before loading the image? I have thousands of such images, generated automatically and I do not know what size they will come out as. I need a way to check then if the image is too large and not include, else the build will fail. Most the images are small, but few, due to the computation, can show up this large.
Jul
26
comment Dimension too large. error from pdflatex when using \includegraphics
@ChristianHupfer I have thousands of such pdf image files created by Mathematica. I use Mathematica Export command. Few of them are too large and give such error. The question here is., why pdflatex gives an error? Is there a limit somewhere in pdf that one should know about?