Re: [NTG-context] [metapost] MetaPost transformation

2012-05-31 Thread Dan Luecking
At 07:56 PM 5/30/2012, Troy Henderson wrote: Well then in case anyone needs such a transformation, I've constructed the (non-unique) transformation T t:=angle(f,e); q:=e++f; p:=(c*f-d*e)/q; s:=(c*e+d*f)/(q**2); transform T; T:=identity rotated t xscaled p yscaled q slanted s shifted

Re: [NTG-context] alignment in a footer

2012-05-31 Thread Jan Pohanka
Thank you for answer, I have discovered, that \tbox does the job for me. \startoverlay {\leftaligned{nazev}} {\midaligned{\pagenumber /\totalnumberofpages}} {\rightaligned{\tbox{\externalfigure[jc_logo_small][width=4cm]}}} \stopoverlay regards Jan Dne Wed, 30 May 2012

Re: [NTG-context] MetaPost transformation

2012-05-31 Thread Albrecht Kauffmann
Hello Troy, if you declare a transform variable (e.g., t), it works: transform t; t := identity rotated 270 yscaled 0.5; show identity transformed t; (0,0,0,1,-0.5,0) Greetings Albrecht On Wed, 30 May 2012, Troy Henderson wrote: I've encountered a MetaPost issue, and since many MetaPost

Re: [NTG-context] \setuplayout[location=duplex] not working? (probably since a year)

2012-05-31 Thread Hans Hagen
On 29-5-2012 10:10, Marco Pessotto wrote: Hello there. I'm messing around with imposition schemas and I think I've hit a bug or a dropped feature (but documented in the printed manual). Minimal example: \setuppapersize[A5][A4] \setuplayout[location=duplex] \starttext \dorecurse{20}{ \input

Re: [NTG-context] Argument to ConTeXt

2012-05-31 Thread Hans Hagen
On 30-5-2012 10:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, please see the following calling cases: 1) context.exe t6.mkiv --address=6 2) context.exe t6.2.mkiv --address=6 Content ot both .mkiv is identical - just to print the passed address value: you can remove line 484 in

Re: [NTG-context] \setuplayout[location=duplex] not working? (probably since a year)

2012-05-31 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: there is no 'duplex' in context, only 'doublesided' Ok, this just means there is an error in the “Layout in ConTeXt” manual, p.97. Do you want me to create an Errata page on the wiki? -- Marco

[NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Jan Pohanka
Hello, describing linux file permissions I would like to write rwx-- As I expected the hyphens are converted to two long dashes (excuse me if I missed the correct name), so I tried something like this rwx{-}{-}{-}{-}{-}{-} or rwx{}-{}-{}-{}-{}-{}- which works in latex, but in context

[NTG-context] weird pdf bookmarks question

2012-05-31 Thread Taco Hoekwater
Hi all, I have a question about PDF bookmarks. My Document goes like this (heavily simplified): \setupinteraction[state=start] \placebookmarks[chapter,section][chapter,section] \setupinteractionscreen[option=bookmark] \starttext \chapter[item1]{Overview} \startitemize \item[item4] bla

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Andy Thomas
Hello, is this what you are looking for? \starttext rwx\,-\,-\,-\,-\,-\,- \stoptext I tried the small space macro from LaTeX and it works here, too, so i suspect it is more a TeX macro. Andy On 31.05.2012, at 11:16, Jan Pohanka wrote: Hello, describing linux file permissions I would

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Wolfgang Schuster
Am 31.05.2012 um 11:16 schrieb Jan Pohanka: Hello, describing linux file permissions I would like to write rwx-- As I expected the hyphens are converted to two long dashes (excuse me if I missed the correct name), so I tried something like this rwx{-}{-}{-}{-}{-}{-} or

[NTG-context] \definetype and ligatures

2012-05-31 Thread Wolfgang Schuster
Hi, are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures. \definetype[test][style=\rm] \starttext \type{fi --

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Jan Pohanka
\definehighlight[filepermission][style=\setff{none}] Great, thank you. Anyway what is the purpose of the \setff macro? I have not found its documentation anywhere. Also why the latex way -{}- does not work? It is a feature of luatex? best regards Jan -- Tato zpráva byla vytvořena

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Hans Hagen
On 31-5-2012 11:46, Jan Pohanka wrote: \definehighlight[filepermission][style=\setff{none}] Great, thank you. Anyway what is the purpose of the \setff macro? I have not found its documentation anywhere. Also why the latex way -{}- does not work? It is a feature of luatex? -{}- is a side

Re: [NTG-context] \setuplayout[location=duplex] not working? (probably since a year)

2012-05-31 Thread Hans Hagen
On 31-5-2012 10:43, Marco Pessotto wrote: Hans Hagenpra...@wxs.nl writes: there is no 'duplex' in context, only 'doublesided' Ok, this just means there is an error in the “Layout in ConTeXt” manual, p.97. Do you want me to create an Errata page on the wiki? ok (one for the fonts manual

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Wolfgang Schuster
Am 31.05.2012 um 11:46 schrieb Jan Pohanka: \definehighlight[filepermission][style=\setff{none}] Great, thank you. Anyway what is the purpose of the \setff macro? In MkIV you have tell which features of a font (e.g. ligatures or kerning) have to enabled, this is done in two steps. 1. You

Re: [NTG-context] \setuplayout[location=duplex] not working? (probably since a year)

2012-05-31 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: On 31-5-2012 10:43, Marco Pessotto wrote: Hans Hagenpra...@wxs.nl writes: there is no 'duplex' in context, only 'doublesided' Ok, this just means there is an error in the “Layout in ConTeXt” manual, p.97. Do you want me to create an Errata page on the

Re: [NTG-context] weird pdf bookmarks question

2012-05-31 Thread Hans Hagen
On 31-5-2012 11:23, Taco Hoekwater wrote: Hi all, I have a question about PDF bookmarks. My Document goes like this (heavily simplified): \setupinteraction[state=start] \placebookmarks[chapter,section][chapter,section] \setupinteractionscreen[option=bookmark] \starttext

Re: [NTG-context] how to write two or three single hyphens?

2012-05-31 Thread Jan Pohanka
Thank you for the detailed explanation. best regards Jan Dne Thu, 31 May 2012 12:19:38 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com napsal(a): Am 31.05.2012 um 11:46 schrieb Jan Pohanka: výřez Great, thank you. Anyway what is the purpose of the \setff macro? In MkIV you

Re: [NTG-context] \definetype and ligatures

2012-05-31 Thread Hans Hagen
On 31-5-2012 11:41, Wolfgang Schuster wrote: Hi, are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case for serif and sans you get ligatures.

Re: [NTG-context] \definetype and ligatures

2012-05-31 Thread Wolfgang Schuster
Am 31.05.2012 um 12:38 schrieb Hans Hagen: On 31-5-2012 11:41, Wolfgang Schuster wrote: Hi, are ligatures etc. supposed to be active in verbatim commands? In the default \type command they are only disabled because \tt has “features=none” in the typescripts but since this isn’t the case

[NTG-context] \processmarkdownfile gobbles all starting with % or \

2012-05-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, please see the example: \usemodule[markdown] \starttext \startmarkdown AAA -4 % BBB aaa \% bbb \stopmarkdown \processmarkdownfile{t-MD.mkiv} % = This file \stoptext When the t-MD.mkiv is processed by \processmarkdownfile, only AAA -4 appears from the line AAA

Re: [NTG-context] Argument to ConTeXt

2012-05-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK, thanks for the patch. Lukas On Thu, 31 May 2012 10:24:52 +0200, Hans Hagen pra...@wxs.nl wrote: you can remove line 484 in mtx-context.lua -- jobname = file.removesuffix(jobname) -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz]

Re: [NTG-context] \processmarkdownfile gobbles all starting with % or \

2012-05-31 Thread Marco
On 2012-05-31 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: When the t-MD.mkiv is processed by \processmarkdownfile, only AAA -4 appears from the line AAA -4 % BBB, so % BBB is ignored (skipped). When the percent sign is entered straightly in the \start/stop-markdown

Re: [NTG-context] MetaPost transformation

2012-05-31 Thread Troy Henderson
Albrecht, The issue was to be able to define the transform t using its six components. Troy ___ 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] how to write two or three single hyphens?

2012-05-31 Thread Khaled Hosny
On Thu, May 31, 2012 at 11:46:32AM +0200, Jan Pohanka wrote: Also why the latex way -{}- does not work? It is a feature of luatex? {} breaking ligatures is “an accidental feature¹” in traditional TeX that LuaTeX got rid of. Regards, Khaled ¹

Re: [NTG-context] \processmarkdownfile gobbles all starting with % or \

2012-05-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks Marco, this works much better. I found one fault - the code -4.0 % na +4.0 %. in the source is translated to -4.0 %na +4.0 %., so the space after the first is gobbled. But it is not so serious. Thanks anyway. Best regards, Lukas On Thu, 31 May 2012 14:14:11 +0200, Marco

Re: [NTG-context] \processmarkdownfile gobbles all starting with % or \

2012-05-31 Thread Aditya Mahajan
On Thu, 31 May 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... Thanks Marco, this works much better. I found one fault - the code -4.0 % na +4.0 %. in the source is translated to -4.0 %na +4.0 %., so the space after the first is gobbled. I'll send a bug report to the pandoc

Re: [NTG-context] \processmarkdownfile gobbles all starting with % or \

2012-05-31 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Thanks Aditya, here is also a sample attached. Best regards, Lukas On Thu, 31 May 2012 15:20:35 +0200, Aditya Mahajan adit...@umich.edu wrote: On Thu, 31 May 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... Thanks Marco, this works much better. I found one fault - the code

Re: [NTG-context] multi-page floats

2012-05-31 Thread Henning Hraban Ramm
Ok, some days later I'm still not where I'd like to be (and my deadline is overdue). Let’s resume: A running text is to be interrupted by spans of 3 pages. Postponing (\startpostponing) works well for that, but I need to switch off page numbering on two of that 3 pages - as far as I tried,

Re: [NTG-context] multi-page floats

2012-05-31 Thread Hans Hagen
On 31-5-2012 20:25, Henning Hraban Ramm wrote: Ok, some days later I'm still not where I'd like to be (and my deadline is overdue). Let’s resume: A running text is to be interrupted by spans of 3 pages. Postponing (\startpostponing) works well for that, but I need to switch off page numbering

[NTG-context] format generation fails in luat-fio.lua

2012-05-31 Thread Philipp Gesang
Hi all, I hit this bug during “context --make” after today’s update. Can somebody confirm this? Must have been introduced since 2012.05.24 (according to the git logs, data-exp.lua has indeed been changed May 25). ! LuaTeX

Re: [NTG-context] format generation fails in luat-fio.lua

2012-05-31 Thread Hans Hagen
On 1-6-2012 00:31, Philipp Gesang wrote: Hi all, I hit this bug during “context --make” after today’s update. Can somebody confirm this? Must have been introduced since 2012.05.24 (according to the git logs, data-exp.lua has indeed been changed May 25).

Re: [NTG-context] format generation fails in luat-fio.lua

2012-05-31 Thread Philipp Gesang
On 2012-06-01 00:38, Hans Hagen wrote: On 1-6-2012 00:31, Philipp Gesang wrote: Hi all, I hit this bug during “context --make” after today’s update. Can somebody confirm this? Must have been introduced since 2012.05.24 (according to the git logs, data-exp.lua has indeed been changed May