[NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread Mikael P. Sundqvist
Dear list, My question is: Can I somehow force an inner itemization to begin on the same line as the outer one? Background: I am writing solutions to an exam and use nested itemizations, as in the test file \starttext \startitemize[n][style=sans] \item Bla bla \item

[NTG-context] Split \startalign content on more pages

2012-05-10 Thread elgo...@libero.it
Hello, I'm a new user of context (and of this mailing list). I'm facing some problems in splitting the \startalign ... \stopalign content on more pages. This is the formulas: \setupformulas[align=right] \startformula \startalign[n=3, align={left, right, left}] \NC \text{dove} \quad \NC Y \NC =

Re: [NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread Mikael P. Sundqvist
On Thu, May 10, 2012 at 9:10 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Dear list, My question is: Can I somehow force an inner itemization to begin on the same line as the outer one? Background: I am writing solutions to an exam and use nested itemizations, as in the test file

Re: [NTG-context] Units or px

2012-05-10 Thread Hans Hagen
On 10-5-2012 00:39, Kip Warner wrote: Hey list, ConTeXt 2012.05.08 13:45 reports that the units module is deprecated and to use the px module in its place. Is it telling the truth or is this a px? the message is: The units module is obsolete because functionality is built into the core.

Re: [NTG-context] Split \startalign content on more pages

2012-05-10 Thread luigi scarso
On Wed, May 9, 2012 at 1:44 PM, elgo...@libero.it elgo...@libero.it wrote: And by the way, is there a clever way to write a block of text under some conditions as shown in the example above other than tex.print(.) which forces to escape every command? Thank you very much. Bye \starttext

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-10 Thread Hans Hagen
On 10-5-2012 02:25, Mojca Miklavec wrote: Hello, I'm just wonderding if there is a way to switch to an OpenType Math font (referred to by name or filename, without any predefined typescript) with some stylistic alternative in the middle of the document, like in the LaTeX example: Sure, when

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-10 Thread Hans Hagen
On 10-5-2012 02:29, Mojca Miklavec wrote: PS: I forgot to send a minimal example. Here it is :) http://meeting.contextgarden.net/2011/talks/day3_05_ulrik_opentype/Samples/math-test-alphabet.tex

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-10 Thread luigi scarso
On Thu, May 10, 2012 at 10:05 AM, Hans Hagen pra...@wxs.nl wrote: my editor cannot open latex minimal examples with more than 10 lines -- luigi ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread Hans Hagen
On 10-5-2012 09:30, Mikael P. Sundqvist wrote: On Thu, May 10, 2012 at 9:10 AM, Mikael P. Sundqvistmic...@gmail.com wrote: Dear list, My question is: Can I somehow force an inner itemization to begin on the same line as the outer one? Background: I am writing solutions to an exam and use

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-10 Thread Alan BRASLAU
On Thu, 10 May 2012 10:05:49 +0200 Hans Hagen pra...@wxs.nl wrote: On 10-5-2012 02:29, Mojca Miklavec wrote: PS: I forgot to send a minimal example. Here it is :) http://meeting.contextgarden.net/2011/talks/day3_05_ulrik_opentype/Samples/math-test-alphabet.tex

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-10 Thread Mojca Miklavec
On Thu, May 10, 2012 at 10:02 AM, Hans Hagen wrote: On 10-5-2012 02:25, Mojca Miklavec wrote: Hello, I'm just wonderding if there is a way to switch to an OpenType Math font (referred to by name or filename, without any predefined typescript) with some stylistic alternative in the middle of

Re: [NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread luigi scarso
On Thu, May 10, 2012 at 10:08 AM, Hans Hagen pra...@wxs.nl wrote: On 10-5-2012 09:30, Mikael P. Sundqvist wrote: In this example the a) is pushed a bit up instead of down, but I guess the reason is the same. It looks ok in mkii and mkiv ... can someone confirm the problem? Hans Hm, maybe.

