[NTG-context] Centered framed text in two columns

2010-08-31 Thread Flavien Lambert
Dear All, I would like to vertically center a framed text in front of an item list, something like : - item - item - item my framed text - item - item I tried with two columns then by defining a paragraph but without success. I would also like the columns to have a fixed width like 70%-30% of

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Xan
Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: On 08/28/2010 09:31 PM, Xan wrote: - right indentation of items: in context items start at the same point. In LaTeX is the item text itself who starts at the same point, not the romans. I do not understand this sentence. Does this do what you

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Xan
Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: \defineitemgroup[enumerate] \setupenumerate[1][romannumerals] \setupenumerate[1][width=1cm,stopper=,left=(,right=)] \starttext \startenumerate \item A \item B \item C \stopenumerate \stoptext For the other hand, is width=1cm arbitrary?

Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Taco Hoekwater
On 08/31/2010 08:27 AM, John Magolske wrote: * Khaled Hosny [100830 18:29]: Try Taco's suggestion, I myself got unpredictable results with ~/.fonts, try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data We should try to find what is causing the erratic behavior of ~/.fonts Best wi

Re: [NTG-context] Filling boxes

2010-08-31 Thread Cecil Westerhof
Op zaterdag 28 aug 2010 16:20 CEST schreef Wolfgang Schuster: > \def\CheckBoxContent > {\begingroup > \setbox\scratchbox\vbox{\getvariable{tree}{\treecounter}}% > \ifdim\ht\scratchbox>\vsize > \forcequitjob{tree}% > \else > \box\scratchbox > \fi > \endgroup} I have a solution for the parameters.

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Taco Hoekwater
On 08/31/2010 09:39 AM, xancorreu wrote: \setuplayout [backspace=\dimexpr 1in+22pt\relax, % [1] + [3] = (1 inch + \hoffset=0pt) + \oddsidemargin=22pt Mojca Thanks Mojca for trying it now you check that this was very difficult for a newbee as me ;-) You probably have to add another 1in to

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Taco Hoekwater
On 08/31/2010 09:31 AM, Xan wrote: Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: On 08/28/2010 09:31 PM, Xan wrote: - right indentation of items: in context items start at the same point. In LaTeX is the item text itself who starts at the same point, not the romans. I do not understand t

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Jerónimo Alaminos Prats
El 31/08/2010, a las 09:47, Taco Hoekwater escribió: > On 08/31/2010 09:31 AM, Xan wrote: >> Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: >>> On 08/28/2010 09:31 PM, Xan wrote: - right indentation of items: in context items start at the same point. In LaTeX is the item text itself

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Wolfgang Schuster
Am 31.08.2010 um 09:47 schrieb Taco Hoekwater: > On 08/31/2010 09:31 AM, Xan wrote: >> Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: >>> On 08/28/2010 09:31 PM, Xan wrote: - right indentation of items: in context items start at the same point. In LaTeX is the item text itself who s

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Mojca Miklavec
On Tue, Aug 31, 2010 at 09:42, Taco Hoekwater wrote: > On 08/31/2010 09:39 AM, xancorreu wrote: >>> >>> \setuplayout >>> [backspace=\dimexpr 1in+22pt\relax, % [1] + [3] = (1 inch + >>> \hoffset=0pt) + \oddsidemargin=22pt >>> >>> Mojca >> >> Thanks Mojca for trying it now you check that this was

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Paul Menzel
Dear ConTeXt folks, Am Samstag, den 28.08.2010, 16:02 +0200 schrieb Paul Menzel: > I have four questions regarding `\date`. I looked at the page in the > Wiki [1], in the ConTeXt user manual on page 159 [2][3] and tried some > things, but could not figure it out. > > I am using Debian Sid/unsta

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Yury G. Kudryashov
Mojca Miklavec wrote: > On Tue, Aug 31, 2010 at 09:42, Taco Hoekwater wrote: > to use > \documentclass[10pt,a4paper]{article} > instead of 12pt, so one would need to account for that change as well. One more warning: AFAIR, [10pt,a4paper] != [a4paper,10pt]. __

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Hans Hagen
On 31-8-2010 10:09, Mojca Miklavec wrote: in latex,12pt (but for some unknow reason hyphenation in ConTeXt was off, or at least at different penalty values, so I didn't manage to compare the line breaks) ... I realized that margins change if you try to use \documentclass[10pt,a4paper]{artic

Re: [NTG-context] public SCM repositories and how to contribute

2010-08-31 Thread Taco Hoekwater
On 08/23/2010 02:30 PM, Paul Menzel wrote: It would just make it easier for others to work with the source and to not double work, since they always see your latest work. Fabrice kindly approved a context-modules project a few minutes ago: http://foundry.supelec.fr/gf/project/context-module

[NTG-context] parsing custom syntax in lua

2010-08-31 Thread Vianney le Clément
Hello, What is the best way to pass verbatim text to lua for processing? I would like to write a lua parser for non-TeX text with a custom syntax (could be something like Markdown for instance). The interface would be \startMyFormat % custom syntax % \stopMyFormat \processMyForma

Re: [NTG-context] parsing custom syntax in lua

2010-08-31 Thread Wolfgang Schuster
Am 31.08.2010 um 11:01 schrieb Vianney le Clément: > Hello, > > What is the best way to pass verbatim text to lua for processing? I > would like to write a lua parser for non-TeX text with a custom syntax > (could be something like Markdown for instance). The interface would > be > >\startM

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread xancorreu
I follow your suggestion: rule but I'm in trouble: with \setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=12cm,height=fit,backspace=3cm,rightedge=5cm,leftedge=5cm] I obtained a non-centered layout!!! leftedge and rightedge are the margins between the final of

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Hans Hagen
On 31-8-2010 9:39, xancorreu wrote: Thanks Mojca for trying it now you check that this was very difficult for a newbee as me ;-) Seems difficult for anyone so I think that Taco's approach: "just measure" is the safest. After all, you will never get 100% compatible output. Hans ---

Re: [NTG-context] parsing custom syntax in lua

2010-08-31 Thread Vianney le Clément
On Tue, Aug 31, 2010 at 11:05, Wolfgang Schuster wrote: > Take a look at this module: http://github.com/adityam/filter > > You can find examples here: http://randomdeterminism.wordpress.com/ > > Wolfgang Thanks Wolfgang, that module does indeed seem very interesting and do something related to my

Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Taco Hoekwater
On 08/31/2010 09:31 AM, Taco Hoekwater wrote: On 08/31/2010 08:27 AM, John Magolske wrote: * Khaled Hosny [100830 18:29]: Try Taco's suggestion, I myself got unpredictable results with ~/.fonts, try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data We should try to find what is cau

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Hans Hagen
On 31-8-2010 11:20, xancorreu wrote: I follow your suggestion: rule but I'm in trouble: with \setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=12cm,height=fit,backspace=3cm,rightedge=5cm,leftedge=5cm] I obtained a non-centered layout!!! leftedge and rightedge

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Xan
Al 31/08/10 10:06, En/na Wolfgang Schuster ha escrit: Am 31.08.2010 um 09:47 schrieb Taco Hoekwater: On 08/31/2010 09:31 AM, Xan wrote: Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit: On 08/28/2010 09:31 PM, Xan wrote: - right indentation of items: in context i

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread xancorreu
Al 31/08/10 11:16, En/na Hans Hagen ha escrit: On 31-8-2010 9:39, xancorreu wrote: Thanks Mojca for trying it now you check that this was very difficult for a newbee as me ;-) Seems difficult for anyone so I think that Taco's approach: "just measure" is the safest. After all, you will ne

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread xancorreu
Al 31/08/10 11:23, En/na Hans Hagen ha escrit: On 31-8-2010 11:20, xancorreu wrote: I follow your suggestion: rule but I'm in trouble: with \setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=12cm,height=fit,backspace=3cm,rightedge=5cm,leftedge=5cm] I obtai

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread xancorreu
Simple case: % Margins \setuplayout[topspace=3cm,leftmargin=5cm,rightmargin=5cm,header=2cm,footer=2cm,width=middle,height=fit,backspace=3cm] the left and rightmargin values are ignored: 5cm, 2cm no matter... always the same. _

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Philipp Gesang
Hi Paul, On 2010-08-31 <10:29:39>, Paul Menzel wrote: > > 3. Spacing between numbers. Using LaTeX there were some suggestions to > > typeset a date using small spaces like `29.\,8.\,2010`. I guess this > > depends on the fonts used and personal taste? If there is a rule, maybe > > that could be ad

Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Hans Hagen
On 31-8-2010 11:33, xancorreu wrote: Al 31/08/10 11:23, En/na Hans Hagen ha escrit: On 31-8-2010 11:20, xancorreu wrote: I follow your suggestion: rule but I'm in trouble: with \setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=12cm,height=fit,backspace=3cm,ri

