[NTG-context] [ export to svg ]

2023-08-19 Thread vm via ntg-context
Is there a (simple) way to export the results of a \startMPpage ... \stopMPpage directly to a svg file? My current route is to import the pdf into inkscape, group path objects by stroke color, then save the result as svg and translate that into a hpgl format for the pen plotter. I guess/hope

[NTG-context] Export, page break markers

2020-10-14 Thread Denis Maier
Hi, as I'm almost done with my PDFs for the first volume of our journal, I'm thinking about also publishing HTMLs. We have XSLTs almost ready for this, but I was thinking if I could use ConTeXt also for this. A very nice feature would be being able to add marking of page breaks in the

Re: [NTG-context] Export to xml no longer works

2018-06-11 Thread Hans Hagen
On 6/11/2018 4:31 AM, Rik Kabel wrote: With TL18, the following produces the expected xml and associated files. \setupbackend [export=yes] \starttext \input knuth \stoptext With current betas, the xhtml file contains: invalid xml file - parsed text and the other

[NTG-context] Export to xml no longer works

2018-06-10 Thread Rik Kabel
With TL18, the following produces the expected xml and associated files. \setupbackend [export=yes] \starttext \input knuth \stoptext With current betas, the xhtml file contains: invalid xml file - parsed text and the other files have similar content. Can anyone

Re: [NTG-context] export breaks float placement

2018-03-15 Thread Henning Hraban Ramm
Am 2018-03-15 um 09:54 schrieb Hans Hagen : > On 3/3/2018 11:07 AM, Henning Hraban Ramm wrote: >> Am 2018-02-27 um 16:10 schrieb Alan Braslau : With \setupbackend[export=yes] the image is placed "here" and never "right" or "left". >>> >>> I

Re: [NTG-context] export breaks float placement

2018-03-15 Thread Hans Hagen
On 3/3/2018 11:07 AM, Henning Hraban Ramm wrote: Am 2018-02-27 um 16:10 schrieb Alan Braslau : With \setupbackend[export=yes] the image is placed "here" and never "right" or "left". I "reported" this a while ago. The answer is that right or left are meaningless for

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Hans Hagen
On 3/4/2018 4:15 PM, Alan Braslau wrote: On Sun, 4 Mar 2018 13:51:39 +0100 Henning Hraban Ramm wrote: normally you will run like "context --mode=export --result=myexport" or so where you wrap settings specific to an export in modes I (can) run several "results" for most of

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Alan Braslau
On Sun, 4 Mar 2018 13:51:39 +0100 Henning Hraban Ramm wrote: > > normally you will run like "context --mode=export > > --result=myexport" or so where you wrap settings specific to an > > export in modes > > I (can) run several "results" for most of my projects, e.g. lowres, >

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Henning Hraban Ramm
Am 2018-03-04 um 10:49 schrieb Hans Hagen : > On 3/3/2018 5:13 PM, Alan Braslau wrote: >> On Sat, 3 Mar 2018 10:47:52 -0500 (EST) >> Aditya Mahajan wrote: >>> On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: >>> And I can’t accept that the option of

Re: [NTG-context] export breaks float placement

2018-03-04 Thread Hans Hagen
On 3/3/2018 5:13 PM, Alan Braslau wrote: On Sat, 3 Mar 2018 10:47:52 -0500 (EST) Aditya Mahajan wrote: On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: And I can’t accept that the option of exporting to XML would (more or less) drastically and needlessly change the print

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Henning Hraban Ramm
Am 2018-03-03 um 16:47 schrieb Aditya Mahajan : > On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: > >> And I can’t accept that the option of exporting to XML would (more or less) >> drastically and needlessly change the print layout! At least _please_ make >> it an option! >

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Alan Braslau
On Sat, 3 Mar 2018 10:47:52 -0500 (EST) Aditya Mahajan wrote: > On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: > > > And I can’t accept that the option of exporting to XML would (more > > or less) drastically and needlessly change the print layout! At > > least _please_ make

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Aditya Mahajan
On Sat, 3 Mar 2018, Henning Hraban Ramm wrote: And I can’t accept that the option of exporting to XML would (more or less) drastically and needlessly change the print layout! At least _please_ make it an option! In the meanwhile, you can do: \startmode[export] \setupbackend[export=yes]

