Re: [NTG-context] ConTeXt with TeXnicCenter, Hans Hagen pragma at wxs.nl
Am Fri, 07 Jun 2013 17:22:26 +0200 schrieb Hans Hagen: --script context --synctex %bm In that case the main program calls is mtxrun, so: mtxrun --script context %bm I don't know what to do about synctex (never used it). The last time I looked sumatra needed an uncompressed synctex-file. And (at my request) you added an option to context for it. So the call should probably use --synctex=-1. -- Ulrike Fischer http://www.troubleshooting-tex.de/ ___ 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] Including a large SVG image
I almost forgot to upload the graphics. Here is the SVG: https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg SVG (7z compressed): https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.7z PDF: https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.pdf Best, Sander On 05-06-13 15:15, luigi scarso wrote: On Wed, Jun 5, 2013 at 3:13 PM, Sander Maijers s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote: Excuse me. The file became truncated when I was renaming it and the OS froze, it indeed is 0 bytes now. This evening I will try upload it again. can you also post a 7z compressed version of the SVG ? -- luigi ___ 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] buff_gobble error MathML
Hi friends, we need to run MathML inside \sym (see below). Is there a way to solve the error ! Argument of \buff_gobble has an extra }. Thanks, Steffen --- \usemodule[mathml] \starttext \setupitemize[1][broad][margin=no,distance=0em,width=0em,align=stretch] \startitemize[1][width=5cm] \sym{\startbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML; msub xmlns=http://www.w3.org/1998/Math/MathML; mrow mig/mi /mrow mrow mn1/mn /mrow /msub mo xmlns=http://www.w3.org/1998/Math/MathML;,/mo mi xmlns=http://www.w3.org/1998/Math/MathML; /mi msub xmlns=http://www.w3.org/1998/Math/MathML; mrow mig/mi /mrow mrow mn2/mn /mrow /msub /mml:math\stopbuffer\processxmlbuffer}Vektor \stopitemize \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] buff_gobble error MathML
Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi friends, we need to run MathML inside \sym (see below). Is there a way to solve the error ! Argument of \buff_gobble has an extra }. You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer there is a command which can be used here. \sym{\setbuffer … \endbuffer\processxmlbuffer} 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] Missing keys in reference line (letter module)
Hi, the keys name and phone are not included in the reference line using the minimal example from the correspondence manual below. The reference line just contains the date. Also changing the alternative from a to b has no effect. What am I missing? I upgraded to the latest beta and the header of s-cor-01.mkvi states version 2013.01.14. Cheers, Florian 8--- \usemodule[letter] \setupletter [name=Willi Maier, phone=01234-56789, fax=3456-9853, date=\currentdate] \setupletter [fromname={Max Mustermann}, fromaddress={Musterstraße 12\\12345 Musterstadt}] \setupletter [toname={Hans Hansen}, toaddress={Zielgasse 23\\34789 New Mustertown}] \setupletter [subject={Grund des Anschreibens}, opening={Sehr geehrte Damen und Herren,}, closing={Mit freundlichen Grüßen}] \setupletter [alternative=a, list={name,phone,date}] \starttext \startletter \input knuth\par \stopletter \stoptext ---8 ___ 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] buff_gobble error MathML
Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster: Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi friends, we need to run MathML inside \sym (see below). Is there a way to solve the error ! Argument of \buff_gobble has an extra }. You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer there is a command which can be used here. \sym{\setbuffer … \endbuffer\processxmlbuffer} great, thanks. but this immediately gives the next error: invalid xml file - parsed text what's wrong with the code below? Steffen --- \usemodule[mathml] \starttext \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML; mn xmlns=http://www.w3.org/1998/Math/MathML;0/mn mo xmlns=http://www.w3.org/1998/Math/MathML;≤/mo msub xmlns=http://www.w3.org/1998/Math/MathML; mrow miδ/mi /mrow mrow mij/mi mis/mi /mrow /msub mo xmlns=http://www.w3.org/1998/Math/MathML;/mo mroot xmlns=http://www.w3.org/1998/Math/MathML; mrow msub mrow mik/mi /mrow mrow mij/mi /mrow /msub msub mrow mik/mi /mrow mrow mis/mi /mrow /msub /mrow mrow/ /mroot /mml:math\endbuffer\processxmlbuffer \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] Missing keys in reference line (letter module)
Am 08.06.2013 um 16:50 schrieb Florian Wobbe florian.wo...@awi.de: Hi, the keys name and phone are not included in the reference line using the minimal example from the correspondence manual below. The reference line just contains the date. Also changing the alternative from a to b has no effect. What am I missing? You have to pass the settings to \setupletterlayer[reference][…] (see below). In previous versions of the module I provided \setupletter as alternative way to set values for the list but after the last rewrite I removed it. I upgraded to the latest beta and the header of s-cor-01.mkvi states version 2013.01.14. Cheers, Florian 8--- \usemodule[letter] \setupletter [name=Willi Maier, phone=01234-56789, fax=3456-9853, date=\currentdate] \setupletter [fromname={Max Mustermann}, fromaddress={Musterstraße 12\\12345 Musterstadt}] \setupletter [toname={Hans Hansen}, toaddress={Zielgasse 23\\34789 New Mustertown}] \setupletter [subject={Grund des Anschreibens}, opening={Sehr geehrte Damen und Herren,}, closing={Mit freundlichen Grüßen}] \setupletter [alternative=a, list={name,phone,date}] \setupletterlayer [reference] [alternative=a, list={name,phone,date}] BTW: When your document consists of only a single letter you can omit the \starttext/\stoptext commands. 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] buff_gobble error MathML
Am 08.06.2013 um 16:51 schrieb Steffen Wolfrum cont...@st.estfiles.de: Am 08.06.2013 um 16:18 schrieb Wolfgang Schuster: Am 08.06.2013 um 12:53 schrieb Steffen Wolfrum cont...@st.estfiles.de: Hi friends, we need to run MathML inside \sym (see below). Is there a way to solve the error ! Argument of \buff_gobble has an extra }. You can’t use \startbuffer … \stopbuffer in other commands but with \setbuffer there is a command which can be used here. \sym{\setbuffer … \endbuffer\processxmlbuffer} great, thanks. but this immediately gives the next error: invalid xml file - parsed text what's wrong with the code below? Replace the operator with lt; […] mo xmlns=http://www.w3.org/1998/Math/MathML;/mo […] 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] Missing keys in reference line (letter module)
Hi, the keys name and phone are not included in the reference line using the minimal example from the correspondence manual below. The reference line just contains the date. Also changing the alternative from a to b has no effect. What am I missing? You have to pass the settings to \setupletterlayer[reference][…] (see below). In previous versions of the module I provided \setupletter as alternative way to set values for the list but after the last rewrite I removed it. [...] BTW: When your document consists of only a single letter you can omit the \starttext/\stoptext commands. Wolfgang Great, it works again - thanks a lot for both hints! Florian ___ 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] Database module: asciimode and escapechar
Hi, there are another things that need to be fixed with the database module. 1. The quotechar character appears in the output. 2. The \asciimode command is ignored. \usemodule[database] \define[2]\TestCommand {Currency: #1, Value: #2 \par} \startbuffer[testdata] Euro,€ 100 Dollar,\$ 300 \stopbuffer \definedatabase[test][quotechar=,command=\TestCommand] \starttext \asciimode \processdatabasebuffer[test][testdata] \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 ___
[NTG-context] mathvariant bold
Hi, any idea, how to get it mi mathvariant=boldp/mi typeset in bold?? Steffen --- \usemodule[mathml] \starttext \placeformula\startformula[9pt] \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML; mi xmlns=http://www.w3.org/1998/Math/MathML;π/mi mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo msup xmlns=http://www.w3.org/1998/Math/MathML; mrow mi mathvariant=boldp/mi /mrow mrow mi mathvariant=boldT/mi /mrow /msup mi xmlns=http://www.w3.org/1998/Math/MathML; mathvariant=bolda/mi mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo msub xmlns=http://www.w3.org/1998/Math/MathML; mrow miε/mi /mrow mrow miπ/mi /mrow /msub mo xmlns=http://www.w3.org/1998/Math/MathML;=/mo msubsup xmlns=http://www.w3.org/1998/Math/MathML; mo∑/mo mrow mij/mi mo=/mo mn1/mn /mrow mrow min/mi /mrow /msubsup mrow xmlns=http://www.w3.org/1998/Math/MathML; msub mrow mip/mi /mrow mrow mij/mi /mrow /msub msub mrow mo·/mo mia/mi /mrow mrow mij/mi /mrow /msub /mrow mo xmlns=http://www.w3.org/1998/Math/MathML;+/mo msub xmlns=http://www.w3.org/1998/Math/MathML; mrow miε/mi /mrow mrow miπ/mi /mrow /msub /mml:math\endbuffer{\processxmlbuffer} \stopformula ___ 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] Woe is me :( mkiv misbehaving.
After fiddling with some unrelated issues involving a python program called makehuman my well behaved context mkiv job is acting up. It finds all kinds of unrelated modules but no longer can find the OTF fonts I use in /usr/share/fonts/OTF. here is a brief sample of some of the output I get now: --- kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/wavelet.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-ogm+ogg.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-anim.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/ogg.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-ms-wmp.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/mp4.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/vnd.rn-realvideo.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-matroska.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/mp2t.xml in xdgdata-mime --- I have added some python things. Does MKIV use python in any way? Slackware Linux 14. Texlive 2012. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create Book Covers with Scribus available at http://www.booklocker.com/books/4055.html ___ 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] Woe is me :( mkiv misbehaving.
On Sat, Jun 8, 2013 at 8:45 PM, john Culleton j...@wexfordpress.com wrote: After fiddling with some unrelated issues involving a python program called makehuman my well behaved context mkiv job is acting up. It finds all kinds of unrelated modules but no longer can find the OTF fonts I use in /usr/share/fonts/OTF. here is a brief sample of some of the output I get now: --- kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/wavelet.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-ogm+ogg.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-anim.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/ogg.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-ms-wmp.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/mp4.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/vnd.rn-realvideo.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/x-matroska.xml in xdgdata-mime kbuildsycoca4(2398) KBuildSycoca::createEntry: modified: video/mp2t.xml in xdgdata-mime --- no cluecontext I have added some python things. Does MKIV use python in any way? no, as far I know. The directory is not a standard one, so I presume you have modified some variables. What does mtxrun --variables say ? Maybe you have forgotten mtxrun --generate -- luigi ___ 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 ___