[NTG-context] incosistent output of --- dash

2024-04-06 Thread madiazm . eoicc
Hi everyone, I'm a bit puzzled because I usually don't get an em-dash when I type tree hyphens. If I use the command \emdash, no problem but when I use the hyphens some days it works... and somedays I see three small hyphens. I tried it on overleaf and of ContextOnWeb with the same

[NTG-context] Re: output filename with SHA256

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/23/24 16:01, mf wrote: > [...] > A new run is started unless: > [...] > - the tuc file is identical to the one of the previous run Hi Massi, many thanks for your reply. If ConTeXt relies on that condition to stop compilation, then it would be great to know how it is performed to invoke

[NTG-context] Re: output filename with SHA256

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/23/24 23:58, Bruce Horrocks wrote: >> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> Is there any way to check if compilation needs any other run? >> [...] > Rather than use the wrapup() hook can why not rename the file using > a second job on the command

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread Bruce Horrocks
> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > I have the following sample file: > > \starttext > whatever > > \startluacode > luatex.wrapup( > function() >local t = {} >local pdf_file_name = tex.jobname..".pdf" >local sha_pdf =

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread mf
Il 23/02/24 14:32, Pablo Rodriguez via ntg-context ha scritto: Dear list, I have the following sample file: \starttext whatever \startluacode luatex.wrapup( function() local t = {} local pdf_file_name = tex.jobname..".pdf" local sha_pdf =

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Hans Hagen
On 6/23/2021 4:57 PM, Pablo Rodriguez wrote: On 6/23/21 9:26 AM, Hans Hagen wrote: On 6/22/2021 1:55 PM, Pascal Pascali wrote: Dear ConTeXt community, Is it possible to set the file name of the output from within the document? [...] \startluacode luatex.wrapup( function()

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Pablo Rodriguez
On 6/23/21 9:26 AM, Hans Hagen wrote: > On 6/22/2021 1:55 PM, Pascal Pascali wrote: >> Dear ConTeXt community, >> >> Is it possible to set the file name of the output from within the document? > [...] > \startluacode > luatex.wrapup( > function() > os.remove("new.pdf") >

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-23 Thread Hans Hagen
On 6/22/2021 1:55 PM, Pascal Pascali wrote: Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Wolfgang Schuster
Pascal Pascali schrieb am 22.06.2021 um 13:55: Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the

[NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Pascal Pascali
Dear ConTeXt community, Is it possible to set the file name of the output from within the document? I can do it on the command line by adding --result="CustomName.pdf", but I'd need to do it according to certain variables in the content of the file itself...

Re: [NTG-context] Can't output direct glyphs either in MKIV

2020-09-07 Thread Andres Conrado Montoya
Hi Taco, thanks for the input. Your example works, and produces the glyphs. Pdf attached, I hope this system allows it (only 36.3 kB). "u101F2" is the unicode name for the glyph. I would guess, according to what you told me, that the code point would be "00024", but honestly, I have no idea. This

Re: [NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Taco Hoekwater
Hi, > On 7 Sep 2020, at 22:05, Andres Conrado Montoya > wrote: > >  > Hello list. I'm trying to call a direct glyph from the Phaistos font, but it > seems it doesn't work. The font is loaded, the log file says it so: > > system > 12: filename=/home/vantta/.fonts/Phaistos.otf

[NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Andres Conrado Montoya
Hello list. I'm trying to call a direct glyph from the Phaistos font, but it seems it doesn't work. The font is loaded, the log file says it so: system > 12: filename=/home/vantta/.fonts/Phaistos.otf format=otf foundname=/home/vantta/.fonts/Phaistos.otf

Re: [NTG-context] PDF output routine in lmtx

2019-04-30 Thread Thomas A. Schmitz
> On 29. Apr 2019, at 11:46, Christian Prim wrote: > > Hi > > in lmtx the pdf output routine has changed afaik. I just wanted to report, > that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print > any character. A standard document as the MWE prints well under mkiv. Under

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Hans Hagen
On 4/29/2019 4:05 PM, Christian Prim wrote: Thanks for your answer, Hans. I checked standard (modern) and gyre-palatino font. Both give no output. Did pdf-Version change between mkiv and lmtx? I will try to find the problem in the pdf-file, if I can. you can run with \nopdfcompression i

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
Thanks for your answer, Hans. I checked standard (modern) and gyre-palatino font. Both give no output. Did pdf-Version change between mkiv and lmtx? I will try to find the problem in the pdf-file, if I can. Thanks Christian Am Mo., 29. Apr. 2019 um 13:21 Uhr schrieb Hans Hagen : > On 4/29/2019

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Hans Hagen
On 4/29/2019 11:46 AM, Christian Prim wrote: Hi in lmtx the pdf output routine has changed afaik. I just wanted to report, that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print any character. A standard document as the MWE prints well under mkiv. Under lmtx, there is no

[NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
Hi in lmtx the pdf output routine has changed afaik. I just wanted to report, that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print any character. A standard document as the MWE prints well under mkiv. Under lmtx, there is no output (blank sheet). In a document with a

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
Hi converting the document to ps and back to pdf works (pdf2ps and ps2pdf). But I think there must be a simpler solution... Christian Am Mo., 29. Apr. 2019 um 11:46 Uhr schrieb Christian Prim < christian.p...@gmx.ch>: > Hi > > in lmtx the pdf output routine has changed afaik. I just wanted to

Re: [NTG-context] Parallel output of source data

2018-07-03 Thread Procházka Lukáš Ing .
Hello Wolfgang, On Tue, 03 Jul 2018 09:07:23 +0200, Wolfgang Schuster wrote: Hi Lukas, when you create the buffer with the grabbufferdata-command you already set the delimiter for the environment with the third argument, in the example below this is the \stopcontentexport command. To have

Re: [NTG-context] Parallel output of source data

2018-07-03 Thread Hans Hagen
On 7/3/2018 8:52 AM, Procházka Lukáš Ing. wrote: Hello, I tried to \let shortcuts for \startcontentexport and \stopcontentexport, but Ctx run fails. I guess this is a basic misunderstanding, but - why? \unexpanded\def\startcontentexport{\dosingleempty\dostartcontentexport}

Re: [NTG-context] Parallel output of source data

2018-07-03 Thread Wolfgang Schuster
Hi Lukas, when you create the buffer with the grabbufferdata-command you already set the delimiter for the environment with the third argument, in the example below this is the \stopcontentexport command. To have different start/stop-commands for your environment means you have to change all

Re: [NTG-context] Parallel output of source data

2018-07-03 Thread Procházka Lukáš Ing .
Hello, I tried to \let shortcuts for \startcontentexport and \stopcontentexport, but Ctx run fails. I guess this is a basic misunderstanding, but - why? \unexpanded\def\startcontentexport{\dosingleempty\dostartcontentexport} \def\dostartcontentexport[#1]% {\iffirstargument

Re: [NTG-context] Parallel output of source data

2016-12-04 Thread Procházka Lukáš Ing .
Great, that's it! Thank you. Best regards, Lukas On Fri, 02 Dec 2016 20:04:56 +0100, Wolfgang Schuster wrote: Procházka Lukáš Ing. 2. Dezember 2016 um 08:10 Hello, is there a way to let ConTeXt to flush the input stream in parallel

Re: [NTG-context] Parallel output of source data

2016-12-02 Thread Wolfgang Schuster
Procházka Lukáš Ing. 2. Dezember 2016 um 08:10 Hello, is there a way to let ConTeXt to flush the input stream in parallel into an output buffer, like: \starttext A \startoutput{Test.mkiv} Hello! \startitemize \item Item \stopitemize \stopoutput B

[NTG-context] Parallel output of source data

2016-12-01 Thread Procházka Lukáš Ing .
Hello, is there a way to let ConTeXt to flush the input stream in parallel into an output buffer, like: \starttext A \startoutput{Test.mkiv} Hello! \startitemize \item Item \stopitemize \stopoutput B \stoptext which would produce: Test.mkiv Hello!

[NTG-context] Wrong output for \ruledvbox and \ruledvtop

2016-07-20 Thread Wolfgang Schuster
Hi Hans, the frames for both boxes are lowered by the depth of the descenders. \starttext \ruledvbox{\input ward } \blank \ruledvbox{\input ward } \stoptext Wolfgang ___ If your question is of interest

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Wolfgang Schuster
Hans Hagen 23. Dezember 2015 um 10:17 On 12/23/2015 3:19 AM, Alan BRASLAU wrote: So it it a TeX programming limitation. The risk of leading to an exponential number of branches is addressed by Knuth at the beginning of Chapter 17 of the TeXbook (p. 139): "Mathematicians

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Hans Hagen
On 12/22/2015 8:24 PM, Alan BRASLAU wrote: Wolfgang, Can you explain to us why it should be preferable for ConTeXt users to employ \frac12 rather than the native TeX construction {1\over 2}? I understand that the macro \frac does some additional trickery but the two constructions should

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Alan BRASLAU
On Wed, 23 Dec 2015 16:52:22 +0100 Hans Hagen wrote: > > Of course, Donald Knuth disagrees with \frac from the point of view > > of the aesthetics of the syntax. > > Are you sure he disagrees? For instance \frac {12} {34} is less code > than { {12} \over {34} } and all over

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Hans Hagen
On 12/22/2015 11:30 PM, Aditya Mahajan wrote: On Tue, 22 Dec 2015, Alan BRASLAU wrote: Wolfgang, Can you explain to us why it should be preferable for ConTeXt users to employ \frac12 rather than the native TeX construction {1\over 2}? I understand that the macro \frac does some additional

Re: [NTG-context] strange output in math display mode

2015-12-23 Thread Hans Hagen
On 12/23/2015 3:19 AM, Alan BRASLAU wrote: So it it a TeX programming limitation. The risk of leading to an exponential number of branches is addressed by Knuth at the beginning of Chapter 17 of the TeXbook (p. 139): "Mathematicians tend to \quote{overuse} \over when they first begin to typeset

Re: [NTG-context] strange output in math display mode

2015-12-22 Thread Alan BRASLAU
Wolfgang, Can you explain to us why it should be preferable for ConTeXt users to employ \frac12 rather than the native TeX construction {1\over 2}? I understand that the macro \frac does some additional trickery but the two constructions should *always* yield identical results (when keyed-in

Re: [NTG-context] strange output in math display mode

2015-12-22 Thread Alan BRASLAU
So it it a TeX programming limitation. The risk of leading to an exponential number of branches is addressed by Knuth at the beginning of Chapter 17 of the TeXbook (p. 139): "Mathematicians tend to \quote{overuse} \over when they first begin to typeset their own work on a system like \TEX." ...

Re: [NTG-context] strange output in math display mode

2015-12-22 Thread Aditya Mahajan
On Tue, 22 Dec 2015, Alan BRASLAU wrote: Wolfgang, Can you explain to us why it should be preferable for ConTeXt users to employ \frac12 rather than the native TeX construction {1\over 2}? I understand that the macro \frac does some additional trickery but the two constructions should *always*

Re: [NTG-context] strange output in math display mode

2015-12-21 Thread Wolfgang Schuster
Otared Kavian 21. Dezember 2015 um 14:14 Hi Dalyoung, I can confirm that in displayed math, the digit 1 in the command \frac{1}{2} results in 494 > 1 which is unexpected… However the command {1 \over 2} gives the correct result. Actually there seems to be a

Re: [NTG-context] strange output in math display mode

2015-12-21 Thread Otared Kavian
Hi Dalyoung, I can confirm that in displayed math, the digit 1 in the command \frac{1}{2} results in 494 > 1 which is unexpected… However the command {1 \over 2} gives the correct result. Actually there seems to be a spurious 494 > in the source tree of the latest release, since any

[NTG-context] strange output in math display mode

2015-12-21 Thread Jeong Dal
Dear Hans, After updating the minimal, I got a strange output of math display mode. Would you please check it? Here is an example. Best regards, Thank you. Dalyoung \starttext Here is a strange output of math formula. It is displayed correctly in text line, but is displayed

Re: [NTG-context] No output for no apparent reason

2015-08-03 Thread Matt Gushee
Hi, Wolfgang-- On Mon, Aug 3, 2015 at 1:18 AM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Is it possible that your main file of your document is a project? When this is the case change this file to a product and all subfiles into components. Yes, that was the problem. And I can

Re: [NTG-context] No output for no apparent reason

2015-08-03 Thread Wolfgang Schuster
Matt Gushee mailto:m...@gushee.net 3. August 2015 07:52 Hello, ConTeXt people-- I am coming back to ConTeXt after a long absence (for about the 3rd or 4th time - maybe if I just stuck with it I wouldn't keep having these problems, eh?). I have a new installation of the standalone ConTeXt

[NTG-context] No output for no apparent reason

2015-08-02 Thread Matt Gushee
Hello, ConTeXt people-- I am coming back to ConTeXt after a long absence (for about the 3rd or 4th time - maybe if I just stuck with it I wouldn't keep having these problems, eh?). I have a new installation of the standalone ConTeXt package on an Arch Linux system. I obtained the

[NTG-context] Different output with \blank[force, ...] in MkII and MkIV

2015-03-16 Thread Wolfgang Schuster
Hi, the force keyword for the \blank commands create an unwanted space in MkIV when you use it at the begin of page compared with MkII. Attached are the results from MkII and MkIV which have been produced with the following example. In MkIV the first page has an extra line while the space on

[NTG-context] Publications output broken in latest beta

2014-06-18 Thread Robin.Kirkham
The following minimal example worked a few days ago, but appears broken now (2014.06.17 16:53 MKIV beta) — no publications list appears. Robin \definebtxdataset [document] \usebtxdataset [document] [mkiv-publications-graph.bib] \definebtxrendering [document] \setupbtxrendering

Re: [NTG-context] Publications output broken in latest beta

2014-06-18 Thread Hans Hagen
On 6/18/2014 2:04 PM, robin.kirk...@csiro.au wrote: The following minimal example worked a few days ago, but appears broken now (2014.06.17 16:53 MKIV beta) — no publications list appears. Robin \definebtxdataset [document] \usebtxdataset [document] [mkiv-publications-graph.bib]

[NTG-context] Strange output from linear_shade (METAPOST)

2014-02-14 Thread DesdeChaves
I need to create some graphics to teach energy. One of the illustrations is about the sound energy that I represent using linear_shade function. In the following example the first illustration is represented correctly, but the second call of the function SoundEnergy implies the loss of gradient.

[NTG-context] Read output of external command

2013-04-14 Thread Marco Patzer
Hi, I need to read the standard output of an external command. This is what I came up with: \starttext \startluacode f = io.popen ls context(f:read *a) \stopluacode \stoptext It works with luajittex, plain lua5.1 and lua5.2, but it fails with a current luatex: ! LuaTeX error

Re: [NTG-context] Read output of external command

2013-04-14 Thread Hans Hagen
On 4/14/2013 12:06 PM, Marco Patzer wrote: Hi, I need to read the standard output of an external command. This is what I came up with: \starttext \startluacode f = io.popen ls context(f:read *a) \stopluacode \stoptext context(os.resultof(ls)) It works with luajittex, plain

[NTG-context] HTML output

2013-02-19 Thread Troy Henderson
I would like to convert my ConTeXt document to both PDF and plain HTML. I need plain HTML output (i.e., not XML or XHTML) because my institution's web based management software allows me to copy/paste plain HTML snippets but not XML or XHTML. Is it possible for ConTeXt to output HTML so that the

Re: [NTG-context] HTML output

2013-02-19 Thread Marco Patzer
On 2013–02–19 Troy Henderson wrote: I would like to convert my ConTeXt document to both PDF and plain HTML. My suggestion: Use markdown (or reST) with pandoc. I need plain HTML output (i.e., not XML or XHTML) because my institution's web based management software allows me to copy/paste

Re: [NTG-context] HTML output

2013-02-19 Thread Bill Meahan
On 02/19/2013 09:22 AM, Marco Patzer wrote: Within the limits of CSS you obtain a quite close match¹. But it's up to you to create the matching CSS. Marco You can do a pretty good job of matching the printed page with HTML5 + CSS3 here's a good reference:

Re: [NTG-context] HTML output

2013-02-19 Thread Aditya Mahajan
On Tue, 19 Feb 2013, Troy Henderson wrote: I would like to convert my ConTeXt document to both PDF and plain HTML. I need plain HTML output (i.e., not XML or XHTML) because my institution's web based management software allows me to copy/paste plain HTML snippets but not XML or XHTML. I was

Re: [NTG-context] HTML output

2013-02-19 Thread Henning Hraban Ramm
Am 2013-02-19 um 19:08 schrieb Bill Meahan: On 02/19/2013 09:22 AM, Marco Patzer wrote: Within the limits of CSS you obtain a quite close match¹. But it's up to you to create the matching CSS. Marco You can do a pretty good job of matching the printed page with HTML5 + CSS3 here's a

Re: [NTG-context] strange output in pdf when using the filter module

2012-02-22 Thread Aditya Mahajan
On Wed, 22 Feb 2012, Aditya Mahajan wrote: On Wed, 22 Feb 2012, Jan-Erik Hägglöf wrote: Having an issue in my pdf-output after processing a markdown file to .tex -- .pdf It adds the word stylecolors in the .pdf file Why is it doing that? Possibly because there was a bug in the version of

Re: [NTG-context] strange output in pdf when using the filter module

2012-02-22 Thread Jan-Erik Hägglöf
Updating to latest beta with ./first-setup.sh did the trick, thanks a lot mvh Janneman 22 feb 2012 kl. 18:15 skrev Aditya Mahajan: On Wed, 22 Feb 2012, Aditya Mahajan wrote: On Wed, 22 Feb 2012, Jan-Erik Hägglöf wrote: Having an issue in my pdf-output after processing a markdown file to

Re: [NTG-context] Preserving Output Files

2011-12-13 Thread Hans Hagen
On 13-12-2011 04:45, Kip Warner wrote: On Fri, 2011-12-09 at 20:26 +0100, Hans Hagen wrote: I only see cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem handbook.tex : your file, is kept where it is Hans Then I am not sure what file it is

Re: [NTG-context] Preserving Output Files

2011-12-13 Thread Kip Warner
On Tue, 2011-12-13 at 10:15 +0100, Hans Hagen wrote: it seems to run anyway maybe the file-line-error is doing something Hans I tried it already without --file-line-error and its the same console output. =( -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred

Re: [NTG-context] Preserving Output Files

2011-12-13 Thread Hans Hagen
On 13-12-2011 19:25, Kip Warner wrote: On Tue, 2011-12-13 at 10:15 +0100, Hans Hagen wrote: it seems to run anyway maybe the file-line-error is doing something Hans I tried it already without --file-line-error and its the same console output. =( I can run the direct command here, not that

Re: [NTG-context] Preserving Output Files

2011-12-13 Thread Kip Warner
On Tue, 2011-12-13 at 23:51 +0100, Hans Hagen wrote: I can run the direct command here, not that I ever do it as the context command does some housekeeping and passes commandline info via the top file. There is hardly any gain in running luatex directly. Hey Hans. I understand, but I need to

Re: [NTG-context] Preserving Output Files

2011-12-12 Thread Kip Warner
On Fri, 2011-12-09 at 20:26 +0100, Hans Hagen wrote: I only see cont-en.fmt : format file, sits in the cache and stays there cont-en.lui : lua startup stub, idem handbook.tex : your file, is kept where it is Hans Then I am not sure what file it is missing then since all of those

Re: [NTG-context] Preserving Output Files

2011-12-09 Thread Hans Hagen
On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the

Re: [NTG-context] Preserving Output Files

2011-12-09 Thread Kip Warner
On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote: On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it

Re: [NTG-context] Preserving Output Files

2011-12-09 Thread Hans Hagen
On 9-12-2011 20:19, Kip Warner wrote: On Fri, 2011-12-09 at 18:39 +0100, Hans Hagen wrote: On 6-12-2011 04:27, Kip Warner wrote: Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the

[NTG-context] Preserving Output Files

2011-12-05 Thread Kip Warner
Hey list, I've searched the list, but couldn't seem to dig up anything that I thought was relevant. How do I get ConTeXt to preserve all files necessary to run the same invocation of LuaTeX it executed when it was run. As an example, when I run the following... $ context Source/Handbook.tex

[NTG-context] TeX Output

2011-11-30 Thread Martin Fechner
Hi all, in my project I use an environment with lua-code, xml-setups and some other definitions and settings. Is there an simple way to get an output of the TeX-Stream, which will be used to generate the PDF? So it would be possible to manipulate some TeX-parts manually where the PDF-output

[NTG-context] Different output formats

2011-08-15 Thread Cecil Westerhof
I am writing a document for our client that has accepted to work with ConTeXt. One of the things I want to mention is the different output formats. I know PDF and xhtml and that in the near future epub will be available. Are there others? (I know dvi, but I do not think it is worth mentioning.)

Re: [NTG-context] Different output formats

2011-08-15 Thread Van Belle Jonathan
Hi, for epub try : http://wiki.contextgarden.net/epub 2011/8/15 Cecil Westerhof cldwester...@gmail.com I am writing a document for our client that has accepted to work with ConTeXt. One of the things I want to mention is the different output formats. I know PDF and xhtml and that in the near

Re: [NTG-context] Different output formats

2011-08-15 Thread Wolfgang Schuster
Am 15.08.2011 um 11:59 schrieb Cecil Westerhof: I am writing a document for our client that has accepted to work with ConTeXt. One of the things I want to mention is the different output formats. I know PDF and xhtml and that in the near future epub will be available. Are there others? (I

Re: [NTG-context] Different output formats

2011-08-15 Thread Cecil Westerhof
2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com I am writing a document for our client that has accepted to work with ConTeXt. One of the things I want to mention is the different output formats. I know PDF and xhtml and that in the near future epub will be available. Are there

Re: [NTG-context] Different output formats

2011-08-15 Thread Henning Hraban Ramm
Am 2011-08-15 um 12:18 schrieb Cecil Westerhof: 2011/8/15 Wolfgang Schuster schuster.wolfg...@googlemail.com I am writing a document for our client that has accepted to work with ConTeXt. One of the things I want to mention is the different output formats. I know PDF and xhtml and that in

[NTG-context] piping output from external command

2011-01-30 Thread Peter Münster
Hello, This used to work with pdftex: \starttext \input \string|echo hello world \stoptext What's the recommended way, to do this in mkiv? I've defined \Pipe{} like this: \startluacode userdata = userdata or {} function userdata.pipe(c) local h = io.popen(c) context(h:read*a)

Re: [NTG-context] piping output from external command

2011-01-30 Thread Hans Hagen
On 30-1-2011 11:19, Peter Münster wrote: But I suppose that there is already a nice command in the core... ;) os.resultof(...) - Hans Hagen | PRAGMA ADE Ridderstraat 27 |

Re: [NTG-context] piping output from external command

2011-01-30 Thread Peter Münster
Hans Hagen pra...@wxs.nl writes: On 30-1-2011 11:19, Peter Münster wrote: But I suppose that there is already a nice command in the core... ;) os.resultof(...) Thanks! No tex-command...? (not important, \ctxlua{context(os.resultof...)} is ok) -- Peter

Re: [NTG-context] piping output from external command

2011-01-30 Thread Hans Hagen
On 30-1-2011 11:43, Peter Münster wrote: Hans Hagenpra...@wxs.nl writes: On 30-1-2011 11:19, Peter Münster wrote: But I suppose that there is already a nice command in the core... ;) os.resultof(...) Thanks! No tex-command...? never needed it but there is

[NTG-context] no output

2010-03-08 Thread Michael Saunders
I finally got Context to install (correctly, I think), and I'm trying to set up a profile for it in TeXnicCenter. When I run it, I get the promising message: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1

Re: [NTG-context] no output

2010-03-08 Thread Taco Hoekwater
Michael Saunders wrote: I finally got Context to install (correctly, I think), and I'm trying to set up a profile for it in TeXnicCenter. When I run it, I get the promising message: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context

[NTG-context] no output

2010-03-08 Thread Michael Saunders
Thank you. I had never heard of luatex/mkiv format before---I have just been trying to follow the four or five conflicting pages about installation that I found at Context Garden. I did a Google search there for luatex format, which does not occur, and for mkiv format, which occurs once, under a

Re: [NTG-context] no output

2010-03-08 Thread Taco Hoekwater
Michael Saunders wrote: Thank you. I had never heard of luatex/mkiv format before---I have just been trying to follow the four or five conflicting pages about installation that I found at Context Garden. I did a Google search there for luatex format, which does not occur, and for mkiv format,

[NTG-context] Crop Output

2010-03-06 Thread Troy Henderson
Is it possible to get ConTeXt (MKIV) to automatically crop out the whitespace from its PDF output? I know that I can use the external utility `pdfcrop`, but I was wondering if this is possible with ConTeXt itself. This would be useful when generating MetaPost graphics where the graphic is the

Re: [NTG-context] Crop Output

2010-03-06 Thread Aditya Mahajan
On Sat, 6 Mar 2010, Troy Henderson wrote: Is it possible to get ConTeXt (MKIV) to automatically crop out the whitespace from its PDF output? I know that I can use the external utility `pdfcrop`, but I was wondering if this is possible with ConTeXt itself. This would be useful when generating

Re: [NTG-context] Crop Output

2010-03-06 Thread Troy Henderson
\startMPpage arbitrary mp code \stopMPpage Beautiful. Thanks! 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] Putting output in different dierectories

2009-02-20 Thread Michael Bynum
Assuming the lack of responses means that there isn't a way to do that using texexec, you could always use a script to do that. #!/bin/sh PAPER=test texexec $PAPER.tex mv $PAPER.pdf ./newdir mv $PAPER.*./newdir2 mv ./newdir2/$PAPER.tex . Then just execute the script instead of

[NTG-context] Putting output in different dierectories

2009-02-13 Thread Cecil Westerhof
ConTeXt puts all generated files in the same directory as the sourcefile. Is it possible to put the PDF-file in its own directory en all the other generated files in another directory? -- Cecil Westerhof ___ If your

Re: [NTG-context] markiv, output written on...

2008-12-16 Thread Hans Hagen
Yue Wang wrote: and I also find that MKIV does not take terminal width into consideration. (pdftex output has a max line length limit) it does, but i've set it to a higher value (i prefer to let the terminal do the wrapping itself) Hans

Re: [NTG-context] markiv, output written on...

2008-12-16 Thread Hans Hagen
Patrick Gundlach wrote: Hi, when I run a markiv file I don't get any message of the resulting pdf file. Is this done on purpose? probably (i overload some things) Hans - Hans Hagen |

Re: [NTG-context] markiv, output written on...

2008-12-16 Thread Patrick Gundlach
Hi Hans, when I run a markiv file I don't get any message of the resulting pdf file. Is this done on purpose? probably (i overload some things) May I then ask for a change in behaviour? I'd like to parse the messages and search for the final pdf. Patrick -- ConTeXt wiki and more:

Re: [NTG-context] markiv, output written on...

2008-12-16 Thread Hans Hagen
Patrick Gundlach wrote: Hi Hans, when I run a markiv file I don't get any message of the resulting pdf file. Is this done on purpose? probably (i overload some things) May I then ask for a change in behaviour? I'd like to parse the messages and search for the final pdf. keep in mind that

[NTG-context] markiv, output written on...

2008-12-15 Thread Patrick Gundlach
Hi, when I run a markiv file I don't get any message of the resulting pdf file. Is this done on purpose? I'd like to have a message that I can parse from textmate (to create a hyperlink to the resulting pdf). Patrick -- ConTeXt wiki and more: http://contextgarden.net

Re: [NTG-context] markiv, output written on...

2008-12-15 Thread Yue Wang
and I also find that MKIV does not take terminal width into consideration. (pdftex output has a max line length limit) On Tue, Dec 16, 2008 at 4:08 AM, Patrick Gundlach patr...@gundla.ch wrote: Hi, when I run a markiv file I don't get any message of the resulting pdf file. Is this done on

[NTG-context] No output for layers

2008-07-08 Thread Oliver Buerschaper
Dear all, somehow the following won't produce any PDF output: --- \definelayer [mylayer] [x=78mm, y=3mm, height=43.5mm, width=128mm] \starttext \setlayer[mylayer][preset=middle]{Hello world!} \stoptext --- Any ideas? Oliver

Re: [NTG-context] No output for layers

2008-07-08 Thread Wolfgang Schuster
On Tue, Jul 8, 2008 at 2:17 PM, Oliver Buerschaper [EMAIL PROTECTED] wrote: Dear all, somehow the following won't produce any PDF output: --- \definelayer [mylayer] [x=78mm, y=3mm, height=43.5mm, width=128mm] \starttext

Re: [NTG-context] No output for layers

2008-07-08 Thread Oliver Buerschaper
Do you perhaps also know how to draw a frame around the layer boundary? The command \setlayerframed only seems to encapsulate the actual content with a frame … Can you be more concrete, what do you mean by boundry oround the layer. I'm thinking of a frame that visualizes the actual

Re: [NTG-context] No output for layers

2008-07-08 Thread Wolfgang Schuster
On Tue, Jul 8, 2008 at 3:19 PM, Oliver Buerschaper [EMAIL PROTECTED] wrote: Do you perhaps also know how to draw a frame around the layer boundary? The command \setlayerframed only seems to encapsulate the actual content with a frame … Can you be more concrete, what do you mean by boundry

Re: [NTG-context] No output for layers

2008-07-08 Thread Uwe Koloska
Hello, Am Dienstag, 8. Juli 2008 schrieb Wolfgang Schuster: Set the values with \setlayer and not with \definelayer. But then you can't use 'preset=middle' cause this relies on the actual dimensions of the layer. So if you wanna use placements relative to the right or bottom side of the layer

Re: [NTG-context] No output for layers

2008-07-08 Thread Uwe Koloska
Hello, Am Dienstag, 8. Juli 2008 schrieb Wolfgang Schuster: On Tue, Jul 8, 2008 at 2:17 PM, Oliver Buerschaper --- \definelayer [mylayer] [x=78mm, y=3mm, height=43.5mm, width=128mm] \starttext \setlayer[mylayer][preset=middle]{Hello

[NTG-context] getting output in ConTeXt

2007-11-25 Thread gururaj
Sir, nbsp;nbsp;nbsp; I have Protext installed on my machine with WinXp as OS. I have problems in getting the output. When I try I get the error message The file doesn't exist. I am using MeWa as tex editor. Please help

[NTG-context] PNG output

2007-07-12 Thread w . neimeijer
I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and process this via texexec --pdf to get a PDF file. I tried to

Re: [NTG-context] PNG output

2007-07-12 Thread zs
Try this: gs -sDEVICE=png16m -r200 -sOutputFile=formula.png -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4\ -dMaxBitmap=5000 formula.pdf You may play with -r parameter. You can also make a big picture and downsize it with proper interpolation. ZS On Thu, 12 Jul 2007

Re: [NTG-context] PNG output

2007-07-12 Thread George N. White III
On 7/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to convert my standalone formulas to PNG to display these formulas on my website. What I am doing is the following \starttext \startTEXpage \startformula e^{i x} = \cos x + i \sin x \stopformula \stopTEXpage \stoptext and

Re: [NTG-context] PNG output

2007-07-12 Thread George N. White III
On 7/12/07, zs [EMAIL PROTECTED] wrote: Try this: gs -sDEVICE=png16m -r200 -sOutputFile=formula.png -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4\ -dMaxBitmap=5000 formula.pdf You may play with -r parameter. You can also make a big picture and downsize it with proper

Re: [NTG-context] PNG output

2007-07-12 Thread w . neimeijer
Are you using the current version of gs? I am using gswin32c 8.53 on Windows What does not so good mean I just discovered the \startTEXpage \stopTEXpage to produce standalone PDF's for all my formulas. Then I took gswin32c to produce PNG's with gswin32c -dNOPAUSE -sDEVICE=png256

  1   2   >