[NTG-context] filter module's inline command and supressed spacing
Hello list, It looks like a bug in the filter module, but maybe I'm doing something wrong. Any help will be greatly appreciated. When using the \inlinepandoc command in the first paragraph below the space at the end of the paragraph in życiaA. Mickiewicza is supressed when it should be życia A. Mickiewicza. This does not happen when using pandoc environment. If you want to run the minimal example you have to make sure you got the recent pandoc which supports twiki input format and create the output subdirectory in your working directory. Best Piotr \usemodule[filter] \defineexternalfilter [pandoc] [ filter={pandoc -f \externalfilterparameter{format} -t context -o \externalfilteroutputfile}, format=twiki, directory=output, ] \starttext Inne tyt.: Wizyta pana Franciszka Grzymały, Exegi monumentum aere perennius Powst. Paryż, na autografie podpis: Paryż, 12 marca 1833. Wiersze natchnione wizytą Fr. Grzymały. Pdr: {\it Czas} 1859 nr nr 118 s. 2. (\inlinepandoc{w artykule L#42;#42;#42; (E. Januszkiewicza) Notatki wspomnień z życia A. Mickiewicza}). \startpandoc Inne tyt.: Wizyta pana Franciszka Grzymały, Exegi monumentum aere perennius Powst. Paryż, na autografie podpis: Paryż, 12 marca 1833. Wiersze natchnione wizytą Fr. Grzymały. Pdr: {\it Czas} 1859 nr nr 118 s. 2. (w artykule L#42;#42;#42; (E. Januszkiewicza) Notatki wspomnień z życia A. Mickiewicza). \stoppandoc \stoptext - -- http://okle.pl ___ 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] filter module's inline command and supressed spacing
P.S. Silly of me not to check ConTeXt version first. Anyway, the problem persists with most recent ConTeXt although different errors are produced. The space is supressed in 'Januszkiewicza)Notatki' and html entities are not interpreted properly when using \inlinepandoc. 2014-12-30 10:00 GMT+01:00 Piotr Kopszak kops...@gmail.com: Hello list, It looks like a bug in the filter module, but maybe I'm doing something wrong. Any help will be greatly appreciated. When using the \inlinepandoc command in the first paragraph below the space at the end of the paragraph in życiaA. Mickiewicza is supressed when it should be życia A. Mickiewicza. This does not happen when using pandoc environment. If you want to run the minimal example you have to make sure you got the recent pandoc which supports twiki input format and create the output subdirectory in your working directory. Best Piotr \usemodule[filter] \defineexternalfilter [pandoc] [ filter={pandoc -f \externalfilterparameter{format} -t context -o \externalfilteroutputfile}, format=twiki, directory=output, ] \starttext Inne tyt.: Wizyta pana Franciszka Grzymały, Exegi monumentum aere perennius Powst. Paryż, na autografie podpis: Paryż, 12 marca 1833. Wiersze natchnione wizytą Fr. Grzymały. Pdr: {\it Czas} 1859 nr nr 118 s. 2. (\inlinepandoc{w artykule L#42;#42;#42; (E. Januszkiewicza) Notatki wspomnień z życia A. Mickiewicza}). \startpandoc Inne tyt.: Wizyta pana Franciszka Grzymały, Exegi monumentum aere perennius Powst. Paryż, na autografie podpis: Paryż, 12 marca 1833. Wiersze natchnione wizytą Fr. Grzymały. Pdr: {\it Czas} 1859 nr nr 118 s. 2. (w artykule L#42;#42;#42; (E. Januszkiewicza) Notatki wspomnień z życia A. Mickiewicza). \stoppandoc \stoptext - -- http://okle.pl -- http://okle.pl ___ 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] bug in beta from 2014.12.29 10:01
On 12/29/2014 10:33 PM, Pablo Rodriguez wrote: Hans, I have just updated ConTeXt Standalone to beta from 2014.12.29 10:01 and I get the following error: $ contextjit --version mtxrun | unknown script 'context.lua' or 'mtx-context.lua' I’m afraid this seems to be a bug. I’m still experiencing this with beta from 2014.12.30 09:48. Could anyone confirm this? (I’m on Fedora 20, using the 32bit version of the ConTeXt Suite.) Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] Start an itemized list with a given number
Hello everybody and thanks in advance for your advice, I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3. What I want to achieve is something like: Insert the key Try to turn the key If key is working 3. Open the door If key is not working 3. Change key 4. Goto step 1 So what is the way to start the list after « If key is not working » with the number 3 ? Eric Gerard ___ 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] Start an itemized list with a given number
This seems to work: \startitemize[n] \item Insert the key \item Try to turn the key \stopitemize If key is working \startitemize[n,continue] \item Open the door \stopitemize If key is not working \setupitemize[start=3] %% \startitemize[n] \item Change key \item Goto step 1 \stopitemize Alan On Tue, Dec 30, 2014 at 12:38 PM, Eric Gerard eric.b.ger...@gmail.com wrote: Hello everybody and thanks in advance for your advice, I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3. What I want to achieve is something like: 1. Insert the key 2. Try to turn the key *If key is working* 3. Open the door *If key is not working* 3. Change key 4. Goto step 1 So what is the way to start the list after « If key is not working » with the number 3 ? Eric Gerard ___ 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] Start an itemized list with a given number
Am 30.12.2014 um 18:38 schrieb Eric Gerard eric.b.ger...@gmail.com: Hello everybody and thanks in advance for your advice, I’m unable to find in the documentation and in the wiki the way to start an itemized list with a number different from 1, for instance with 3. What I want to achieve is something like: Insert the key Try to turn the key If key is working 3. Open the door If key is not working 3. Change key 4. Goto step 1 So what is the way to start the list after « If key is not working » with the number 3 ? You increment the number from a previous item with the “continue” keyword and set a different value for the first item in a list with the “start” key. \starttext \startitemize[n,packed] \item Insert the key \item Try to turn the key \stopitemize If key is working \startitemize[n,packed,continue] \item Open the door \stopitemize If key is not working \startitemize[n,packed][start=3] \item Change key \item Goto step 1 \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 ___
[NTG-context] how to (re)set section numbers
I have followed the recommendations how to include unnumbered sections in the table-of-content along the lines \setuphead[subject] [incrementnumber=yes,number=no] etc. this works OK if the unnumbered sections are at the end of the document. otherwise the enumeration of the actually (visibly) numbered sections is messed up (i.e. if a `subject' section goes, e.g. _before_ all actually enumerated sections, there counters are off by one). question: what is the best way of (re)setting the section counters? i.e. if the doucment structure is, e.g., \subject \section \subsection \section \subject I'd like to end up with the ToC containing entries for all subjects and sections but the numbered sections should occur (in ToC and document) as 1, 1.1, 2 rather than 2 2.1, 3 (in this example). I was not able to find a solution in the documenation/wiki. thx, joerg -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ 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] luatex files
Dear gang, http://minimals.contextgarden.net/current/bin/luatex/mswin/bin/ WHat is the minimum set of files are needed to update luatex? Everything used to be in a single large executable but I see that luatex.exe and texlua.exe are apparently just link files now. Some of these files are certainly not needed but not sure which. Thanks and Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] bug in beta from 2014.12.29 10:01
···date: 2014-12-30, Tuesday···from: Pablo Rodriguez··· On 12/29/2014 10:33 PM, Pablo Rodriguez wrote: Hans, I have just updated ConTeXt Standalone to beta from 2014.12.29 10:01 and I get the following error: $ contextjit --version mtxrun | unknown script 'context.lua' or 'mtx-context.lua' I’m afraid this seems to be a bug. I’m still experiencing this with beta from 2014.12.30 09:48. Could anyone confirm this? (I’m on Fedora 20, using the 32bit version of the ConTeXt Suite.) Nope, doesn’t happen on Linux 3.17.6-1-ARCH / x86_64. ``mtxrunjit --find-file mtx-context.lua`` correctly resolves to /home/phg/context/tex/texmf-context/scripts/context/lua/mtx-context.lua I don’t have a 32 bit box to test it though. A change I noticed that was introduced in a recent-ish commit is lots of messages like this: resolvers | globbing | confusing filename, name: 'NEWS', lower: 'news', already: 'News' whenever mtxrun does some kind of path lookup. Best, Philipp pgpE4gQMXfVY9.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] \Context seems to be broken
Dear gang, ConTeXt ver: 2014.12.30 09:48 MKIV beta This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX) The following gives a very strange result: \starttext \Context \stoptext See attached, there is a spurious '.8', and the rest of the definition seems to have changed as well. Please advise! Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 test-context.pdf Description: Adobe PDF document ___ 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] \inmargin
Dear Syndicate, ConTeXt ver: 2014.12.30 09:48 MKIV beta This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX) The following used to work: \starttext \define[5]\EDUITEM{\framed[frame=off,align=width,width=broad] {{\bf #1 }\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} \EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\ Seminary}{\TeX{ville}, \TeX{land}} \stoptext Now I get nothing in the margin. Please advise! Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] \inmargin
Am 30.12.2014 um 22:15 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear Syndicate, ConTeXt ver: 2014.12.30 09:48 MKIV beta This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX) The following used to work: \starttext \define[5]\EDUITEM{\framed[frame=off,align=width,width=broad] {{\bf #1 }\inmargin{\it #2}\ (#3).\crlf {\bf #4}, #5.\blank[small]}} \EDUITEM{Certificate of Proficiency}{2005}{\ConTeXt\ Studies}{\ConTeXt\ Seminary}{\TeX{ville}, \TeX{land}} \stoptext Now I get nothing in the margin. Please advise! Use \inmargin[scope=local]{…} when you use the command within a box structure. 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] \Context seems to be broken
Am 30.12.2014 um 22:10 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, ConTeXt ver: 2014.12.30 09:48 MKIV beta This is LuaTeX, Version beta-0.79.2 (TeX Live 2014/W32TeX) The following gives a very strange result: \starttext \Context \stoptext See attached, there is a spurious '.8', and the rest of the definition seems to have changed as well. Please advise! I sent a fix to the developers list. You fix it yourself by adding \getscaledglyph as shown below to the definition of the command in cont-log.miv. \unexpanded\def\Context % wrong usage of \getscaledglyph {\dontleavehmode \begingroup - C\kern -.0667\emwidth{.8}\empty{O\kern -.0667\emwidth N\kern + C\kern -.0667\emwidth\getscaledglyph{.8}\empty{O\kern -.0667\emwidth N\kern -.0549\emwidth T\doifitalicelse{\kern-.1\emwidth}{\kern-.1667\emwidth}\lower.5\exheight\hbox {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055\emwidth T}% \endgroup} 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] \inmargin
On Tue, 30 Dec 2014 14:50:25 -0700, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Use \inmargin[scope=local]{…} when you use the command within a box structure. Thanks, Wolfgang! -- Idris Samawi Hamid Professor of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] luatex files
Dear Idris Samawi Hamid, What is the minimum set of files are needed to update luatex? They are luajittex.dll, and luatex.dll. Best, Akira ___ 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] g parameter in tabulate stopped working
Hi a happy new year! When preparing my last invoices for 2014, I stumpled upon an error in tabulation: \starttext \setuptabulate[distance=0pt] \starttabulate[|lw(7.75cm)|rg(,)w(2cm)|rg(,)w(2cm)|cg(,)w(3cm)|] \NC Text \NC1,00\NC 222,22\NC 3,33\NC\NR \NC Text \NC2\NC5,5\NC 66,666\NC\NR \NC Text \NC100,00\NC 44,44\NC33,33\NC\NR \stoptabulate \stoptext In the log I get 3 times (i.e. once per g parameter): tabulate unknown preamble key: ) and of course the numbers are not aligned around the comma. The minimal example runs through, though; my invoice does not, and I didn’t find the real cause yet... Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] bug in beta from 2014.12.29 10:01
On 12/30/2014 09:08 PM, Philipp Gesang wrote: ···date: 2014-12-30, Tuesday···from: Pablo Rodriguez··· [...] I’m still experiencing this with beta from 2014.12.30 09:48. Could anyone confirm this? (I’m on Fedora 20, using the 32bit version of the ConTeXt Suite.) Nope, doesn’t happen on Linux 3.17.6-1-ARCH / x86_64. ``mtxrunjit --find-file mtx-context.lua`` correctly resolves to /home/phg/context/tex/texmf-context/scripts/context/lua/mtx-context.lua I don’t have a 32 bit box to test it though. A change I noticed that was introduced in a recent-ish commit is lots of messages like this: resolvers | globbing | confusing filename, name: 'NEWS', lower: 'news', already: 'News' whenever mtxrun does some kind of path lookup. Many thanks for your reply, Philipp. I’m afraid I only get two blank lines from mtxrunjit --find-file mtx-context.lua. The same happens with mtxrun. Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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 ___