Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Vedran Miletić
2010/9/9 Wolfgang Schuster schuster.wolfg...@googlemail.com: \textdimensionstrue Awesome. Are there any other useful switches? -- Vedran Miletić ___ If your question is of interest to others as well, please add an

[NTG-context] Perfecting my checkbox functionalities

2010-09-10 Thread Cecil Westerhof
I am learning to work with ConTeXt. At the moment I have the following defined: \newdimen\CheckBoxMargin \CheckBoxMargin=2em \newdimen\CheckBoxWidth \CheckBoxWidth=2.5em \newdimen\CheckBoxDistance \CheckBoxDistance=.5em \definesymbol[CheckBox][{[~~~]}]

[NTG-context] Fonts

2010-09-10 Thread Cecil Westerhof
Is there a list of the standard fonts to use? I found: serif regular roman sans support sansserif mono type teletype handwritten cmr mm rm But none of them I find very pleasing. (And handwritten looks different as the name suggest.) How can I find out which fonts I can

[NTG-context] Prevent Ligatures

2010-09-10 Thread Andreas Harder
Hi all, I've two questions. 1. Is f|*|f still the right way to prevent a ligature? 2. \setff{noligs} don't seem to have effect, while the defined font is working. What is wrong? \definefontfeature[noligs] [default][liga=no] \definefont[test][Serif*noligs] \startTEXpage[offset=1ex] ff fi

Re: [NTG-context] Prevent Ligatures

2010-09-10 Thread Taco Hoekwater
On 09/10/2010 01:01 PM, Andreas Harder wrote: Hi all, I've two questions. 1. Is f|*|f still the right way to prevent a ligature? 2. \setff{noligs} don't seem to have effect, while the defined font is working. What is wrong? Have you tried \addff ? Best wishes, Taco

Re: [NTG-context] Prevent Ligatures

2010-09-10 Thread Andreas Harder
Am 10.09.2010 um 13:42 schrieb Taco Hoekwater: On 09/10/2010 01:01 PM, Andreas Harder wrote: Hi all, I've two questions. 1. Is f|*|f still the right way to prevent a ligature? 2. \setff{noligs} don't seem to have effect, while the defined font is working. What is wrong? Have you

[NTG-context] pdf file not found

