On 2012-01-23 Kip Warner k...@thevertigo.com wrote:
IfInkscape isn'tinstalledand theuser
\externalfigure's an SVG, is an error raised with
ConTeXt?
Yes and no. An error is raised, but no hint that inkscape
is missing. ConTeXt says:
!LuaTeX error: cannot find image
On Tue, 2012-01-24 at 12:14 +0100, Marco wrote:
A more user friendly error message
would be:
!LuaTeX error: cannot find inkscape to convert image file 'pic.svg'
== Fatal error occurred, no output PDF file produced!
Agreed.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail
On Sat, 2012-01-21 at 01:07 +0100, Hans Hagen wrote:
no, png, jpg and pdf are supported directly (as is mp) but fo rother
formats it will either try to find a replacement (there is a whole chain
of lookups) or it will try to run one of the configured converters ... with
On Sat, 2012-01-21 at 01:54 +0100, Hans Hagen wrote:
no, because not all users use svg (just an not all users use fonts
defined in type-* files) and also because inkscape is close to
impossible to install without x present which would render context
'unuseable due to a depency not being
On Sat, 2012-01-21 at 01:55 +0100, Hans Hagen wrote:
maybe a wiki page is a good start for that
Strongly agree.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
On Sat, 2012-01-21 at 00:31 -0300, Wagner Macedo wrote:
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
On 21-1-2012 04:31, Wagner Macedo wrote:
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
On 2012-01-21 Hans Hagen pra...@wxs.nl wrote:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
On Thu, Jan 19, 2012 at 1:25 AM, Kip Warner k...@thevertigo.com wrote:
Hey list,
I have a number of \externalfigure commands to typeset some svg images.
This is often handy to have them vectorized because it allows for the
user to zoom in on diagrams of great detail.
In other situations, I
Am 19.01.2012 01:25, schrieb Kip Warner:
Hey list,
I have a number of \externalfigure commands to typeset some svg images.
This is often handy to have them vectorized because it allows for the
user to zoom in on diagrams of great detail.
In other situations, I find that for images that
On Thu, 2012-01-19 at 08:56 +0100, Mojca Miklavec wrote:
If original svg image is 7 KB, the PDF should not be any bigger apart
from the header and maybe embded fonts. However if you are using some
smooth shading, it might be that the program which does the conversion
is performing a poor job
On Thu, 2012-01-19 at 09:23 +0100, luigi scarso wrote:
ConTeXt uses inkscape, iirc. So try to see what inkscape says about your
file.
Are you sure about that? ConTeXt doesn't seem to list inkscape as a
dependency on my distro:
apt-cache show context* | grep -i inkscape
(gives nothing)
--
Kip
On Thu, 2012-01-19 at 11:58 +0100, Peter Rolf wrote:
Probably because the exported PDF contains a raster image (at least the
blured part). If you use Inkscape to save your SVG logo as PDF, you will
see a dialog box with an option for this (rasterize filter effects).
Remove the hook and you'll
On Thu 19 Jan 2012, Kip Warner wrote:
Hey Peter. The original SVG is about 7KB. With rasterize off and
exported to PDF, its under 2KB. With rasterize on, its still only 78KB.
Whatever ConTeXt is doing with it, that 7KB SVG gets bloated to nearly a
meg at 976KB. This happens as Logo.svg is
It would be good if you attach the svg file.
Could you do this?
--
Wagner Macedo
On 19 January 2012 21:01, Kip Warner k...@thevertigo.com wrote:
Hey Peter. The original SVG is about 7KB. With rasterize off and
exported to PDF, its under 2KB. With rasterize on, its still only 78KB.
Whatever
Am 20.01.2012 um 01:01 schrieb Kip Warner:
On Thu, 2012-01-19 at 11:58 +0100, Peter Rolf wrote:
Probably because the exported PDF contains a raster image (at least the
blured part). If you use Inkscape to save your SVG logo as PDF, you will
see a dialog box with an option for this (rasterize
On 2012-01-19 Kip Warner k...@thevertigo.com wrote:
Whatever ConTeXt is doing with it, that 7KB SVG gets bloated to nearly a
meg at 976KB. This happens as Logo.svg is transformed into intermediate
m_k_i_v_Logo.pdf.
I had similar issues some weeks ago. A workaround
was to use
On Fri, 2012-01-20 at 13:07 +1300, Pontus Lurcock wrote:
What happens if you convert it directly using inkscape --export-pdf?
Still only 78 KB.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally
On Thu, 2012-01-19 at 21:13 -0300, Wagner Macedo wrote:
It would be good if you attach the svg file.
Could you do this?
Hey Wagner. No problem.
http://www.thevertigo.com/temp/Pic.svg
Try typesetting it with an \externalfigure and check the file size of
the intermediate that's generated.
--
On Thu 19 Jan 2012, Kip Warner wrote:
On Thu, 2012-01-19 at 21:13 -0300, Wagner Macedo wrote:
It would be good if you attach the svg file.
Could you do this?
Hey Wagner. No problem.
http://www.thevertigo.com/temp/Pic.svg
My PDF file sizes (using 2011.10.01 10:48):
ConTeXt : 978k
On Fri, Jan 20, 2012 at 01:23, Kip Warner wrote:
On Fri, 2012-01-20 at 13:07 +1300, Pontus Lurcock wrote:
What happens if you convert it directly using inkscape --export-pdf?
Still only 78 KB.
Does it come out the way you expect it to? If yes, use that.
None of my tools are able to export
On Fri 20 Jan 2012, Mojca Miklavec wrote:
None of my tools are able to export this into an usable PDF (I didn't
try to install Inkscape though). But it is also true that I'm not 100
% sure if PDF knows anything about the gaussian blur.
I think this is the root of the problem: inkscape
On 2012-01-19 Kip Warner k...@thevertigo.com wrote:
On Thu, 2012-01-19 at 09:23 +0100, luigi scarso wrote:
ConTeXt uses inkscape, iirc. So try to see what inkscape says about your
file.
Are you sure about that?
Yes:
strace -f context t 21 /dev/null | grep inkscape | grep execve
[…]
On Thu, 2012-01-19 at 21:49 -0300, Wagner Macedo wrote:
Well, as I can see, the problem is inkscape switch --export-dpi which in
grph-inc.lua has the value 600. I get same file size using inkscape -A
--export-dpi=600.
But exporting this file (Pic.svg) without a great dpi (minimum 300) I get
On Thu, 2012-01-19 at 21:59 -0300, Wagner Macedo wrote:
Because filters.
According to
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.47#PDF.2C_PostScript.2C_and_EPS_export,
sent by Pontus Lurcock.
Thanks Wagner.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail
On Fri, 2012-01-20 at 01:51 +0100, Marco wrote:
Blame the distributor.
I just forwarded your observation to the package maintainer. Should be
straightforward to solve with a line in debian/control.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
On Fri, Jan 20, 2012 at 01:51, Kip Warner wrote:
On Thu, 2012-01-19 at 21:49 -0300, Wagner Macedo wrote:
Well, as I can see, the problem is inkscape switch --export-dpi which in
grph-inc.lua has the value 600. I get same file size using inkscape -A
--export-dpi=600.
But exporting this file
On Fri, 2012-01-20 at 01:21 +0100, Marco wrote:
I had similar issues some weeks ago. A workaround
was to use \pdfcompresslevel9 You can also try
\maximumpdfcompression, which is apparently preferred
(see some recent thread on the list).
Marco
Thanks Marco. It went from 9.9 MB
On Fri, 2012-01-20 at 01:14 +0100, Wolfgang Schuster wrote:
When you look into graph-inc.lua you can see that context use
inkscape oldname --export-dpi=600 -A newname
to convert the svg to pdf.
Hey Wolfgang. Why does a vector image need to be rasterized in a PDF, I
guess is what I'm
On Fri, 2012-01-20 at 01:45 +0100, Mojca Miklavec wrote:
Does it come out the way you expect it to? If yes, use that.
Visually, yes, it's fine. In terms of size, no its not the way I expect.
None of my tools are able to export this into an usable PDF (I didn't
try to install Inkscape though).
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 assumed incorrectly that PDF
implemented everything SVG does.
--
Kip
On Thu, Jan 19, 2012 at 01:25, Kip Warner k...@thevertigo.com wrote:
In other situations, I find that for images that are not so important,
they would benefit from ConTeXt rasterizing them when they are imported.
The reason for this is I find some vector images get enormously bloated
when
51 matches
Mail list logo