Re: [NTG-context] export breaks float placement

2018-03-03 Thread Henning Hraban Ramm
Am 2018-02-27 um 16:10 schrieb Alan Braslau : >> With \setupbackend[export=yes] the image is placed "here" and never >> "right" or "left". > > I "reported" this a while ago. The answer is that right or left are > meaningless for the export and that the export is built

Re: [NTG-context] export breaks float p

2018-02-27 Thread Alan Braslau
On Tue, 27 Feb 2018 15:41:41 +0100 Henning Hraban Ramm wrote: > Try to compile this with and without the first line: > > > \setupbackend[export=yes] > > \starttext > > \input tufte > \placefigure[right]{}{% > \externalfigure[hacker][width=.33\textwidth]% > }% > \input tufte >

[NTG-context] export breaks float p

2018-02-27 Thread Henning Hraban Ramm
Try to compile this with and without the first line: \setupbackend[export=yes] \starttext \input tufte \placefigure[right]{}{% \externalfigure[hacker][width=.33\textwidth]% }% \input tufte \input tufte \stoptext With \setupbackend[export=yes] the image is placed "here" and never "right" or

[NTG-context] Export bugs

2015-04-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here are two export bugs, full test suite attached: ==sh_ahmad-qajar-xml-test-highlight.tex=== \setupexport[cssfile=sh_ahmad-qajar.css] \setupbackend[export=yes] \definehighlight[emphasis][style=\em] \definehighlight[important][style=bold] \starttext

Re: [NTG-context] Export bugs

2015-04-24 Thread Aditya Mahajan
On Fri, 24 Apr 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: \definehighlight[emphasis][style=\em] ... Some \emph{emphasis} and \important{important}. The exported formatting of \emph vanishes in each instance. You define \emphasis but use \emph.

Re: [NTG-context] Export bugs

2015-04-24 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 24 Apr 2015 20:13:32 -0600, Aditya Mahajan adit...@umich.edu wrote: You define \emphasis but use \emph. Indeed, that's what weeks on end without proper sleep will get you... Sorry for the noise and thanks! Best wishes Idris -- Idris Samawi Hamid Professor of Philosophy Colorado

Re: [NTG-context] export images

2015-03-21 Thread Wolfgang Schuster
Am 21.03.2015 um 03:09 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, How do we get images in the export? Here is my sample (also attached): == \setupbackend[export=yes] \starttext \startalignment [middle] \dontleavehmode

Re: [NTG-context] export images

2015-03-21 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 21 Mar 2015 02:55:08 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 21.03.2015 um 03:09 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, How do we get images in the export? Here is my sample (also attached): ==

Re: [NTG-context] export images

2015-03-21 Thread Wolfgang Schuster
Am 21.03.2015 um 12:01 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: On Sat, 21 Mar 2015 02:55:08 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: Am 21.03.2015 um 03:09 schrieb Idris Samawi Hamid ادريس سماوي حامد

Re: [NTG-context] export images

2015-03-21 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sat, 21 Mar 2015 06:11:24 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 21.03.2015 um 12:01 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: On Sat, 21 Mar 2015 02:55:08 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com

[NTG-context] export images

2015-03-20 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, How do we get images in the export? Here is my sample (also attached): == \setupbackend[export=yes] \starttext \startalignment [middle] \dontleavehmode \externalfigure[mill.png] \stopalignment \stoptext == div output: == div div class=image

Re: [NTG-context] Export: \setuphemistich distance=

2015-03-19 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 18 Mar 2015 14:34:25 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: \unexpanded\def\dodohemistiches#1[#2]#3#4% {\dontleavehmode \begingroup \doifassignmentelse{#2} {\edef\currenthemistich{#1}% \setupcurrenthemistich[#2]}

[NTG-context] Export: \setuphemistich distance=

