Trouble with \placefloat in recent versions of the standalone
Dear all, With recent standalones (jan. 7, jan. 29 and march 2) I am experiencing trouble processing .tex-files that gave no problems in november (14-11). For instance, when processing with "ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english", the log file gives the following information: ------------------------------------------------------------------- ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\s'. system > tex > error on line 47 in file Chapter_4_S2MyBq-02-03-example.tex: LuaTeX error ... ------------------------------------------------------------------- and further on: ----------------------------------------------------------------- 45 \placeexample[here][ZarlConsCh38p188tot]{Zarlino\index[Zarlino]{Zarlino, Gioseffo}, Consonances ch.38, p.188} 46 {\startcombination[1*2] 47 >> {\externalfigure[ZarlConsCh38p188fa]}{facsimile} 48 {\externalfigure[ZarlConsCh38p188fi]}{transcription} 49 \stopcombination} ---------------------------------------- The processing stops at line 47. The log-file's last words are: "<inserted text> ...number \foundexternalfigure ; }" I have no clue as to what to do with that information. Just for the sake of completeness: In the setupfile "example" is defined: \definefloat[example][examples] \setupcaption[example][way=bychapter,prefix=yes,prefixsegments=chapter,location=top,number=yes,inbetween=\blank,bodyfont=10pt] \setuplabeltext[en][Example=Ex. ] As said, "ConTeXt ver: 2012.11.14 11:37 MKIV fmt: 2012.11.15 int: english/english" gives no problem at all. Also, \placetable[here][tab:ref]{caption}} does not seem to trigger problems in recent versions. Has something been changed in the commands for placing external figures since november? What would I have to change, either in the setup or in the commands for placing the example? Thanks in advance for any help. Best regards, Robert Blackstone
Hi Robert,
as you got no reply from the others, here’s what I can say:
1. Can you provide a complete, minimal non-working example that
relies only on the images in tex/context/sample/* ?
···
With recent standalones (jan. 7, jan. 29 and march 2) I am experiencing trouble processing .tex-files that gave no problems in november (14-11). For instance, when processing with "ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english", the log file gives the following information: ------------------------------------------------------------------- ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\s'.
2. Maybe your Luatex binary is not in sync with Context. The recently included Lua 5.2 is more rigorous with escape sequences than its predecessor: [12:04:48=>phg@phlegethon=> ~] lua5.1 -e 'print"\s"' s [12:04:51=>phg@phlegethon=> ~] lua -e 'print"\s"' lua: (command line):1: invalid escape sequence near '\s' (Where “lua” is the name of the 5.2 binary.) It is possible that some leftover files have been loaded when they shouldn’t. I would suggest (in this order) to (1) rebuild the format, (2) delete the directory “texmf-cache/” in your minimals base dir, and, if that all fails, (3) delete “texmf-context/” and re-run first-setup.sh. Regards Philipp
system > tex > error on line 47 in file Chapter_4_S2MyBq-02-03-example.tex: LuaTeX error ... -------------------------------------------------------------------
and further on: ----------------------------------------------------------------- 45 \placeexample[here][ZarlConsCh38p188tot]{Zarlino\index[Zarlino]{Zarlino, Gioseffo}, Consonances ch.38, p.188} 46 {\startcombination[1*2] 47 >> {\externalfigure[ZarlConsCh38p188fa]}{facsimile} 48 {\externalfigure[ZarlConsCh38p188fi]}{transcription} 49 \stopcombination} ---------------------------------------- The processing stops at line 47. The log-file's last words are: "<inserted text> ...number \foundexternalfigure ; }" I have no clue as to what to do with that information.
Just for the sake of completeness: In the setupfile "example" is defined: \definefloat[example][examples] \setupcaption[example][way=bychapter,prefix=yes,prefixsegments=chapter,location=top,number=yes,inbetween=\blank,bodyfont=10pt] \setuplabeltext[en][Example=Ex. ]
As said, "ConTeXt ver: 2012.11.14 11:37 MKIV fmt: 2012.11.15 int: english/english" gives no problem at all. Also, \placetable[here][tab:ref]{caption}} does not seem to trigger problems in recent versions.
Has something been changed in the commands for placing external figures since november? What would I have to change, either in the setup or in the commands for placing the example?
Thanks in advance for any help.
Best regards, Robert Blackstone
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
participants (2)
-
Philipp Gesang
-
Robert Blackstone