Re: [NTG-context] Odd /externalfigure behavior
Am 15.12.2012 um 23:44 schrieb Guy Stalnaker jstal...@wisc.edu: In case anyone was following this thread -- nothing I have been able to do has eliminated the context error. I have: 1. Unlinked/relinked Dropbox 2. Moved image files to new directories. 3. Renamed image files. 4. Used a test snippet of regular document headers with only the \starttext \externalfigure \stoptext 5. Used a test snippet of only the \starttext \externalfigure \stoptext The compile 'nil' response error persists. After four days of continued errors I have had to seek an alternate method for creating the print document. My thanks to those of you on this list who responded to my questions. The last thing you can try is to remove your context installation and to reinstall it. Can you also provide one of your figures which causes problems. 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 ___
[NTG-context] here is ae
On 12/15/2012 5:07 PM, Thomas A. Schmitz wrote: Hi all, small remark first: archive.contextgarden.net has been down for a few days now; I suppose because of the new server? And now for the overly broad question: I'm embarking on what could become a long project. One part of it is typesetting a book (with many graphics). On the one hand, it would be wonderful to use the project structure and break it down into several components to make things manageable. On the other hand, it would be great to code in xml (because I might want to publish this as a website too). can these things be combined? Does the xml engine handle xinclude (or could this be added to it)? Or would another approach be better? Thanks for your insights! Using xml sounds ok to me (esp as you know how to do it) ... with xinclude you mean combining multiple files into one? It's what we do in all xml related projects here. There is actually an \xmlinclude command \xmlinclude{main}{include}{filename|href|name} this will include from elements with tags 'include' and one of the attributes mentioned. Do this as one of the first steps as it merges xml trees. 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 - ___ 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] Odd /externalfigure behavior
On 12/16/2012 10:22 AM, Wolfgang Schuster wrote: Am 15.12.2012 um 23:44 schrieb Guy Stalnaker jstal...@wisc.edu: In case anyone was following this thread -- nothing I have been able to do has eliminated the context error. I have: 1. Unlinked/relinked Dropbox 2. Moved image files to new directories. 3. Renamed image files. 4. Used a test snippet of regular document headers with only the \starttext \externalfigure \stoptext 5. Used a test snippet of only the \starttext \externalfigure \stoptext The compile 'nil' response error persists. After four days of continued errors I have had to seek an alternate method for creating the print document. My thanks to those of you on this list who responded to my questions. The last thing you can try is to remove your context installation and to reinstall it. Can you also provide one of your figures which causes problems. indeed. it would be interesting to know what picture triggers a nil (i.e. a non picture) someplace in the pipeline 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 - ___ 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] CRITICAL EDITIONS MODULE
On 12/15/2012 5:11 PM, Thomas A. Schmitz wrote: On 12/14/2012 01:33 PM, MANUEL GONZALEZ SUAREZ wrote: Hello I would get the module CritTeXt Idris Samawi. I have the documentation but still does not appear on the ConTeXt wiki. I think it may be interesting to develop critical editions. Thanks to all I'm afraid the module doesn't exist. What you have found is not the documentation, but a description of what we hope will one day be possible with ConTeXt. Some parts of it are possible now, but there is no complete solution (you may want to look at http://wiki.contextgarden.net/TEI_xml on the wiki. the more interest there is and the more ce users can agree on what is missing the more change there is that it will show up (not as a module but as built in functionality) 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 - ___ 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] CRITICAL EDITIONS MODULE
···date: 2012-12-16, Sunday···from: Hans Hagen··· On 12/15/2012 5:11 PM, Thomas A. Schmitz wrote: On 12/14/2012 01:33 PM, MANUEL GONZALEZ SUAREZ wrote: Hello I would get the module CritTeXt Idris Samawi. I have the documentation but still does not appear on the ConTeXt wiki. I think it may be interesting to develop critical editions. Thanks to all I'm afraid the module doesn't exist. What you have found is not the documentation, but a description of what we hope will one day be possible with ConTeXt. Some parts of it are possible now, but there is no complete solution (you may want to look at http://wiki.contextgarden.net/TEI_xml on the wiki. the more interest there is +1 Best Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments pgp6KHRB308sz.pgp Description: PGP signature ___ 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] Error
Hallo, can someon please translate the following error to me? *TeXExec | runtime: 26.109375 Exit code: -1073741510 I have ConTeXt ver: 2011.10.03 12:59 MKII fmt: 2011.10.3 int: english/english 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 ___
[NTG-context] Desperate help needed: Formular numbering and List of Formulas
Hi, I am closing my dissertation (finally) but I had to realize that subnumbering of formulas is still not working in mkiv. Unluckily going back to mkii is not an option for other reasons. For that I really need help to bring back a fully working formula numbering. I searched the entire wiki and mailing list for possible examples and put all in one test file - I got non to work but maybe I also made a mistake somewhere. Additionally I wrote everything on my talk page of the wiki: http://wiki.contextgarden.net/User_talk:Zenlima If every method has to be fixed my priority is the \NR[+][c]-method. Maybe someone can give additionally hints how to get a proper list of formulas. I attached the test file with its pdf result in addition to the wiki page. Thanks H. context-test-mathe.pdf Description: Adobe PDF document \usemodule[newmath] \setupformulas[way=bytext,prefix=no] \setupsubformulas[conversion=romannumerals] \starttext \title{List of formulas} \placelist[formula][criterium=all,alternative=c] \framed{not ok} \chapter{Chapter One} \chapter{Chapter Two} \subject{math - formula} Expected formular number: (1): \placenamedformula[one]{Der einfache Test} \startformula c^2 = a^2 + b^2. \stopformula \framed{ok} \subject{math - subformula} Expected formular numbers: (2a) and (2b): \startsubformulas[eq:1] \placeformula[eq:first] \startformula PM \xrightarrow R_{PM} \xrightarrow PM \stopformula \placeformula[eq:second] \startformula R_{PM} = \{ K, F, Z, U, I, J\} \stopformula \stopsubformulas \framed{not ok} \subject{math - align - formula} Expected formular numbers: (3a) and (3b) and a reference to formular (3b): \startsubformulas \startformulas \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[a] \stopalign \stopformula \stopformulas \stopsubformulas \framed{not ok} Expected formular numbers: (4) and (5) \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+] \stopalign \stopformula \framed{ok} \subject{math - align - subformula} Expected formular numbers: (6.1), (6.2) and (6.c) plus referece on (6.1) and (6.2): \placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][.1] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][.2] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+][c] \stopalign \stopformula \framed{not ok} Expected formular numbers: (8a) and (8b) plus reference on (8a and 8b): \placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][] \stopalign \stopformula \framed{not ok} \subject{math - eqalignno - formula} Taken from wiki and removed the subformulanumber. Expected formular numbers: (11), (12), (13) and (14): \placeformula \startformula \eqalignno{ c^2 = a^2 + b^2 \formulanumber \cr c = \left(a^2 + b^2\right)^{\vfrac{1}{2}} \formulanumber\cr a^2 + b^2 = c^2 \formulanumber \cr d^2 = e^2\formulanumber \cr} \stopformula \framed{ok} \subject{math - eqalignno - subformula} Directly taken form wiki. Expected formular numbers: %\placeformula %\startformula %\eqalignno{ % c^2 = a^2 + b^2 \formulanumber{a} \cr % c = \left(a^2 + b^2\right)^{\vfrac{1}{2}} \subformulanumber{b}\cr % a^2 + b^2 = c^2 \subformulanumber{c} \cr % d^2 = e^2\formulanumber\cr} %\stopformula \framed{not ok (does not work. subformularnumber is unknown)} \stoptext ___ 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] two bugs in linenote
Am 15.12.2012 um 19:36 schrieb Pablo Rodríguez oi...@web.de: Hi there, with the following code: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] \definelinenote[A] \setupnote[A][rule=off, paragraph=yes, split=strict, inbetween=\hskip1.5em] \setupnotation[A][numbercommand=,alternative=serried,distance=1em,compress=yes,compressseparator=] \starttext \startlinenumbering \dorecurse{500}{body\A{note} } \stoplinenumbering \stoptext I hit two bugs (ConTeXt - 2012.12.10 23:20): Body and notes aren't properly separated. It’s a problem with paragraph notes which does also appear with regular notes. \setupbodyfont[pagella] \setupnote[footnote][paragraph=yes] \setupnotation[footnote][alternative=serried,display=no] \starttext \dorecurse{200}{text text text\footnote{note} } \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] Desperate help needed: Formular numbering and List of Formulas
Hi, The minimal example below works for me (ConTeXt ver: 2012.12.10 23:20 MKIV; I've added some stuff of your preamble to check). Cheers Gruss Andreas %%% MINIMAL EXAMPLE %%% \usemodule[newmath] \setupformulas[way=bytext,prefix=no] \setupsubformulas[conversion=romannumerals] \starttext \startsubformulas[eq:ax=b] \placeformula \startformula \startalign[n=3] \NC A x\NC = b,\NR[eq:example-one][a] \NC A x\NC = b,\NR[eq:example-two][a] \stopalign \stopformula \stopsubformulas \stoptext %%% MINIMAL EXAMPLE %%% Am Dec 16, 2012 um 8:16 PM schrieb Zenlima p...@zenlima.eu: Hi, I am closing my dissertation (finally) but I had to realize that subnumbering of formulas is still not working in mkiv. Unluckily going back to mkii is not an option for other reasons. For that I really need help to bring back a fully working formula numbering. I searched the entire wiki and mailing list for possible examples and put all in one test file - I got non to work but maybe I also made a mistake somewhere. Additionally I wrote everything on my talk page of the wiki: http://wiki.contextgarden.net/User_talk:Zenlima If every method has to be fixed my priority is the \NR[+][c]-method. Maybe someone can give additionally hints how to get a proper list of formulas. I attached the test file with its pdf result in addition to the wiki page. Thanks H. context-test-mathe.pdfcontext-test-mathe.tex___ 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 ___
Re: [NTG-context] here is ae
On Dec 16, 2012, at 2:46 PM, Hans Hagen pra...@wxs.nl wrote: Using xml sounds ok to me (esp as you know how to do it) ... with xinclude you mean combining multiple files into one? It's what we do in all xml related projects here. There is actually an \xmlinclude command \xmlinclude{main}{include}{filename|href|name} this will include from elements with tags 'include' and one of the attributes mentioned. Do this as one of the first steps as it merges xml trees. Hans Hi Hans, thanks for your suggestion. Yes, I mean combining multiple files into one document. Sorry that I didn't see \xmlinclude, that's of course just what I was looking for. But after searching the list, I saw a couple old messages by Hans dan der Meer which made me realise I have no idea yet how to use it. Something like this? file chapter_1.xml chapter text /chapter file chapter_2.xml chapter text /chapter and then file master.xml document xi:include href=chapter_1.xml/ xi:include href=chapter_2.xml/ /document Would translate to \startxmlsetups xml:xi:include \startchapter \xmltext{#1}{chapter} \stopchapter \stopchapter Is that the basic structure, or am I misunderstanding the way this could be used? All best Thomas ___ 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] here is ae
http://wiki.contextgarden.net/Command/xmlinclude Wikified, but sans example for now. Thomas, could I leave that to you? Writing about things I don't understand is one thing, but producing working code that I don't understand is something I am happy to leave to the experts. ;-) Cheers, Sietse P.s. To anticipate the obvious question Sietse, do you mean working code that *you* don't understand, or that the *author* doesn't understand? — the answer is Yes. :-P On Sun, Dec 16, 2012 at 10:07 PM, Schmitz Thomas A. thomas.schm...@uni-bonn.de wrote: On Dec 16, 2012, at 2:46 PM, Hans Hagen pra...@wxs.nl wrote: Using xml sounds ok to me (esp as you know how to do it) ... with xinclude you mean combining multiple files into one? It's what we do in all xml related projects here. There is actually an \xmlinclude command \xmlinclude{main}{include}{filename|href|name} this will include from elements with tags 'include' and one of the attributes mentioned. Do this as one of the first steps as it merges xml trees. Hans Hi Hans, thanks for your suggestion. Yes, I mean combining multiple files into one document. Sorry that I didn't see \xmlinclude, that's of course just what I was looking for. But after searching the list, I saw a couple old messages by Hans dan der Meer which made me realise I have no idea yet how to use it. Something like this? file chapter_1.xml chapter text /chapter file chapter_2.xml chapter text /chapter and then file master.xml document xi:include href=chapter_1.xml/ xi:include href=chapter_2.xml/ /document Would translate to \startxmlsetups xml:xi:include \startchapter \xmltext{#1}{chapter} \stopchapter \stopchapter Is that the basic structure, or am I misunderstanding the way this could be used? All best Thomas ___ 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 ___
Re: [NTG-context] here is ae
On Dec 16, 2012, at 11:08 PM, Sietse Brouwer sbbrou...@gmail.com wrote: http://wiki.contextgarden.net/Command/xmlinclude Wikified, but sans example for now. Thomas, could I leave that to you? Writing about things I don't understand is one thing, but producing working code that I don't understand is something I am happy to leave to the experts. ;-) Cheers, Sietse The horror :-) That was pseudo-code, and I have not the faintest idea if this works at all! But it's good you put this up on the wiki: it will create a disturbance in the space-time continuum which is so strong that Hans will have to tell us how it really works - otherwise, the Mayas may turn out to be right after all... All best Thomas ___ 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] here is ae
Wikified, but sans example for now. Thomas, could I leave that to you? Writing about things I don't understand is one thing, but producing working code that I don't understand is something I am happy to leave to the experts. ;-) The horror :-) That was pseudo-code, and I have not the faintest idea if this works at all! But it's good you put this up on the wiki: it will create a disturbance in the space-time continuum which is so strong that Hans will have to tell us how it really works - otherwise, the Mayas may turn out to be right after all... You see, Hans, you must tell us how it really works. The fate of the Earth lies in your hands! --Sietse ___ 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] Desperate help needed: Formular numbering and List of Formulas
Hi Andreas, thanks for your example.. I also got it to work - so my desperate case is half solved. I added it also to the working cases: http://wiki.contextgarden.net/User_talk:Zenlima#align_-_subformular_.5B.2B.5D In order to prevent unnecessary frustration I added a warning at the two related math pages. I tried to extend your example with named subformulas in different ways but as a result the numbers vanished or the table of formulas messed up. Also I found the note in str-math.mkiv that a rewrite is needed. Ciao H. ___ 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] Suggestion for formula numbering
Hi, as of actual need I summed up all kinds of formula numbering - some basics are working. You can find this list on my user talk page: http://wiki.contextgarden.net/User_talk:Zenlima As I also found a note in str-math.mkiv that it needs to be rewritten and the example syntax which leaded me to confusion in the past, I worked out a suggestion for a more intuitive syntax for formula numbering. In sum it ends with: All three commands: \NR \placeformula \formualanumber will share the same attributes: * sublevel (maybe better: formulalevel or just level?) to define and concrete the (sub-)level of the formula * listlabel (maybe textlabel? the numberlabel is still needed) to add a entry in the list of formulas * reference just a classic reference in order to link to it so that the syntax is more intuitive during the writing. Also. this way the commands: placesubformula placenamedformula placenamedsubformula startstopsubformulas subformulanumber will become needless. For the why and examples please look at: http://wiki.contextgarden.net/User_talk:Zenlima#Suggestion_for_new_syntax I hope you will find parts you like and feel free to add your opinion. :-) H. ___ 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 ___