ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with XML entities in titles
@ 2007-08-15  7:35 Richard Gabriel
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Gabriel @ 2007-08-15  7:35 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]

Hello Hans, 

I'd like to report a problem (bug) with XML entities in chapter or section titles.
I've just upgraded to the recent ConTeXt version (2007.08.09) and started to get errors while processing the .tuo file.

Please test the attached minimal example.
During the second TeX run, I get the following error:

--- cut ---
(./test.tuo
! Misplaced alignment tab character &.
<argument> This is a&nbsp;testing chapter
\listtextcommand #1->\begstrut #1 \endstrut
\doattributes ...sname #1#2\@EA \endcsname \fi {#4}\dostopattributes
<argument> ...ry {This is a&nbsp;testing chapter}}
                                                  \egroup \ifdim \wd 4=\zero...
\secondoftwoarguments #1#2->#2
\dosomelistelement ...hss \dostoplistattributes }}
                                                  \endgraf \nointerlineskip ...
...
l.29 ...p;testing chapter}{2--0-1-0-0-0-0-0--2}{2}
--- cut ---

(find the complete log in attachment)

Till today, I have been using ConTeXt version 2007.04.17 and it had worked fine!

Thanks,
Richard

[-- Attachment #1.2: Type: text/html, Size: 1904 bytes --]

[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 563 bytes --]

[-- Attachment #3: test.log --]
[-- Type: application/octet-stream, Size: 4590 bytes --]

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2007.8.13)  13 AUG 2007 11:25
entering extended mode
 %&-line parsing enabled.
 (c:/WinApp/TeXLive/texmf/web2c/natural.tcx)
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2007.08.09 13:04 MKII  fmt: 2007.8.13  int: english/english

language        : language en is active
system          : cont-new loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-new.mkii)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/user/cont-sys.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-tmf.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-siz.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-one.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-akb.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/kerio/type-luc.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-buy.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout3 = `test.tui'.

system          : test.top loaded
(./test.top
specials        : loading definition file tpd
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems         : system commands are disabled
specials        : loading definition file tpd
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/sort-lan.mkii)) (./test.tuo)
(./test.tuo) (c:/WinApp/TeXLive/texmf-dist/tex/context/base/pdfr-def.tex)
systems         : begin file test at line 13
title           : - \headtext {content}
(./test.tuo
! Misplaced alignment tab character &.
<argument> This is a&
                     nbsp;testing chapter
\listtextcommand #1->\begstrut #1
                                 \endstrut 
\doattributes ...sname #1#2\@EA \endcsname \fi {#4
                                                  }\dostopattributes 
<argument> ...ry {This is a&nbsp;testing chapter}}
                                                  \egroup \ifdim \wd 4=\zero...

\secondoftwoarguments #1#2->#2
                              
\dosomelistelement ...hss \dostoplistattributes }}
                                                  \endgraf \nointerlineskip ...
...
l.29 ...p;testing chapter}{2--0-1-0-0-0-0-0--2}{2}
                                                  
? x
 
Here is how much of TeX's memory you used:
 1099 strings out of 55992
 18466 string characters out of 511491
 4730149 words of memory out of 5635688
 42169 multiletter control sequences out of 10000+50000
 86099 words of font info for 38 fonts, out of 1000000 for 2000
 192 hyphenation exceptions out of 8191
 36i,5n,43p,254b,557s stack positions out of 5000i,500n,6000p,200000b,50000s
No pages of output.
PDF statistics:
 0 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


[-- Attachment #4: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Problem with XML entities in titles
@ 2007-08-13  9:30 Richard Gabriel
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Gabriel @ 2007-08-13  9:30 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]

Hello Hans, 

I'd like to report a problem (bug) with XML entities in chapter or section titles.
I've just upgraded to the recent ConTeXt version (2007.08.09) and started to get errors while processing the .tuo file.

Please test the attached minimal example.
During the second TeX run, I get the following error:

--- cut ---
(./test.tuo
! Misplaced alignment tab character &.
<argument> This is a&nbsp;testing chapter
\listtextcommand #1->\begstrut #1 \endstrut
\doattributes ...sname #1#2\@EA \endcsname \fi {#4}\dostopattributes
<argument> ...ry {This is a&nbsp;testing chapter}}
                                                  \egroup \ifdim \wd 4=\zero...
\secondoftwoarguments #1#2->#2
\dosomelistelement ...hss \dostoplistattributes }}
                                                  \endgraf \nointerlineskip ...
...
l.29 ...p;testing chapter}{2--0-1-0-0-0-0-0--2}{2}
--- cut ---

(find the complete log in attachment)

Till today, I have been using ConTeXt version 2007.04.17 and it had worked fine!

Thanks,
Richard

[-- Attachment #1.2: Type: text/html, Size: 1896 bytes --]

[-- Attachment #2: test.tex --]
[-- Type: application/x-tex, Size: 563 bytes --]

[-- Attachment #3: test.log --]
[-- Type: application/octet-stream, Size: 4590 bytes --]

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2007.8.13)  13 AUG 2007 11:25
entering extended mode
 %&-line parsing enabled.
 (c:/WinApp/TeXLive/texmf/web2c/natural.tcx)
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2007.08.09 13:04 MKII  fmt: 2007.8.13  int: english/english

language        : language en is active
system          : cont-new loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-new.mkii)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-mtx.tex))
system          : cont-old loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(c:/WinApp/TeXLive/texmf-dist/tex/context/user/cont-sys.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-tmf.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-siz.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-one.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-akb.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/kerio/type-luc.tex)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/type-buy.tex))
bodyfont        : 12pt rm is loaded
language        : patterns en->ec:ec->1->2:3 uk->ec:ec->2->2:3 de->texnansi:tex
nansi->3->2:3 de->ec:ec->4->2:3 fr->texnansi:texnansi->5->2:3 fr->ec:ec->6->2:3
 es->ec:ec->7->2:3 pt->texnansi:texnansi->8->2:3 pt->ec:ec->9->2:3 it->texnansi
:texnansi->10->2:3 it->ec:ec->11->2:3 nl->texnansi:texnansi->12->2:3 nl->ec:ec-
>13->2:3 cz->il2:il2->14->2:3 cz->ec:ec->15->2:3 sk->il2:il2->16->2:3 sk->ec:ec
->17->2:3 pl->pl0:pl0->18->2:3 pl->ec:ec->19->2:3 pl->qx:qx->20->2:3 loaded
specials        : tex,postscript,rokicki loaded
\openout3 = `test.tui'.

