[NTG-context] Example from FAQ not working

P. Hanák hanak at wpb.cz
Wed Feb 6 15:04:34 CET 2013


now I noticed that I can even use some non-existing alignment:

   Today, automated typesetting is quite popular, which is partly due to the fact that
   document coding standards have evolved, in particular XML. For instance, when you
   navigate the internet, a typesetting engine is at work to render the pages. When you
   ask for a print preview, you often get a different rendering. So, one document source
   can result in different views.
   The vehicle that we use for automated typesetting of books is called CONTEXT. This
   system is based on the well known typesetting engine and language TEX and the
   graphic programming environment METAPOST.

This example is processed without errors although there is no definition
of the alignment "nonexisting". Is it not strange?


   > Hi,
   > I tried this example from Context FAQ but without success:
   > \installalign
   >   {block}
   >   {\parfillskip=\hsize
   >    \advance\parfillskip by -1.5\parindent
   >    \advance\parfillskip by 0pt minus \parfillskip
   >    \advance\parfillskip by 0pt minus -1em}
   > % followed by
   > \setupalign[block]
   > I expected no last line will be shorter than the paragraph indenting,
   > but it didn't work.
   > If I used the plainTeX commands directly (without trying to install and
   > use the new alignment) everything worked as expected:
   > \parfillskip=\hsize
   > \advance\parfillskip by -1.5\parindent
   > \advance\parfillskip by 0pt minus \parfillskip
   > \advance\parfillskip by 0pt minus -1em
   > Has anybody the explanation for this?
   > My luatex version is beta-0.74.0-2012122510 (TeX Live 2013/dev)(rev 4541).
   > Best regards
   > Pavel

More information about the ntg-context mailing list