Re: [NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, - seems OK with my not-so-recent MkIV - see the attachment. Lukas On Thu, 10 May 2012 10:08:57 +0200, Hans Hagen pra...@wxs.nl wrote: It looks ok in mkii and mkiv ... can someone confirm the problem? Hans -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o.

Re: [NTG-context] Font for MetaPost graphics

2012-05-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, many thanks Marco for wikifying. On Tue, 08 May 2012 21:57:04 +0200, Marco net...@lavabit.com wrote: Thanks a lot Hans for implementing this. Wikified: http://wiki.contextgarden.net/Command/defineMPinstance http://wiki.contextgarden.net/Command/setupMPinstance Best wishes Marco

Re: [NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread Marco
On 2012-05-10 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: - seems OK with my not-so-recent MkIV - see the attachment. That also shows the misalignment. It's more visible when you use \showboxes. Give it a run as it is and then add “Foo” after \starttext and give it a second run

Re: [NTG-context] switching to a different math font (with alternatives) in the middle of document

2012-05-10 Thread Hans Hagen
On 10-5-2012 10:25, Mojca Miklavec wrote: On Thu, May 10, 2012 at 10:02 AM, Hans Hagen wrote: On 10-5-2012 02:25, Mojca Miklavec wrote: Hello, I'm just wonderding if there is a way to switch to an OpenType Math font (referred to by name or filename, without any predefined typescript) with

Re: [NTG-context] Font for MetaPost graphics

2012-05-10 Thread Marco
On 2012-05-10 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote: With the permission, I tried to replace the tag texcode with context to get source and result. context mode=mkiv source=yes text=Gives: ... /context Unfortunately, the result doesn't appear. The code is MkIV

[NTG-context] japanese spaced

2012-05-10 Thread Steffen Wolfrum
Hi, if a paragraph is set to align=block the space between words can be stretched. If eg. a japanese word is mentioned in such a paragraph the space between the japanes characters gets spaced/stretched too (see example attached). This may be right for japanese texts, but it is wrong if the

[NTG-context] \doifolderversionelse

2012-05-10 Thread Peter Rolf
Hi, I tried to handle some version changes with \doifolderversionelse. Sadly it does not work here. Example: \starttext \doifolderversionelse\contextversion{1010.10.10} {OLDER} {OKAY}% = OLDER \doifolderversionelse\contextversion{2020.20.20} {OLDER} {OKAY}% = OKAY

[NTG-context] bug? margens with duplex

2012-05-10 Thread Peter Schorsch
Hi, I am using \ininner and \inouter to set text into the margins. As soon I also use duplex the margins are messed up at every second page. Unluckily the [stack=continue] option does not help. I put an example incl. pictures of the results on my user talk page on the wiki:

Re: [NTG-context] \doifolderversionelse

2012-05-10 Thread Hans Hagen
On 10-5-2012 12:00, Peter Rolf wrote: Hi, I tried to handle some version changes with \doifolderversionelse. Sadly it does not work here. Example: \starttext \doifolderversionelse\contextversion{1010.10.10} {OLDER} {OKAY}% = OLDER \doifolderversionelse\contextversion{2020.20.20} {OLDER}

Re: [NTG-context] Vertical alignment in nested itemizations

2012-05-10 Thread Hans Hagen
On 10-5-2012 10:57, Marco wrote: On 2012-05-10 Procházka Lukáš Ing. - Pontex s. r. o.l...@pontex.cz wrote: - seems OK with my not-so-recent MkIV - see the attachment. That also shows the misalignment. It's more visible when you use \showboxes. Give it a run as it is and then add “Foo” after

[NTG-context] standard for bibliographies

2012-05-10 Thread Mojca Miklavec
There used to be discussions about some common standard for storing bibliographies. I'm testing http://www.mendeley.com/ and would like to export to ConTeXt-friendly database (bibtex export is supported). It seems that for that one would have to use http://citationstyles.org/ so I will

Re: [NTG-context] standard for bibliographies

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 01:29 PM, Mojca Miklavec wrote: There used to be discussions about some common standard for storing bibliographies. I'm testing http://www.mendeley.com/ and would like to export to ConTeXt-friendly database (bibtex export is supported). It seems that for that one would have

[NTG-context] Error using Asana Math

2012-05-10 Thread Marco
I get the following error: Math error: parameter \Umathquad\displaystyle is not set Example: \starttypescript [myfonts] \definetypeface [myfonts] [rm] [serif] [pagella] [default] \definetypeface [myfonts] [ss] [sans] [heros] [default] \definetypeface [myfonts]

Re: [NTG-context] standard for bibliographies

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 01:35 PM, Thomas A. Schmitz wrote: but I couldn't get my head around it and was just hitting too many limitations And a short follow-up (because Mojca's question made me google this again): one glaring omission to me was the lack of support for cross-references within

Re: [NTG-context] Error using Asana Math

2012-05-10 Thread Taco Hoekwater
On 05/10/2012 01:45 PM, Marco wrote: I get the following error: Math error: parameter \Umathquad\displaystyle is not set Example: \starttypescript [myfonts] \definetypeface [myfonts] [rm] [serif] [pagella] [default] \definetypeface [myfonts] [ss] [sans] [heros]

Re: [NTG-context] Error using Asana Math

2012-05-10 Thread Marco
On 2012-05-10 Taco Hoekwater t...@elvenkind.com wrote: Try this: \definetypeface [myfonts] [mm] [math] [asana] [default] That gives: fontsdefining unable to define asanamath as [myfonts-12pt-mm-mb--1] ! Missing font identifier. system tex error on line 10 in

Re: [NTG-context] Error using Asana Math

2012-05-10 Thread Mojca Miklavec
On Thu, May 10, 2012 at 3:12 PM, Marco net...@lavabit.com wrote: On 2012-05-10 Taco Hoekwater t...@elvenkind.com wrote: Try this:       \definetypeface [myfonts] [mm] [math]  [asana] [default] That gives: fonts           defining unable to define asanamath as [myfonts-12pt-mm-mb--1]

[NTG-context] \mapsto + SimpleSlides

2012-05-10 Thread Weber, Matthias
Dear all, I don't get \mapsto to display using SimpleSlides and MkIV. It shows in normal MkIV documents, and works in MKII Example below. Thanks for any advice. Matthias \usemodule[simpleslides] [style=BottomSquares, color=blue] \starttext \SlideTitle{Help!}

Re: [NTG-context] Error using Asana Math

2012-05-10 Thread Marco
On 2012-05-10 Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Are you sure that you have the font installed? No it's not, the font is in the working directory, where it apparently is not recognized. (./first-setup.sh --fonts=Asana-Math) I didn't know that switch. It works now, sorry

[NTG-context] Simple rings with svg

2012-05-10 Thread Ian Lawrence
I read on the wiki that now svg is natively supported. Hmm. I am missing a trick here: I try ___ \starttext Hello world \externalfigure[ChangingField_ILUC.pdf \stoptext __ And all goes as expected: I get output with the expected graphic in place But if I try ___ \starttext Hello world

Re: [NTG-context] Simple rings with svg

2012-05-10 Thread Aditya Mahajan
On Thu, 10 May 2012, Ian Lawrence wrote: I read on the wiki that now svg is natively supported. Hmm. No. You need to have inkscape installed (and in your PATH) for svg to pdf conversion to work. FWIW, I cannot find the intermediate file 'm_k_i_v_ChangingField_ILUC.pdf' on my disk

Re: [NTG-context] Simple rings with svg

2012-05-10 Thread Hans Hagen
On 10-5-2012 16:59, Aditya Mahajan wrote: On Thu, 10 May 2012, Ian Lawrence wrote: I read on the wiki that now svg is natively supported. Hmm. No. You need to have inkscape installed (and in your PATH) for svg to pdf conversion to work. FWIW, I cannot find the intermediate file

Re: [NTG-context] Simple rings with svg

2012-05-10 Thread Marco
On 2012-05-10 Hans Hagen pra...@wxs.nl wrote: @Hans, could we change the conversion so that it checks for inkscape and gives a more sensible warning if inkscape is absent? so what is a robust check ... I don't know about robustness, but “which inkscape” seems to be the candidate from my

Re: [NTG-context] Simple rings with svg

2012-05-10 Thread Khaled Hosny
On Thu, May 10, 2012 at 10:59:41AM -0400, Aditya Mahajan wrote: On Thu, 10 May 2012, Ian Lawrence wrote: I read on the wiki that now svg is natively supported. Hmm. No. You need to have inkscape installed (and in your PATH) for svg to pdf conversion to work. FWIW, I cannot find the

Re: [NTG-context] bug? margens with duplex

2012-05-10 Thread Hans Hagen
On 10-5-2012 12:15, Peter Schorsch wrote: Hi, I am using \ininner and \inouter to set text into the margins. As soon I also use duplex the margins are messed up at every second page. Unluckily the [stack=continue] option does not help. I put an example incl. pictures of the results on my user

Re: [NTG-context] \mapsto + SimpleSlides

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 03:37 PM, Weber, Matthias wrote: Dear all, I don't get \mapsto to display using SimpleSlides and MkIV. It shows in normal MkIV documents, and works in MKII Example below. Thanks for any advice. Matthias \usemodule[simpleslides] [style=BottomSquares,

Re: [NTG-context] mapsto + SimpleSlides

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 05:53 PM, Weber, Matthias wrote: Is that too old?: ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2012.5.5 int: english/english Matthias Depends. Mkiv is moving quite fast, so if you really need to use mkiv, this is way too old. Be warned though: things have changed pretty

Re: [NTG-context] Simple rings with svg

2012-05-10 Thread Aditya Mahajan
On Thu, 10 May 2012, Hans Hagen wrote: On 10-5-2012 16:59, Aditya Mahajan wrote: On Thu, 10 May 2012, Ian Lawrence wrote: I read on the wiki that now svg is natively supported. Hmm. No. You need to have inkscape installed (and in your PATH) for svg to pdf conversion to work. FWIW, I

Re: [NTG-context] mapsto + SimpleSlides

2012-05-10 Thread Thomas A. Schmitz
On 05/10/2012 06:38 PM, Weber, Matthias wrote: Hmm, TeXShop reports in the console that I am executing luatex --fmt=/Applications/ConTeXtStandalone/tex/texmf-cache/luatex-cache/context/210a96fef5fbab446fd11afa77acb026/formats/cont-en

Re: [NTG-context] mapsto + SimpleSlides

2012-05-10 Thread Matthias Weber
Yes, that's exactly what I did... Matthias On May 10, 2012, at 6:45 PM, Thomas A. Schmitz wrote: On 05/10/2012 06:38 PM, Weber, Matthias wrote: Hmm, TeXShop reports in the console that I am executing luatex

Re: [NTG-context] Units or px

2012-05-10 Thread Kip Warner
On Thu, 2012-05-10 at 09:55 +0200, Hans Hagen wrote: On 10-5-2012 00:39, Kip Warner wrote: Hey list, ConTeXt 2012.05.08 13:45 reports that the units module is deprecated and to use the px module in its place. Is it telling the truth or is this a px? the message is: The units module

Re: [NTG-context] standard for bibliographies

2012-05-10 Thread Pontus Lurcock
On Thu 10 May 2012, Thomas A. Schmitz wrote: one glaring omission to me was the lack of support for cross-references within bibliographical lists (e.g., you have a chapter in a book and want to refer back to item X in your list). This has been asked again and again on the zotero forums.

Re: [NTG-context] Simple rings with svg

2012-05-10 Thread Peter Münster
On Thu, May 10 2012, Hans Hagen wrote: so what is a robust check ... Perhaps just the exit code of the inkscape call? -- Peter ___ If your question is of interest to others as well, please add an entry

[NTG-context] Markdown subitems fail

2012-05-10 Thread Marco
Subitems in markdown behave buggy. Example: \usemodule [markdown] \starttext \startmarkdown - Some item - Another item - Subitem one - Subitem two \stopmarkdown \stoptext Result: • Some item • Another item startmarkdownitemize[packed] startitem Subitem one stopitem

Re: [NTG-context] Markdown subitems fail

2012-05-10 Thread Hans Hagen
On 10-5-2012 20:56, Marco wrote: Subitems in markdown behave buggy. Example: \usemodule [markdown] \starttext \startmarkdown - Some item - Another item - Subitem one - Subitem two \stopmarkdown \stoptext Result: • Some item • Another item startmarkdownitemize[packed] startitem

Re: [NTG-context] standard for bibliographies

2012-05-10 Thread Hans Hagen
On 10-5-2012 19:25, Pontus Lurcock wrote: On Thu 10 May 2012, Thomas A. Schmitz wrote: one glaring omission to me was the lack of support for cross-references within bibliographical lists (e.g., you have a chapter in a book and want to refer back to item X in your list). This has been asked