[NTG-context] Export to xhtml and useurl
I need to export my document. For this I use: \setupbackend[export=yes,xhtml=yes,css=yes] I have update my document with start and stop for chapter, section and subsection, but I have one problem. I have: \useURL [UUID] [http://en.wikipedia.org/wiki/Uuid] [] [universally unique identifier] and when I also have: \from[UUID] I get: system end file documentatie.tex at line 3398 )/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bolditalic.otf{/home/cecil/ConTeXt/tex/texmf/fonts/enc/dvips/lm/lm-mathsy.enc}/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-bold.otf/home/cecil/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf/home/cecil/ConTeXt/tex/texmf/fonts/type1/public/lm/lmsy10.pfb backend export finalizing ! LuaTeX error ...TeXt/tex/texmf-context/tex/context/base/back-exp.lua:328: bad argument #2 to 'write' (string expected, got nil). system tex error on line 0 in file : LuaTeX error ... empty file * ./documentatie.tex So properly I need to change something. But what? -- Cecil Westerhof ___ 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 ___
[NTG-context] Problem with \automigrateinserts
Hi, if one uses \automigrateinsers footnotes in captions will be eaten. \automigrateinserts % kill footnotes in captions! \starttext \in{Footnote}[foot:a] \par \in{Footnote}[foot:b] \par \in{Footnote}[foot:c] \placefigure[here] [pic:ref:h]{test\footnote[foot:a]{a footnote}}{} \placefigure[top] [pic:ref:t]{test\footnote[foot:b]{a footnote}}{} \placefigure[bottom][pic:ref:b]{test\footnote[foot:c]{a footnote}}{} \in{Footnote}[foot:a] \par \in{Footnote}[foot:b] \par \in{Footnote}[foot:c] \stoptext Greeting Andreas ___ 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 ___
[NTG-context] \environment before vs. after \startproduct
Hi, here is another problem regarding \environments. % \setupbodyfont[palatino] % OK \starttext \setupbodyfont[palatino] % not OK \startformula \binom{n}{0} \stopformula \stoptext To avoid it, I'd have to use something like the following? \environment font-setups \startproduct \environment blank-setups Greeting Andreas ___ 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 ___
Re: [NTG-context] \environment before vs. after \startproduct
Am 16.07.2011 um 15:00 schrieb Andreas Harder: Hi, here is another problem regarding \environments. % \setupbodyfont[palatino] % OK \starttext \setupbodyfont[palatino] % not OK \startformula \binom{n}{0} \stopformula \stoptext To avoid it, I'd have to use something like the following? \environment font-setups \startproduct \environment blank-setups It’s a bug when Latin Modern is loaded before Pagella. \setupbodyfont[modern] \setupbodyfont[palatino] \starttext \startformula \binom{n}{0} \stopformula \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with \automigrateinserts
Am 16.07.2011 um 13:40 schrieb Andreas Harder: Hi, if one uses \automigrateinsers footnotes in captions will be eaten. \automigrateinserts % kill footnotes in captions! Do the notes appear when you comment \automigrateinserts? Hans made a few changes a while back and note handling has improved. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problem with \automigrateinserts
Am 16.07.2011 um 15:28 schrieb Wolfgang Schuster: Am 16.07.2011 um 13:40 schrieb Andreas Harder: Hi, if one uses \automigrateinsers footnotes in captions will be eaten. \automigrateinserts % kill footnotes in captions! Do the notes appear when you comment \automigrateinserts? Yes, they do. And now I see, it's mentioned in the source (node-mig.mkiv). Andreas ___ 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 ___
Re: [NTG-context] Fw: A question about layers
Anybody help, please...? Dnia 2011-07-14, o godz. 23:37:29 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): I think that the general problem is that I have a wrong conceptual model of layers in ConTeXt. You know, when I hear the word layer, I have some ideas about how it should/could/might work, and probably these ideas are different than Hans'. So I'm going to briefly describe my idea (already modified by the answers) and please tell me what's wrong with it. So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly framed/colored/etc., which is going to appear on all pages (default) or on selected ones. The contents of layers are set with \setlayer, (with some - mysterious for me - setups trickery if they are going to change from page to page), and they are actually put on the page by \setupbackgrounds. (And I have no idea what \flushlayer does in this conceptual framework.) So layers are actually kind of beneath ordinary page contents. Some of these commands (which ones?) should moreover be placed before \startext. OK, so where am I right and where am I wrong now? Best -- Marcin Borkowski ___ 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 ___
Re: [NTG-context] Fw: A question about layers
Hi, the easiest way to get info is to read details.pdf and the new metafun-manual. Willi On 16 Jul 2011, at 19:35, Marcin Borkowski wrote: Anybody help, please...? Dnia 2011-07-14, o godz. 23:37:29 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): I think that the general problem is that I have a wrong conceptual model of layers in ConTeXt. You know, when I hear the word layer, I have some ideas about how it should/could/might work, and probably these ideas are different than Hans'. So I'm going to briefly describe my idea (already modified by the answers) and please tell me what's wrong with it. So I imagine that \definelayer / \setuplayer defines a rectangular shape on the page, possibly framed/colored/etc., which is going to appear on all pages (default) or on selected ones. The contents of layers are set with \setlayer, (with some - mysterious for me - setups trickery if they are going to change from page to page), and they are actually put on the page by \setupbackgrounds. (And I have no idea what \flushlayer does in this conceptual framework.) So layers are actually kind of beneath ordinary page contents. Some of these commands (which ones?) should moreover be placed before \startext. OK, so where am I right and where am I wrong now? Best -- Marcin Borkowski ___ 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 ___ ___ 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 ___
[NTG-context] about suppressing prefix in section number
Hi, Here are a few questions. 1. The output of \section{one} \section{two} is 1.1 one 1.2 two But is it possible to suppress the prefix chapter number like 1 one 2 two ? 2. When defining custom itemgroup, we can set each level using the predefined item headers, like n, r, 1, 2, , and it works fine. I am trying to use newly defined conversion, but I couldn't succeed. Is it possible to set an itemgroup using predefined item and custom made item head like \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] ? Thank you and Have a nice weekend. Best regards, Dalyoung ___ 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 ___
Re: [NTG-context] about suppressing prefix in section number
Am 17.07.2011 um 02:04 schrieb Jeong Dalyoung: Hi, Here are a few questions. 1. The output of \section{one} \section{two} is 1.1 one 1.2 two But is it possible to suppress the prefix chapter number like 1 one 2 two \setuphead[section][sectionsegments=section] 2. When defining custom itemgroup, we can set each level using the predefined item headers, like n, r, 1, 2, , and it works fine. I am trying to use newly defined conversion, but I couldn't succeed. Is it possible to set an itemgroup using predefined item and custom made item head like \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] \defineconversion[circlednumber][①,②,③,④,⑤,⑥,⑦,⑧,⑨,⑩,⑪,⑫,⑬,⑭,⑮,⑯,⑰,⑱,⑲,⑳] \setupbodyfont[cambria] \starttext \startitemize[circlednumber,broad][stopper=] \dorecurse{20}{\item Item \recurselevel} \stopitemize \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___