2010-09-10 Thread Peter Münster
Hello, Can anybody reproduce the following problem (Taco can't ...): \startbuffer[pdf-pages] \starttext page 1 \page page 2 \stoptext \stopbuffer \savebuffer[pdf-pages][pdf-pages.tex] \executesystemcommand{context pdf-pages; mkdir testdir; mv pdf-pages.pdf testdir/2*8.pdf} \starttext

[NTG-context] cjk texts in the pdf file which MkIV output sometimes can not be copy rightly

2010-09-10 Thread 李延瑞
Hi all, For the pdf file which is generated frome the following example, two Chinese characters can not be copied rightly when I use simsun.ttc font and use *Adobe Reader* to view it. The copy text is displayed as the wrong unicode text such as ᨀ. However these glyphs can be copied rightly if I

Re: [NTG-context] cjk texts in the pdf file which MkIV output sometimes can not be copy rightly

2010-09-10 Thread 李延瑞
2010/9/10 Li Yanrui (李延瑞) liyanrui...@gmail.com: Hi all, For the pdf file which is generated frome the following example, two Chinese characters can not be copied rightly when I use simsun.ttc font and use *Adobe Reader* to view it. The copy text is displayed as the wrong unicode text such

Re: [NTG-context] cjk texts in the pdf file which MkIV output sometimes can not be copy rightly

2010-09-10 Thread Taco Hoekwater
On 09/10/2010 02:32 PM, Li Yanrui (李延瑞) wrote: 2010/9/10 Li Yanrui (李延瑞)liyanrui...@gmail.com: Hi all, For the pdf file which is generated frome the following example, two Chinese characters can not be copied rightly when I use simsun.ttc font and use *Adobe Reader* to view it. The copy text

[NTG-context] Indent after \placefigure

2010-09-10 Thread Andreas Harder
Hello, if one uses the right-option in \placefigure the paragraph indent is omitted. Example: \setupindenting[small,yes,next] \setupfloats[indentnext=yes] % no effect \starttext \input tufte \par \placefigure [right]{caption} {\framed[width=5cm,height=3cm]{some figure}} \input tufte \par

Re: [NTG-context] pdf file not found

2010-09-10 Thread Hongwen Qiu
于 2010年09月10日 20:25, Peter Münster 写道: Hello, Can anybody reproduce the following problem (Taco can't ...): No problem here. \startbuffer[pdf-pages] \starttext page 1 \page page 2 \stoptext \stopbuffer \savebuffer[pdf-pages][pdf-pages.tex] \executesystemcommand{context pdf-pages;

Re: [NTG-context] Indent after \placefigure

2010-09-10 Thread Marius
Hello, see here http://tracker.luatex.org/view.php?id=403 On 10 September 2010 16:15, Andreas Harder andreas.har...@rz-online.de wrote: Hello, if one uses the right-option in \placefigure the paragraph indent is omitted. Example: \setupindenting[small,yes,next]

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
Ok, I narrowed it down: ---First minimal example--- \setupcolors[state=start] \starttext

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 16:01 schrieb Jörg Hagmann: Ok, I narrowed it down: ---First minimal example--- \setupcolors[state=start] \starttext

Re: [NTG-context] Fonts

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 10:11 schrieb Cecil Westerhof: Is there a list of the standard fonts to use? I found: [...] But none of them I find very pleasing. (And handwritten looks different as the name suggest.) How can I find out which fonts I can use? With your list you can only switch to a

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Hans Hagen
On 10-9-2010 4:06, Wolfgang Schuster wrote: The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef definitions with real counters and forgot for the background macros to add \setnewconstant\backgroundsplit\zerocount actually i forgot to change a couple of them into

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
Thank you, Wolfgang. I added the line \setnewconstant\backgroundsplit\zerocount to pack-rul.mkiv, AND IT WORKED! This leaves the (not vital for me) question why minimal example 2 (using setuptextbackground) produces that funny background with the same commands as in setupbackground. Thanks

Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 10:03 schrieb Vedran Miletić: 2010/9/9 Wolfgang Schuster schuster.wolfg...@googlemail.com: \textdimensionstrue Awesome. Are there any other useful switches? Beside \textdimension(true|false) there is \spaceddimensions(true|false) to add a small space between dimension.

Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Hans Hagen
On 10-9-2010 4:58, Wolfgang Schuster wrote: Am 10.09.2010 um 10:03 schrieb Vedran Miletić: 2010/9/9 Wolfgang Schusterschuster.wolfg...@googlemail.com: \textdimensionstrue Awesome. Are there any other useful switches? Beside \textdimension(true|false) there is

Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 17:01 schrieb Hans Hagen: With MkIV we have a powerful tool to do this because Lua make it so easy to parse and format numbers and units, see here: http://bitbucket.org/wolfs/units/src/tip/files/ I actually have a mkiv variant somewhere and will pick up that thread soon.

Re: [NTG-context] background, mkii vs. mkiv

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 16:52 schrieb Jörg Hagmann: Thank you, Wolfgang. I added the line \setnewconstant\backgroundsplit\zerocount to pack-rul.mkiv, AND IT WORKED! This leaves the (not vital for me) question why minimal example 2 (using setuptextbackground) produces that funny background with

Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Hans Hagen
On 10-9-2010 5:06, Wolfgang Schuster wrote: Am 10.09.2010 um 17:01 schrieb Hans Hagen: With MkIV we have a powerful tool to do this because Lua make it so easy to parse and format numbers and units, see here: http://bitbucket.org/wolfs/units/src/tip/files/ I actually have a mkiv variant

Re: [NTG-context] pdf file not found

2010-09-10 Thread Hans Hagen
On 10-9-2010 2:25, Peter Münster wrote: \startbuffer[pdf-pages] \starttext page 1 \page page 2 \stoptext \stopbuffer \savebuffer[pdf-pages][pdf-pages.tex] \executesystemcommand{context pdf-pages; mkdir testdir; mv pdf-pages.pdf testdir/2*8.pdf} \starttext

Re: [NTG-context] beta

2010-09-10 Thread Hans Hagen
On 10-9-2010 10:43, Zhichu Chen wrote: My apology. I attach the test file here and hope that's gonna help. I extract everything from the font package to $texmf-fonts/fonts/data/bh/lucida and that's it. works ok here did you run mtxrun --generate etc? Hans

Re: [NTG-context] Perfecting my checkbox functionalities

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 10:05 schrieb Cecil Westerhof: I am learning to work with ConTeXt. At the moment I have the following defined: I guess we need a context programmers guide. \newdimen\CheckBoxMargin \CheckBoxMargin=2em \newdimen\CheckBoxWidth \CheckBoxWidth=2.5em

Re: [NTG-context] pdf file not found

2010-09-10 Thread Peter Münster
On Fri, Sep 10 2010, Hans Hagen wrote: \starttext \setupexternalfigures[directory={./testdir}] \externalfigure[28][page=3] \stoptext so, no * in the filename Does this mean, that you can reproduce the problem, or not? I just want to know, how to compile the context manual, see

Re: [NTG-context] pdf file not found

2010-09-10 Thread Hans Hagen
On 10-9-2010 6:12, Peter Münster wrote: On Fri, Sep 10 2010, Hans Hagen wrote: \starttext \setupexternalfigures[directory={./testdir}] \externalfigure[28][page=3] \stoptext so, no * in the filename Does this mean, that you can reproduce the problem, or not? i get empty pages in

Re: [NTG-context] (Xe)ConTeXt and CJK support

2010-09-10 Thread Mojca Miklavec
On Thu, Sep 9, 2010 at 10:21, S Barmeier wrote: Dear ConTeXt users, I am trying to write a document (grammar notes) in English and Japanese and so far have used XeTeX (for Unicode support) with tikZ (for graphics) quite successfully. However, I wish to convert to (Xe)ConTeXt in order to have

Re: [NTG-context] (Xe)ConTeXt and CJK support

2010-09-10 Thread Hans Hagen
On 10-9-2010 9:03, Mojca Miklavec wrote: P.S.: If you think I'm crazy for trying to mix XeTeX, ConTeXt and tikZ, please tell me now... =) No, nothing is crazy about that. It's just that Hans likes MKIV much more than ConTeXt. mkiv *is* context (some day you can say: mkii *was* context)

Re: [NTG-context] (Xe)ConTeXt and CJK support

2010-09-10 Thread Mojca Miklavec
On Fri, Sep 10, 2010 at 21:10, Hans Hagen wrote: On 10-9-2010 9:03, Mojca Miklavec wrote: P.S.: If you think I'm crazy for trying to mix XeTeX, ConTeXt and tikZ, please tell me now... =) No, nothing is crazy about that. It's just that Hans likes MKIV much more than ConTeXt. mkiv *is*

Re: [NTG-context] pdf file not found

2010-09-10 Thread Peter Münster
On Fri, Sep 10 2010, Hans Hagen wrote: i get empty pages in the case of a * but that can be simply because a * might not be in a filename on windows Ok, I can rename the file. But I think, the behaviour is so strange, that there is somewhere a hidden bug. Strange, because 2*8 is the only

Re: [NTG-context] pdf file not found

2010-09-10 Thread Aditya Mahajan
On Fri, 10 Sep 2010, Peter Münster wrote: On Fri, Sep 10 2010, Hans Hagen wrote: i get empty pages in the case of a * but that can be simply because a * might not be in a filename on windows Ok, I can rename the file. But I think, the behaviour is so strange, that there is somewhere a

Re: [NTG-context] pdf file not found

2010-09-10 Thread Vnpenguin
On Fri, Sep 10, 2010 at 21:27, Peter Münster pmli...@free.fr wrote: On Fri, Sep 10 2010, Hans Hagen wrote: i get empty pages in the case of a * but that can be simply because a * might not be in a filename on windows Ok, I can rename the file. But I think, the behaviour is so strange, that

Re: [NTG-context] formula: listing and subnumbering

2010-09-10 Thread Peter Schorsch
Hans Hagen wrote: i'll have a look at it Did you found anything? I tried to figure out which command in the examples of the wiki work/dont work (I used mkiv stable). So far: \formulanumber - works in mkii and mkiv \subformulanumber - works only in mkii \placenamedsubformula - works only in

Re: [NTG-context] formula: listing and subnumbering

2010-09-10 Thread Hans Hagen
On 10-9-2010 9:38, Peter Schorsch wrote: Hans Hagen wrote: i'll have a look at it Did you found anything? I tried to figure out which command in the examples of the wiki work/dont work (I used mkiv stable). So far: \formulanumber - works in mkii and mkiv \subformulanumber - works only in

Re: [NTG-context] ConTeXt meeting luggage

2010-09-10 Thread Henning Hraban Ramm
Am 2010-09-09 um 23:35 schrieb Hans Hagen: On 9-9-2010 9:56, Henning Hraban Ramm wrote: Is any participant interested in CAcert assurance? (Otherwise I leave my forms at home.) I have no clue what it is -) see cacert.org: CAcert issues free digital certificates (for email, servers

Re: [NTG-context] Fonts

2010-09-10 Thread Peter Schorsch
You can list all local availble fonts with: mtxrun --script fonts --list --all More details under: http://wiki.contextgarden.net/Fonts_in_LuaTeX Cecil Westerhof wrote: Is there a list of the standard fonts to use? I found: serif regular roman sans support sansserif

Re: [NTG-context] ConTeXt meeting luggage

2010-09-10 Thread Mojca Miklavec
On Thu, Sep 9, 2010 at 21:56, Henning Hraban Ramm wrote: Should I bring my guitar, or do we spend the nights hacking anyway? (I'd like to learn a Czech folk song or two, even if I'll have a hard time pronouncing it ;-)) Guitar is very welcome even if the rest is going to spend as much time

[NTG-context] tex placeholder for use in metapost/metafun

2010-09-10 Thread Martin 'golodhrim' Scholz
Hi everybody, as I like to desing a CI for an publishing Cover for an Organisation, I have a question about usage: What I wanna do is, having placeholders in the metapost coverpage, it should work like \author{} \title{} \swlogo{} in the preamble and should be automatically placed in the

Re: [NTG-context] Fonts

2010-09-10 Thread Andreas Harder
Am 10.09.2010 um 21:54 schrieb Peter Schorsch: You can list all local availble fonts with: mtxrun --script fonts --list –all But this is broken with the latest beta. At least for me (OS X 10.6.4). Greeting Andreas

Re: [NTG-context] Fonts

2010-09-10 Thread Hans Hagen
On 10-9-2010 10:57, Andreas Harder wrote: mtxrun --script fonts --list –all what if you add --pattern=* - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] ConTeXt meeting luggage

