Re: [NTG-context] Questions on \definition

2012-01-18 Thread Wolfgang Schuster
Am 18.01.2012 um 02:47 schrieb Kip Warner: Ah, so \setupdescriptions inherits the default values of \definedescription? WIth \definedescription you create a new command (e.g. \definition) and environment (e.g. \startdefinition … \stopdefinition). With \setupdescriptions you can afterwards

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-18 Thread Hans Hagen
On 18-1-2012 08:30, luigi scarso wrote: On Wed, Jan 18, 2012 at 7:25 AM, Steffen Wolfrumcont...@st.estfiles.dewrote: Am 17.01.2012 um 23:41 schrieb Wolfgang Schuster: You should try to make your code more readable. \definelistplacement[MyListItemIT][none]#1#2#3% {\maxaligned\bgroup

Re: [NTG-context] two problems with natural tables

2012-01-18 Thread Hans Hagen
On 18-1-2012 05:19, Brian Landy wrote: Hi, sorry to dredge up such an old thread, but I recently updated from a Feb 2010 vintage minimals to current (first to 1/12/2012, then to today 1/17). I ran into problems splitting a table within a splitfloat. I search the list archives and came up

Re: [NTG-context] Wrong placement parameter (Was: two problems with natural tables)

2012-01-18 Thread Hans Hagen
On 18-1-2012 06:31, Vladimir Lomov wrote: According to Command reference on wiki, placetable doesn't have 'split' parameter, see http://wiki.contextgarden.net/Reference/en/placefloat Just remove 'split' and your example will be compiled. each \placesomefloat command accepts the same keys, so

Re: [NTG-context] xmlprocessfile failing

2012-01-18 Thread Hans Hagen
On 18-1-2012 09:30, Hans van der Meer wrote: I get an inexplicable error in \xmlprocessfile. It seems to occur after my data are processed; somewhere in the aftermath of that call, I guess. The error is in: ConTeXt ver: 2012.01.16 18:33 MKIV This version was ok: ConTeXt ver: 2012.01.09 10:08

Re: [NTG-context] another surprising change (line break in TOC)

2012-01-18 Thread luigi scarso
On Tue, Jan 17, 2012 at 1:14 PM, Steffen Wolfrum cont...@st.estfiles.dewrote: And this interlineskip is ignored in your solution, test the following please: \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]} \definelistplacement[MyListItemIT][none]#1#2#3%

[NTG-context] xmlverbatim api changes?

