From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: WARNING: File path includes directory that doesn't exist
Date: Mon, 1 Aug 2016 00:23:01 -0400 (EDT) [thread overview]
Message-ID: <alpine.OSX.2.02.1608010019400.7820@nqv-znpobbx> (raw)
In-Reply-To: <CAANrE7qmpgOnZkcwqpTQFSMTAoQA99kmfhSSk61URwSKKWE33A@mail.gmail.com>
On Sat, 30 Jul 2016, Thangalin wrote:
> Hi,
>
> Possible problem converting SVG to PDF.
>
> $ cat test.tex
> \setupexternalfigures[
> order={svg,pdf,png},
> location={local,default,global},
> directory={images},
> frameoffset=.5em,
> maxwidth=\makeupwidth,
> width=\makeupwidth,
> ]
>
> \starttext
> \placefigure{}{\externalfigure[images/drawing.svg]}
> \stoptext
>
> ... logging ...
> ** (inkscape:19807): WARNING **: File path
> "--export-pdf=/home/username/temp/images/m_k_i_v_drawing.svg.pdf"
> includes directory that doesn't exist.
> ... more logging ...
Please don't cross-post. See my detailed reply at:
http://tex.stackexchange.com/a/321837/323
For Hans: There is a bug in graph-inc.lua. You need to remove `-A` from
programs.inkscape:
programs.inkscape = {
command = "inkscape",
pdfargument = [[
"%oldname%"
--export-dpi=600
--export-pdf="%newname%"
]],
pngargument = [[
"%oldname%"
--export-dpi=600
--export-png="%newname%"
]],
}
-A and --export-pdf are synonyms. When inkscape -A --export-pdf="..." is
used, inkscape thinks that `--export-pdf="..."` is the filename (but only
if "..." is not in the current directory, weird).
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2016-08-01 4:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-30 23:07 Thangalin
2016-07-30 23:10 ` Thangalin
2016-08-01 4:23 ` Aditya Mahajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.02.1608010019400.7820@nqv-znpobbx \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).