[NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
Hello, I'use extensively context to write my lecture notes and for all of my printing needs. For my students, I've made some lecture presentations in color, and I print them in blackwhite, with four pages on one page for the handout. I would like to compute a correct Table of contents

[NTG-context] Lua MP

2010-09-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is it possible that Lua gets value of a MetaPost variable? Let's have MetaPost code: z11=(0,0) z12=(1,1) z21=(0,1) z22=(1,0) aa[z11,z12]=bb[21,z22] So now aa = bb = 0.5. And I'd need to access MetaPost values 'aa' and 'bb' from Lua (e.g. in Lua: local a = mpost.aa, b = mpost.bb).

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Hans Hagen
On 29-9-2010 1:13, Pierre-François Bonnefoi wrote: Hello, I'use extensively context to write my lecture notes and for all of my printing needs. For my students, I've made some lecture presentations in color, and I print them in blackwhite, with four pages on one page for the handout. I

Re: [NTG-context] Lua MP

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:19, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, is it possible that Lua gets value of a MetaPost variable? Let's have MetaPost code: z11=(0,0) z12=(1,1) z21=(0,1) z22=(1,0) aa[z11,z12]=bb[21,z22] So now aa = bb = 0.5. And I'd need to access MetaPost values 'aa' and

[NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi. I want to use Computer Modern Unicode fonts in my document. I made a link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to $CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U font in the document. What should I do to use them? I'm using MkIV. --- WBR,

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Willi Egger
This is probably due to the fact that Context MKIV uses a database for its info on fonts. I would suggest, that you copy the font from TeXlive directly into the tree where the minimals reside an run context --generate to update the database. Willi On 30 Sep 2010, at 10:05, Vladimir Lomov

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-09-30 Thread Pierre-François Bonnefoi
Dear Hans, Thank you to answer my question. I've tried it and I'm sorry to report that this only works in MK IV, that I don't use (I've tried but some of my documents don't translate correctly). From my point of view, I don't know if it is the correct answer because I want to get some altered

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 10:05, Vladimir Lomov wrote: Hi. I want to use Computer Modern Unicode fonts in my document. I made a link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to $CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U font in the document. What should I do

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Khaled Hosny
On Thu, Sep 30, 2010 at 10:34:36AM +0200, Hans Hagen wrote: On 30-9-2010 10:05, Vladimir Lomov wrote: Hi. I want to use Computer Modern Unicode fonts in my document. I made a link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to

Re: [NTG-context] Lua programming conventions..

2010-09-30 Thread Patrick Gundlach
Hi, besides that what Luigi wrote, I'd recommend the Lua users wiki. Don't take everything there as perfect or the official way, as it is just a users wiki, like our wiki. http://lua-users.org/wiki/ Patrick ___

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi. 2010/9/30 Khaled Hosny khaledho...@eglug.org: On Thu, Sep 30, 2010 at 10:34:36AM +0200, Hans Hagen wrote: On 30-9-2010 10:05, Vladimir Lomov wrote: Hi. I want to use Computer Modern Unicode fonts in my document. I made a link from

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 10:40, Khaled Hosny wrote: On Thu, Sep 30, 2010 at 10:34:36AM +0200, Hans Hagen wrote: On 30-9-2010 10:05, Vladimir Lomov wrote: Hi. I want to use Computer Modern Unicode fonts in my document. I made a link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Khaled Hosny
On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote: Hi. VL Not sure about how 'context --generate'' works but I didn't that. May VL be it doesn't like links? I meant that I ran (several times) 'context --generate' after I made a link to cm-unicode. You actually need `mtxrun

Re: [NTG-context] Lua programming conventions..

2010-09-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Thu, 30 Sep 2010 10:47:42 +0200, Patrick Gundlach patr...@gundla.ch wrote: Hi, besides that what Luigi wrote, I'd recommend the Lua users wiki. Don't take everything there as perfect or the official way, as it is just a users wiki, like our wiki. http://lua-users.org/wiki/ Hello, I'd

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi. 2010/9/30 Hans Hagen pra...@wxs.nl: If these are the huge traced cm supers I'd rather not have them in the minimals but as extra as they consume a log of space. No, it's otf fonts. For reference you could see this branch: http://www.ctan.org/tex-archive/fonts/cm-unicode/fonts/otf/ If it's

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 11:18, Khaled Hosny wrote: On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote: Hi. VL Not sure about how 'context --generate'' works but I didn't that. May VL be it doesn't like links? I meant that I ran (several times) 'context --generate' after I made a link to

Re: [NTG-context] Lua programming conventions..

2010-09-30 Thread Jaroslav Hajtmar
Thanx Lukas Thanks for the comprehensive answer - I needed to know. Codes for own use probably does not make sense to solve, but I started to write a separate public ConTeXt module with many Lua code, so I want to meet Lua code conventions. I also have my habits, but I want to code written as

[NTG-context] Two layer in a document

2010-09-30 Thread Daniel Grycman
Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the figure on the left side. \enableregime[utf-8]

[NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
Hello, I need to reduce vertical spacing around floats in columnset. I have tried \setupfloats command as in example below, but without succes. And what about columns balancing? I have read the columns.pdf manual, but I don't understand it clearly. [balance=yes] does not balance the

Re: [NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
I forgot. I'm using MKIV. Dne Thu, 30 Sep 2010 12:57:05 +0200 Jan Pohanka xhpoha...@gmail.com napsal(a): Hello, I need to reduce vertical spacing around floats in columnset. I have tried \setupfloats command as in example below, but without succes. And what about columns balancing? I

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi. 2010/9/30 Hans Hagen pra...@wxs.nl: On 30-9-2010 11:18, Khaled Hosny wrote: On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote: Hi. VL  Not sure about how 'context --generate'' works but I didn't that. May VL  be it doesn't like links? I meant that I ran (several times)

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 1:09, Vladimir Lomov wrote: Hi. 2010/9/30 Hans Hagenpra...@wxs.nl: On 30-9-2010 11:18, Khaled Hosny wrote: On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote: Hi. VLNot sure about how 'context --generate'' works but I didn't that. May VLbe it doesn't like

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Hans. 2010/9/30 Hans Hagen pra...@wxs.nl: how does your test file look Ok. Second shoot :) [file name=ex_ru.tex] %\usetypescriptfile[cmu] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, rm, 10pt] \mainlanguage[ru] \starttext \input ru_li2.tex \stoptext [/file] The ru_li2.tex is

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Khaled Hosny
On Thu, Sep 30, 2010 at 11:45:15AM +0200, Hans Hagen wrote: On 30-9-2010 11:18, Khaled Hosny wrote: On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote: Hi. VL Not sure about how 'context --generate'' works but I didn't that. May VL be it doesn't like links? I meant that I

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Khaled. 2010/9/30 Khaled Hosny khaledho...@eglug.org: [...] You actually need `mtxrun -script fonts --reload` to update font database. the database is not needed when filenames are used But type-cmu.mkiv is loading fonts by name: not file: I modify type-cmu.mkiv to use 'file:' syntax

[NTG-context] Error in mtxrun in beta (2010-09-29)

2010-09-30 Thread Cedric Mauclair
Hi, I get the following error when trying to use the command : mtxrun --locate syst-aux.mkiv ...path to mtxrun.../bin/mtxrun:13181: attempt to call field 'find_given_file' (a nil value) Regards. -- Cédric ___ If

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 1:18, Vladimir Lomov wrote: Hi Hans. 2010/9/30 Hans Hagenpra...@wxs.nl: how does your test file look Ok. Second shoot :) [file name=ex_ru.tex] %\usetypescriptfile[cmu] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, rm, 10pt] So where is the typeface

[NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ? \starttext test \footnote{} \subfootnote{} text test \startfootnote note \stopfootnote test

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 1:18, Vladimir Lomov wrote: Hi Hans. 2010/9/30 Hans Hagenpra...@wxs.nl: how does your test file look Ok. Second shoot :) [file name=ex_ru.tex] %\usetypescriptfile[cmu] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, rm, 10pt] \mainlanguage[ru] \starttext \input

Re: [NTG-context] Two layer in a document

2010-09-30 Thread R. Bastian
On 30 Sep 2010 11:49:52 +0200 Daniel Grycman daniel.gryc...@rub.de scribit: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 14:00 schrieb Hans Hagen: So where is the typeface computer-modern-unicode defined? Maybe Wolfgang had a another file? The typescripts used a tex and a mark file which fails in newer version but i uploaded a new version of them. @Vladimir: With the new typescript

[NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Hi, 1) how do I define colsep in a TABLE table? 2) how do I get a left rule only in a TABLE cell? I've tried: \bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD \eTR but that gave me a completely framed cell. Thanks Patrick

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote: 2) how do I get a left rule only in a TABLE cell? I've tried: \bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD \eTR Hello Patrick, \setupTABLE[frame=off] \starttext \bTABLE \bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD \eTR \eTABLE \stoptext

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
1) how do I define colsep in a TABLE table? To clarify my wish: I would like to get a distance between two columns, see the attached image. Patrick inline: colsep.png___ If your question is of interest to

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Hello Peter, thanks! I forgot to turn the frame off. Patrick ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Problems with TABLE

