From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66092 Path: news.gmane.org!not-for-mail From: "C." Newsgroups: gmane.comp.tex.context Subject: Re: \setupalign[hz,hanging] breaks verbatim text Date: Wed, 16 Feb 2011 21:11:02 +0100 Message-ID: <001201cbce15$a35346d0$e9f9d470$@gmx.de> References: <000001cbce01$c9e9c120$5dbd4360$@gmx.de> <4D5C1A28.2000604@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_01CBCE1E.0517AED0" X-Trace: dough.gmane.org 1297887116 8912 80.91.229.12 (16 Feb 2011 20:11:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2011 20:11:56 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 16 21:11:51 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ppnj4-0004uD-PC for gctc-ntg-context-518@m.gmane.org; Wed, 16 Feb 2011 21:11:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D053CA9FC; Wed, 16 Feb 2011 21:11:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kY+zeNwilZqF; Wed, 16 Feb 2011 21:11:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0B3E6CA9C7; Wed, 16 Feb 2011 21:11:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5C4DCA9C7 for ; Wed, 16 Feb 2011 21:11:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Wsrmwmwp3WGl for ; Wed, 16 Feb 2011 21:11:10 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 5CC7CC9A7C for ; Wed, 16 Feb 2011 21:11:10 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p1GJj8m5022180 for ; Wed, 16 Feb 2011 20:45:09 +0100 Original-Received: (qmail invoked by alias); 16 Feb 2011 20:11:08 -0000 Original-Received: from f053208078.adsl.alicedsl.de (EHLO christianPC) [78.53.208.78] by mail.gmx.net (mp043) with SMTP; 16 Feb 2011 21:11:08 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX1/lg2096zPlK7cAi1492TQzRD1NWojtQLIgmMMsP+ IAirjtuimyzGRe In-Reply-To: <4D5C1A28.2000604@wxs.nl> X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQC6+wBYYrrfNsGkJNxTUwEPKwxiJAHJjZhzlhfmFSA= Content-Language: de X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.23; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aE8HJ8BN - fd3f215c6875 - 20110216 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:66092 Archived-At: This is a multipart message in MIME format. ------=_NextPart_000_0013_01CBCE1E.0517AED0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I tried your code. Does not work. Again, when I comment the line with \setupalign it works. I was using Minion via simplefonts, but it seems modern fonts are also affected. I'working on Windows 7 32bit and updated Context Minimals before = testing. @Wolfgang: I included the options because ConTeXt was using the condensed-italic font instead of the italic font. That occurs only if = one has both variants installed. > -----Urspr=FCngliche Nachricht----- > Von: Hans Hagen [mailto:pragma@wxs.nl] > Gesendet: Mittwoch, 16. Februar 2011 19:41 > An: mailing list for ConTeXt users > Cc: C. > Betreff: Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim = text >=20 > 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 =3D "display", }} > > \dostoptagged > > \endofverbat... > > l.71 \stoptyping > > > > ! =3D=3D> Fatal error occurred, no output PDF file produced! > > mtx-context | fatal error: return code: 1 > > > > Here is the troublemaker: > > \starttyping > > test; > > =E4=FC=F6AR \test \Context > > \stoptyping > > > > Interestingly I was not able to produce a real minimal example, > > because when I remove everything except these lines, it=92s 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. >=20 > Can you figure out what font is involved? This works ok here. >=20 > = \definefontfeature[default][default][expansion=3Dquality,protrusion=3Dqua= lity] >=20 > \setupbodyfont[modern,12pt] >=20 > \setupalign[hz,hanging] >=20 > \starttext >=20 > Das Akronym ARMA (AutoRegressive-Moving Average) und die daran > angelehnten Kunstw=F6rter ARMAX und ARIMA bezeichnen lineare Modelle > f=FCr station=E4re, zeitdiskrete stochastische Prozesse. Sie werden = zur > Zeitreihenanalyse in der Messtechnik, in der Statistik und dort insbesondere > in der =D6konometrie eingesetzt. Kern ist ein lineares = Gleichungssystem. Man > kann solche Modelle auch als Differenzengleichungen bzw. > Differenzengleichungssysteme ansehen. >=20 > \starttyping > test; > =E4=FC=F6AR \test \Context > \stoptyping >=20 > \stoptext >=20 >=20 > ----------------------------------------------------------------- > 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 > ----------------------------------------------------------------- ------=_NextPart_000_0013_01CBCE1E.0517AED0 Content-Type: application/octet-stream; name="minimal.tex" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="minimal.tex" =EF=BB=BF\definefontfeature[default][default][expansion=3Dquality,protrus= ion=3Dquality] \setupbodyfont[modern,12pt] \setupalign[hz,hanging] \starttext Das Akronym ARMA (AutoRegressive-Moving Average) und die daran = angelehnten Kunstw=C3=B6rter ARMAX und ARIMA bezeichnen lineare Modelle = f=C3=BCr station=C3=A4re, zeitdiskrete stochastische Prozesse. Sie = werden zur Zeitreihenanalyse in der Messtechnik, in der Statistik und = dort insbesondere in der =C3=96konometrie eingesetzt. Kern ist ein = lineares Gleichungssystem. Man kann solche Modelle auch als = Differenzengleichungen bzw. Differenzengleichungssysteme ansehen. \starttyping test; =C3=A4=C3=BC=C3=B6AR \test \Context \stoptyping \stoptext ------=_NextPart_000_0013_01CBCE1E.0517AED0 Content-Type: application/octet-stream; name="minimal.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="minimal.log" (minimal.tex=0A= =0A= ConTeXt ver: 2011.02.16 19:30 MKIV fmt: 2011.2.16 int: english/english=0A= =0A= system > cont-new.mkiv loaded=0A= (C:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv=0A= system > beware: some patches loaded from cont-new.mkiv=0A= )=0A= system > minimal.top loaded=0A= system > options > begin of optionfile=0A= system > options >=0A= system > options > % runtime options files (command line driven)=0A= system > options > \unprotect=0A= system > options > % feedback and basic job control=0A= system > options > % handy for special styles=0A= system > options > \startluacode=0A= system > options > document =3D document or { }=0A= system > options > document.arguments=3D{=0A= system > options > }=0A= system > options > document.files=3D{=0A= system > options > "minimal.tex",=0A= system > options > }=0A= system > options > \stopluacode=0A= system > options > % process info=0A= system > options > \setupsystem[inputfile=3Dminimal.tex]=0A= system > options > \setupsystem[\c!n=3D1,\c!m=3D1]=0A= system > options > % modes=0A= system > options > % options (not that important)=0A= system > options > \startsetups *runtime:options=0A= system > options > \stopsetups=0A= system > options > % styles and modules=0A= system > options > \startsetups *runtime:modules=0A= system > options > \stopsetups=0A= system > options > % done=0A= system > options > \protect \endinput=0A= system > options >=0A= system > options > end of optionfile=0A= (minimal.top)=0A= fonts > latin modern fonts are not preloaded=0A= languages > language en is active=0A= (C:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) = (C:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv){C:/ConTeXt/= tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/ConTeXt/tex/texmf/fonts/map/= dvips/lm/lm-rm.map}{C:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context= /mkiv-base.map}=0A= system > begin file minimal.tex at line 7=0A= ! Emergency stop.=0A= =0A= system > tex > error on line 10 in file minimal.tex: Emergency = stop ...=0A= =0A= 1 = =EF=BB=BF\definefontfeature[default][default][expansion=3Dquality,protrus= ion=3Dquality]=0A= 2 =0A= 3 \setupbodyfont[modern,12pt]=0A= 4 =0A= 5 \setupalign[hz,hanging]=0A= 6 =0A= 7 \starttext=0A= 8 =0A= 9 Das Akronym ARMA (AutoRegressive-Moving Average) und die daran = angelehnten Kunstw=C3=B6rter ARMAX und ARIMA bezeichnen lineare Modelle = f=C3=BCr station=C3=A4re, zeitdiskrete stochastische Prozesse. Sie = werden zur Zeitreihenanalyse in der Messtechnik, in der Statistik und = dort insbesondere in der =C3=96konometrie eingesetzt. Kern ist ein = lineares Gleichungssystem. Man kann solche Modelle auch als = Differenzengleichungen bzw. Differenzengleichungssysteme ansehen.=0A= 10 >> =0A= 11 \starttyping=0A= 12 test;=0A= 13 =C3=A4=C3=BC=C3=B6AR \test \Context=0A= 14 \stoptyping=0A= 15 =0A= 16 \stoptext=0A= 17 =0A= =0A= =0A= \obeyedline ->\par =0A= =0A= \doverbatimendofline ->\dostoptagged \obeyedline =0A= \par \ifconditional = \verbat...=0A= l.10 \dodisplayverbatimstop=0A= =0A= \ctxcommand ...\directlua \zerocount {commands.#1}=0A= =0A= \dodotypeblockverbatim ..., nature =3D "display", }}=0A= \dostoptagged = \endofverbat...=0A= l.14 \stoptyping=0A= =0A= access violation=0A= =0A= ! =3D=3D> Fatal error occurred, no output PDF file produced!=0A= ------=_NextPart_000_0013_01CBCE1E.0517AED0 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ------=_NextPart_000_0013_01CBCE1E.0517AED0--