ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "C." <metan0r@gmx.de>
To: "Context-Mailinglist" <ntg-context@ntg.nl>
Subject: \setupalign[hz,hanging] breaks verbatim text
Date: Wed, 16 Feb 2011 18:48:57 +0100	[thread overview]
Message-ID: <000001cbce01$c9e9c120$5dbd4360$@gmx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]

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.

[-- Attachment #2: minimal.tex --]
[-- Type: application/octet-stream, Size: 767 bytes --]


\usemodule[simplefonts]
\setmainfont[Minion Pro][boldfont=minionprobold, italicfont=minionproit, bolditalicfont=minionproboldit, expansion=quality, protrusion=quality]
\setupalign[hz,hanging]  % comment this line, and it works
\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

[-- Attachment #3: Type: text/plain, Size: 486 bytes --]

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

             reply	other threads:[~2011-02-16 17:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 17:48 C. [this message]
2011-02-16 17:56 ` Wolfgang Schuster
2011-02-16 18:40 ` Hans Hagen
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='000001cbce01$c9e9c120$5dbd4360$@gmx.de' \
    --to=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).