Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-05 Thread Taco Hoekwater
Matija Šuklje wrote: Dne nedelja 4. aprila 2010 ob 23:23:10 je Mojca Miklavec napisal(a): Start with http://www.tug.org/docs/metapost/mpman.pdf and maybe the metafun manual. Thanks yet again :] The metafun manual is easier to read than the 'real' mpman.pdf which assume some of knowledge

Re: [NTG-context] Hanging indents

2010-04-05 Thread Taco Hoekwater
Tom wrote: I have a series of paragraphs for which the first line of each should not be indented, but the following lines should be. I can't figure out what option or combination of options will give me this result. Very low-level, but \noindent before the first paragraph would do the trick.

Re: [NTG-context] weird en/em dash behaviour

2010-04-05 Thread Taco Hoekwater
luigi scarso wrote: On Sun, Apr 4, 2010 at 9:17 PM, Marco net...@lavabit.com wrote: Am Sun, 04 Apr 2010 21:19:49 +0200 schrieb Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 04.04.10 21:07, schrieb Marco: My version: ConTeXt ver: 2010.03.30 18:56 MKIV This is LuaTeX, Version

Re: [NTG-context] There are some math fonts can't be found with the beta 2010.03.30 and luatex 0.52

2010-04-05 Thread Taco Hoekwater
Li Yanrui (李延瑞) wrote: Hi, A sample: \starttext \startformula \left[\matrix{1\cr 0\cr 0}\right]. \stopformula \stoptext The warning informaton: LuaTeX warning (file lmex10): Font lmex10 at 720 not found This works ok here. Perhaps you need the latest luatex 0.60.0, something has changed

Re: [NTG-context] Hanging indents

2010-04-05 Thread Aditya Mahajan
On Sun, 4 Apr 2010, Tom wrote: I have a series of paragraphs for which the first line of each should not be indented, but the following lines should be. I can't figure out what option or combination of options will give me this result. You mean this?

Re: [NTG-context] Hanging indents

2010-04-05 Thread Taco Hoekwater
Aditya Mahajan wrote: On Sun, 4 Apr 2010, Tom wrote: I have a series of paragraphs for which the first line of each should not be indented, but the following lines should be. I can't figure out what option or combination of options will give me this result. You mean this?

Re: [NTG-context] Mk II, textstyle=cap not working

2010-04-05 Thread Mojca Miklavec
On Sun, Apr 4, 2010 at 23:11, Wolfgang Schuster wrote: Am 04.04.10 22:58, schrieb Michael Ewe: But: how can I find out? Its not in the manual, its not in the manual's source. Feeling kind of lost here ! 1. It helps to know the source and where certain keys are performed. 2. Lots of

Re: [NTG-context] There are some math fonts can't be found with the beta 2010.03.30 and luatex 0.52

2010-04-05 Thread luigi scarso
On Mon, Apr 5, 2010 at 8:52 AM, Taco Hoekwater t...@elvenkind.com wrote: Li Yanrui (李延瑞) wrote: Hi, A sample: \starttext \startformula \left[\matrix{1\cr 0\cr 0}\right]. \stopformula \stoptext The warning informaton: LuaTeX warning (file lmex10): Font lmex10 at 720 not found

Re: [NTG-context] There are some math fonts can't be found with the beta 2010.03.30 and luatex 0.52

2010-04-05 Thread Taco Hoekwater
luigi scarso wrote: On Mon, Apr 5, 2010 at 8:52 AM, Taco Hoekwater t...@elvenkind.com wrote: Li Yanrui (李延瑞) wrote: Hi, A sample: \starttext \startformula \left[\matrix{1\cr 0\cr 0}\right]. \stopformula \stoptext The warning informaton: LuaTeX warning (file lmex10): Font lmex10 at 720

Re: [NTG-context] Splitting a page in given ratios

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 01:10, schrieb Matthias Weber: Dear all, this is probably even easy in plain TeX, but as I have never learned it properly, I am asking anyway: I would like to have a way to split a part of a page into two columns of different width, so something like

[NTG-context] missing \xmlflushsetups?

2010-04-05 Thread Hans van der Meer
I thought one can register various setups and then when setting up the processing of the root tag call them into being with: \xmlregisteredsetups (according to the docs applies all global setups to the current document) But doing this as in: \startxmlsetups xml:doc:roottag