[NTG-context] MKIV and path updated by Mktexlsr...

2010-08-31 Thread Jaroslav Hajtmar
Hello list, I do not know why, but somehow ConTeXt MKIV stopped (in texlive 2010) look up the my .tex files (my libraries) that I placed to c:/texlive/texmf-local/tex/... etc. .. While MKII works fine. Is Mktexlsr command for MKIV without effect? Knows anyone what may be the problem and how to

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Otared Kavian
On 31 août 2010, at 11:28, Xan wrote: > It does not work for me. The numbers are left aligned. > > Xan. Wolfgang's solution works for me with mkiv: Xan, are you using mkii or mkiv? Best regards: OK ___ If your ques

Re: [NTG-context] Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Wolfgang Schuster
Am 30.08.2010 um 08:33 schrieb Hans Hagen: > On 29-8-2010 7:11, Xan xan wrote: >> Hi, >> >> I want to "migrate" one LaTeX document to ConTeXt document. I only want to >> put the _exact_ margins LaTeX use for \documentclass[12pt,a4paper]{article}. >> >> >> Anyone could say me the exact values I

Re: [NTG-context] section conversion gets lost in MKIV

2010-08-31 Thread Cedric Mauclair
Hi, Is there a documentation and/or extensive example of the conversionset feature (and others) somewhere? The comments in the source files (on the wiki) are kind of scarce and I can't quite figure out how to use them. Thanks. -- Cédric On Mon, Aug 30, 2010 at 13:23, Hans Hagen wrote: > On 3

Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Khaled Hosny
On Mon, Aug 30, 2010 at 11:27:00PM -0700, John Magolske wrote: > * Khaled Hosny [100830 18:29]: > > Try Taco's suggestion, I myself got unpredictable results with ~/.fonts, > > try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data > > Thanks! This solved my problem: > > % mkdir -p ~

