Reputation
880
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
7 24
Newest
 Yearling
Impact
~55k people reached

Dec
4
comment How can I execute some code at each occurence of an EOL character in a listing?
+1 for teaching us new words: infructuous - which is not even in my iMac's dictionary...
Sep
4
comment Making polyglossia and zref-savepos or pdfsavepos work together
Thanks I've figured out the pattern of it now and what's happening.
Sep
4
comment Making polyglossia and zref-savepos or pdfsavepos work together
Thanks I've figured out the pattern of it now and what's happening.
Sep
4
comment Making polyglossia and zref-savepos or pdfsavepos work together
@UlrikeFischer I'm not sure I understand your reference to \label/\ref but each y-pos "42747166" gets associated to a unique ID "40001001", but if they get "swapped around" then it is of no use when I parse them on the next run.
Sep
4
comment Making polyglossia and zref-savepos or pdfsavepos work together
@UlrikeFischer It is a bit strange though that it is messing about with the first set of numbers while leaving the actual y-pos values in their correct place. Is there a way of easily rectifying this? Otherwise I'll have to externally split the two sets then sort the values and then put them back together again, I guess.
Sep
4
comment Making polyglossia and zref-savepos or pdfsavepos work together
It is a bit strange though that it is messing about with the first set of numbers while leaving the actual y-pos values in their correct place. Is there a way of easily rectifying this? Otherwise I'll have to externally split the two sets then sort the values and then put them back together again, I guess.
Sep
4
comment Making polyglossia and zref-savepos or pdfsavepos work together
@UlrikeFischer I really needed to understand whether this order would stay consistent, I guess. Because then I can take it into account when I develop my parser bit of the code.
Aug
19
comment Insert custom space into document
The solution where this will be implemented will be run in XeLaTeX.
Aug
12
comment What professions use TeX/LaTeX besides CS?
@Dan If you can find a way to send me your contact details then we can discuss it.
Aug
12
comment What professions use TeX/LaTeX besides CS?
@Dan If you publish Bibles on a not-for-profit basis, I might be able to be of some help. But if you need it for commercial publishing of Bibles we're working on a typesetting system for automation of Bible publishing which 'could' be licensed to customers in the future.
Jul
26
comment How to switch between horizontal and vertical modes?
@egreg That answers the question. Thanks
Jul
26
comment How to switch between horizontal and vertical modes?
@egreg If I do the \ifvmode it ends up skipping the code which is supposed to typeset some numbers properly vertically spaced.
Jul
24
comment Wildcard character use in TeXWorks find
Good stuff. It works as expected.
Mar
27
comment Color gradient as background in margins
Pardon me, but the following quote just seemed appropriate. "...I have discovered a truly marvelous demonstration of this proposition that this margin is too narrow to contain." - Fermat :)
Mar
4
comment Execute command stored in aux file
Could the problem of it not executing be related to the fact that according to the TeXbook p. 217 it reads it into a control sequence "and the control sequence is defined to be a parameterless macro..."? Whatever that might entail.
Mar
4
comment Execute command stored in aux file
I understand, but I want to read from the first file then write to a second file on the same run.
Mar
4
comment Execute command stored in aux file
Ok, Thanks. I've given a small clarification in the OP for what it's worth. The main issue at present is reading a command from an aux file and executing it on the same run.
Mar
4
comment Execute command stored in aux file
Thanks but the \fromFile is really a replacement for writing out \writeVerse{A}{1}{F} etc. each time since due to other factors beyond the scope of the MWE the parameters will change for \writeVerse. So in reality you would not see \writeVerse{A}{1}{F} in there at all except in the aux files. This script gets called by an external OS script and might have to be run even up to a 1000 times before the layout would be satisfactory. But that's handled by the external script. This TeX file just need to be able to read an executable command from the first aux file and write to the second.
Mar
4
comment Execute command stored in aux file
@egreg Did you mean the input file? I've created the input file by some other means (manually in this case), that's why I've given the contents thereof separately. The output file gets created by the tex script. Both exists with contents after the xelatex run, although the output is shorting the first two lines, due to the write command not executing.
Mar
4
comment Execute command stored in aux file
@egreg Thanks, but I thought I circumvented that issue by using two files. A \jobname.yposIN.txt and a \jobname.yposOUT.txt. Did I miss something there?