![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Hi, Taco and I spent some time tracing the 'file not found problem' and eventually we zoomed in to the extent that Taco located a dislectic typo. We are still puzzled why it worked in some cases, and mostly influenced the minimals Anyhow, I made new zips ... Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Tue, Mar 11 2008, Hans Hagen wrote:
Taco and I spent some time tracing the 'file not found problem' and eventually we zoomed in to the extent that Taco located a dislectic typo. We are still puzzled why it worked in some cases, and mostly influenced the minimals
Anyhow, I made new zips ...
Hello Hans, I've tried the new zips, but the 'file not found problem' is still there. Do I use the right versions? ctxtools --contextversion CtxTools | context version: 2008.03.11 18:29 (/opt/TeX-live/texmf-context/tex/context/base/context.tex) CtxTools | context version: 2008.03.11 18:29 (/opt/TeX-live/texmf-context/tex/context/base/cont-new.tex) This is LuaTeX, Version snapshot-0.25.0-2008031118 Thanks for your investigations, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
On Tue, 11 Mar 2008 18:37:29 +0100
Hans Hagen
Hi,
Taco and I spent some time tracing the 'file not found problem' and eventually we zoomed in to the extent that Taco located a dislectic typo. We are still puzzled why it worked in some cases, and mostly influenced the minimals
Anyhow, I made new zips ...
Hans
Hi Hans, is there any chance to fix the problem with nested elements of the same type with the new mkiv xml handling. The following example give me 2 sections but it should give a section, a subsection and another section. The fix for this problem is in l-xml.lua since a few weeks but it is still commented since you wrote the patch. % engine=luatex \startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{section}{xml:section} \xmlsetsetup{\xmldocument}{title}{xml:title} \xmlsetsetup{\xmldocument}{p}{xml:paragraph} \stopxmlsetups \xmlregistersetup{xml:mysetups} \newcounter\sectionlevel \startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups \startxmlsetups xml:title \ifcase\sectionlevel \or\chapter {\xmlflush{#1}} \or\section {\xmlflush{#1}} \or\subsection {\xmlflush{#1}} \or\subsubsection{\xmlflush{#1}} \fi \stopxmlsetups \startxmlsetups xml:section \increment\sectionlevel \xmlflush{#1} \decrement\sectionlevel \stopxmlsetups \setupwhitespace[line] \startbuffer[section] <section> <title>Section 1</title> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <section> <title>Subsection 1</title> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> </section> <title>Section 2</title> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> </section> \stopbuffer \starttext \xmlprocessbuffer{main}{section}{} \stoptext Greetings Wolfgang
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Wolfgang Schuster wrote:
On Tue, 11 Mar 2008 18:37:29 +0100 Hans Hagen
wrote: Hi,
Taco and I spent some time tracing the 'file not found problem' and eventually we zoomed in to the extent that Taco located a dislectic typo. We are still puzzled why it worked in some cases, and mostly influenced the minimals
Anyhow, I made new zips ...
Hans
Hi Hans,
is there any chance to fix the problem with nested elements of the same type with the new mkiv xml handling.
The following example give me 2 sections but it should give a section, a subsection and another section. The fix for this problem is in l-xml.lua since a few weeks but it is still commented since you wrote the patch.
that's because it breaks things here so i need more time
% engine=luatex
\startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{section}{xml:section} \xmlsetsetup{\xmldocument}{title}{xml:title} \xmlsetsetup{\xmldocument}{p}{xml:paragraph} \stopxmlsetups
\xmlregistersetup{xml:mysetups}
\newcounter\sectionlevel
\startxmlsetups xml:paragraph \xmlflush{#1}\endgraf \stopxmlsetups
\startxmlsetups xml:title \ifcase\sectionlevel \or\chapter {\xmlflush{#1}} \or\section {\xmlflush{#1}} \or\subsection {\xmlflush{#1}} \or\subsubsection{\xmlflush{#1}} \fi \stopxmlsetups
\startxmlsetups xml:section \increment\sectionlevel \xmlflush{#1} \decrement\sectionlevel \stopxmlsetups
\setupwhitespace[line]
\startbuffer[section] <section> <title>Section 1</title> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <section> <title>Subsection 1</title> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> </section> <title>Section 2</title> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> <p>text text text text text text text text</p> </section> \stopbuffer
\starttext \xmlprocessbuffer{main}{section}{} \stoptext
Greetings Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Wolfgang Schuster wrote:
On Tue, 11 Mar 2008 18:37:29 +0100 Hans Hagen
wrote: Hi,
Taco and I spent some time tracing the 'file not found problem' and eventually we zoomed in to the extent that Taco located a dislectic typo. We are still puzzled why it worked in some cases, and mostly influenced the minimals
Anyhow, I made new zips ...
Hans
Hi Hans,
is there any chance to fix the problem with nested elements of the same type with the new mkiv xml handling.
for the moment use \xmlsetsetup{\xmldocument}{section}{xml:section} \xmlsetsetup{\xmldocument}{section/section}{xml:section} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Peter Münster
-
Wolfgang Schuster