4,354 reputation
3931
bio website
location
age
visits member for 2 years, 11 months
seen 2 days ago

Jul
16
comment What does “LuaTeX error cannot read stdin: Bad file descriptor.” mean?
No, LuaLaTeX is not looking for fonts on the internet. Instead it looks in its internal database that is created in MikTeX by the tool mkluatexfontdb (which should have run automatically at some point). The tool searches in the local TeX folders and also in your Windows font folder.
Jul
16
comment Including LaTeX documentation as comments in source code
Yes, doxygen tries to stick to the documentation style of the source language and while it is LaTeX-aware it seems not to support LaTeX input so easily. Without going the literate programming way, i.e. from LaTeX to C maybe this package is helpful: documentation
Jul
16
comment Including LaTeX documentation as comments in source code
I think this is a good idea. I would not roll my own solution though. Have you had a look at Doxygen? It claims to be able to generate LaTeX code from the documentation in the source files.
Jul
15
comment Calling pdflatex inside C code
It is rather strange that it should work from the command line but not from a C program. I would try it with a fixed and minimal example tex-document. If that still fails something else is wrong, maybe an open file reference?
Jul
15
comment How to generate an AFP document by using LaTeX compiler?
I do not think (pdf)LaTeX can directly output to AFP. There are PDF to AFP converters available (e.g. compart, commercial or IBM Infoprint), so that would be an option.
Jul
14
comment Margin in output document generated by asymptote
You can also use the trim feature of the when you include your pdf graphic if pdfcrop fails: \includegraphics[trim = 10mm 10mm 10mm 10mm]{picture.pdf} where the dimensions are for left, bottom, right and top.
Jul
13
awarded  Custodian
Jul
13
reviewed Close Separation between last and secondlast item in citet with authoryear style?
Jul
13
comment Adding dimensions to TikZ pictures
This is really nice, if this continues further we will replace 2D CAD with TikZ.
Jul
13
comment Creating plots in Latex - easy to learn?
The mathematical functions available in pgfplots can not compete with Mathematica. That is not the point though, I export all complicated data to ascii files and use pgfplots to create the plots. Just try it out for an afternoon or so, it is not that complicated and the manual is great.
Jul
11
comment Setting variables in LuaTeX texconfig?
Thank you for this insight. I hoped that one could just disable the output without further side-effects. Do you know what the purpose of the flag trace_file_names is if using it means replacing a whole library?
Jul
11
revised Setting variables in LuaTeX texconfig?
added example
Jul
10
comment Tips for choosing hardware for best LaTeX compile performance
I thought IO should also have quite a bit of influence so I just benchmarked (fast) HD vs. SSD. Given enough RAM the differences under Windows 7 are within a few percent, much less than I thought. It seems that pretty much everything is cached, so yes indeed, CPU power it is. Fortunately TikZ supports multiple cores via the external library so that they can also contribute.
Jul
9
revised Setting variables in LuaTeX texconfig?
deleted 6 characters in body
Jul
9
comment How to practice LaTeX?
@AndrewD.Hwang: That is really unfortunate. Who really enjoys reading the HTML version? I understand that a PDF without reflow is not the solution for every case but to actually disapprove of it seems silly. You can still put it on your personal homepage though.
Jul
9
asked Setting variables in LuaTeX texconfig?
Jul
9
awarded  Nice Answer
Jul
7
accepted Patchplots not working recently?
Jul
6
accepted Included image messes up pdf but why?
Jul
6
comment Included image messes up pdf but why?
Thanks a lot for this investigation Christian! I can confirm that after replacing the offending line the image is restored. I will try with a search and replace script until the lualatex team fixes this bug (pdfcompresslevel unfortunately did not change the wrong decode parameter).