2010-09-30 Thread Patrick Gundlach
Hi, I still have some problems with TABLE: \bTABLE[frame=on] \bTR \bTD abc \eTD \bTD abc \eTD \bTD[frame=off,rightframe=on,rulethickness=1mm] abc \eTD \bTD abc \eTD \eTR \bTR \bTD[background=color, backgroundcolor=yellow] abc \eTD \bTD[nc=2,nr=2,background=color,

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Hans Hagen [2010-09-30 14:00:12 +0200]: On 30-9-2010 1:18, Vladimir Lomov wrote: Hi Hans. 2010/9/30 Hans Hagenpra...@wxs.nl: how does your test file look Ok. Second shoot :) [file name=ex_ru.tex] %\usetypescriptfile[cmu] \usetypefile[cmu] \setupbodyfont[computer-modern-unicode, rm, 10pt]

Re: [NTG-context] Two layer in a document

2010-09-30 Thread Daniel Grycman
I think \startcombination is only functional in the \starttext \stoptext-enviroment. The figures are just layers used in the header of the document. Are there any other options? Daniel On 30.09.10 14:26, R. Bastian rbast...@free.fr wrote: On 30 Sep 2010 11:49:52 +0200 Daniel Grycman

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Wolfgang Schuster [2010-09-30 14:26:24 +0200]: Am 30.09.2010 um 14:00 schrieb Hans Hagen: So where is the typeface computer-modern-unicode defined? Maybe Wolfgang had a another file? The typescripts used a tex and a mark file which fails in newer version but i uploaded a new

Re: [NTG-context] font sizes (again)

2010-09-30 Thread Mojca Miklavec
On Wed, Sep 29, 2010 at 14:30, Florian Wobbe wrote: Hi, please regard this minimal example: \setupbodyfont[10pt] \starttext \title{Title} \section{Section} {\switchtobodyfont[big] big} {\switchtobodyfont[small] small} {\tfxx tfxx} {\tfx tfx} {\tfa tfa} {\tfb tfb} {\tfc tfc} {\tfd

[NTG-context] lightgray text for background

2010-09-30 Thread R. Bastian
Hello, for a title page I would use a page of code as background. How can I get the text \starttyping code \stoptyping in gray or lightgray ? Thanks, -- René Bastian www.pythoneon.org www.musiques-rb.org ___

Re: [NTG-context] Error in mtxrun in beta (2010-09-29)

2010-09-30 Thread Cedric Mauclair
I changed find_given_files by findgivenfiles and everything is back to normal. -- Cédric On Thu, Sep 30, 2010 at 13:59, Cedric Mauclair cedric.maucl...@gmail.com wrote: Hi, I get the following error when trying to use the command : mtxrun --locate syst-aux.mkiv ...path to

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Hans Hagen [2010-09-30 14:20:48 +0200]: this shows me some cyrilic \starttypescript [serif,sans,mono] [computer-modern-unicode] \definefontsynonym [Serif] [file:cmunrm] [features=default] \definefontsynonym [SerifItalic] [file:cmunti] [features=default]

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 14:48 schrieb Patrick Gundlach: Hi, 1) how do I define colsep in a TABLE table? Are these enough options? \showframe \starttext \bTABLE \bTR \bTD \input zapf \eTD \bTD \input ward \eTD \bTD \input

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote: I still have some problems with TABLE: \bTABLE[frame=on] We need to know the values for rulethickness and offset, so let's define them: \bTABLE[frame=on, rulethickness=0.5pt, offset=0.1em] \bTD[frame=off,rightframe=on,rulethickness=1mm] abc

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote: 1) how do I define colsep in a TABLE table? To clarify my wish: I would like to get a distance between two columns, see the attached image. \setupTABLE[c][1][distance=2cm] \starttext \framed[offset=0pt, strut=no]{% \bTABLE \bTR \bTD 1 \eTD

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 15:22 schrieb Vladimir Lomov: @Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the font. Excuse my obtuseness, it is late here, but what/where is 'new typescript'? In next beta or in hg repo? I uploaded the new typescript to the garden, you can get

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Wolfgang Schuster wrote: 1) how do I define colsep in a TABLE table? Are these enough options? Perhaps not, there is still the ugly one: \starttext \bTABLE \bTR \bTD \input zapf \eTD \bTD[width=1cm]\eTD

