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

2010-08-31 Thread John Magolske
* Khaled Hosny khaledho...@eglug.org [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 ~/texmf/fonts/data % mv *.{pfb,afm} ~/texmf/fonts/data

[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

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 Hosnykhaledho...@eglug.org [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

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. I work

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

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

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 who starts

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 starts at the

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 very difficult for a

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/unstable

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

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:

[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

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 \startMyFormat

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 schuster.wolfg...@googlemail.com 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

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 Hosnykhaledho...@eglug.org [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

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

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

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

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

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 added to

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

[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

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

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 have to put in

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 pra...@wxs.nl

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 khaledho...@eglug.org [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:

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

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 Hosnykhaledho...@eglug.org [100830 18:29]: Try Taco's suggestion, I myself got unpredictable results with ~/.fonts, try instead

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

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

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-3110: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

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

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

Re: [NTG-context] PDF fields

2010-08-31 Thread Lutz Haseloff
2010/8/31 Andreas Harder andreas.har...@rz-online.de: 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:

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

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

2010-08-31 Thread Martin Schröder
2010/8/31 Taco Hoekwater t...@elvenkind.com: 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

[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

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 pra...@wxs.nl 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

[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

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 Hagenpra...@wxs.nl 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

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

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 Hosnykhaledho...@eglug.org [100830 18:29]: Try Taco's suggestion, I myself got

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\relax345pt\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

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

2010-08-31 Thread Florian Baudach
2010/8/30 Mojca Miklavec mojca.miklavec.li...@gmail.com 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 :-?

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 mkii or mkiv?

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 options of

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\relax345pt\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