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

Jul
26
asked How to check that image has valid size before `\includegraphics` is called?
Jul
26
revised Dimension too large. error from pdflatex when using \includegraphics
added
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?
Jul
26
revised Dimension too large. error from pdflatex when using \includegraphics
added another example
Jul
26
asked Dimension too large. error from pdflatex when using \includegraphics
Jul
24
accepted Can a command be defined to have key=value in it?
Jul
24
comment Can a command be defined to have key=value in it?
@cfr I do not know what "expansion" exactly mean in Latex world. Is it like Latex is trying to evaluate the command before it is applied to the \includegraphics part? something like this may be. I do not know, that is why I am asking.
Jul
24
asked Can a command be defined to have key=value in it?
Jul
23
comment Convert LaTeX to SymPy format
This is like 5 years project for 5 people to do right. You are basically asking for a compiler. Translating one language to another.
Jul
23
comment cnxml to LaTeX conversion
since the web site cnx.org says cnxml is "CNXML is a lightweight XML markup language for marking up educational content.", then may be XML to latex is what is needed? someone-knows-a-xml2tex-converter
Jul
23
comment how to define newcommand that takes []{} as arguments and not {}{}?
Note that you can probably just use humm... but this does not really work for me? I need new command in order to do the ifdefined\...\else...\fi logic in it. I am using your first method in your answer, and it is working well as it is. thanks again.
Jul
22
accepted how to define newcommand that takes []{} as arguments and not {}{}?
Jul
22
comment how to define newcommand that takes []{} as arguments and not {}{}?
great! thanks, works very well.
Jul
22
revised how to define newcommand that takes []{} as arguments and not {}{}?
added solution
Jul
22
asked how to define newcommand that takes []{} as arguments and not {}{}?
Jul
19
comment Converting ConTeXt document to HTML
when I compile the tex file using context foo.tex using TL 2015, I get this error tex error > error on line 41 in file f2.tex: ! Math error: parameter \Umathquad\displaystyle is not set I copied the same code as is that you have above and compiled it. Using TL 2015 on linux.
Jul
19
revised Getting specific row/column values from a csv file to use in text, figures or table cells
typos
Jul
19
revised Getting specific row/column values from a csv file to use in text, figures or table cells
added getCVS