Re: [NTG-context] MKIV and path updated by Mktexlsr...

2010-08-31 Thread Jaroslav Hajtmar
luatools --generate dont work... Where can I read about it (where to place its library to the path, etc)? I found such that the directory texmf-local anywhere in installation the TL 2010 does not appear ... Thanx Jaroslav... Dne 31.8.2010 12:12, Jaroslav Hajtmar napsal(a): Hello list, I do n

Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Khaled Hosny
On Tue, Aug 31, 2010 at 11:19:50AM +0200, Taco Hoekwater wrote: > On 08/31/2010 09:31 AM, Taco Hoekwater wrote: > >On 08/31/2010 08:27 AM, John Magolske wrote: > >>* Khaled Hosny [100830 18:29]: > >>>Try Taco's suggestion, I myself got unpredictable results with ~/.fonts, > >>>try instead ~/texmf/f

Re: [NTG-context] section conversion gets lost in MKIV

2010-08-31 Thread Hans Hagen
On 31-8-2010 1:07, Cedric Mauclair wrote: Is there a documentation and/or extensive example of the conversionset feature (and others) somewhere? The comments in the source files (on the wiki) are kind of scarce and I can't quite figure out how to use them. it's just a list of conversions start

Re: [NTG-context] MKIV and path updated by Mktexlsr...

2010-08-31 Thread Hans Hagen
On 31-8-2010 1:23, Jaroslav Hajtmar wrote: luatools --generate dont work... Where can I read about it (where to place its library to the path, etc)? I found such that the directory texmf-local anywhere in installation the TL 2010 does not appear ... don't mix context updates with tex live as so

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Taco Hoekwater
On 08/31/2010 11:48 AM, Philipp Gesang wrote: Hi Paul, On 2010-08-31<10:29:39>, Paul Menzel wrote: 3. Spacing between numbers. Using LaTeX there were some suggestions to typeset a date using small spaces like `29.\,8.\,2010`. I guess this depends on the fonts used and personal taste? If there i

