Reputation
4,203
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
6 20 60
Impact
~180k people reached

Aug
18
comment Why does a \hrule need text around it to be drawn?
Thanks, I updated the question accordingly (why doesn't it leave automatically?).
Aug
4
comment How to correctly configure TeXnicCenter to open PDF files with the Microsoft Windows Reader app?
@JohnKormylo Correctly configured, Adobe Reader will automatically update the changed PDF without needing to be restarted or manual actions. This definitley works, I've been using this on several machines on Windows 7 and 8, since Adobe Reader 9 up to DC ("12"). Between major versions of Adobe Reader the needed DDE commands/server names changed, however, so one needs to adjust the configuration manually once after upgrading to a newer Adobe Reader major version. But I don't know the correct configuration for the Microsoft Windows Reader.
Jun
30
comment Double backslash or \cr in \newcommand to be used in a table
@DavidCarlisle Yes, you are right, should have looken more carefully to the logs. See my comment on the accepted answer what the actual problem was.
Jun
30
comment Double backslash or \cr in \newcommand to be used in a table
Thanks, The problem was not the \\ or \cr, but in my real world code I need more than 10 parameters and did not realize that only 9 are allowed... I found solutions there: tex.stackexchange.com/questions/2132/…
Jun
26
comment How to sequentially “feed” a LaTeX document from external data source?
@Alexey This was an option I also thought about. And it seems that it will be this or hardcoding LaTeX in the C source (or a mixture of both). The main reason for the original question was to find out if there's any LaTeX-own technology that one could use to make life easier. For example something like using \foreach \foo in KEYWORDS (where KEYWORDS gets replaced by C program), so that I can control the LaTeX source parameters from the C code, to make the "sequential" (sorry for this term) data input easier.
Jun
26
comment How to sequentially “feed” a LaTeX document from external data source?
The C program in my case does quite a lot and is not simple. It originated 20 years or so ago and is in a production environment since then. I can't throw it away or exchange it by something else, only change the part that does the output to the text file.
Jun
26
comment How to sequentially “feed” a LaTeX document from external data source?
@Alexey I have a termplate tex file, that has keywords in it. My C program does this: copy the template to a new name, subsitute the keywords with real data, and finally run pdflatex. The next time the C program runs, it does the same (copy template to working copy, replace Keywords with data, run pdflatex). Now, the problem is that some tables are not fixed-length, so I can not define 10 keywords, I need to define X keywords (variable). This is obviusoly not possible without using control structures somewhere in the LaTeX document.
Jun
26
comment How to sequentially “feed” a LaTeX document from external data source?
The LaTeX compiler will run after the "feeding" is finished in my case. I feed the .tex file sequentially and after this is done, I run pdflatex on the complete .tex file. The question is how to repeat / feed LaTeX commands without hardcoding them outside of the .tex file? I think about using (La)TeX own control mechanisms somehow (loops, if-else), I'm just not sure on how to do this efficiently.
Jun
26
comment How to sequentially “feed” a LaTeX document from external data source?
There is a very fundamental difference between (La)TeX and HTML: (La)TeX itself is a programming language, while HTML is not (HTML is a plain markup language). So, I can "assist" this wrapping process from within LaTeX with control structures (if-else), loops and so on. I could "feed" these programmatical parts also with keyword-subsitutions.
Jun
26
comment How to sequentially “feed” a LaTeX document from external data source?
@Alexey Currently the program produces space-separated raw text columns with a variable number of rows. I need to get this into LaTeX code without hardcoding LaTeX commands into my C program source. Updated question with a basic example.
Sep
14
comment Cleveref reference name depending on label instead of counter?
Thanks, this is the best solution, I think. :)
Aug
3
comment How to remove toc title in KOMAscript classes?
Thanks, this works. :)
Aug
3
comment How to remove toc title in KOMAscript classes?
There was, in the question the last line starting with "Note: ". ;) But I made it even more clear now. :)
Aug
3
comment How to remove toc title in KOMAscript classes?
This does still only "hide" the toc title, but does not "free" the vertical space it used.
Mar
8
comment Climographs (climate diagrams) with pgfplots
Thanks for the comments. 1) Yes, a linear scaledown at 100 by factor ten ("from 20 to 200 per tick"). 2) yes, correct. 3) Nice, thanks, will have a look at it. :)
Jun
24
comment How to plot a surface from a set of data?
I did choose the gnuplot method. Thank you. :)
Jun
23
comment Combined List of Figures and Tables?
Thank you, too, this works as well, so +1. I accepted @DavidCarlisle's answer however because it needs less code.
Jun
23
comment Combined List of Figures and Tables?
Thanks, this works now. :)
Jun
23
comment Combined List of Figures and Tables?
This gives me \caption outside float on all tables. And I assume it should mean \let\endtable\endfigure (instead of '\lettendtable\endfigure')?
Jun
23
comment Combined List of Figures and Tables?
@DavidCarlisle Ah, now I get what you are meaning with the numbering... Figures and Tables should be numbered in sequence. So, after the first picture "Figure 1.1" should come "Table 1.2" even if it's the first table. But I'd like to use both, table and figure environments, for semantical reasons.