[NTG-context] Question regarding strc-not.mkiv

2010-09-30 Thread Elias Oltmanns
Hi all, trying to figure out how postponed notes are processed in MkIV, I'm wondering when, or indeed, whether the tokens in \everyinsidenoteinsert and friends are being inserted. The reason for my curiosity is that I'm to understand why the setting of margindistance has no effect in the

Re: [NTG-context] poster in context

2010-09-30 Thread Mojca Miklavec
2010/9/29 Jan Pohanka xhpoha...@gmail.com: Hello, I wonder how to create a poster presentation using ConTeXt. It should have following layout.  _ |   title, ...        |  _ |                     | |                     | |  text in 3 columns  | |  

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 3:22, Vladimir Lomov wrote: ** Wolfgang Schuster [2010-09-30 14:26:24 +0200]: Am 30.09.2010 um 14:00 schrieb Hans Hagen: So where is the typeface computer-modern-unicode defined? Maybe Wolfgang had a another file? The typescripts used a tex and a mark file which fails in

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen
On 30-9-2010 3:37, Vladimir Lomov wrote: You sure? Because I got LuaTeX error: then you miss that style Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Patrick Gundlach
\bTD[nc=2,nr=2,background=color, backgroundcolor=yellow] \externalfigure[cow][width=.2\textwidth] \eTD 2 options: - The cow gets smaller: \externalfigure[cow][width=\localhsize] (does not work, I don't know why...) - The table cells get bigger. You have to define the width. If you

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Patrick Gundlach
Thanks Wolfgang and Peter for the instructive samples. \starttext \bTABLE \bTR \bTD \input zapf \eTD \bTD[width=1cm]\eTD \bTD \input ward \eTD \bTD \input montgomery \eTD \eTR \eTABLE

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 15:43 schrieb Peter Münster: 2 options: - The cow gets smaller: \externalfigure[cow][width=\localhsize] (does not work, I don't know why...) Use \hsize, \localhsize is the current width in a narrower environment or in a itemze. Wolfgang

[NTG-context] Problems with x-set-11.mkiv

2010-09-30 Thread Cedric Mauclair
Hi, For some reason, line 248 of x-set-11.mkiv file (\blank[\v!line]) is not taken into account. As a result, when typesetting the setup-??.pdf files, the line of the first argument being described after a command is be too high and the word optional is mixed with it. When we change

Re: [NTG-context] poster in context

2010-09-30 Thread Cedric Mauclair
Hi, I am interested in the source in you would share it. :) Thanks. -- Cédric On Thu, Sep 30, 2010 at 16:08, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: 2010/9/29 Jan Pohanka xhpoha...@gmail.com: Hello, I wonder how to create a poster presentation using ConTeXt. It should have

Re: [NTG-context] Problems with x-set-11.mkiv

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 16:56 schrieb Cedric Mauclair: Hi, For some reason, line 248 of x-set-11.mkiv file (\blank[\v!line]) is not taken into account. As a result, when typesetting the setup-??.pdf files, the line of the first argument being described after a command is be too high and the word

Re: [NTG-context] poster in context

2010-09-30 Thread Daniel Grycman
Hi, me too :-). Thanks. Daniel On 30.09.10 17:00, Cedric Mauclair cedric.maucl...@gmail.com wrote: Hi, I am interested in the source in you would share it. :) Thanks. -- Cédric On Thu, Sep 30, 2010 at 16:08, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: 2010/9/29 Jan Pohanka

Re: [NTG-context] poster in context