Re: [NTG-context] MKIV and path updated by Mktexlsr...

2010-08-31 Thread Jaroslav Hajtmar
OK. thanks for the reply. I wonder whether it is better to load the my libraries with relative or absolute path to the library. Currently it seems to me to be sensible. Jaroslav Dne 31.8.2010 13:32, Hans Hagen napsal(a): don't mix context updates with tex live as some fundamentals changed

[NTG-context] PDF fields

2010-08-31 Thread Andreas Harder
Hi all, please have a look at my attached example. I've two problems. pdf-fields.tex Description: Binary data 1) After I fill one field in the PDF-file all other fields inherit the text. How can I prevent this? 2) The text in the left column an the text in the field are not on the same basel

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Philipp Gesang
On 2010-08-31 <13:41:06>, Taco Hoekwater wrote: > On 08/31/2010 11:48 AM, Philipp Gesang wrote: > >unfortunately I can only come up with a negative answer: I > >skimmed the Bringhurst and although he does discuss date strings > >with slashes as separators, > > The Chicago manual (14ed) says that s

Re: [NTG-context] PDF fields

2010-08-31 Thread Lutz Haseloff
2010/8/31 Andreas Harder : > Hi all, > > please have a look at my attached example. I've two problems. > > > 1) After I fill one field in the PDF-file all other fields inherit the text. > How can I prevent this? The fields are all the same. You can: \dorecurse{31}{\definefield [hours#1] [line] [

Re: [NTG-context] PDF fields

