ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "C." <metan0r@gmx.de>
Subject: Re: \setupalign[hz,hanging] breaks verbatim text
Date: Wed, 16 Feb 2011 19:40:40 +0100	[thread overview]
Message-ID: <4D5C1A28.2000604@wxs.nl> (raw)
In-Reply-To: <000001cbce01$c9e9c120$5dbd4360$@gmx.de>

On 16-2-2011 6:48, C. wrote:
> I have a strange problem in one of my documents.
> When I uncomment the line with \setupalign[hz,hanging] everything works
> fine. When I use it, I get this error because of a verbatim typing segment:
>
> \obeyedline ->\par
>
> \doverbatimendofline ->\dostoptagged \obeyedline
>                                                   \par \ifconditional
> \verbat...
> l.10 \dodisplayverbatimstop
>
> \ctxcommand ...\directlua \zerocount {commands.#1}
>
> \dodotypeblockverbatim ..., nature = "display", }}
>                                                    \dostoptagged
> \endofverbat...
> l.71 \stoptyping
>
> !  ==>  Fatal error occurred, no output PDF file produced!
> mtx-context     | fatal error: return code: 1
>
> Here is the troublemaker:
> \starttyping
> test;
> äüöAR \test \Context
> \stoptyping
>
> Interestingly I was not able to produce a real minimal example, because when
> I remove everything except these lines, it’s working fine again. So there
> has to be at least some lines of text to break stuff. Oh yeah, and it seems
> that using simplefonts and Minion also plays a role.
> Can somebody have a look at this, please? The attached file like it is does
> not compile here.

Can you figure out what font is involved? This works ok here.

\definefontfeature[default][default][expansion=quality,protrusion=quality]

\setupbodyfont[modern,12pt]

\setupalign[hz,hanging]

\starttext

Das Akronym ARMA (AutoRegressive-Moving Average) und die daran angelehnten
Kunstwörter ARMAX und ARIMA bezeichnen lineare Modelle für stationäre,
zeitdiskrete stochastische Prozesse. Sie werden zur Zeitreihenanalyse in der
Messtechnik, in der Statistik und dort insbesondere in der Ökonometrie 
eingesetzt. Kern
ist ein lineares Gleichungssystem. Man kann solche Modelle auch als
Differenzengleichungen bzw. Differenzengleichungssysteme ansehen.

\starttyping
test;
äüöAR \test \Context
\stoptyping

\stoptext


-----------------------------------------------------------------
                                           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
___________________________________________________________________________________


  parent reply	other threads:[~2011-02-16 18:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 17:48 C.
2011-02-16 17:56 ` Wolfgang Schuster
2011-02-16 18:40 ` Hans Hagen [this message]
2011-02-16 20:11   ` C.
2011-02-16 23:00     ` Hans Hagen
2011-02-17 13:16       ` C.
2011-02-17 16:25         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5C1A28.2000604@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=metan0r@gmx.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).