Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
On Tue, Feb 17, 2015 at 16:30:13 +0100, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 17.02.2015 um 16:04 schrieb Christoph Reller christoph.rel...@gmail.com: How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. The \type

Re: [NTG-context] XML - accessing parental children attribute (was: some troubles)

2015-02-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks Hans, this works perfectly... Lukas \startbuffer[demo] a aa number=/aa aa number=a1A1/aa ax number=x1X1/ab ab number=b1B1/ab aa number=/aa aa number=a2A2/aa ax number=x2X2/ab ab number=b2B2/ab aa number=/aa aa number=a3A3/aa ax

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-17 Thread Fabrice
Hi John, That's what I thought, some macros work indifferently in Metafun or Metapost, others not. Thank you for the interest in my question. Fabrice ___ If your question is of interest to others as well, please add

Re: [NTG-context] Hatch an area with Metapost (Metafun)

2015-02-17 Thread John Kitzmiller
On Feb 16, 2015, at 3:21 PM, Fabrice Couvreur wrote: This does not work with : labeloffset := 2mm; On Feb 09, 2015, Hans Hagen wrote: \startMPpage[offset=2pt] path p, q, r ; pair z ; p := unitsquare scaled 4cm ; z := point 3.6 of p ; q := z--urcorner p ; r := q

[NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Akira Kakuto
Dear Jaroslav, I tested path settings, but it seems it is OK (c:\windows\system32 is in my PATH) Sorry for my mistake. Very difficult problem!! % latex.tex \documentclass{article} \begin{document} \immediate\write18{echo } \end{document} should print ... ... No

[NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Akira Kakuto
Dear Jaroslav, See your PATH carefully. For example I find a space between C:\1da\support\batch; and C:\Ruby\bin;C:\Windows\system32 i.e., C:\1da\support\batch; C:\Ruby\bin;C:\Windows\system32 There are many such spaces which should be removed. I think quotations such as C:\Program Files

Re: [NTG-context] XML - accessing parental children attribute (was: some troubles)

2015-02-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, a slightly modified example: t.xml a aa number=111AA/aa ab number=222AB/ab /a and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlfunction{#1}{test} \xmlsetsetup{\xmldocument}{*}{+} % \xmlsetsetup{\xmldocument}{*}{-} % Empties output?!

[NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Christoph Reller
Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX \I\can [[\em escape]] \stopTEX \typeTEX{\I\cannot [[\em escape]]} \stoptext Thank you for any

Re: [NTG-context] No escape to TeX for inline typing?

2015-02-17 Thread Wolfgang Schuster
Am 17.02.2015 um 16:04 schrieb Christoph Reller christoph.rel...@gmail.com: Hi, How do I escape to TeX from inside an inline typing command? It works fine from a typing environment. MWE: \setuptyping[TEX][escape={[[,]]}] \definetype[typeTEX][option=TEX] \starttext \startTEX

[NTG-context] setup different layouts in merged documents

2015-02-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm,height=fit] \showframe \definelayout[first][margin=20mm, width=fit, topspace=110mm, bottomspace=20mm, height=fit] \usemodule[scancsv] \starttext \startbuffer[text-content]

Re: [NTG-context] setup different layouts in merged documents

2015-02-17 Thread Wolfgang Schuster
Am 17.02.2015 um 20:49 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm,height=fit] \showframe \definelayout[first][margin=20mm, width=fit, topspace=110mm, bottomspace=20mm, height=fit]

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Hans Hagen
On 2/17/2015 8:24 AM, Keith J. Schultz wrote: Hi Axel, All, You have mentioned that most current ebook readers can not display MathML. Well, the problem lies in the epub guidelines for the readers. The problem is even worse. many readers do not even implement the full HTML5 standard. though

Re: [NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Jaroslav Hajtmar
Thanx Ulrike for reply. I'm sending outputs from Pdflatex and lualatex consoles: I do not know what I should receive Jaroslav Hajtmar PDFLaTeX output console: Microsoft Windows [Verze 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Všechna práva vyhrazena.

[NTG-context] XML - some troubles

2015-02-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, suppose having: t.xml a aa number=111AA/aa abAB/ab /a and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlsetsetup{\xmldocument}{*}{+} % \xmlsetsetup{\xmldocument}{*}{-} % Empties output?! \xmlsetsetup{\xmldocument}{a/ab}{xml:*} \stopxmlsetups

Re: [NTG-context] XML - accessing parental children attribute (was: some troubles)

2015-02-17 Thread Hans Hagen
On 2/17/2015 3:25 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, a slightly modified example: t.xml a aa number=111AA/aa ab number=222AB/ab /a and the Ctx source: t.mkiv \startxmlsetups xml:T \xmlfunction{#1}{test} \xmlsetsetup{\xmldocument}{*}{+} %

Re: [NTG-context] setup different layouts in merged documents

2015-02-17 Thread Pablo Rodriguez
On 02/17/2015 08:59 PM, Wolfgang Schuster wrote: Am 17.02.2015 um 20:49 schrieb Pablo Rodriguez: [...] \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm,height=fit] \showframe \definelayout[first][margin=20mm, width=fit, topspace=110mm, bottomspace=20mm, height=fit]

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Keith Schultz
Am 17.02.2015 um 21:16 schrieb Hans Hagen pra...@wxs.nl: On 2/17/2015 8:24 AM, Keith J. Schultz wrote: Hi Axel, All, [snip, snip] IMHO : ConTeXt should not output XHMTL for epub, but HMTL5. Yes, yes, I know XHMTL is part of HMTL5. And html 5 is just html with some extras (and

Re: [NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Ulrike Fischer
Am Tue, 17 Feb 2015 12:43:47 +0100 schrieb Jaroslav Hajtmar: Thanx Ulrike for reply. I'm sending outputs from Pdflatex and lualatex consoles: I do not know what I should receive You should see (./test-utf8.aux) on the command line and runsystem(echo

[NTG-context] \executesystemcommand dont work? (RESOLVED!!!)

2015-02-17 Thread Jaroslav Hajtmar
Dear Akira. I made adjustments as you advised me and ... believe it or not, all started working, including automatic updates of Standalone ConTeXt (which I was asking some time ago). I am very, very pleased, and I admire you for Your insight and work with the revelation of mistakes in setting

Re: [NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Jaroslav Hajtmar
Thanx Akira for reply. Thanks to your answers I see that my console output differs from yours. At this moment, however, I do not know what happened to my windows respectively how to correct the mistake. Does anyone know how to fix it? I'm not ConTeXt expert and I'm not Windows expert too.

Re: [NTG-context] Epub format Was: Re: Context to epub: itemize

2015-02-17 Thread Aditya Mahajan
On Tue, 17 Feb 2015, Hans Hagen wrote: Context outputs three varants: regular xml, xhtml, and stupified xhtml with div/class tagging. The last one is supposed to work on all devices as it doesn't demands anything beyond css. The XML generated by ConTeXt is very well structured. So, an option

Re: [NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Ulrike Fischer
Am Tue, 17 Feb 2015 09:55:58 +0100 schrieb Jaroslav Hajtmar: Thanks to your answers I see that my console output differs from yours. At this moment, however, I do not know what happened to my windows respectively how to correct the mistake. Does anyone know how to fix it? I'm not ConTeXt

[NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Akira Kakuto
Dear Jaroslav, Does anyone know how to fix it? I'm not ConTeXt expert and I'm not Windows expert too. I don't know a reason, but ... Very rare case: c:\windows\system32 is erased from your PATH by an accident, so cmd.exe cannot be found by luatex. Please check the PATH variable on your

[NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Akira Kakuto
No file latex.aux. (./latex.aux) ) No pages of output. OK, as I said previously, c:\windows\system32 does not exist in your PATH. In your command prompt echo 000 will work, but cmd /c echo 000 will not work. Please test in your command prompt set PATH=c:\windows\system32;%PATH% pdflatex

Re: [NTG-context] \executesystemcommand dont work?

2015-02-17 Thread Jaroslav Hajtmar
Thanx Akira. I tested path settings, but it seems it is OK (c:\windows\system32 is in my PATH) I am sending full path variable. PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-6.8.7-Q16; C:\Program Files (x86)\PC Connectivity Solution\;C:\texlive\2014\bin\win32;C:\Pe