system          : test.top loaded
(./test.top
specials        : loading definition file tpd
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems         : system commands are disabled
specials        : loading definition file tpd
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.tex
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/spec-fdf.mkii))
specials        : fdf loaded
)
specials        : fdf,tpd loaded
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/sort-lan.tex
loading         : Context Sorting Macros (languages)
(c:/WinApp/TeXLive/texmf-dist/tex/context/base/sort-lan.mkii)) (./test.tuo)
(./test.tuo) (c:/WinApp/TeXLive/texmf-dist/tex/context/base/pdfr-def.tex)
systems         : begin file test at line 13
title           : - \headtext {content}
(./test.tuo
! Misplaced alignment tab character &.
<argument> This is a&
                     nbsp;testing chapter
\listtextcommand #1->\begstrut #1
                                 \endstrut 
\doattributes ...sname #1#2\@EA \endcsname \fi {#4
                                                  }\dostopattributes 
<argument> ...ry {This is a&nbsp;testing chapter}}
                                                  \egroup \ifdim \wd 4=\zero...

\secondoftwoarguments #1#2->#2
                              
\dosomelistelement ...hss \dostoplistattributes }}
                                                  \endgraf \nointerlineskip ...
...
l.29 ...p;testing chapter}{2--0-1-0-0-0-0-0--2}{2}
                                                  
? x
 
Here is how much of TeX's memory you used:
 1099 strings out of 55992
 18466 string characters out of 511491
 4730149 words of memory out of 5635688
 42169 multiletter control sequences out of 10000+50000
 86099 words of font info for 38 fonts, out of 1000000 for 2000
 192 hyphenation exceptions out of 8191
 36i,5n,43p,254b,557s stack positions out of 5000i,500n,6000p,200000b,50000s
No pages of output.
PDF statistics:
 0 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)


[-- Attachment #4: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-15  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-15  7:35 Problem with XML entities in titles Richard Gabriel
  -- strict thread matches above, loose matches on Subject: below --
2007-08-13  9:30 Richard Gabriel

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).