2010-09-10 Thread Hans Hagen
On 10-9-2010 9:52, Henning Hraban Ramm wrote: Am 2010-09-09 um 23:35 schrieb Hans Hagen: On 9-9-2010 9:56, Henning Hraban Ramm wrote: Is any participant interested in CAcert assurance? (Otherwise I leave my forms at home.) I have no clue what it is -) see cacert.org: CAcert issues free

Re: [NTG-context] ConTeXt meeting luggage

2010-09-10 Thread Jano Kula
On 09/10/2010 10:12 PM, Mojca Miklavec wrote: On Thu, Sep 9, 2010 at 21:56, Henning Hraban Ramm wrote: Should I bring my guitar, or do we spend the nights hacking anyway? (I'd like to learn a Czech folk song or two, even if I'll have a hard time pronouncing it ;-)) Guitar is very welcome

Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Vedran Miletić
2010/9/10 Hans Hagen pra...@wxs.nl: Is the new module with the old syntax (10 \Meter etc.) or a new one. first I'm redoing digits with regards to the units themselves, we can do both: \Meter \Per \Second and m/s) .. i'm still considering doing it at the node end .. typical dark winternight

Re: [NTG-context] Units fonts and spacing

2010-09-10 Thread Vedran Miletić
To add a bit to this thread: just checked the siunits module, it's awesome. Spacing is right, sans font units work out of the box, no need for \ after the units and syntax for adding new units is very simple. I have a couple of questions: 1. How to change decimal separator and thousand separator?

