ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Richard Gabriel" <rgabriel@kerio.com>
To: ntg-context@ntg.nl
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Problem with XML entities in titles
Date: Wed, 15 Aug 2007 09:35:52 +0200	[thread overview]
Message-ID: <20070815073552.37b376b3@mx1.kerio.com> (raw)


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

             reply	other threads:[~2007-08-15  7:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15  7:35 Richard Gabriel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-08-13  9:30 Richard Gabriel

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=20070815073552.37b376b3@mx1.kerio.com \
    --to=rgabriel@kerio.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).