Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread zs
Try using directly unicode characters: – 2013 - en dash — 2014 - em dash Regards Zdenek On Thu, 11 Mar 2010 21:21:23 +0100 Philipp Gesang pges...@ix.urz.uni-heidelberg.de wrote: Hi again, when using Antykwa Toruńska I have problems getting dashes rights. Example:

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread Philipp Gesang
Ahoj Zdeňku, On 2010-03-12 09:09:02, zs wrote: Try using directly unicode characters: – 2013 - en dash — 2014 - em dash Believe me, my keyboard layout is overfull with stuff and it's already hard to find suitable places for punctuation; thus I welcome the original TeX notation.

Re: [NTG-context] Unable to use example from Excursion

2010-03-12 Thread Otared Kavian
On 12 mars 2010, at 08:37, Aditya Mahajan wrote: […] A bug. \type inside a table caption does not work. Minimal example: \starttext \placetable [here,force] % not forece {Use of \type{\setuptables}} {} \stoptext Indeed. However it works fine with mkii. More generally

[NTG-context] Modules section login (Was: Transliterator module, 2nd revision)

2010-03-12 Thread Philipp Gesang
Hi again, On 2010-03-11 10:32:50, Philipp Gesang wrote: On 2010-03-10 17:01:46, Wolfgang Schuster wrote: I have opened a bitbucket account in order to not to clutter the mailing list with archives. The tip revision can be found here:

Re: [NTG-context] Modules section login (Was: Transliterator module, 2nd revision)

2010-03-12 Thread Patrick Gundlach
Hi Phillip, My wiki account is now almost two days old but I still can't login at the modules section. I tried almost all possible permutations of login name, full name, upper-/lowercase to no avail. How does it really work? Sorry for that. Can you contact me off-list? Then we will debug

[NTG-context] simplefonts

2010-03-12 Thread Michael Saunders
Add \definefontfeature[default]  [default]  [mode=node,script=latn] \definefontfeature[smallcaps][smallcaps][mode=node,script=latn] before \setmainfont. Thank you, Wolfgang, but this has no effect. -- m ___ If

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread zs
... Do you speak Czech??? OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8 It seems like you use linux, try pressing shiftctrlu2013 to type 'en dash'

Re: [NTG-context] Unable to use example from Excursion

2010-03-12 Thread Hans Hagen
On 12-3-2010 10:04, Otared Kavian wrote: On 12 mars 2010, at 08:37, Aditya Mahajan wrote: […] A bug. \type inside a table caption does not work. Minimal example: \starttext \placetable [here,force] % not forece {Use of \type{\setuptables}} {} \stoptext Indeed. However it

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread luigi scarso
On Fri, Mar 12, 2010 at 11:32 AM, zs zstry...@physics.ujep.cz wrote: ... Do you speak Czech??? OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8 1)

Re: [NTG-context] simplefonts

2010-03-12 Thread Wolfgang Schuster
Am 12.03.10 11:05, schrieb Michael Saunders: Add \definefontfeature[default] [default] [mode=node,script=latn] \definefontfeature[smallcaps][smallcaps][mode=node,script=latn] before \setmainfont. Thank you, Wolfgang, but this has no effect. This works \definefontfeature[default]

[NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Steffen Wolfrum
Hi, I am totally confused by interlinespace usage in mkiv ... Please have a look at this torture test below: Setting bodytext to a tight interlinespace works by \setuplayout[grid=both]. But \chapter doesn't get right: Either you use \setuplocalinterlinespace, then you might get an extra space

Re: [NTG-context] Unable to use example from Excursion

2010-03-12 Thread Alain Delmotte
Hi! Thanks to Aditya, Otared and Hans. I can carry on!! Alain Hans Hagen a écrit : On 12-3-2010 10:04, Otared Kavian wrote: On 12 mars 2010, at 08:37, Aditya Mahajan wrote: […] A bug. \type inside a table caption does not work. Minimal example: \starttext \placetable [here,force]

Re: [NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Peter Rolf
Hi Steffen, i have tried my best, but i'm no grid expert. see attached example. @Hans: 1.) \startgridcorrection[top] does not work ! Undefined control sequence. \nextoptionalcommandyes ...menttrue \domoveongrid 2.) without an additional \setupinterlineskip (after the bodyfont change in the

[NTG-context] Why is the figure not centered

2010-03-12 Thread Curiouslearn
Can someone please tell me why the code below does not (horizontally) center the figure? The caption is in the middle but the figure is not. Thanks. \usemodule[pgfplots] \starttext \placefigure[here][fig:demand]{Demand Curve} {\starttikzpicture \startaxis[line width=1pt,

[NTG-context] [OT] Experiences in ConTeXt

2010-03-12 Thread luigi scarso
Nice http://www.danielstender.com/granthinam/?p=769#respond -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Why is the figure not centered

2010-03-12 Thread Aditya Mahajan
On Fri, 12 Mar 2010, Curiouslearn wrote: Can someone please tell me why the code below does not (horizontally) center the figure? The caption is in the middle but the figure is not. Thanks. \usemodule[pgfplots] \starttext \placefigure[here][fig:demand]{Demand Curve} {\starttikzpicture

Re: [NTG-context] Why is the figure not centered

2010-03-12 Thread Curiouslearn
That worked great! Thanks. On Fri, Mar 12, 2010 at 11:50 AM, Aditya Mahajan adit...@umich.edu wrote: On Fri, 12 Mar 2010, Curiouslearn wrote: Can someone please tell me why the code below does not (horizontally) center the figure? The caption is in the middle but the figure is not. Thanks.

Re: [NTG-context] interlinespace confusion (MkIV)

2010-03-12 Thread Hans Hagen
On 12-3-2010 14:41, Steffen Wolfrum wrote: Hi, I am totally confused by interlinespace usage in mkiv ... Please have a look at this torture test below: Setting bodytext to a tight interlinespace works by \setuplayout[grid=both]. But \chapter doesn't get right: Either you use

[NTG-context] simplefonts

2010-03-12 Thread Michael Saunders
This works \definefontfeature[default]  [default]  [mode=node,script=latn] \definefontfeature[smallcaps][smallcaps][mode=node,script=latn] \usemodule[simplefonts] \setmainfont[garamondpremrpro] Thank you once again. That _did_ work, after I got rid of an \os (I used it because I saw it

Re: [NTG-context] simplefonts

2010-03-12 Thread Aditya Mahajan
On Fri, 12 Mar 2010, Michael Saunders wrote: This works \definefontfeature[default]  [default]  [mode=node,script=latn] \definefontfeature[smallcaps][smallcaps][mode=node,script=latn] \usemodule[simplefonts] \setmainfont[garamondpremrpro] Thank you once again. That _did_ work, after I got

Re: [NTG-context] simplefonts

2010-03-12 Thread Hans Hagen
On 12-3-2010 20:11, Michael Saunders wrote: The command \definefontfeature intrigues me greatly. I wonder if it could solve all my problems. I'd love to understand it so that I don't end up coming in here and asking you to write all my font setups line by line. I Googled it and found only a

Re: [NTG-context] simplefonts

2010-03-12 Thread Thomas A. Schmitz
Hi Michael, This is not to disparage Wolfgang's great simplefonts module, but I learnt setting up fonts the old-fashioned way (with typescripts), so I will give a few explanations about this approach. Most of what you want can be achieved easily. I have Garamond Premier myself, and this is how

Re: [NTG-context] simplefonts

2010-03-12 Thread Wolfgang Schuster
Am 12.03.10 21:11, schrieb Thomas A. Schmitz: 7. Maybe \definefontfeature is how I should turn on hz? With the fontfeature, we have defined to use protrusion=pure,expansion=quality . To enable it, put this in the preamble of your document: \enableprotruding \enableadjusting

Re: [NTG-context] simplefonts

2010-03-12 Thread Andreas Harder
Hi! 5. How I could use the superior and inferior shapes in my font---like for the footnotemarks, for example? You have defined a font instance with superiors. To use it, set up your footnotes accordingly: \setupfootnotes[textstyle=normal,

Re: [NTG-context] simplefonts

2010-03-12 Thread Wolfgang Schuster
Am 12.03.10 21:11, schrieb Thomas A. Schmitz: 6. Could I use \definefontfeature to set up the different design sizes of my font (I'm trying to use some standard Adobe fonts like Garamond Premiere Pro, which have design sizes), as well as its other features? I haven't yet played with this,

[NTG-context] \xmlstrip?

2010-03-12 Thread Hans van der Meer
I encounter difficulties in stripping the leading and trailing whitespace from a node. The following does not work for me, typesetting \CAST delivers an empty result: \def\Cast#1{\def\CAST{#1}} \startxmlsetups xml:case:cast \Cast{\xmlstrip{#1}{}} \stopxmlsetups nor do variants

Re: [NTG-context] simplefonts

2010-03-12 Thread Hans Hagen
On 12-3-2010 21:38, Wolfgang Schuster wrote: Am 12.03.10 21:11, schrieb Thomas A. Schmitz: 6. Could I use \definefontfeature to set up the different design sizes of my font (I'm trying to use some standard Adobe fonts like Garamond Premiere Pro, which have design sizes), as well as its other

Re: [NTG-context] Antykwa Toruńska and dashes

2010-03-12 Thread Philipp Gesang
On 2010-03-12 11:32:07, zs wrote: ... Do you speak Czech??? Jistě! OK, I understand, but anyway copy/pasting may be sometimes the good way for typing characters you don't have on keyboard. I made wikipage for this purpose: wiki.contextgarden.net/Symbols/utf8 Btw there was a non-critical

Re: [NTG-context] \xmlstrip?

2010-03-12 Thread Hans Hagen
On 12-3-2010 21:58, Hans van der Meer wrote: I encounter difficulties in stripping the leading and trailing whitespace from a node. The following does not work for me, typesetting \CAST delivers an empty result: \def\Cast#1{\def\CAST{#1}} \startxmlsetups xml:case:cast \Cast{\xmlstrip{#1}{}}

Re: [NTG-context] streams

2010-03-12 Thread Philipp Gesang
Good evening, Hans! On 2010-03-11 19:37:48, Hans Hagen wrote: On 11-3-2010 11:47, Philipp Gesang wrote: Hello all, the streams module could help typesetting my current work but all the examples fail in mkiv. (The output from mkii is impressive, though.) The snippets I tried are from

Re: [NTG-context] simplefonts

2010-03-12 Thread Wolfgang Schuster
Am 12.03.10 23:29, schrieb Hans Hagen: ok, i was thinking of embedded optical sized (i.e. one font file that has several sizes) Is there anything besides different sizes in opentype math fonts and the ruby feature in cjk fonts? Wolfgang

Re: [NTG-context] simplefonts

2010-03-12 Thread Khaled Hosny
On Sat, Mar 13, 2010 at 06:35:30AM +0100, Wolfgang Schuster wrote: Am 12.03.10 23:29, schrieb Hans Hagen: ok, i was thinking of embedded optical sized (i.e. one font file that has several sizes) Is there anything besides different sizes in opentype math fonts and the ruby feature in cjk