Reputation
932
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
7 26
Impact
~63k people reached

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?
Feb
14
comment Unwanted code present in file output
Great this seems to solve the problem. I was not aware of the @ convention. Thanks. The pdflastxpos code was removed for the MWE.
Feb
14
comment Unwanted code present in file output
@JosephWright Thanks, but your solution produces {1}{F} {\writeVerse }{F} in the output file. Please see question for clarification.
Dec
20
comment pdfsavepos coordinates remains zero
I see, thanks. I have adapted the solution from somewhere else and misunderstood the usage of immediate in this context.
Dec
14
comment How much text will end up on a page?
@DavidCarlisle I might be missing something, but I don't think the parallel actually syncs my texts properly.
Dec
14
comment How much text will end up on a page?
I've updated an explanation. Illustrating the issue, with a proposed solution based on your comment.
Dec
13
comment Syncing text on bilingual pages
I meant to say Peter Jansson, not Stephan Lehmke... oops.
Dec
13
comment Syncing text on bilingual pages
Even though Stephan Lehmke has a good solution below it looks like this answer fits my needs better, so I'll accept it instead of the other one.
Dec
12
comment Syncing text on bilingual pages
@jon Do you know of some good examples for ledpar/eledpar on the internet which I can examine?
Dec
12
comment Syncing text on bilingual pages
@jon It's handy to know about the pdfcolparallel. I'll try it out. Thanks. And once my original problem is solved I'll review some fonts to see if I might use a more suitable one...
Dec
11
comment Syncing text on bilingual pages
@jon Thanks Jon, I'll look into ledpar. Seems to me the newer one to use is eledpar. It does seem quite a mouthful to get started and I didn't see any examples in the manual.
Dec
11
comment Syncing text on bilingual pages
@mbork I understand your point, but even though Times New Roman is certainly not the most beautiful font, there are very few fonts that read as well as it does. Which is what one is aiming for in the Bible. I've used Cardo sometimes too, which is a bit prettier, but is not as complete as TNR.
Dec
11
comment Syncing text on bilingual pages
Excellent. Thanks.
Dec
10
comment Syncing text on bilingual pages
@StephanLehmke No I don't. I'll look it up. Thanks
Dec
10
comment Calculating the the exact width of the text and a lettrine
@egreg Thanks looks like the solution, but I'll have to try it out first. Must say that in general these LaTeX packages docs aren't the easiest to read and understand.
Dec
7
comment Calculating the the exact width of the text and a lettrine
Do you run it through XeLaTex? I will set this up as a new question tomorrow if it's not a quick fix. The MWE produces three pages of which I am referring to the last one.
Dec
7
comment Calculating the the exact width of the text and a lettrine
I'm not sure how. I'll post my edit of your solution as an answer to this question reduced as much as I can to an MWE.