Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread luigi scarso
On Fri, Jan 20, 2012 at 2:30 AM, Kip Warner k...@thevertigo.com wrote: On Fri, 2012-01-20 at 02:03 +0100, Mojca Miklavec wrote: Yes, but this is only true as long as your graphic can be represented reliably in the target format. And yours cannot. Hey Mojca. Yes, that makes sense now. I had

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Hans Hagen
On 20-1-2012 01:51, Marco wrote: ConTeXt doesn't seem to list inkscape as a dependency on my distro: Inkscape should not be a dependency of ConTeXt. 99.9% work very well without inkscape. But it could be mentioned as a “Recommendation”, as a hint that its installation would increase the

Re: [NTG-context] include file in xml processing

2012-01-20 Thread Meer, H. van der
I have seen that I can load a file (containing ConTeXt code) with \startxmlsetups xmlcommon:texinclude \writestatus{TEST HVDM}{file: \xmlatt{#1}{file}} \xmlload{#1}{\xmlatt{#1}{file}} \stopxmlsetups But how to use these loaded data? I want them included in ConTeXt-processing like this but it

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Marco
On 2012-01-19 Kip Warner k...@thevertigo.com wrote: On a related note, what is the difference between these three statements? \setupbackend[level=9] I have no idea, I never used it. \pdfcompresslevel9 AFAIK it compresses the text objects. 9 is maximum compression. It's a low

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Hans Hagen
On 20-1-2012 11:18, Marco wrote: Sets the text and object compression to the maximum value (which is 9). The command is considered to be a higher level command, see http://archive.contextgarden.net/message/20111229.184755.b0199f53.en.html keep in mind that on the average the defaults

Re: [NTG-context] endnotes, imposition and recurselevel

2012-01-20 Thread Hans Hagen
On 20-1-2012 08:07, Michael Guravage wrote: I am typesetting an article where the footnotes should be collected as endnotes. I am also using imposition to arrange the article as a booklet. When using the default location 'page', footnotes work as expected. But when I change the location to

[NTG-context] checking attributes

2012-01-20 Thread Meer, H. van der
Is the following impossible? The aim is checking the value of an attribute on a node: \xmlfilter{#1}{/content[@type ==\whatever]/command(xmlcommon:content)} It seems the \whatever macro is not expanded. How to? Hans van der Meer

[NTG-context] Command \thanks from LaTeX

2012-01-20 Thread Wagner Macedo
Hello, Searching for a \thanks equivalent command on ConTeXt, I ended up on http://wiki.contextgarden.net/LaTeX_Thanks. But I didn't like that solution, because the author footnote is placed on a new area instead the same as text footnotes. So I made a simple solution, that the author footnotes

Re: [NTG-context] checking attributes

2012-01-20 Thread Hans Hagen
On 20-1-2012 16:38, Meer, H. van der wrote: Is the following impossible? The aim is checking the value of an attribute on a node: \xmlfilter{#1}{/content[@type ==\whatever]/command(xmlcommon:content)} It seems the \whatever macro is not expanded. How to? should work ok so, is \whatever

Re: [NTG-context] Problem with letter module

2012-01-20 Thread Romain Diss
Le vendredi 20 janvier 2012, Wolfgang Schuster a écrit : Am 20.01.2012 um 00:20 schrieb Romain Diss: Le vendredi 20 janvier 2012, Wolfgang Schuster a écrit : Am 19.01.2012 um 23:57 schrieb Romain Diss: Do you use TeXLive or the ConTeXt Suite (minimals)? I use the latest beta of the

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Kip Warner
On Fri, 2012-01-20 at 09:55 +0100, luigi scarso wrote: You can also try the reverse way with ipe http://ipe7.sourceforge.net/ and then convert the pdf in svg with inkscape or iperender Thanks Luigi. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Kip Warner
On Fri, 2012-01-20 at 10:08 +0100, Hans Hagen wrote: There is no such depedency .. actually, i found it rather impossible to get an inkscape running on a headless linux box as there is some depedency on X (last time I tried). In a similar fashion there is no dependency on GhostScript or

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread luigi scarso
On Sat, Jan 21, 2012 at 12:04 AM, Kip Warner k...@thevertigo.com wrote: On Fri, 2012-01-20 at 09:55 +0100, luigi scarso wrote: You can also try the reverse way with ipe http://ipe7.sourceforge.net/ and then convert the pdf in svg with inkscape or iperender Thanks Luigi. Uh uh .. I

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Wagner Macedo
I just tested now. With Inkscape 0.48.2 r9819, I could do the conversion job on pure console. But, on the other hand, as nothing is perfect, to install Inkscape, it's needed many X dependencies. On 20 January 2012 06:08, Hans Hagen pra...@wxs.nl wrote: There is no such depedency .. actually, i

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Hans Hagen
On 21-1-2012 00:05, Kip Warner wrote: On Fri, 2012-01-20 at 10:08 +0100, Hans Hagen wrote: There is no such depedency .. actually, i found it rather impossible to get an inkscape running on a headless linux box as there is some depedency on X (last time I tried). In a similar fashion there is

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread luigi scarso
On Sat, Jan 21, 2012 at 1:07 AM, Hans Hagen pra...@wxs.nl wrote: On 21-1-2012 00:05, Kip Warner wrote: On Fri, 2012-01-20 at 10:08 +0100, Hans Hagen wrote: There is no such depedency .. actually, i found it rather impossible to get an inkscape running on a headless linux box as there is

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Hans Hagen
On 21-1-2012 01:12, luigi scarso wrote: On Sat, Jan 21, 2012 at 1:07 AM, Hans Hagenpra...@wxs.nl wrote: On 21-1-2012 00:05, Kip Warner wrote: On Fri, 2012-01-20 at 10:08 +0100, Hans Hagen wrote: There is no such depedency .. actually, i found it rather impossible to get an inkscape

Re: [NTG-context] Problem with letter module

2012-01-20 Thread Hans Hagen
On 20-1-2012 22:44, Romain Diss wrote: Just by curiosity, if none of the t-letter.* files are loaded, how does context know that it have to load the s-cor-* files when I type \usemodule[letter]? cont-fil.mkiv (one of the oldest features around) Hans

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Marco
On 2012-01-20 Kip Warner k...@thevertigo.com wrote: So what does ConTeXt do when it typesets an \externalfigure? Does it always use inkscape, or only sometimes? If the image type is supported by the TeX engine (jpeg, png, pdf, mps) it is directly included. SVG files inkscape is called to

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Kip Warner
On Sat, 2012-01-21 at 01:22 +0100, Marco wrote: On 2012-01-20 Kip Warner k...@thevertigo.com wrote: So what does ConTeXt do when it typesets an \externalfigure? Does it always use inkscape, or only sometimes? If the image type is supported by the TeX engine (jpeg, png, pdf, mps) it

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Marco
On 2012-01-20 Kip Warner k...@thevertigo.com wrote: On Sat, 2012-01-21 at 01:22 +0100, Marco wrote: On 2012-01-20 Kip Warner k...@thevertigo.com wrote: So what does ConTeXt do when it typesets an \externalfigure? Does it always use inkscape, or only sometimes? If the image type

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Kip Warner
On Sat, 2012-01-21 at 01:42 +0100, Marco wrote: On 2012-01-20 Kip Warner k...@thevertigo.com wrote: On Sat, 2012-01-21 at 01:22 +0100, Marco wrote: On 2012-01-20 Kip Warner k...@thevertigo.com wrote: So what does ConTeXt do when it typesets an \externalfigure? Does it always

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Hans Hagen
On 21-1-2012 01:27, Kip Warner wrote: On Sat, 2012-01-21 at 01:22 +0100, Marco wrote: On 2012-01-20 Kip Warnerk...@thevertigo.com wrote: So what does ConTeXt do when it typesets an \externalfigure? Does it always use inkscape, or only sometimes? If the image type is supported by the TeX

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Hans Hagen
On 21-1-2012 01:40, Marco wrote: However, these external helpers (like ghostscript as well) should be listed as a recommendation or suggestion [not as dependency]). In that case the user is notified that he/she might get a benefit installing these programs. maybe a wiki page is a good

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread luigi scarso
On Sat, Jan 21, 2012 at 1:27 AM, Kip Warner k...@thevertigo.com wrote: Right, but since the average end user probably won't know that, doesn't that still suggest Inkscape be listed as a dependency? hm, no. Suppose this situation: me and you agree on a context beta version and a pdf reader

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Wagner Macedo
On Debian Packages, at least, we can declare, basically, 3 levels of dependencies, according to http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps 1) Depends - absolute dependency. Or else, packages that is strictly necessary to works well. 2) Recommends - strong, but not