2015-03-18 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, In the attached, we export hemistiches: === \setupexport[cssfile=sh_ahmad-qajar.css] \setupbackend[export=yes] \usemodule[hemistich] \setuphemistich [width=local, distance=1\emwidth, separator=] \setuphemistich [leftcolor=, separatorcolor=,

Re: [NTG-context] Export: \setuphemistich distance=

2015-03-18 Thread Wolfgang Schuster
Am 18.03.2015 um 15:04 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, In the attached, we export hemistiches: === \setupexport[cssfile=sh_ahmad-qajar.css] \setupbackend[export=yes] \usemodule[hemistich] \setuphemistich [width=local,

Re: [NTG-context] Export: \setuphemistich distance=

2015-03-18 Thread Wolfgang Schuster
Am 18.03.2015 um 20:45 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: On Wed, 18 Mar 2015 11:51:13 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com mailto:schuster.wolfg...@gmail.com wrote: Am 18.03.2015 um 15:04 schrieb Idris Samawi Hamid ادريس سماوي حامد

Re: [NTG-context] Export: \setuphemistich distance=

2015-03-18 Thread Idris Samawi Hamid ادريس سماوي حامد
On Wed, 18 Mar 2015 11:51:13 -0600, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 18.03.2015 um 15:04 schrieb Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu: Dear gang, In the attached, we export hemistiches: === \setupexport[cssfile=sh_ahmad-qajar.css]

[NTG-context] export hanging

2012-01-26 Thread Matthew Claus
Hi everyone, This minimal example causes my luatex process to spin consuming 100 percent cpu (latest minimals, freebsd 9): \setupbackend[export=yes] \starttext hello world \stoptext To rule out any issue with FreeBSD 9, which is fairly recent, I compiled my own luatex binary from the svn trunk

Re: [NTG-context] export hanging

2012-01-26 Thread Hans Hagen
On 26-1-2012 17:35, Matthew Claus wrote: Hi everyone, This minimal example causes my luatex process to spin consuming 100 percent cpu (latest minimals, freebsd 9): fixed in next beta .. just a self referencing macro looping Hans

[NTG-context] Export itemize

2011-12-18 Thread Andreas Harder
Hi Hans, many thanks fort the itemize fixes! I’ve found another problem with the latest beta. \setupbackend[export=yes] \starttext \startitemize \item test \stopitemize \stoptext Regards Andreas ___

[NTG-context] Export (table cell alignment)

2011-12-09 Thread Andreas Harder
Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document { display: block } table { display: table ; width: 100% } tablerow { display: table-row }

Re: [NTG-context] Export (table cell alignment)

2011-12-09 Thread Hans Hagen
On 9-12-2011 21:58, Andreas Harder wrote: Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document { display: block } table { display: table ; width: 100%

Re: [NTG-context] Export (table cell alignment)

2011-12-09 Thread Andreas Harder
On 10.12.2011, at 00:28, Hans Hagen wrote: On 9-12-2011 21:58, Andreas Harder wrote: Hi Hans, I’ve stumbled upon another export problem, concerning (natural) tables. The first table exports fine but in the second table the first column is ignored. \startbuffer[css] document {

Re: [NTG-context] Export to epub

2011-11-30 Thread Keith McKay
Hans Updated Context and ran my test file. It seems to work as I would expect on my computer. The output from Scite is below. Thanks again for your help. Keith McKay mtx-epub| creating paths in tree test.tree mtx-epub| copying toc.ncx to test.tree/OPS/toc.ncx mtx-epub

Re: [NTG-context] Export to epub

2011-11-29 Thread Hans Hagen
On 27-11-2011 23:27, Keith McKay wrote: Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in

Re: [NTG-context] Export to epub

2011-11-29 Thread Keith McKay
Hans I'll update and try it tonight. Thanks for your help Keith On 29/11/2011 18:07, Hans Hagen wrote: On 27-11-2011 23:27, Keith McKay wrote: Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately

[NTG-context] Export to epub

2011-11-27 Thread Keith McKay
Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error' messages which are probably due to the way

Re: [NTG-context] Export to epub

2011-11-27 Thread Hans Hagen
On 27-11-2011 14:03, Keith McKay wrote: Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error'

Re: [NTG-context] Export to epub

2011-11-27 Thread Keith McKay
Hans Thanks for the hints. I downloaded inkscape but but still get the same error message. I'm not too concerned about that just now. Unfortunately I couldn't find zip so I played about with 7-Zip and managed to get the script to work. It's still work in progress since I'm not sure I have

[NTG-context] Export \thinspace

2011-11-07 Thread Andreas Harder
Hi Hans! If one uses the HZ-algorithm the behavior of (the exported) \thinspace depends on the line break. \definefontfeature[default][default][expansion=quality] \setupalign[hz] \setupbackend[export=yes,css=yes,xhtml=yes] \starttext \startbuffer narrow\,nonbreaking\,space \stopbuffer

Re: [NTG-context] Export \thinspace

2011-11-07 Thread Hans Hagen
On 7-11-2011 14:19, Andreas Harder wrote: Hi Hans! If one uses the HZ-algorithm the behavior of (the exported) \thinspace depends on the line break. \definefontfeature[default][default][expansion=quality] \setupalign[hz] \setupbackend[export=yes,css=yes,xhtml=yes] \starttext \startbuffer

[NTG-context] export kills hyphen symbol

2011-09-14 Thread Aditya Mahajan
I have an extremely strange bug. If I use Fontin font[1] with simplefonts module and enable export and protrusion, the hyphenation symbol is gone! Below is a minimal example that illustrates this. \showframe \usemodule [simplefonts][size=10pt]

[NTG-context] Export and itemize

2011-08-25 Thread Aditya Mahajan
Hi, I sometimes misuse the command key of itemize like this: \definehighlight[important][style=italic, color=red] \starttext \startitemize[command=\important] \item {Term}: definition \stopitemize \stoptext However when I try this with \setupbackend[export=yes] I get the following error:

Re: [NTG-context] Export and itemize

2011-08-25 Thread Aditya Mahajan
On Thu, 25 Aug 2011, Aditya Mahajan wrote: Hi, I sometimes misuse the command key of itemize like this: \definehighlight[important][style=italic, color=red] \starttext \startitemize[command=\important] \item {Term}: definition \stopitemize \stoptext However when I try this with

Re: [NTG-context] Export and itemize

2011-08-25 Thread Aditya Mahajan
On Thu, 25 Aug 2011, Aditya Mahajan wrote: I sometimes misuse the command key of itemize like this: \definehighlight[important][style=italic, color=red] Sorry...this works. My test file had \definehighlight[important][style=em, color=red] which fails even for \important{A} For pdf

Re: [NTG-context] Export to xhtml and useurl

2011-07-18 Thread Hans Hagen
On 16-7-2011 12:32, Cecil Westerhof wrote: I need to export my document. For this I use: \setupbackend[export=yes,xhtml=yes,css=yes] I have update my document with start and stop for chapter, section and subsection, but I have one problem. I have: \useURL [UUID]

Re: [NTG-context] Export to xhtml and useurl

2011-07-18 Thread Cecil Westerhof
2011/7/18 Hans Hagen pra...@wxs.nl On 16-7-2011 12:32, Cecil Westerhof wrote: I need to export my document. For this I use: \setupbackend[export=yes,**xhtml=yes,css=yes] I have update my document with start and stop for chapter, section and subsection, but I have one problem. I have:

Re: [NTG-context] Export to xhtml and useurl

2011-07-18 Thread Hans Hagen
But when the \setupbackend is taken out of comment, it goes wrong. no error on my machine so probably ok in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

[NTG-context] Export to xhtml and useurl

2011-07-16 Thread Cecil Westerhof
I need to export my document. For this I use: \setupbackend[export=yes,xhtml=yes,css=yes] I have update my document with start and stop for chapter, section and subsection, but I have one problem. I have: \useURL [UUID] [http://en.wikipedia.org/wiki/Uuid] [] [universally unique

[NTG-context] Export problems

2011-07-14 Thread Andreas Harder
Hi, I played a little with the export feature. It's really fun. So far I've two questions/problems. 1. \setupbackend[export=yes,xhtml=yes,css=yes] \starttext before \quotation{test \quote{test}} after \stoptext exports to: before “test ‘test’ ” after -^ (space

Re: [NTG-context] export: graphic within table (error)

2011-07-05 Thread Hans Hagen
On 4-7-2011 9:26, Christian wrote: \def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi} fixed I just discovered that it was not fixed for my Windows-Minimals (ConTeXt ver: 2011.06.18 14:13 MKIV). Adding the above line makes it work. This is fixed with my Ubuntu-Minimals.

Re: [NTG-context] export: graphic within table (error)

2011-07-04 Thread Christian
\def\dotagfigure{\iftrialtypesetting\else\ctxcommand{...)}\fi} fixed I just discovered that it was not fixed for my Windows-Minimals (ConTeXt ver: 2011.06.18 14:13 MKIV). Adding the above line makes it work. This is fixed with my Ubuntu-Minimals. I'm confused. Did I miss something

Re: [NTG-context] export: tilde problems

2011-06-20 Thread luigi scarso
On Mon, Jun 20, 2011 at 7:22 AM, Reviczky, Adam adam.revic...@kcl.ac.uk wrote: Hi The following minimal example gives a broken xml: --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Hans Hagen
On 20-6-2011 7:22, Reviczky, Adam wrote: The tilde sign has a #A0; value in the xml, shouldn't that be a #126;? better is #xA0; Also the tilde in the destination= and url= properties for link have a space(?) instead. no, it's the utf character Hans

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
better is #xA0; I see, I should've used the \lettertilde instead then, sorry. no, it's the utf character So what would be the correct way to do this then? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \bgroup \catcode`\~=11

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\lettertilde reviczky}[url(http://projects.dcs.kcl.ac.uk/\string~reviczky/)] \stoptext ---

Re: [NTG-context] export: tilde problems

2011-06-20 Thread luigi scarso
On Mon, Jun 20, 2011 at 3:47 PM, Reviczky, Adam adam.revic...@kcl.ac.uk wrote: So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Wolfgang Schuster
Am 20.06.2011 um 15:47 schrieb Reviczky, Adam: So what would be the correct way to do this then? Right, so is this ok, or is there a better way? \asciimode but you’re no longer able to add comments to your document and for inline math you need \formula{…}. Wolfgang

Re: [NTG-context] export: graphic url (special chars?)

2011-06-20 Thread Aditya Mahajan
On Mon, 20 Jun 2011, Reviczky, Adam wrote: Further, if the url has a % symbol then the name property stops at that, see: --- \setupbackend[export=test.xml] \enabledirectives[schemes.cleanmethod=md5] \def\googlechart {\begingroup \setcatcodetable\vrbcatcodes \dodoubleempty\dogooglechart}

[NTG-context] export: graphic url (special chars?)

2011-06-20 Thread Reviczky, Adam
You could try (untested) \def\googlechart[#1][#2]% {\externalfigure[#1][...]% \endgroup} Thanks, but it has the same result. \def\dogooglechart[#1][#2]% {\useexternalfigure[googlechart][#1]% \endgroup \externalfigure[googlechart][...]} That screws up the url in the

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Hans Hagen
On 20-6-2011 3:47, Reviczky, Adam wrote: So what would be the correct way to do this then? Right, so is this ok, or is there a better way? --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/\lettertilde

Re: [NTG-context] export: tilde problems

2011-06-20 Thread Reviczky, Adam
It's a side effect of ~ becoming a utf character for nbsp. I'll change Yeah, I completely forgot about that, because it was natural in an url. the definition to: \unexpanded\edef~{\utfchar{00A0}} Then you get this: \goto{a.c.d/~reviczky}[url(http://a.c.d/~reviczky)]

[NTG-context] export: graphic within table (error)

2011-06-19 Thread Reviczky, Adam
Hans, I'm getting this error if I put an image within a table using the export backend: ! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument #3 to 'format' (string expected, got boolean). Minimal example: --- \setupbackend[export=yes] \starttext %

Re: [NTG-context] export: graphic within table (error)

2011-06-19 Thread Wolfgang Schuster
Am 19.06.2011 um 12:46 schrieb Reviczky, Adam: Hans, I'm getting this error if I put an image within a table using the export backend: ! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument #3 to 'format' (string expected, got boolean). You have to wait till

Re: [NTG-context] export: graphic within table (error)

2011-06-19 Thread Hans Hagen
On 19-6-2011 1:13, Wolfgang Schuster wrote: Am 19.06.2011 um 12:46 schrieb Reviczky, Adam: Hans, I'm getting this error if I put an image within a table using the export backend: ! LuaTeX error /usr/share/texmf/tex/context/base/back-exp.lua:297: bad argument #3 to 'format' (string

[NTG-context] export: graphic url (special chars?)

2011-06-19 Thread Reviczky, Adam
Hi The following example results in a broken xml as well: -- \setupbackend[export=test.xml] \starttext \externalfigure[https://chart.googleapis.com/chart?cht=p3chs=250x100chd=t:60,40chl=Hello\letterbar World][method=png,scale=4000] \stoptext --- XML Parsing Error: not well-formed Location:

[NTG-context] export: tilde problems

2011-06-19 Thread Reviczky, Adam
Hi The following minimal example gives a broken xml: --- \setupinteraction[state=start] \setupbackend[export=test.xml] \starttext \goto{projects.dcs.kcl.ac.uk/~reviczky}[url(http://projects.dcs.kcl.ac.uk/~reviczky/)] \stoptext --- XML Parsing Error: not well-formed Location:

Re: [NTG-context] export and pagebreak

2011-01-03 Thread Achim Jander
Am 02.01.2011 15:57, schrieb Hans Hagen: On 31-12-2010 7:22, Achim Jander wrote: is it possible to get a pagebreak/ into the exported XML? I'll send you a small patch to play wit Hello Hans, many thanks! I've tested a bit and it seems to work great! Two little suggestions for improvement: -

Re: [NTG-context] export and pagebreak

2011-01-03 Thread Hans Hagen
On 3-1-2011 12:54, Achim Jander wrote: - would it possible to switch both (spaces and pagebreak) to on? It seems that in the Moment only one of them can be enabled. does not make much sense as /S0 equals /pagebreak anyway (the default is a space) - would it be possible to include the

Re: [NTG-context] export and pagebreak

2011-01-03 Thread Achim Jander
Am 03.01.2011 15:43, schrieb Hans Hagen: On 3-1-2011 12:54, Achim Jander wrote: - would it possible to switch both (spaces and pagebreak) to on? It seems that in the Moment only one of them can be enabled. does not make much sense as /S0 equals /pagebreak anyway (the default is a space)

Re: [NTG-context] export and pagebreak

2011-01-03 Thread Hans Hagen
On 3-1-2011 4:11, Achim Jander wrote: So it would be more convenient to have filter, lump, pagebreak/skip, but that could be also done in the postprocessing. indeed this belongs to postprocessing (if only because there is no space at a pagebreak) .. similar would be: abclinebreak/def where

Re: [NTG-context] export and pagebreak

2011-01-03 Thread Achim Jander
Hi Hans, thanks again. At least the first tests of the new version give me the expected result. Great!! Achim Am 03.01.2011 16:19, schrieb Hans Hagen: On 3-1-2011 4:11, Achim Jander wrote: So it would be more convenient to have filter, lump, pagebreak/skip, but that could be also done in

Re: [NTG-context] export and pagebreak

2011-01-02 Thread Hans Hagen
On 31-12-2010 7:22, Achim Jander wrote: Hi all, first I wish a very happy new year to everybody! I think, this will be my last post for this year, but as i have tasted blood, the next year I will post a lot of further questions I think :-) Now I have Christmas holidays and can play the whole day

[NTG-context] export and pagebreak

2010-12-31 Thread Achim Jander
Hi all, first I wish a very happy new year to everybody! I think, this will be my last post for this year, but as i have tasted blood, the next year I will post a lot of further questions I think :-) Now I have Christmas holidays and can play the whole day with ConTeXt. I tested a little the

[NTG-context] Export-backend and Ligatures

2010-11-19 Thread Andreas Harder
Hi all, can someone confirm the weird result of this example \setupbackend[export=yes] \starttext ff ff fi fi \stoptext In the .export-file I see fififi (without space)! Greeting Andreas ___ If your

Re: [NTG-context] Export-backend and Ligatures

2010-11-19 Thread Taco Hoekwater
On 11/19/2010 11:40 AM, Andreas Harder wrote: Hi all, can someone confirm the weird result of this example \setupbackend[export=yes] \starttext ff ff fi fi \stoptext In the .export-file I see fififi (without space)! I noticed a similar thing in Paul's article (-- for emdash).

Re: [NTG-context] Export-backend and Ligatures

2010-11-19 Thread Jano Kula
On 11/19/2010 11:40 AM, Andreas Harder wrote: Hi all, can someone confirm the weird result of this example Confirmed. !-- context version : 2010.10.29 18:15 -- !-- exporter version : 0.10 -- J. \setupbackend[export=yes] \starttext ff ff fi fi \stoptext In the .export-file

Re: [NTG-context] Export-backend and Ligatures

2010-11-19 Thread Hans Hagen
On 19-11-2010 11:40, Andreas Harder wrote: Hi all, can someone confirm the weird result of this example \setupbackend[export=yes] \starttext ff ff fi fi \stoptext In the .export-file I see fififi (without space)! has to do with space injection and copying a node without getting rid

Re: [NTG-context] export

2010-09-25 Thread Vyatcheslav Yatskovsky
Hi Patric, Can you (or someone else in charge) can fix the link? http://wiki.contextgarden.net/Reference/en/setupbackeds There is a typo in the link: it should be setupbackends and not setupbackeds. The command is fine though. -- Best Regards, Vyatcheslav Yatskovsky

Re: [NTG-context] export

2010-09-23 Thread Henning Hraban Ramm
Am 2010-09-23 um 01:26 schrieb Vyatcheslav Yatskovsky: Please tell an (really) unlucky person who didn't visited the conference (like me), what \setupbackeds[export=yes] should do at all? You get the contents of your (well-structured) ConTeXt document as XML ouput, extension .export,

Re: [NTG-context] export

2010-09-23 Thread Vyatcheslav Yatskovsky
Please tell an (really) unlucky person who didn't visited the conference (like me), what \setupbackeds[export=yes] should do at all? You get the contents of your (well-structured) ConTeXt document as XML ouput, extension .export, intended for tagged PDF use (e.g. PDF/A), but of course usable

Re: [NTG-context] export

2010-09-23 Thread Cedric Mauclair
Hi, There is a typo in the link: it should be setupbackends and not setupbackeds. The command is fine though. Regards. -- Cédric On Thu, Sep 23, 2010 at 15:00, Vyatcheslav Yatskovsky yatskov...@gmail.com wrote: Please tell an (really) unlucky person who didn't visited the conference (like

Re: [NTG-context] export

2010-09-23 Thread Jelle Huisman
On 22/09/10 06:45, Hans Hagen wrote: \setupbackeds[export=yes] You will also get a file called jobname.export which represents the document in xml format. You can postprocess such an export to for instance html. It's still somewhat experimental but also fun. Hi Hans, Thanks! this is a

Re: [NTG-context] export

2010-09-23 Thread Hans Hagen
On 23-9-2010 3:55, Jelle Huisman wrote: On 22/09/10 06:45, Hans Hagen wrote: \setupbackeds[export=yes] You will also get a file called jobname.export which represents the document in xml format. You can postprocess such an export to for instance html. It's still somewhat experimental but also

Re: [NTG-context] export

2010-09-23 Thread Aditya Mahajan
On Thu, 23 Sep 2010, Hans Hagen wrote: On 23-9-2010 3:55, Jelle Huisman wrote: On 22/09/10 06:45, Hans Hagen wrote: \setupbackeds[export=yes] You will also get a file called jobname.export which represents the document in xml format. You can postprocess such an export to for instance html.

Re: [NTG-context] export

2010-09-23 Thread Hans Hagen
On 23-9-2010 5:01, Aditya Mahajan wrote: On Thu, 23 Sep 2010, Hans Hagen wrote: On 23-9-2010 3:55, Jelle Huisman wrote: On 22/09/10 06:45, Hans Hagen wrote: \setupbackeds[export=yes] You will also get a file called jobname.export which represents the document in xml format. You can

Re: [NTG-context] export

2010-09-23 Thread Jelle Huisman
On 23/09/10 11:12, Hans Hagen wrote: As xhtml is just xml converted to other tags, I suppose that at some day there will be additional converters. I would only come up with one in the perspective of a project as I have no need for it. There cannot be a universal one-to-one mapping between

Re: [NTG-context] export

2010-09-23 Thread Peter Münster
On Thu, Sep 23 2010, Cedric Mauclair wrote: There is a typo in the link: it should be setupbackends and not setupbackeds. The command is fine though. All right, yet another redirect: http://wiki.contextgarden.net/Reference/en/setupbackends ;)) Cheers, Peter -- Contact information:

Re: [NTG-context] export

2010-09-23 Thread Steffen Wolfrum
Am 23.09.2010 um 17:12 schrieb Hans Hagen: On 23-9-2010 5:01, Aditya Mahajan wrote: On Thu, 23 Sep 2010, Hans Hagen wrote: On 23-9-2010 3:55, Jelle Huisman wrote: On 22/09/10 06:45, Hans Hagen wrote: \setupbackeds[export=yes] You will also get a file called jobname.export which

[NTG-context] export

2010-09-22 Thread Hans Hagen
Hi, For those who were not at the ctx conference (where it was demonstrated) .. there is a new feature. When you say: \setupbackeds[export=yes] You will also get a file called jobname.export which represents the document in xml format. You can postprocess such an export to for instance

Re: [NTG-context] export

2010-09-22 Thread Yury G. Kudryashov
Otared Kavian wrote: Hi Hans, Thanks for giving the information to those unlucky people who were not at the ConTeXt conference: Since I am interested in the feature you mention, I just tried with the latest beta you uploaded today, but the command \setupbackeds[export=yes] is unknown.

Re: [NTG-context] export

2010-09-22 Thread Otared Kavian
On 22 sept. 2010, at 14:06, Yury G. Kudryashov wrote: […] Try \setupbackends. Thanks Yuri for your attention, but this suggestion doesn't work: I get error on line 3 in file test-export.tex: Undefined control sequence ... \setupbackends[export=yes] Best regards: OK

Re: [NTG-context] export

2010-09-22 Thread Hans Hagen
On 22-9-2010 2:18, Otared Kavian wrote: On 22 sept. 2010, at 14:06, Yury G. Kudryashov wrote: […] Try \setupbackends. Thanks Yuri for your attention, but this suggestion doesn't work: I get error on line 3 in file test-export.tex: Undefined control sequence ...

Re: [NTG-context] export

2010-09-22 Thread Alan BRASLAU
Minimal example (given at the workshop): \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext On Wednesday 22 September 2010 14:18:18 Otared Kavian wrote: On 22 sept. 2010, at 14:06, Yury G.

Re: [NTG-context] export

2010-09-22 Thread Andreas Harder
Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext Results in Undefined control sequence. \setupbackend (newest beta; OS X) … Greeting

Re: [NTG-context] export

2010-09-22 Thread Alan BRASLAU
On Wednesday 22 September 2010 14:29:08 Andreas Harder wrote: Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: \setupbackend [export=yes] \starttext \startchapter [title=First chapter] \startparagraph \input ward \stopparagraph \stopchapter \stoptext

Re: [NTG-context] export

2010-09-22 Thread Henning Hraban Ramm
Am 2010-09-22 um 14:29 schrieb Andreas Harder: Am 22.09.2010 um 14:25 schrieb Alan BRASLAU: Results in Undefined control sequence. \setupbackend (newest beta; OS X) … Works for me on OSX-Intel. You didn't try texexec (MkII), did you? Greetlings from Lake Constance! Hraban ---

Re: [NTG-context] export

2010-09-22 Thread Vyatcheslav Yatskovsky
Hi, Please tell an (really) unlucky person who didn't visited the conference (like me), what \setupbackeds[export=yes] should do at all? :) Regards, Vyatcheslav ___ If your question is of interest to others as

  1   2   >