\setupalign[hz,hanging] breaks verbatim text
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, its 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.
Am 16.02.2011 um 18:48 schrieb C.:
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:
Can you test it with the latest beta, your example runs fine here. BTW: Doesn’t \setmainfont[Minion Pro][expansion=quality,protrusion=quality] work you? Wolfgang
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 -----------------------------------------------------------------
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üngliche 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
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, its 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 -----------------------------------------------------------------
On 16-2-2011 9:11, C. wrote:
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.
what version do you run ----------------------------------------------------------------- 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 -----------------------------------------------------------------
C:\ConTeXt\tex>context --version mtx-context | main context file: C:/ConTeXt/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.02.16 19:30
-----Ursprüngliche Nachricht----- Von: Hans Hagen [mailto:pragma@wxs.nl] Gesendet: Donnerstag, 17. Februar 2011 00:00 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] \setupalign[hz,hanging] breaks verbatim text
On 16-2-2011 9:11, C. wrote:
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.
what version do you run
----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 17-2-2011 2:16, C. wrote:
C:\ConTeXt\tex>context --version mtx-context | main context file: C:/ConTeXt/tex/texmf-context/tex/context/base/context.mkiv mtx-context | current version: 2011.02.16 19:30
that's new enough so you need to come up with an example that does fails at wolgangs end as well as mine 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 -----------------------------------------------------------------
participants (3)
-
C.
-
Hans Hagen
-
Wolfgang Schuster