2010-09-30 Thread Mojca Miklavec
On Thu, Sep 30, 2010 at 17:25, Daniel Grycman wrote: Hi, me too :-). Thanks. Daniel Please write me off-list (apart from those who have already asked). I would need to clean up the code before publishing it. Mojca On 30.09.10 17:00, Cedric Mauclair wrote: Hi, I am interested in the

Re: [NTG-context] poster in context

2010-09-30 Thread luigi scarso
On Thu, Sep 30, 2010 at 5:29 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Thu, Sep 30, 2010 at 17:25, Daniel Grycman wrote: Hi, me too :-). Thanks. Daniel Please write me off-list (apart from those who have already asked). I would need to clean up the code before publishing

Re: [NTG-context] poster in context

2010-09-30 Thread Alan BRASLAU
On Wednesday 29 September 2010 10:53:38 Jan Pohanka wrote: Hello, I wonder how to create a poster presentation using ConTeXt. It should have following layout. _ | title, ...| _ | text in 3 columns | | with titles etc. |

Re: [NTG-context] subfootnote

2010-09-30 Thread Aditya Mahajan
Untested, but the usual option is conversion=characters Aditya On Sep 30, 2010, at 8:03 AM, Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ?

Re: [NTG-context] subfootnote

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] % ? numberconversion=... Wolfgang

[NTG-context] Still struggling with TABLE width

2010-09-30 Thread Patrick Gundlach
Hi, as the subject says: I am still confused about widths of TABLE tables. \bTABLE % [option=stretch] \bTR \bTD A \eTD \bTD A \eTD \eTR \bTR \bTD[nc=2] %\hbox{A very very long text in one line, perhaps more} A very very long text in one line, perhaps more \eTD \eTR \eTABLE what I'd like to get

[NTG-context] care to share an environment file for TEI Lite?

2010-09-30 Thread Mica Semrick
Hi List! I'm using TEI for a personal project, and I'd like to set it using ConTeXt. I'm having a bit of trouble getting started, and I was wondering if anyone has an environment file for TEI Lite that they'd like to share. It would be much appreciated! Thanks in advance, Mica

Re: [NTG-context] Still struggling with TABLE width

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote: as the subject says: I am still confused about widths of TABLE tables. \bTD[nc=2] %\hbox{A very very long text in one line, perhaps more} A very very long text in one line, perhaps more \eTD It's the same issue as with the cow. Perhaps a

