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] problem with initialize_box in mkIV

2013-03-06 Thread Hans Hagen

On 3/5/2013 11:21 AM, Alexandre Gerussi wrote:

Hi there,

i'm having problems with metapost and positional graphics in mkIV.
Here is a small test file that compiles OK with texexec but fails to
compile with context:

% the beginning
  \defineoverlay[frames][\positionoverlay{frames}]
\setupbackgrounds[page][background=frames]

\startMPpositiongraphic{frame}
   initialize_box(\MPpos{\MPvar{self}});
   draw llxy--lrxy--urxy--ulxy--cycle;
\stopMPpositiongraphic

\startpositionoverlay{frames}
   \setMPpositiongraphic{one}{frame}
   \setMPpositiongraphic{two}{frame}
\stoppositionoverlay

\starttext
This \hpos{one}{word} should be \hpos{two}{framed}.
\stoptext
% the end

My system is a Debian Testing, but I don't believe that it is related to
the distribution, as this example also fails
in the context online compiler @ http://live.contextgarden.net/

The problem seems located around the initialize_box macro.


The whole positioning mechanism has been overhauled last year (columns, 
regions, floats, the whole lot should be able to deal with it).


\defineoverlay[frames][\positionoverlay{frames}]
\setupbackgrounds[text][background=frames]

\startMPpositiongraphic{frame}
if unknown context_apos : input mp-apos.mpiv ; fi ;
\MPgetposboxes{\MPvar{self}}{\MPanchorid}
if nofposboxes = 1 :
draw posboxes[1] ;
fi ;
\stopMPpositiongraphic

\startpositionoverlay{frames}
\setMPpositiongraphic{one}{frame}
\setMPpositiongraphic{two}{frame}
\stoppositionoverlay

\starttext
This \hpos{one}{word} should be \hpos{two}{framed}.
\stoptext

At some point the mp modules will be preloaded. Watch the used layer: 
text instead of page. At the end of anch-bck.mkiv you can find some more.


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] Bibliography fails in latest beta

2013-03-06 Thread Marco Patzer
On 2013–03–06 Hans Hagen wrote:

 i get in the pdf:
 
 [1]
 Hagen, H. (2010b). The font name mess. MAPS, 40, 2-8.

I updated the distribution and now it works fine. Either it's fixed
now or it was never broken and I messed something up yesterday.

Sorry for the noise.

Marco


signature.asc
Description: Digital 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
___