2010-08-31 Thread Andreas Harder
Am 31.08.2010 um 14:30 schrieb Lutz Haseloff: >> 1) After I fill one field in the PDF-file all other fields inherit the text. >> How can I prevent this? > > The fields are all the same. You can: > > \dorecurse{31}{\definefield [hours#1] [line] [setup] [] []} > > \def\Feld#1% > {\bTR\bTD \dat

Re: [NTG-context] questions regarding `\date`

2010-08-31 Thread Martin Schröder
2010/8/31 Taco Hoekwater : > The Chicago manual (14ed) says that slashed/dotted dates are bad style > and should be avoided and that one should use full month names instead. Seconded. And if you have to use a short form, please follow ISO 8601 (http://en.wikipedia.org/wiki/ISO_8601) - nobody can b

[NTG-context] numbered subitems revisited

2010-08-31 Thread Bowen Alan C.
Several iterations of MK2 ago (in 2007), I was able to produce: 1. History 1.1 Pre-Greek (Babylonian and Egyptian) sundials 1.2 Greek and Roman sundials 1.3 Byzantine sundials 2. Catalog (descriptions with photos, rough dating, evaluation) 2.1 The Tower of the Winds

Re: [NTG-context] section conversion gets lost in MKIV

2010-08-31 Thread Cedric Mauclair
On Tue, Aug 31, 2010 at 13:30, Hans Hagen wrote: > On 31-8-2010 1:07, Cedric Mauclair wrote: > >> Is there a documentation and/or extensive example of the conversionset >> feature (and others) somewhere? The comments in the source files (on >> the wiki) are kind of scarce and I can't quite figure

[NTG-context] mkiv and Reverse list of abbreviations

2010-08-31 Thread Otared Kavian
Hi everyone, I have three questions regarding the use of abbreviations in mkiv: it seems that there is a difference between the way in which mkii and mkiv treat the definitions of synonyms. If one considers the minimal example: % - begin abbrev-test.tex \definesynonyms[abbreviation][abbre

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread xancorreu
Al 31/08/10 12:16, En/na Otared Kavian ha escrit: On 31 août 2010, at 11:28, Xan wrote: It does not work for me. The numbers are left aligned. Xan. Wolfgang's solution works for me with mkiv: Xan, are you using mkii or mkiv? Best regards: OK I use mkii Xan.

Re: [NTG-context] section conversion gets lost in MKIV

2010-08-31 Thread Hans Hagen
On 31-8-2010 4:28, Cedric Mauclair wrote: On Tue, Aug 31, 2010 at 13:30, Hans Hagen wrote: On 31-8-2010 1:07, Cedric Mauclair wrote: Is there a documentation and/or extensive example of the conversionset feature (and others) somewhere? The comments in the source files (on the wiki) are kind o

Re: [NTG-context] mkiv and Reverse list of abbreviations

2010-08-31 Thread Hans Hagen
On 31-8-2010 4:41, Otared Kavian wrote: Hi everyone, I have three questions regarding the use of abbreviations in mkiv: it seems that there is a difference between the way in which mkii and mkiv treat the definitions of synonyms. If one considers the minimal example: % - begin abbrev-tes

Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Aditya Mahajan
On Tue, 31 Aug 2010, Khaled Hosny wrote: On Tue, Aug 31, 2010 at 11:19:50AM +0200, Taco Hoekwater wrote: On 08/31/2010 09:31 AM, Taco Hoekwater wrote: On 08/31/2010 08:27 AM, John Magolske wrote: * Khaled Hosny [100830 18:29]: Try Taco's suggestion, I myself got unpredictable results with ~/

Re: [NTG-context] Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread xancorreu
Al 31/08/10 12:22, En/na Wolfgang Schuster ha escrit: \definelayout [latex10] [width=\ifdim\dimexpr\paperwidth-2in\relax>345pt\relax 345pt\else\dimexpr\paperwidth-2in\relax\fi, % \paperwidth-2in or 345pt, use the smaller value backspace=\dimexpr(\paperwidth-\textwidth)/2-1in\relax,

[NTG-context] definedelimitedtext options

2010-08-31 Thread xancorreu
Hi, Another time ;-) I have \definedelimitedtext [abstract] [leftmargin=yes, spacebefore=line, style={\switchtobodyfont[9pt]},after=\normal] and I want to indent more the abstract. What are the options of definedelimitedtext? In the manual there is no mention for that. Is there a

Re: [NTG-context] Problems with the installation of the minimals on Win XP

2010-08-31 Thread Florian Baudach
2010/8/30 Mojca Miklavec > On Mon, Aug 30, 2010 at 18:58, Florian Baudach wrote: > > I tried but it didn't work :(. > > I a must confess I am not a experienced windows user. Perhaps my problems > > with the minimals depend on the security settings on my office Pc :-? > > Greetings > > Did you try

Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread Jerónimo Alaminos Prats
El 31/08/2010, a las 16:58, xancorreu escribió: > Al 31/08/10 12:16, En/na Otared Kavian ha escrit: >> On 31 août 2010, at 11:28, Xan wrote: >> >>> It does not work for me. The numbers are left aligned. >>> >>> Xan. >>> >> Wolfgang's solution works for me with mkiv: Xan, are you using mk

Re: [NTG-context] definedelimitedtext options

2010-08-31 Thread Wolfgang Schuster
Am 31.08.2010 um 18:37 schrieb xancorreu: > Hi, > > Another time ;-) > > I have > > \definedelimitedtext > [abstract] > [leftmargin=yes, > spacebefore=line, > style={\switchtobodyfont[9pt]},after=\normal] why 'after=\normal'? > and I want to indent more the abstract. What are the optio

Re: [NTG-context] Migrations: exactly LaTeX margins --> ConTeXt margins

2010-08-31 Thread Wolfgang Schuster
Am 31.08.2010 um 18:33 schrieb xancorreu: > Al 31/08/10 12:22, En/na Wolfgang Schuster ha escrit: >> \definelayout >> [latex10] >> [width=\ifdim\dimexpr\paperwidth-2in\relax>345pt\relax >> 345pt\else\dimexpr\paperwidth-2in\relax\fi, % \paperwidth-2in or 345pt, use >> the smaller value >>

Re: [NTG-context] Problems with the installation of the minimals on Win XP

2010-08-31 Thread Mojca Miklavec
On Tue, Aug 31, 2010 at 18:54, Florian Baudach wrote: > > I will try the installations script at home with my windows vista > installation this week. Unfortunately I have no Win XP Home here, to > reproduce the error :-(. I'm sorry. I forgot that there were two problems. One that I have hopefully

[NTG-context] Indenting in framed environments

2010-08-31 Thread Géry Ogam
Hi, > How can I indent text within framedtext environments? > I'm asking because my definitions/theorems/etc. commands are surrounded by > startframed/stopframed and I want the text inside to be > indented. Géry___