Re: [NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster: Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please: \setupenumerations[subfootnote][conversion=a] % ? \setupsubfootnotes[conversion=a] %

Re: [NTG-context] lightgray text for background

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 15:29 schrieb R. Bastian: Hello, for a title page I would use a page of code as background. How can I get the text \starttyping code \stoptyping in gray or lightgray ? \startstandardmakeup \setuptyping[color=gray] \starttyping ... \stoptyping

Re: [NTG-context] Two layer in a document

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 11:49 schrieb Daniel Grycman: Hi list, I am typesetting a template for internal documentation. In the header of the document I want to put two different figure. One on the left side and the other on the right side. When I compile the source the output shows only the

Re: [NTG-context] subfootnote

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 18:53 schrieb Steffen Wolfrum: Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster: Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See minimal example, please:

Re: [NTG-context] placefigure ?

2010-09-30 Thread Wolfgang Schuster
Am 29.09.2010 um 19:44 schrieb R. Bastian: On Tue, 28 Sep 2010 13:39:56 +0300 Mari Voipio mari.voi...@iki.fi scribit: On Tue, Sep 28, 2010 at 13:22, R. Bastian rbast...@free.fr wrote: In Mk II, I need to place figures - with numbers and captions - but \placefigure is for floats and never

[NTG-context] composing characters in MKIV

2010-09-30 Thread Mojca Miklavec
Dear Hans (or anyone else), There are some fonts (including Lucida) that don't have all the needed character. A font feature compose=yes has been added to MKIV, but that one doesn't work for Lucida or any other Type1 font. My current fallback is to use: % this doesn't help % \definefontfeature

Re: [NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Am 30.09.2010 um 20:06 schrieb Wolfgang Schuster: Am 30.09.2010 um 18:53 schrieb Steffen Wolfrum: Am 30.09.2010 um 18:28 schrieb Wolfgang Schuster: Am 30.09.2010 um 14:03 schrieb Steffen Wolfrum: Hi, how do I change the numbering of subfootnote from eg. 2.1 to 2a? See

[NTG-context] Modules, namespaces, Luacode etc..

2010-09-30 Thread Jaroslav Hajtmar
Hello my wise masters of the Force and teachers of Jedi... It seems that my first module (SCANCSV of scancsv.lua library of CTM in Brejlov) work without any visible errors (without documentation and with a junkyard yet), but I'm not sure whether is there a hidden problem or future collisions.

Re: [NTG-context] subfootnote

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet! Please run the test file: now we have 2.a ... instead of 2a. \definestructureseparatorset

Re: [NTG-context] Modules, namespaces, Luacode etc..

2010-09-30 Thread Wolfgang Schuster
Am 30.09.2010 um 20:40 schrieb Jaroslav Hajtmar: Hello my wise masters of the Force and teachers of Jedi... It seems that my first module (SCANCSV of scancsv.lua library of CTM in Brejlov) work without any visible errors (without documentation and with a junkyard yet), but I'm not sure

Re: [NTG-context] subfootnote

2010-09-30 Thread Steffen Wolfrum
Am 30.09.2010 um 20:42 schrieb Wolfgang Schuster: Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet! Please run the test file: now we have 2.a

[NTG-context] Consolas

2010-09-30 Thread Patrick Gundlach
Hi, several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: \definetypeface [mainface] [rm] [serif] [cambria] [default] \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto] \definetypeface [mainface] [tt] [mono] [consolas] [default]

[NTG-context] wrong sign or spacing in math/mkiv (at least in Lucida)

2010-09-30 Thread Mojca Miklavec
Dear Hans, I'm not sure if the same problem would occur with other fonts as well (it is probably worth trying), but at least it happens with Lucida. Something is wrong with the spacing around the plus sign or maybe the wrong plus sign is taken (I suspect that). In MKII the formula is nicely

Re: [NTG-context] care to share an environment file for TEI Lite?

2010-09-30 Thread Hans Hagen
On 30-9-2010 6:41, Mica Semrick wrote: Hi List! I'm using TEI for a personal project, and I'd like to set it using ConTeXt. I'm having a bit of trouble getting started, and I was wondering if anyone has an environment file for TEI Lite that they'd like to share. It would be much appreciated!

Re: [NTG-context] subfootnote

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:42, Wolfgang Schuster wrote: Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet! Please run the test file: now we have 2.a ... instead

Re: [NTG-context] subfootnote

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:57, Steffen Wolfrum wrote: Am 30.09.2010 um 20:42 schrieb Wolfgang Schuster: Am 30.09.2010 um 20:31 schrieb Steffen Wolfrum: \definestructureconversionset[footnote][number,characters][numbers] \setupenumerations[footnote][numberconversionset=footnote] Again, not yet!

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Hans Hagen
On 30-9-2010 8:31, Mojca Miklavec wrote: \defč{\buildtextaccent\textcaron c} \defČ{\buildtextaccent\textcaron C} \starttext \definefontfeature[default][default][compose=yes] \setupbodyfont[lucida] \startTEXpage mojča MOJČA \stopTEXpage \stoptext ok, positioning could be improved I

Re: [NTG-context] wrong sign or spacing in math/mkiv (at least in Lucida)

2010-09-30 Thread Hans Hagen
On 30-9-2010 10:01, Mojca Miklavec wrote: Dear Hans, I'm not sure if the same problem would occur with other fonts as well (it is probably worth trying), but at least it happens with Lucida. Something is wrong with the spacing around the plus sign or maybe the wrong plus sign is taken (I

Re: [NTG-context] Still struggling with TABLE width

2010-09-30 Thread Hans Hagen
On 30-9-2010 6:42, Peter Münster wrote: On Thu, Sep 30 2010, Patrick Gundlach wrote: as the subject says: I am still confused about widths of TABLE tables. \bTD[nc=2] %\hbox{A very very long text in one line, perhaps more} A very very long text in one line, perhaps more \eTD It's the same

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Hans Hagen
On 30-9-2010 4:13, Patrick Gundlach wrote: \bTD[nc=2,nr=2,background=color, backgroundcolor=yellow] \externalfigure[cow][width=.2\textwidth] \eTD 2 options: - The cow gets smaller: \externalfigure[cow][width=\localhsize] (does not work, I don't know why...) in the second pass the

Re: [NTG-context] wrong sign or spacing in math/mkiv (at least in Lucida)

2010-09-30 Thread Mojca Miklavec
On Thu, Sep 30, 2010 at 22:25, Hans Hagen wrote: On 30-9-2010 10:01, Mojca Miklavec wrote: Dear Hans, I'm not sure if the same problem would occur with other fonts as well (it is probably worth trying), but at least it happens with Lucida. Something is wrong with the spacing around the

[NTG-context] Problem with latest beta: \placepublications

2010-09-30 Thread Alan BRASLAU
Thanks to the course given by Taco, I now know all about 'nil'... However, I did not track down the error, as Hans will find it immediately! Alan ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/strc-lst.lua:195: bad argument #1 to 'gsub' (string expected, got nil) stack traceback:

Re: [NTG-context] Problem with latest beta: \placepublications

2010-09-30 Thread Hans Hagen
On 30-9-2010 11:00, Alan BRASLAU wrote: Thanks to the course given by Taco, I now know all about 'nil'... However, I did not track down the error, as Hans will find it immediately! ah, I wanted to log off but you force me to check it now ... in strc-lst.mkiv patch

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Mojca Miklavec
On Thu, Sep 30, 2010 at 22:14, Hans Hagen wrote: \starttext \definefontfeature[default][default][compose=yes] \setupbodyfont[lucida] Oh, I have tried that; actually I did \definefontfeature[default][liga=yes,kern=yes,tlig=yes,compose=yes] as well as \addff{compose}, but it had zero

Re: [NTG-context] composing characters in MKIV

2010-09-30 Thread Hans Hagen
On 30-9-2010 11:14, Mojca Miklavec wrote: as well as \addff{compose}, but it had zero effect since I used that \addff only works for opentype (unless I make a pseudo feature which is a lot of work for something that is never dynamic) However compose=yes creates an unacceptable uppercase

[NTG-context] change register entry separator

2010-09-30 Thread Jano Kula
Hi, any way to change register entry and subentry separator from + to something else? Preferably to kanji character, so I'm sure it will not appear in the text. Entries and subentries are autoflushed, so it can be really anything. Other way around: I substitute + with PLUS in index terms

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Hans Hagen [2010-09-30 16:12:40 +0200]: On 30-9-2010 3:37, Vladimir Lomov wrote: You sure? Because I got LuaTeX error: then you miss that style Hans Hi Hans. Even google couldn't find it :) I tried to find this module on my machine (freshly updated minimal and ./first-setup.sh

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Wolfgang Schuster [2010-09-30 15:46:39 +0200]: Am 30.09.2010 um 15:22 schrieb Vladimir Lomov: @Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the font. Excuse my obtuseness, it is late here, but what/where is 'new typescript'? In next beta or in hg repo? I

Re: [NTG-context] Lua MP

2010-09-30 Thread Aditya Mahajan
On Thu, 30 Sep 2010, Hans Hagen wrote: On 30-9-2010 8:19, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, is it possible that Lua gets value of a MetaPost variable? Let's have MetaPost code: z11=(0,0) z12=(1,1) z21=(0,1) z22=(1,0) aa[z11,z12]=bb[21,z22] So now aa = bb = 0.5.

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Mojca Miklavec
On Fri, Oct 1, 2010 at 04:50, Vladimir Lomov wrote: ** Wolfgang Schuster [2010-09-30 15:46:39 +0200]: Do you know the usual delay time betweeen upload and when fresh files will be in minimal? Only god knows that, I think. Delay for updating ConTeXt is 15 minutes, but only if something changes

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Mojca. ** Mojca Miklavec [2010-10-01 05:03:51 +0200]: On Fri, Oct 1, 2010 at 04:50, Vladimir Lomov wrote: ** Wolfgang Schuster [2010-09-30 15:46:39 +0200]: Do you know the usual delay time betweeen upload and when fresh files will be in minimal? Only god knows that, I think. Delay for

Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi. ** Hans Hagen [2010-09-30 14:20:48 +0200]: this shows me some cyrilic \starttypescript [serif,sans,mono] [computer-modern-unicode] \definefontsynonym [Serif] [file:cmunrm] [features=default] \definefontsynonym [SerifItalic] [file:cmunti] [features=default]