Re: [NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-06 Thread Hans Hagen

On 3/6/2013 8:51 AM, Robert Blackstone wrote:


On 5 Mar 2013, at 19:18 , philipp.ges...@alumni.uni-heidelberg.de
mailto:philipp.ges...@alumni.uni-heidelberg.de wrote:


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/* ?


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:


Hi Philipp,
Thanks for your reply.
I have as yet not succeeded in making a non-working minimal example. So
far they all ran smoothly with each of my whole collection of minimals,
including the latest (= yesterday's) beta.
So I will have to look in some of the auxiliary files, setups etc. for
the cause of my trouble.
The fact remains that the present ConTeXt mkiv is different from that of
november and before in a way that is crucial for my project.


if you see something \s or \x or whatever show up in some lua error you 
probably pass a \macroname in a string argument, so if you can figure 
out where that happens


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-05 Thread Philipp Gesang
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/* ?

···date: 2013-03-03, Sunday···from: Robert Blackstone···

 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


pgp760Wbwko1R.pgp
Description: PGP signature
___
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
___

Re: [NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-05 Thread Robert Blackstone

On 5 Mar 2013, at 19:18 , philipp.ges...@alumni.uni-heidelberg.de wrote:

 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/* ?
 
 
 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:

Hi Philipp,
Thanks for your reply. 
I have as yet not succeeded in making a non-working minimal example. So far 
they all ran smoothly with each of my whole collection of minimals, including 
the latest (= yesterday's) beta. 
So I will have to look in some of the auxiliary files, setups etc. for the 
cause of my trouble. 
The fact remains that the present ConTeXt mkiv is different from that of 
november and before in a way that is crucial for my project. 

Thanks again. 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
___

[NTG-context] Trouble with \placefloat in recent versions of the standalone

2013-03-03 Thread Robert Blackstone
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___
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
___