Re: [NTG-context] Fonts

2010-09-10 Thread Peter Schorsch
I have to agree to Andreas... i just updated to the actual beta (for the math examples). Now mtxrun answers with following statement: ...text/tex/texmf-context/tex/context/base/font-otp.lua:512: attempt to call field 'register' (a nil value)

Re: [NTG-context] ConTeXt meeting luggage

2010-09-10 Thread luigi scarso
On Fri, Sep 10, 2010 at 11:37 PM, Jano Kula jano.k...@tiscali.cz wrote: The river is only 2 meters away, so there will be more swimming this time. This is why I still have not bought new glasses -- luigi ___ If

Re: [NTG-context] tex placeholder for use in metapost/metafun

2010-09-10 Thread Wolfgang Schuster
Am 10.09.2010 um 22:45 schrieb Martin 'golodhrim' Scholz: Hi everybody, as I like to desing a CI for an publishing Cover for an Organisation, I have a question about usage: What I wanna do is, having placeholders in the metapost coverpage, it should work like \author{} \title{}

Re: [NTG-context] beta

2010-09-10 Thread Zhichu Chen
On Fri, Sep 10, 2010 at 11:59 PM, Hans Hagen pra...@wxs.nl wrote: On 10-9-2010 10:43, Zhichu Chen wrote: My apology. I attach the test file here and hope that's gonna help. I extract everything from the font package to $texmf-fonts/fonts/data/bh/lucida and that's it. works ok here did