2012-01-18 Thread Meer, H. van der
Did I miss in the recent past some changes in the xmlverbatim API? Exercising from the manual the macros \xmldisplayverbatim{#1}{.} and \xmlinlineverbatim{#1}{.} I get as an error: ! Undefined control sequence. \startxmlinlineverbatim ... \doinitializeverbatim l.4 ] \ctxlxml #1-\directlua

Re: [NTG-context] Tikz module causes errors

2012-01-18 Thread Christophe Jorssen
Hello Mojca, thanks for the follow-up. 2012/1/17 Mojca Miklavec mojca.miklavec.li...@gmail.com: On Tue, Jan 17, 2012 at 16:00, Felix Ingram wrote: I've just updated to the latest beta and the following will cause an error: \usemodule[tikz] \starttext Hello World \stoptext The error is:

Re: [NTG-context] Wrong placement parameter (Was: two problems with natural tables)

2012-01-18 Thread luigi scarso
On Wed, Jan 18, 2012 at 9:48 AM, Hans Hagen pra...@wxs.nl wrote: On 18-1-2012 06:31, Vladimir Lomov wrote: According to Command reference on wiki, placetable doesn't have 'split' parameter, see

Re: [NTG-context] Tikz module causes errors

2012-01-18 Thread Philipp A.
2012/1/17 Christophe Jorssen christophe.jors...@gmail.com If they aren't yet in the official repo, I would be happy to add those patches. Note that I'm not a ConTeXt user, so I won't be able to test them carefully. which ones? all those in mojca’s repo https://github.com/mojca/pgf? because

Re: [NTG-context] Tikz module causes errors

2012-01-18 Thread Felix Ingram
Adding the \def\active{13} statement to the sources seems to fix things for the time being. All of my graphics appear to have shifted to the right by leftmarginwidth but I can correct for that. I believe that someone else had a similar issue (Daniel Edwards in a mail sent on 14 Jan 2012). Oh, and

Re: [NTG-context] Tikz module causes errors

2012-01-18 Thread luigi scarso
On Wed, Jan 18, 2012 at 1:14 PM, Felix Ingram f.ingram.li...@gmail.comwrote: Adding the \def\active{13} statement to the sources seems to fix things for the time being. All of my graphics appear to have shifted to the right by leftmarginwidth but I can correct for that. I believe that someone

Re: [NTG-context] Using non-math fonts for letters and numerals in formulas

2012-01-18 Thread Nikita Volchenkov
On 14:00 Tue 17 Jan , Hans Hagen wrote: you can make a virtual font ... see palatino-math.lfg etc for an example definition Thanks Hans! I looked into it, but it's not much helpful for me without API documentation. Where I can find it?

Re: [NTG-context] Counters again

2012-01-18 Thread Felix Ingram
On 17 January 2012 18:10, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 17.01.2012 um 15:55 schrieb Felix Ingram: I'm now trying to use counters that will tally some values. The value of these could be zero, which the wiki states will be the default value. The following shows

Re: [NTG-context] two problems with natural tables

2012-01-18 Thread Brian R. Landy
This worked perfectly, thanks! Brian On Jan 18, 2012, at 3:47 AM, Hans Hagen pra...@wxs.nl wrote: On 18-1-2012 05:19, Brian Landy wrote: Hi, sorry to dredge up such an old thread, but I recently updated from a Feb 2010 vintage minimals to current (first to 1/12/2012, then to today 1/17).

[NTG-context] Problem with letter module

2012-01-18 Thread Romain Diss
Hi, I am writing a letter with the 'letter' module (mkiv and last beta) and the \encl{} command doesn't work anymore. I know that the module has been rewriten recently but I can't find any doc or examples of the new syntax. I tried to look at the source code but it doesn't help. So is there

[NTG-context] Problem with location=left (at least) of setlayer

2012-01-18 Thread Cedric Mauclair
Hi Hans, hi list, The following example shouts at me (something about \syst_boxes_with_next_box, \pack_layers... and a bunch of other stuff) if I uncomment the location=left part (right and others are fine): % Example below \definelayer[page][x=0pt, y=0pt] \setupbackgrounds [page]

Re: [NTG-context] Problem with location=left (at least) of setlayer

2012-01-18 Thread Wolfgang Schuster
Am 18.01.2012 um 21:34 schrieb Cedric Mauclair: Hi Hans, hi list, The following example shouts at me (something about \syst_boxes_with_next_box, \pack_layers... and a bunch of other stuff) if I uncomment the location=left part (right and others are fine): supp-box.mkiv (line 2188):

[NTG-context] \par in macro definition (mkii issue)

2012-01-18 Thread Otared Kavian
Hi, It seems that with the recent updates, I found that the following minimal example does not work in mkii, while it does in mkiv: \define[1]\MyTest{The test variable is #1.\par} \starttext Is this a bug in mkii? \MyTest{3} \stoptext Am I doing something wrong, or mkii has changed despite

Re: [NTG-context] \par in macro definition (mkii issue)

2012-01-18 Thread Wolfgang Schuster
Am 18.01.2012 um 22:59 schrieb Otared Kavian: Hi, It seems that with the recent updates, I found that the following minimal example does not work in mkii, while it does in mkiv: \define[1]\MyTest{The test variable is #1.\par} \starttext Is this a bug in mkii? \MyTest{3} \stoptext

Re: [NTG-context] \par in macro definition (mkii issue)

2012-01-18 Thread Otared Kavian
On 18 janv. 2012, at 23:07, Wolfgang Schuster wrote: […] This is a limitation of the MkII version of the \define command, you can’t use \par in the replacement text but you can use \endgraf which does also end a paragraph. Wolfgang Thanks Wolfgang: indeed \def\MyTest#1{The test

Re: [NTG-context] Questions on \definition

2012-01-18 Thread Kip Warner
On Wed, 2012-01-18 at 09:26 +0100, Wolfgang Schuster wrote: Am 18.01.2012 um 02:47 schrieb Kip Warner: Ah, so \setupdescriptions inherits the default values of \definedescription? WIth \definedescription you create a new command (e.g. \definition) and environment (e.g. \startdefinition

Re: [NTG-context] Questions on \definition

2012-01-18 Thread Wolfgang Schuster
Am 18.01.2012 um 23:39 schrieb Kip Warner: On Wed, 2012-01-18 at 09:26 +0100, Wolfgang Schuster wrote: Am 18.01.2012 um 02:47 schrieb Kip Warner: Ah, so \setupdescriptions inherits the default values of \definedescription? WIth \definedescription you create a new command (e.g.

Re: [NTG-context] Questions on \definition

2012-01-18 Thread Kip Warner
On Wed, 2012-01-18 at 11:44 +0900, Vladimir Lomov wrote: Actually Vladimir, Vlad is usually used as short for Vladislav. Except in the case of my buddy Vlad(imir) here in Vancouver ;) (not an expert, just read command reference) (1) What is the difference between \definedescription and

Re: [NTG-context] Questions on \definition

2012-01-18 Thread Kip Warner
On Wed, 2012-01-18 at 23:58 +0100, Wolfgang Schuster wrote: When you define a new command with \definedescription, e.g. \definedescription[definition] you get the commands \definition and \startdefinition Both are only shortcuts for \dodescription[definition] and

Re: [NTG-context] Questions on \definition

2012-01-18 Thread Wolfgang Schuster
Am 19.01.2012 um 00:03 schrieb Kip Warner: On Wed, 2012-01-18 at 23:58 +0100, Wolfgang Schuster wrote: When you define a new command with \definedescription, e.g. \definedescription[definition] you get the commands \definition and \startdefinition Both are only shortcuts for

Re: [NTG-context] Referencing a \startdefinition

2012-01-18 Thread Kip Warner
On Wed, 2012-01-18 at 08:36 +0100, Wolfgang Schuster wrote: \startdefinition[des:some]{Some Definition} \stopdefinition \in{Definition}[des:some] Wolfgang Hey Wolfgang. That works, but in the text I would just see linkable text Definition which is fine for online viewing, but for print,

Re: [NTG-context] Questions on \definition

2012-01-18 Thread Kip Warner
On Thu, 2012-01-19 at 00:12 +0100, Wolfgang Schuster wrote: When there would be a predefined description command I would prefer \description and \startdescription but not \definition but it’s hard to say which command should be available by default everyone has a different opinion. Thanks

Re: [NTG-context] Problem with letter module

2012-01-18 Thread Wolfgang Schuster
Am 18.01.2012 um 21:14 schrieb Romain Diss: Hi, I am writing a letter with the 'letter' module (mkiv and last beta) and the \encl{} command doesn't work anymore. I know that the module has been rewriten recently but I can't find any doc or examples of the new syntax. I tried to look

[NTG-context] bold is not working (simplefonts)

2012-01-18 Thread Jan Heinen
Hello, I want to get bold text - without simplefonts it is working - with simplefonts it does not work. What is wrong and what do I have to do? My example: \usemodule[simplefonts] \setmainfont[Allerlight] \starttext This is not bold! {\bf Is this bold?} This is not bold! \stoptext Regards

Re: [NTG-context] bold is not working (simplefonts)

2012-01-18 Thread Wolfgang Schuster
Am 19.01.2012 um 00:27 schrieb Jan Heinen: Hello, I want to get bold text - without simplefonts it is working - with simplefonts it does not work. What is wrong and what do I have to do? The module can’t find italic, bold etc. alternatives when don’t match a certain name pattern, in

[NTG-context] \externalfigure and file size

2012-01-18 Thread Kip Warner
Hey list, I have a number of \externalfigure commands to typeset some svg images. This is often handy to have them vectorized because it allows for the user to zoom in on diagrams of great detail. In other situations, I find that for images that are not so important, they would benefit from

[NTG-context] xtable formatting issues

2012-01-18 Thread Brian Landy
Hi, I’ve been experimenting a bit with converting some natural tables into xtables and ran across two issues. The first has to do with nested xtables and settings. In particular, if you attempt to set a cell’s width on the internal table using \setupxtable the option is lost. In the below

Re: [NTG-context] Problem with location=left (at least) of setlayer

2012-01-18 Thread Cédric Mauclair
Many thanks Wolfgang. -- Cédric Le 18 janv. 2012 à 21:51, Wolfgang Schuster schuster.wolfg...@googlemail.com a écrit : Am 18.01.2012 um 21:34 schrieb Cedric Mauclair: Hi Hans, hi list, The following example shouts at me (something about \syst_boxes_with_next_box, \pack_layers...

Re: [NTG-context] \externalfigure and file size

2012-01-18 Thread Mojca Miklavec
On Thu, Jan 19, 2012 at 01:25, Kip Warner k...@thevertigo.com wrote: In other situations, I find that for images that are not so important, they would benefit from ConTeXt rasterizing them when they are imported. The reason for this is I find some vector images get enormously bloated when