Re: [NTG-context] Need help with the letter module

2010-04-05 Thread Wolfgang Schuster
Hi Andreas, thank you answering the question. Here is a new feature from the last version (4. April) which works only in mkiv: \usemodule[letter] \starttext \startletter \input knuth\par \ps{postscript} \cc{carbon copy} \encl{enclosure} \stopletter

Re: [NTG-context] using xmlsetups

2010-04-05 Thread Hans van der Meer
Well, after some more many hours toiling and with the help of \enabletrackers[lxml.setups] (Hans Hagen got to be thanked for that) finally discovered how to do this. I report it here in case other people might benefit. Maybe it should be put into the wiki, but I am not very apt with that.

[NTG-context] Indent of heading when using command option

2010-04-05 Thread Jan Pohanka
Hello, I have following code (simplified) \def\mySubject#1{#1} \setuphead[subject][style=\bfb\ss,color=HeadColor,before=,after=,textcommand={\mySubject}] When the command option is not set it works as expected and typeset the heading (subject) without any indenting, but using the command

[NTG-context] Different characters in two fonts

2010-04-05 Thread Mehdi Omidali
Hi all, When I use $\cong$, two different characters are displayed with Latin Modern Math and Cambria. In fact, the one for Cambria is the correct one. Is this a problem of Latin Modern font (itself or context settings)? Mehdi

Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 10:54, schrieb Jan Pohanka: Hello, I have following code (simplified) \def\mySubject#1{#1} \setuphead[subject][style=\bfb\ss,color=HeadColor,before=,after=,textcommand={\mySubject}] When the command option is not set it works as expected and typeset the heading (subject)

[NTG-context] caption on the inner side

2010-04-05 Thread Hubertus
Hello all, I was wondering if it possible to do something of this sort: \setupcaptions[location=low] \placefigure[outer][]{ Caption } {\externalfigure[test.jpg][width=0.5\textwidth]} So what I try is to get the caption not on the left side of the image but inner. From the location pramametar

[NTG-context] \framed[location=top] and slanted tex gyre bonum

2010-04-05 Thread Vianney le Clément
Hello, Yet another new ConTeXt user here. To briefly introduce myself, I am a computer scientist interested in typography as a hobby. Up to now, I did most things in LaTeX (sometimes resorting to ugly TeX hacking). Recently I gave ConTeXt MkIV a try and am quite happy with it. Now my question: I

Re: [NTG-context] Different characters in two fonts

2010-04-05 Thread Mojca Miklavec
On Mon, Apr 5, 2010 at 12:58, Mehdi Omidali wrote: Hi all, When I use $\cong$, two different characters are displayed with Latin Modern Math and Cambria. In fact, the one for Cambria is the correct one. Is this a problem of Latin Modern font (itself or context settings)? It's definitely not

Re: [NTG-context] Splitting a page in given ratios

2010-04-05 Thread Matthias Weber
Thanks Wolfgang, you made my morning! Matthias On Apr 5, 2010, at 3:32 AM, Wolfgang Schuster wrote: Am 05.04.10 01:10, schrieb Matthias Weber: Dear all, this is probably even easy in plain TeX, but as I have never learned it properly, I am asking anyway: I would like to have a way to

[NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Vianney le Clément
Hello again, Section 10.3 of the manual says that one can disable numbering for one item of an enumeration by putting [-]. However, this seems to affect the following item instead of the current one. For example, \defineenumeration[MyEnum][location=left] \starttext \MyEnum First\par \MyEnum[-]

Re: [NTG-context] \framed[location=top] and slanted tex gyre bonum

2010-04-05 Thread Peter Münster
On Mon, Apr 05 2010, Vianney le Clément wrote: \setupframed [frame=none, offset=0pt, location=top] Hello, I cannot explain why, but offset=overlay seems to be slightly better. \blank\sl \setupinterlinespace Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] \framed[location=top] and slanted tex gyre bonum

2010-04-05 Thread Vianney le Clément
\setupinterlinespace without changing offset does the trick. Many thanks, Vianney On Mon, Apr 5, 2010 at 14:13, Peter Münster pmli...@free.fr wrote: On Mon, Apr 05 2010, Vianney le Clément wrote: \setupframed   [frame=none,    offset=0pt,    location=top] Hello, I cannot explain why,

