Re: [NTG-context] How to force indentation of the first paragraph?
On 01/10/2012 03:14 PM, Wolfgang Schuster wrote: Am 10.01.2012 um 14:56 schrieb Verhaag, G.C.H.M.: Hi ConTeXt User's, How can I force indentation of the very first paragraph of a chapter\section? Using the option first in the \setupindenting command doesn't seem to work? Neither does \indenting[always]! \setuphead[section][indentnext=yes] Wolfgang ... Hi Wolfgang, Thank you very much for your help! Regards, Gerard Verhaag ___ 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] Refering to point inside external pdf file?
On 01/10/2012 03:16 PM, Wolfgang Schuster wrote: Am 10.01.2012 um 11:05 schrieb Verhaag, G.C.H.M.: Hi ConTeXt User's, I'm struggling with references to external PDF files using the \useexternaldocument command. Refering to the document works fine, but pointing at a specific location inside the file using for example \in{chapter}[logicalfilename::theverylocation] doesn't seem to work! Feature is described in ConTeXt an excursion, page 64 (paper version)! Read this article from Hans: http://pragma-ade.com/show-mag-15.htm Wolfgang Hi Wolfgang, Your suggested reading is very nice indeed! Thanks! Regards, Gerard Verhaag ___ 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] buffer broken?
Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. Hans van der Meer ___ 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] idea for a ConTeXt keyboard
don’t forget http://webdemo.visionobjects.com/equation.html it is an online handwriting-to-mathml/tex-converter! ___ 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] margins while two columns texts
Hello, I want to have text in two columns and use inmargin. But in margin allways put objects to left margin. I want in left column place objects to left margin and in right column to place objects to right margin. It is possible in ConTEXT somehow? ___ 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] buffer broken?
On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer havdm...@xs4all.nlwrote: Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. Does it works with \setbuffer[abc] whatever \endbuffer ? -- 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 ___
Re: [NTG-context] idea for a ConTeXt keyboard
On Wed, Jan 11, 2012 at 11:30 AM, Philipp A. flying-sh...@web.de wrote: don’t forget http://webdemo.visionobjects.com/equation.html it is an online handwriting-to-mathml/tex-converter! also https://www.desmos.com/calculator/ -- 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 ___
[NTG-context] Problem with doublesided
Hello, because of problems with a double-sided document, I compared ConTeXt behaviour in TeXlive2010, TeXlive2011 and beta-version at contextgarden.net. I found out, unfortunately, that the following code works differently: only on TeXlive2010 version I received the proper design, i.e. even page has mark on the left, odd one on the right, while the TeXlive2011 and the beta produce single-sided layout, i.e. marks are on the right side in all pages. Or is there any special option in the current version? Thanks for a help, Tomas Hala \starttext \setuppagenumbering[alternative=doublesided] \setuplayout[location=doublesided,marking=on] \setuppapersize[A5][A4] blablablabla \page blablablabla \page blablablabla etc. \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] buffer broken?
On 11 jan. 2012, at 11:33, luigi scarso wrote: On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer havdm...@xs4all.nlmailto:havdm...@xs4all.nl wrote: Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10tel:2012.01.09%2010:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. Does it works with \setbuffer[abc] whatever \endbuffer ? It works with these macros, yes. Thanks. But is \setbuffer..\endbuffer something new? I do not see it on the Reference page of the wiki. Also it doesn't seem in line with ConTeXt's regular naming scheme of \startsomething..\stopsomething. Can you give somewhat more information, for examle what is the difference between \setbuffer and \startbuffer? Hans van der Meer ___ 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] buffer broken?
On 11-1-2012 11:11, Hans van der Meer wrote: Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. should be ok in today's beta - 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] buffer broken?
On Wed, Jan 11, 2012 at 12:52 PM, Meer, H. van der h.vanderm...@uva.nlwrote: On 11 jan. 2012, at 11:33, luigi scarso wrote: On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer havdm...@xs4all.nlwrote: Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. Does it works with \setbuffer[abc] whatever \endbuffer ? It works with these macros, yes. Thanks. But is \setbuffer..\endbuffer something new? I do not see it on the Reference page of the wiki. Also it doesn't seem in line with ConTeXt's regular naming scheme of \startsomething..\stopsomething. Can you give somewhat more information, for examle what is the difference between \setbuffer and \startbuffer? Hans van der Meer ___ 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 ___ Well, start/stopbuffer should work... and Hans said that it will be fixed in the next beta. The problems seems to be a missing \endgroup \setuvalue{\e!start\v!buffer}% {\bgroup \obeylines \dosingleempty\buff_start} \def\buff_start[#1]% {\buff_start_indeed{}{#1}{\e!start\v!buffer}{\e!stop\v!buffer}} \def\buff_start_indeed#1#2#3#4% \donothing needed ! {\normalexpanded{\buff_pickup{#2}{#3}{#4}{}{\buff_stop{#4 Perhaps it should be \def\buff_start[#1]% {\buff_start_indeed{}{#1}{\e!start\v!buffer}{\e!stop\v!buffer}\egroup} -- 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 ___
Re: [NTG-context] buffer broken?
On Wed, Jan 11, 2012 at 1:10 PM, Hans Hagen pra...@wxs.nl wrote: On 11-1-2012 11:11, Hans van der Meer wrote: Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. should be ok in today's beta --**--**- 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 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/http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __**__** ___ -- 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 ___
Re: [NTG-context] idea for a ConTeXt keyboard
Thank you Philipp and Luigi, never seen these applications. They are very nice. Such applications would be nice by giving lectures, Web Equation http://webdemo.visionobjects.com/equation.html is much better than my idea, Kind Regards, Rene' ___ 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] Surprising changes in vers. 2012.01.11
Hi, testing the current beta gave me several errors and Undefined control sequence, for example \showframe (must not be used before \starttext anymore?} but what about \definetolerancemethod[...][...]{...} Is this repleaced or deleted? Steffen ___ 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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, for example \showframe (must not be used before \starttext anymore?} but what about \definetolerancemethod[...][...]{...} Is this repleaced or deleted? and what about \definewhitespacemethod[...]{...} ? Steffen ___ 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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, for example \showframe (must not be used before \starttext anymore?} but what about \definetolerancemethod[...][...]{...} Is this repleaced or deleted? and what about \definewhitespacemethod[...]{...} Using \usemodule[ancientgreek][font=Gentium,scale=1] now gives ... resolversmodules loaded: 'ancientgreek' (/Users/steffen/context/tex/texmf-local/tex/context/third/greek/t-ancientgreek.mkiv loading module ancientgreek (/Users/steffen/context/tex/texmf-local/tex/context/third/greek/type-agr.tex) ! Missing control sequence inserted. system tex error on line 92 in file 2012_teste.tex: Missing control sequence inserted ... inserted text \inaccessible to be read again { l.92 \define{ \sampi}{\greeksampi} ? Steffen ___ 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 13:22, Steffen Wolfrum wrote: Hi, testing the current beta gave me several errors and Undefined control sequence, for example \showframe (must not be used before \starttext anymore?} but what about \definetolerancemethod[...][...]{...} Is this repleaced or deleted? Yes, these 'definers' were never party of the official interface and they are now all \install*method commands that take the same number of arguments but without []. I might (re)introduce \define variants at some point (probably with key/values then). This is just to make low level configuration more consistent. After all, some of these definers expect knowledge of internals. 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] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 1:22 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: Hi, testing the current beta gave me several errors and Undefined control sequence, for example \showframe (must not be used before \starttext anymore?} It's a matter of font still not defined at that point: just pickup a body font \setupbodyfont[lmroman] \showframe \starttext \input knuth\par \stoptext -- 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 ___
Re: [NTG-context] Surprising changes in vers. 2012.01.11
On 11-1-2012 13:50, Steffen Wolfrum wrote: to be read again { l.92 \define{ \sampi}{\greeksampi} hm, i didn't know anyone was using it that way \define\sampi{\greeksampi} should work ok. I'll be a bot more tolerant then. 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] Surprising changes in vers. 2012.01.11
On 1/11/12 2:01 PM, Hans Hagen wrote: hm, i didn't know anyone was using it that way \define\sampi{\greeksampi} should work ok. I'll be a bot more tolerant then. Hans Was just about to write; I had found that too about two weeks ago. I don't know if it's incorrect syntax, but it had been working for many years, before you started rewriting TeX from scratch :-) 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 ___
[NTG-context] about \startcombination
Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} I got an error message as following: . fonts virtual math unable to resolve name mapsfromchar fonts fallback modern rm 12pt is loaded ! Missing { inserted. system tex error on line 8 in file Workshop.tex: Missing { inserted ... 1 \starttext 2 3 \placefigure[][]{} 4 {\startcombination[3*1] 5 {\externalfigure[cow][width=.3\makeupwidth]} 6 {\externalfigure[cow][width=.3\makeupwidth]} 7 {\externalfigure[cow][width=.3\makeupwidth]} 8 \stopcombination} 9 10 \stoptext 11 12 13 inserted text { to be read again \docombination_b - \hskip \combinationparameter \c!distance \docombination l.8 \stopcombination} ? case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally. \placefigure[][]{} {\startcombination[2*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} Since there is no question about this in the list, I wonder it happens in my system only. Would you please test the above? The versions of LuaTeX and of ConTeXt are as following: This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) ConTeXt ver: 2011.12.23 09:52 MKIV fmt: 2011.12.31 Thank you. 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 14:17, Thomas A. Schmitz wrote: On 1/11/12 2:01 PM, Hans Hagen wrote: hm, i didn't know anyone was using it that way \define\sampi{\greeksampi} should work ok. I'll be a bot more tolerant then. Hans Was just about to write; I had found that too about two weeks ago. I don't know if it's incorrect syntax, but it had been working for many years, before you started rewriting TeX from scratch :-) well, it's hard to imagine how users use commands i fixed it anyway 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 13:55, luigi scarso wrote: On Wed, Jan 11, 2012 at 1:22 PM, Steffen Wolfrumcont...@st.estfiles.dewrote: Hi, testing the current beta gave me several errors and Undefined control sequence, for example \showframe (must not be used before \starttext anymore?} It's a matter of font still not defined at that point: just pickup a body font \setupbodyfont[lmroman] \showframe \starttext \input knuth\par \stoptext I made showframe work before \starttext but in general Luigi's advice has to be followed: if you do anything with fonts before \starttext then you need to load a bodyfont. 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] about \startcombination
On 2012-01-11 dalyoung hak...@me.com wrote: Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]}{} {\externalfigure[cow][width=.3\makeupwidth]}{} {\externalfigure[cow][width=.3\makeupwidth]}{} \stopcombination} case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally. Add the missing braces. Works here. Marco ___ 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 \startcombination
On 11-1-2012 14:35, dalyoung wrote: Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} I got an error message as following: .. fonts virtual math unable to resolve name mapsfromchar fonts fallback modern rm 12pt is loaded ! Missing { inserted. system tex error on line 8 in file Workshop.tex: Missing { inserted ... 1 \starttext 2 3 \placefigure[][]{} 4 {\startcombination[3*1] 5 {\externalfigure[cow][width=.3\makeupwidth]} 6 {\externalfigure[cow][width=.3\makeupwidth]} 7 {\externalfigure[cow][width=.3\makeupwidth]} 8 \stopcombination} 9 10 \stoptext 11 12 13 inserted text { to be read again \docombination_b - \hskip \combinationparameter \c!distance\docombination l.8 \stopcombination} ? case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally. \startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]}{1} {\externalfigure[cow][width=.3\makeupwidth]}{2} {\externalfigure[cow][width=.3\makeupwidth]}{3} \stopcombination so, combinations come in pairs where the even ones can be empty - 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] about \startcombination
Dear Hans, I am sorry for the false alarm. I should be more careful. Thank you. Best regards, Dalyoung 2012. 1. 11., 오후 10:45, Hans Hagen 작성: On 11-1-2012 14:35, dalyoung wrote: Hi, Today, I found a strange behavior of \startcombination. case 1. \placefigure[][]{} {\startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} {\externalfigure[cow][width=.3\makeupwidth]} \stopcombination} I got an error message as following: .. fonts virtual math unable to resolve name mapsfromchar fonts fallback modern rm 12pt is loaded ! Missing { inserted. system tex error on line 8 in file Workshop.tex: Missing { inserted ... 1 \starttext 2 3 \placefigure[][]{} 4 {\startcombination[3*1] 5 {\externalfigure[cow][width=.3\makeupwidth]} 6 {\externalfigure[cow][width=.3\makeupwidth]} 7 {\externalfigure[cow][width=.3\makeupwidth]} 8 \stopcombination} 9 10 \stoptext 11 12 13 inserted text { to be read again \docombination_b - \hskip \combinationparameter \c!distance\docombination l.8 \stopcombination} ? case 2: If I changed [3*1] to [2*1], then no errors. But the output is as same as the case of [1*2], that is, two cows are aligned vertically not horizontally. \startcombination[3*1] {\externalfigure[cow][width=.3\makeupwidth]}{1} {\externalfigure[cow][width=.3\makeupwidth]}{2} {\externalfigure[cow][width=.3\makeupwidth]}{3} \stopcombination so, combinations come in pairs where the even ones can be empty - 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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, ... This example hangs: \def\nobreakspace{~} \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \starttext test~text \stoptext Steffen ___ 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] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 3:38 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, ... This example hangs: \def\nobreakspace{~} \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \starttext test~text \stoptext Steffen ___ 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 ___ hm, always dangerous to redefine lowercase macros In this case I suspect an infinite recursive definition \unexpanded\def~{\nobreakspace} -- 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 ___
Re: [NTG-context] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 3:45 PM, luigi scarso luigi.sca...@gmail.comwrote: On Wed, Jan 11, 2012 at 3:38 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, ... This example hangs: \def\nobreakspace{~} \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \starttext test~text \stoptext Steffen ___ 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 ___ hm, always dangerous to redefine lowercase macros In this case I suspect an infinite recursive definition \unexpanded\def~{\nobreakspace} sorry , too fast ~ is \nobreakspace \unexpanded\def~{\nobreakspace} and you define \def\nobreakspace{~} i.e. an infinte loop, I suppose. -- 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 ___
Re: [NTG-context] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 15:46 schrieb luigi scarso: On Wed, Jan 11, 2012 at 3:45 PM, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Jan 11, 2012 at 3:38 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, ... This example hangs: \def\nobreakspace{~} \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \starttext test~text \stoptext Steffen ___ 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 ___ hm, always dangerous to redefine lowercase macros In this case I suspect an infinite recursive definition \unexpanded\def~{\nobreakspace} sorry , too fast ~ is \nobreakspace \unexpanded\def~{\nobreakspace} and you define \def\nobreakspace{~} i.e. an infinte loop, I suppose. hmm ... this line \def\nobreakspace{~} is part of my environment file for more than 7 years now! (can't remember if it was necessary back then ... ;o) Steffen ___ 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 15:46, luigi scarso wrote: ~ is \nobreakspace \unexpanded\def~{\nobreakspace} and you define \def\nobreakspace{~} i.e. an infinte loop, I suppose. indeed, and it's a bonus that ~ == nobreakspace (although I can imagine that we'd get rid of it) but defining other macros in terms of active characters is a bad idea (in fact one can use the unicode nbsp character) 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 16:18, Steffen Wolfrum wrote: hmm ... this line \def\nobreakspace{~} is part of my environment file for more than 7 years now! (can't remember if it was necessary back then ... ;o) we're moving away from active characters and characters with special meanings so the reversal makes sense in mkiv in fact, your definitions should have been some combination of skip and penalty as you cannot assume that ~ always has the same meaning (being activ emeans that its meaning can change) 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] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 4:18 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: hmm ... this line \def\nobreakspace{ is part of my environment file for more than 7 years now! (can't remember if it was necessary back then ... ;o) Steffen I have a \def\nobreakspace{\penalty\plustenthousand\kern\interwordspace} into spac-gen.mkii (nov 5 2009 ...) (and \def~{\normalpenalty\!!tenthousand\ } so your redefining is not a problem) -- 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 ___
Re: [NTG-context] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 15:38 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:50 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:40 schrieb Steffen Wolfrum: Am 11.01.2012 um 13:22 schrieb Steffen Wolfrum: Hi, testing the current beta gave me several errors and Undefined control sequence, ... This one gives an Undefined control sequence. It is somewhere in that patch Wolfgang gave me some time ago: \setupbodyfont[times,10pt]\setupinterlinespace[line=12pt] \def\dofloatboxnormalbotstackbuilder {\setbox\scratchbox\vbox {\tempfloatwidth\wd\tempfloatbox \vskip5.0pt \ifparfloat \hbox{\hbox {\box\tempfloatbox }}% \dofloatboxbetweenstack \hbox{\locatesidefloat{\box\tempcaptionbox}}% \else \hbox{\locatefloat{\box\tempfloatbox }}% \dofloatboxbetweenstack \hbox{\locatetextfloat{\box\tempcaptionbox}}% \fi\vss} \getnoflines{\dimexpr\htdp\scratchbox-10\scaledpoint\relax}% get rid of inaccuracy \expanded{\doifinset{\v!overlay}{\floatcaptionparameter\c!location}}\bothangfloat {\vbox to \noflines\lineheight{\unvbox\scratchbox}}} %% end. \starttext \placefigure[here]{blabla}{\vskip-9pt{\externalfigure[abbX][frame=off]}blabla}% \stoptext --- Steffen ___ 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 16:48, Steffen Wolfrum wrote: \def\dofloatboxnormalbotstackbuilder {\setbox\scratchbox\vbox {\tempfloatwidth\wd\tempfloatbox \vskip5.0pt \ifparfloat \hbox{\hbox {\box\tempfloatbox }}% \dofloatboxbetweenstack \hbox{\locatesidefloat{\box\tempcaptionbox}}% \else \hbox{\locatefloat{\box\tempfloatbox }}% \dofloatboxbetweenstack \hbox{\locatetextfloat{\box\tempcaptionbox}}% \fi\vss} \getnoflines{\dimexpr\htdp\scratchbox-10\scaledpoint\relax}% get rid of inaccuracy \expanded{\doifinset{\v!overlay}{\floatcaptionparameter\c!location}}\bothangfloat {\vbox to \noflines\lineheight{\unvbox\scratchbox}}} %% end. if you use that kind of low level hacks you should not harm your workflow by updating all low level macros get renamed into their own namespace and are not supposed to be touched (unless of course one keeps also track of low level changes) better is to extend the core code with options 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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 16:36 schrieb luigi scarso: On Wed, Jan 11, 2012 at 4:18 PM, Steffen Wolfrum cont...@st.estfiles.de wrote: hmm ... this line \def\nobreakspace{ is part of my environment file for more than 7 years now! (can't remember if it was necessary back then ... ;o) Steffen I have a \def\nobreakspace{\penalty\plustenthousand\kern\interwordspace} into spac-gen.mkii (nov 5 2009 ...) (and \def~{\normalpenalty\!!tenthousand\ } so your redefining is not a problem) spac-gen.mkii is used for MkII, for MkIV look into space-chr.mkiv. \unexpanded\def~{\nobreakspace} 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] roman pagenumbers?
Trying to use roman numerals as pagenumbers failed. What am I doing wrong or has some other thing changed? A minimal example follows. Changing romannumerals into characters doesn't make a difference. This is ConTeXt ver: 2012.01.09 10:08 MKIV % test pagenumber conversion \setuppapersize[A6][A6] \starttext \setuppagenumber[number=1] \setuppagenumbering[conversion=romannumerals] % or: characters page 1\page page 2\page page 3\page \setuppagenumber[number=1] \setuppagenumbering[conversion=numbers] page 4\page page 5\page page 6\page \stoptext Hans van der Meer Untitled.pdf Description: Untitled.pdf ___ 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] roman pagenumbers?
Am 11.01.2012 um 16:58 schrieb Meer, H. van der: Trying to use roman numerals as pagenumbers failed. What am I doing wrong or has some other thing changed? Use \setuppagenumber[numberconversion=…]. 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] roman pagenumbers?
Thanks. I couldn't find out myself. I examined the wiki's referencepage before asking, but \setuppagenumbering and \setuppagenumber didn't mention this. Hans van der Meer On 11 jan. 2012, at 17:06, Wolfgang Schuster wrote: Am 11.01.2012 um 16:58 schrieb Meer, H. van der: Trying to use roman numerals as pagenumbers failed. What am I doing wrong or has some other thing changed? Use \setuppagenumber[numberconversion=…]. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nlmailto: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] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 04:23:28PM +0100, Hans Hagen wrote: indeed, and it's a bonus that ~ == nobreakspace (although I can imagine that we'd get rid of it) but defining other macros in terms of active characters is a bad idea (in fact one can use the unicode nbsp character) I have always liked this TeX active character (~). As information for users of X11: setxkbmap -option nbsp:level2 (and the equivalent in xorg.conf or etc/hal/fdi/policy/x11-init.fdi) gives nbsp as shift+space. On the subject of unicode characters, I just discovered the :dig command (diagraphs) under my favorite editor vim! Alan ___ 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] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 05:24:51PM +0100, Alan Braslau wrote: On Wed, Jan 11, 2012 at 04:23:28PM +0100, Hans Hagen wrote: indeed, and it's a bonus that ~ == nobreakspace (although I can imagine that we'd get rid of it) but defining other macros in terms of active characters is a bad idea (in fact one can use the unicode nbsp character) I have always liked this TeX active character (~). As information for users of X11: setxkbmap -option nbsp:level2 (and the equivalent in xorg.conf or etc/hal/fdi/policy/x11-init.fdi) gives nbsp as shift+space. On the subject of unicode characters, I just discovered the :dig command (diagraphs) under my favorite editor vim! Follow-up: :se list lcs=nbsp:~ makes me feel right at home with my traditional TeX usage... Alan ___ 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 17:33, Alan Braslau wrote: On Wed, Jan 11, 2012 at 05:24:51PM +0100, Alan Braslau wrote: On Wed, Jan 11, 2012 at 04:23:28PM +0100, Hans Hagen wrote: indeed, and it's a bonus that ~ == nobreakspace (although I can imagine that we'd get rid of it) but defining other macros in terms of active characters is a bad idea (in fact one can use the unicode nbsp character) I have always liked this TeX active character (~). As information for users of X11: setxkbmap -option nbsp:level2 (and the equivalent in xorg.conf or etc/hal/fdi/policy/x11-init.fdi) gives nbsp as shift+space. On the subject of unicode characters, I just discovered the :dig command (diagraphs) under my favorite editor vim! Follow-up: :se list lcs=nbsp:~ makes me feel right at home with my traditional TeX usage... my favourite editor shows a nice orange blob when it sees a non breakable space 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] Surprising changes in vers. 2012.01.11
On Wed, Jan 11, 2012 at 05:42:38PM +0100, Hans Hagen wrote: Follow-up: :se list lcs=nbsp:~ makes me feel right at home with my traditional TeX usage... my favourite editor shows a nice orange blob when it sees a non breakable space In vim, one can add this to his ~/.vimrc: highlight NobreakSpace ctermbg=yellow match NobreakSpace / / (the space in / / is nbsp) Regards, Khaled ___ 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] buffer broken?
Am 11.01.2012 um 12:52 schrieb Meer, H. van der: On 11 jan. 2012, at 11:33, luigi scarso wrote: On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer havdm...@xs4all.nl wrote: Something must have been changed with buffers between the versions: ConTeXt ver: 2011.11.29 18:47 MKIV fmt: 2011.12.31 and ConTeXt ver: 2012.01.09 10:08 MKIV fmt: 2012.1.11 Formerly this was ok: \startbuffer[abc] whatever \stopbuffer Now I get: ! Missing } inserted. Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past. Does it works with \setbuffer[abc] whatever \endbuffer ? It works with these macros, yes. Thanks. But is \setbuffer..\endbuffer something new? No, it’s a old command but not very useful for a user. I do not see it on the Reference page of the wiki. The original source for the reference pages didn’t provide a way to describe the syntax for \setbuffer but there are also many commands which are undocumented. Also it doesn't seem in line with ConTeXt's regular naming scheme of \startsomething..\stopsomething. Can you give somewhat more information, for examle what is the difference between \setbuffer and \startbuffer? \setbuffer can’t be nested like \startbuffer and not a command which should be used in a document. It’s useful for internal use when one write macros where the regular buffer environment can’t be used. 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] placefigure shifting up?
In my document I have a number of \placefigures, some pdf's, some jpg's etc. Mostly the figure are placed correct with respect to, the caption but sometimes for no apparent reason I can spot, the picture is shifted up. In the first illustration taken from the document this is clearly seen, picture and caption should be close together. Compare this with the other one. I do not have a minimal example at hand, the document is too big for that and as said, I could not yet force the behaviour. Both \placefigure's are exactly the same apart from their specific contents. Anyone who knows about this problem? For me it is quite a problem, because it ruins the document layout considerably. Hans van der Meer [cid:003D2B08-D3E6-491B-B30A-C6A5EA7C51A3@fritz.box] [cid:FE6C2B84-C13F-467D-A2B9-FFE45A519496@fritz.box] inline: shifted.jpginline: notshifted.jpg___ 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] placefigure shifting up?
On 11-1-2012 20:01, Meer, H. van der wrote: In my document I have a number of \placefigures, some pdf's, some jpg's etc.. Mostly the figure are placed correct with respect to, the caption but sometimes for no apparent reason I can spot, the picture is shifted up. In the first illustration taken from the document this is clearly seen, picture and caption should be close together. Compare this with the other one. I do not have a minimal example at hand, the document is too big for that and as said, I could not yet force the behaviour. Both \placefigure's are exactly the same apart from their specific contents. Anyone who knows about this problem? For me it is quite a problem, because it ruins the document layout considerably. no clue ... maybe put a frame around it to see the boundingboxes 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] placefigure shifting up?
I might add to this report the following observation: In a document with \setuppapersize [S8][S8] the shifts appear now and then, whereas these are typeset normally when the document is place on \setuppapersize [A4][A4]. It seems that the papersize and placefigure sometimes have a problem with each other. Hans van der Meer On 11 jan. 2012, at 20:01, H. van der Meer wrote: In my document I have a number of \placefigures, some pdf's, some jpg's etc. Mostly the figure are placed correct with respect to, the caption but sometimes for no apparent reason I can spot, the picture is shifted up. In the first illustration taken from the document this is clearly seen, picture and caption should be close together. Compare this with the other one. I do not have a minimal example at hand, the document is too big for that and as said, I could not yet force the behaviour. Both \placefigure's are exactly the same apart from their specific contents. Anyone who knows about this problem? For me it is quite a problem, because it ruins the document layout considerably. Hans van der Meer shifted.jpg notshifted.jpg ___ 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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 17:46 schrieb Steffen Wolfrum: ... and what's wrong with this (only reproducible in project structure, see attached)? chap_x.tex only has these 3 minimal lines: \setupalign[line,block,hanging] \setupexternalfigures[directory={./Figuren,../Figuren}] \placefigure[force]{test}{\externalfigure[abb5][frame=off]} Unrelated to project structure. \setupalign[line]%\setfalse\raggedonelinerstate \starttext \externalfigure[cow] \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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 20:31 schrieb Wolfgang Schuster: \setupalign[line]%\setfalse\raggedonelinerstate \starttext \externalfigure[cow] \stoptext That's new... \setfalse\raggedonelinerstate wasn't needed with 2011.11.29, at least. Why is it necessary now? Steffen ___ 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] Surprising changes in vers. 2012.01.11
Am 11.01.2012 um 20:44 schrieb Steffen Wolfrum: Am 11.01.2012 um 20:31 schrieb Wolfgang Schuster: \setupalign[line]%\setfalse\raggedonelinerstate \starttext \externalfigure[cow] \stoptext That's new... \setfalse\raggedonelinerstate wasn't needed with 2011.11.29, at least. Why is it necessary now? You don’t need it and you shouldn’t put it in your document. The problem is the setting \setupalign[line] which breaks \externalfigure but when the conditional \raggedonelinestate is false (can be also achieved when you set a value for the align key in \externalfigure) it works. 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] [solved] Luatex fatal error with math subscript and pagella font
Hi, Le lundi 09 janvier 2012, Wolfgang Schuster a écrit : Am 09.01.2012 um 23:03 schrieb Romain Diss: The error is the following: !LuaTeX error: cannot open Type 1 font file for reading (qplri.pfb) == Fatal error occurred, no output PDF file produced! The problem is quite recent but I think it is not related to the last beta. The font “qplri.pfb” is broken or not available on your system. What happens when you write “mtxrun --find-file qplri.pfb” on the command line? The command gave nothing. I tried to update the standalone installation few times but the file was still missing. So i tried to remove and purge completely the installation and re-install it from scratch... and surprisingly, the file is now here! Many thanks for your response and sorry for the noise... All the best. -- Romain Diss romain.d...@yahoo.fr ___ 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] placefigure shifting up?
I think I can nail the responsible one. As far as I can see the problem is tightly coupled with the following structure: \placefigure[][]{caption}{\startcombination[]{contents}{}{contents}{}\stopcombination} The other figures I have seem to placed well enough, the above structures behaving erratic. I could not completely ascertain whether empty desciptions parts in the combination-members plays a role. I really hope this will point the way to a fast solution from the gurus ;-) Hans van der Meer On 11 jan. 2012, at 20:21, Hans van der Meer wrote: I might add to this report the following observation: In a document with \setuppapersize [S8][S8] the shifts appear now and then, whereas these are typeset normally when the document is place on \setuppapersize [A4][A4]. It seems that the papersize and placefigure sometimes have a problem with each other. Hans van der Meer On 11 jan. 2012, at 20:01, H. van der Meer wrote: In my document I have a number of \placefigures, some pdf's, some jpg's etc. Mostly the figure are placed correct with respect to, the caption but sometimes for no apparent reason I can spot, the picture is shifted up. In the first illustration taken from the document this is clearly seen, picture and caption should be close together. Compare this with the other one. I do not have a minimal example at hand, the document is too big for that and as said, I could not yet force the behaviour. Both \placefigure's are exactly the same apart from their specific contents. Anyone who knows about this problem? For me it is quite a problem, because it ruins the document layout considerably. Hans van der Meer shifted.jpg notshifted.jpg ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nlmailto: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] Surprising changes in vers. 2012.01.11
On 11-1-2012 20:31, Wolfgang Schuster wrote: Am 11.01.2012 um 17:46 schrieb Steffen Wolfrum: ... and what's wrong with this (only reproducible in project structure, see attached)? chap_x.tex only has these 3 minimal lines: \setupalign[line,block,hanging] \setupexternalfigures[directory={./Figuren,../Figuren}] \placefigure[force]{test}{\externalfigure[abb5][frame=off]} Unrelated to project structure. \setupalign[line]%\setfalse\raggedonelinerstate \starttext \externalfigure[cow] \stoptext indeed, that reset had to be added to the 'none' case (but I had no time to make a new beta yet) - 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] Surprising changes in vers. 2012.01.11
On 11-1-2012 20:51, Wolfgang Schuster wrote: Am 11.01.2012 um 20:44 schrieb Steffen Wolfrum: Am 11.01.2012 um 20:31 schrieb Wolfgang Schuster: \setupalign[line]%\setfalse\raggedonelinerstate \starttext \externalfigure[cow] \stoptext That's new... \setfalse\raggedonelinerstate wasn't needed with 2011.11.29, at least. Why is it necessary now? You don’t need it and you shouldn’t put it in your document. The problem is the setting \setupalign[line] which breaks \externalfigure but when the conditional \raggedonelinestate is false (can be also achieved when you set a value for the align key in \externalfigure) it works. and the alignstate variable might become private anyway, so setting it in your style is not robust 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 ___
[NTG-context] Broken Nightly
Hey folks, Broken nightly with 2012.01.09 10:08. Compiling my book, I get: ! Undefined control sequence. \@@md:simplefonts:style -\c!rm argument ...leparameter \v!simplefonts \c!style , \c!features =\v! default ... \startprocessassignmentcommand ...signmentlist [#1 ]}\currentassignmentlistco... \dosetupsimplefonts ...nts@features {#1}\v!global \fi \if!! donesimplefonts \... l.797\c!protrusion=\v!no] ? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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 Line Number
Hey folks, I get the following error message when attempting to compile my book, but it doesn't appear to say what file / line number is responsible. Is there a way to turn on file / line error messages, akin to what one sees with gcc? $ context Source/Handbook.tex --result=Handbook.pdf --purgeresult resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/contextcnf.lua' resolvers | resolving | loading configuration file '/usr/share/texmf/web2c/contextcnf.lua' mtx-context | run 1: luatex --fmt=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en --lua=/home/kip/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui --backend=pdf Source/Handbook.tex \stoptext This is LuaTeX, Version beta-0.71.0-2011122302 (rev 4358) \write18 enabled. resolversresolving loading configuration file '/usr/share/texmf/web2c/contextcnf.lua' (Source/Handbook.tex ConTeXt ver: 2011.12.31 18:06 MKIV fmt: 2012.1.11 int: english/english system cont-new.mkiv loaded (/usr/share/texmf/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system Handbook.top loaded (Handbook.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) (/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv) filesreadfile asked name: 'loc', not found {/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math loading font LMMath7-Regular subfont 9 with name stmary10.afm at 458752 is skipped, not found fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math loading font LMMath9-Regular subfont 9 with name stmary10.afm at 589824 is skipped, not found fontsdefining forced type afm of stmary10 not found fontsdefining font with asked name 'stmary10' is not found using lookup 'file' fontsvirtual math loading font LMMath12-Regular subfont 9 with name stmary10.afm at 786432 is skipped, not found fontsfallback modern rm 12pt is loaded (Source/Environment.tex resolversmodules loaded: 'units' (/usr/share/texmf/tex/context/base/m-units.mkiv + /usr/share/texmf/tex/context/base/x-mathml.lua) resolversmodules loaded: 'simplefonts' (/usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.tex loading ConTeXt User Module / Simplefonts + /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua) fontsbeware: fontclass ignored (if needed use: [fontclass][size][settings]) ) ! Missing } inserted. inserted text } to be read again \vfill l.23 \vfill ? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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 \startcombination
Dear Marco, Thank you for your reply. It is totally my fault. I should be more careful to edit. 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 ___