Re: [NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 14:04, schrieb Vianney le Clément: Hello again, Section 10.3 of the manual says that one can disable numbering for one item of an enumeration by putting [-]. However, this seems to affect the following item instead of the current one. For example,

Re: [NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Vianney le Clément
Thanks for the patch. Vianney On Mon, Apr 5, 2010 at 14:33, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 05.04.10 14:04, schrieb Vianney le Clément: Hello again, Section 10.3 of the manual says that one can disable numbering for one item of an enumeration by putting [-].

Re: [NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Vianney le Clément
The patch seems to break \footnote: \unprotect % workaround \def\@@makedescription[#1]#2% {\postponenotes % new, assumes grouping \doenumerationcheckconditions{#1}% \dodescriptioncomponent[\c!reference=#1,\c!label={\descriptionparameter\c!text},\c!title={#2},\c!bookmark=,\c!list=][]%

[NTG-context] Multiple side-by-side tables

2010-04-05 Thread Troy Henderson
I would like to put several tables side-by-side one another. Nesting \placesidebyside commands seems a bit inconvenient. Suggestions on how to make \starttable ... \stoptable not create a newline (without the \placesidebyside command) would be greatly appreciated. -- Troy Henderson

Re: [NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 15:39, schrieb Vianney le Clément: The patch seems to break \footnote: New attempt. \unprotect % strc-des.mkiv \def\@@makedescription[#1]#2% {\postponenotes % new, assumes grouping \edef\currentdescriptionreference{#1}% \doenumerationcheckconditions

Re: [NTG-context] Hanging indents

2010-04-05 Thread Tom
Exdent works fine when I substitute my text for Knuth in the example, but has a problem when I include it in my document. The first line of text after Exdent is called is not outdented, but is in all subsequent paragraphs as it should be. I tried calling Exdent for the paragraphs that start my

Re: [NTG-context] Multiple side-by-side tables

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 15:48, schrieb Troy Henderson: I would like to put several tables side-by-side one another. Nesting \placesidebyside commands seems a bit inconvenient. Suggestions on how to make \starttable ... \stoptable not create a newline (without the \placesidebyside command) would be greatly

Re: [NTG-context] Hanging indents

2010-04-05 Thread Aditya Mahajan
On Mon, 5 Apr 2010, Tom wrote: Exdent works fine when I substitute my text for Knuth in the example, but has a problem when I include it in my document. The first line of text after Exdent is called is not outdented, but is in all subsequent paragraphs as it should be. I tried calling Exdent

Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Honza Pohanka
Dne Mon, 05 Apr 2010 14:06:52 +0300 Wolfgang Schuster schuster.wolfg...@googlemail.com napsal(a): Am 05.04.10 10:54, schrieb Jan Pohanka: Hello, I have following code (simplified) \def\mySubject#1{#1}

Re: [NTG-context] SVG 2 MetaPost/MetaFun

2010-04-05 Thread Hans Hagen
On 4-4-2010 7:29, Matija Šuklje wrote: Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a): I just tried using an SVG image directly in MkIV, and it worked like a breeze. Apparently ConTeXt converts the image to PDF on the fly as I found a PDF-file with a similar name

Re: [NTG-context] Mk II, textstyle=cap not working

2010-04-05 Thread Hans Hagen
On 4-4-2010 10:58, Michael Ewe wrote: Thank you very much, that works well! But: how can I find out? Its not in the manual, its not in the manual's source. The wiki page about chapter headers says textstyle=cap and mentions \textcommand and \deeptextcommand changed related to cap also relate

Re: [NTG-context] Indent of heading when using command option

2010-04-05 Thread Aditya Mahajan
On Mon, 5 Apr 2010, Honza Pohanka wrote: Sorry for unclear question, I have already find the solution. I missunderstood the \def macro. \def\mySubject#1{#1} works fine \def\mySubject#1{ #1 } causes problems \def\mySubject#1{%- Otherwise you get a space #1} or \def\mySubject#1% {#1}

Re: [NTG-context] InteractionsBar - another shot

2010-04-05 Thread Hans Hagen
On 5-4-2010 12:59, Matthias Weber wrote: So what do you recommend: - not use the interactionbuttons - pray that they will start working some time in the future - buy Hans a beer (I would have done that a while ago, but shipping is more expensive than the product. Maybe there is a service in

[NTG-context] font lookup

2010-04-05 Thread Wolfgang Werners-Lucchini
Hallo, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] font lookup

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 23:52, schrieb Wolfgang Werners-Lucchini: Hallo, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) Here is a solution which consults ConTeXt’s font database, no path in the

[NTG-context] randomize

2010-04-05 Thread Wolfgang Werners-Lucchini
Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'}

Re: [NTG-context] Hanging indents

2010-04-05 Thread Tom
Aditya, It took me awhile to sort through all the code to find what was creating the problem. It appears that the code for the first page of a chapter is the culprit but I don't know why it's causing the problem. \definepagebreak[mychapterpagebreak][yes,header,right] %eliminates headers on

Re: [NTG-context] Hanging indents

2010-04-05 Thread Wolfgang Schuster
Am 06.04.10 00:19, schrieb Tom: Aditya, It took me awhile to sort through all the code to find what was creating the problem. It appears that the code for the first page of a chapter is the culprit but I don't know why it's causing the problem.

Re: [NTG-context] Hanging indents

2010-04-05 Thread Tom
Thanks, Wolfgang. That did it. Because I wasn't using a section, I didn't pay attention to the indentnext=yes. The numbercommand is an artifact leftover from code used for numbered chapters that I neglected to delete. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey

Re: [NTG-context] randomize

2010-04-05 Thread Wolfgang Schuster
Am 06.04.10 00:21, schrieb Wolfgang Werners-Lucchini: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a

[NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
Dear all, my problem with framed text persists in paragraphs: The frame extends over the entire page as soon as the paragraph has more than one line. Problem exists in mkii and mkiv. Minimal example below. Thanks, Matthias \setupcolors[state=start] \setupcolor[rgb] \definetextbackground

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Aditya Mahajan
On Mon, 5 Apr 2010, Matthias Weber wrote: Dear all, my problem with framed text persists in paragraphs: The frame extends over the entire page as soon as the paragraph has more than one line. Problem exists in mkii and mkiv. Minimal example below. I have seen this before when trying to use

[NTG-context] Creating PDF Bookmarks

2010-04-05 Thread marfin
I am looking for additional bookmarks but \bookmark[…]{…} has no effect (mkiv). What is going wrong? \setupinteraction [state=start] \setupinteractionscreen [option=bookmark] \placebookmarks[chapter,section][chapter,section] \starttext \bookmark[chapter]{TOC} \title{Table of contents}

Re: [NTG-context] font lookup

2010-04-05 Thread Wolfgang Werners-Lucchini
Thank you Wolfgang, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) Here is a solution which consults ConTeXt?s font database, no path in the output means the font is stored in

Re: [NTG-context] Framed text in paragraphs too wide

2010-04-05 Thread Matthias Weber
Thanks Aditya, that is what I need. I don't really understand the difference between framedtext and textbackground, but all my framing and coloring desires seem to be realizable with framedtext. Matthias On Apr 5, 2010, at 7:50 PM, Aditya Mahajan wrote: On Mon, 5 Apr 2010, Matthias Weber

[NTG-context] mkiv: wide gap between name and text of enumerations

2010-04-05 Thread Matthias Weber
Dear all, I use in mkii \defineenumeration [blurb] [text=Blurb, way=bysection, location=hanging] \starttext \startblurb Here

Re: [NTG-context] font lookup

2010-04-05 Thread Peter Münster
On Tue, Apr 06 2010, Wolfgang Werners-Lucchini wrote: Result (on my system): Path: texgyrepagella-regular.otf Hmm! How does context resolve the complete path afterwards? Hello Wolfgang, When you know the filename, you can get the complete path like this: \starttext

Re: [NTG-context] mkiv: wide gap between name and text of enumerations

2010-04-05 Thread Peter Münster
On Tue, Apr 06 2010, Matthias Weber wrote: \defineenumeration[blurb] [text=Blurb, way=bysection, location=hanging] Blurb 1 Here should only be a small