Am 12.04.2005 um 00:07 schrieb Hans Hagen:
Because i want to post a new context zip with svg support
Big news in a half sentence!
What does SVG support mean in ConTeXt / this context?
Translation of SVG to MetaPost? Which SVG level/standard?
Grüßlis vom Hraban!
---
http://www.fiee.net/texnique
For those that care, here is basically how the service works. The filter
is applied to an SVG, and the uploaded graphic is converted to SVG using
the following process:
EPS - PDF - SVG
PDF - SVG
SVG - PDF - SVG
where the EPS - PDF conversion is done with the standard `epstopdf`
included
I just tried using an SVG image directly in MkIV, and it worked like a
breeze. Apparently ConTeXt converts the image to PDF on the fly as I
found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf)
in the same directory as the SVG-file.
If you would still love to convert your SVG
Am 20.12.2004 um 13:48 schrieb Micha Morawski:
Is it possible to include graphics (or even animations) in SVG format
into the pdf documents ?
Which graphics formats you can use depends from the TeX processor.
AFAIK there's none that can handle SVG.
Not even Adobe's Distiller can handle SVG
On 2016-06-08 Hans Hagen wrote:
>
> This version has (experimental) support for color fonts.
> ...
> svg one uses svg information from the font
Btw, SVG fonts were removed from SVG 2.0 and considered as a deprecated feature:
http://caniuse.com/#feat=svg-fonts
https://lists.w3.
We are planning to drop the png and svg
backend of mplib embedded in luatex .
This means that if test.lua uses the png or svg backend
$>luatex --luaonly test.lua
will not work anymore as expected.
To be clear:,
*) metapost and mplib will stay as is now;
*) mplib when embedded in lua
Hi all,
Is it possible to convert SVG to MetaPost?
Currently, I have Bash scripts in my workflow to invoke Inkscape (converting
SVG to PDF). I don’t like to allow shell access to TeX.
If I can convert SVG to MetaPost, I will gladly Git-track MetaPost files
instead of SVG files. That will do
In the following example, the line and text should be aligned to the
middle when LMTX converts the SVG figure using MP. (Note that you may have
to install Roboto, but the font isn't the issue.)
% SOF
\startbuffer[svg]
http://www.w3.org/2000/svg;
xmlns:svg="http://www.w3.org/200
On 4/3/2021 8:10 PM, Thangalin wrote:
Issues encountered with version 2021.03.31 18:04.
1. Comments in SVG
% SOF
\startbuffer[svg]
http://www.w3.org/2000/svg
<http://www.w3.org/2000/svg>">
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[svg][conversion=mp]}
\
Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a):
I just tried using an SVG image directly in MkIV, and it worked like a
breeze. Apparently ConTeXt converts the image to PDF on the fly as I
found a PDF-file with a similar name (m_k_v_i_your SVG filename.pdf)
in the same
On 8/12/2019 1:15 PM, Taco Hoekwater wrote:
Hi,
On 12 Aug 2019, at 12:10, Jon Wong wrote:
Hi all,
Is it possible to convert SVG to MetaPost?
Currently, I have Bash scripts in my workflow to invoke Inkscape (converting
SVG to PDF). I don’t like to allow shell access to TeX.
If I can
Issues encountered with version 2021.03.31 18:04.
1. Comments in SVG
% SOF
\startbuffer[svg]
http://www.w3.org/2000/svg;>
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[svg][conversion=mp]}
\stoptext
% EOF
Expected: Black circle, no border, comment lines ignored.
Actual: Em
I knew about the detour via inkscape, but I hoped for native support.
So I guess svg is not supported then?
The current implmentation (at least when I looked at it 3 months back)
called inkscape to convert svg to pdf. IIRC, it is possible to configure
which program is used to do
Micha Morawski wrote:
PDF supports SVG graphic starting from version 5 of Acrobat (according
adobe)
I would like to obtain effects similar to
http://www.learnsvg.com/pdf/chapter09_svg.pdf
So I hope, it is not very difficult to include this possibilities into
Context. Am I right?
do you know
Text that's tight against its viewbox gets clipped:
https://i.ibb.co/BGQVzzx/text-clipped.png
Here's the code:
% SOF
\startbuffer[svg]
http://www.w3.org/2000/svg;
xmlns:svg="http://www.w3.org/2000/svg;>
16p13.3
\stopbuffer
\starttext
\placefigure[]{}{\includesvgbu
On Thu, Jul 3, 2008 at 1:11 PM, Henning Hraban Ramm [EMAIL PROTECTED] wrote:
Am 2008-06-29 um 21:46 schrieb Hans Hagen:
\usemodule[res-08] \setups[rl:manipulate]
\setupexternalfigures[location=local,directory=.,conversion=pdf] %
lowres,prefix=lowres/]
\starttext
\externalfigure[svg
Hi,
> On 12 Aug 2019, at 12:10, Jon Wong wrote:
>
> Hi all,
>
> Is it possible to convert SVG to MetaPost?
>
> Currently, I have Bash scripts in my workflow to invoke Inkscape (converting
> SVG to PDF). I don’t like to allow shell access to TeX.
>
> If I
Henning Hraban Ramm wrote:
Am 12.04.2005 um 00:07 schrieb Hans Hagen:
Because i want to post a new context zip with svg support
Big news in a half sentence!
What does SVG support mean in ConTeXt / this context?
Translation of SVG to MetaPost? Which SVG level/standard?
i've implemented a mechanism
On 6/8/2016 11:02 PM, Jan Tosovsky wrote:
On 2016-06-08 Hans Hagen wrote:
This version has (experimental) support for color fonts.
...
svg one uses svg information from the font
Btw, SVG fonts were removed from SVG 2.0 and considered as a deprecated feature:
http://caniuse.com/#feat=svg
On Mon, Aug 12, 2019 at 12:11 PM Jon Wong wrote:
> Hi all,
>
> Is it possible to convert SVG to MetaPost?
>
> Currently, I have Bash scripts in my workflow to invoke Inkscape
> (converting SVG to PDF). I don’t like to allow shell access to TeX.
>
> If I can convert SVG to
Hey hey,
The following produces a filled square, rather than an empty one:
\startbuffer[svg]
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[svg][conversion=mp]}
\stoptext
Remove the extra semicolon to get the expected result:
It appears that a style immediately following
Henning Hraban Ramm wrote:
Am 2008-06-29 um 21:46 schrieb Hans Hagen:
\usemodule[res-08] \setups[rl:manipulate]
\setupexternalfigures[location=local,directory=.,conversion=pdf] %
lowres,prefix=lowres/]
\starttext
\externalfigure[svg/ausmap.svg][frame=on]
\stoptext
it assumes inkscape
Henning Hraban Ramm wrote:
Am 20.12.2004 um 13:48 schrieb Micha Morawski:
Is it possible to include graphics (or even animations) in SVG format
into the pdf documents ?
Which graphics formats you can use depends from the TeX processor.
AFAIK there's none that can handle SVG.
Not even Adobe's
Hi all,
I'm working with Inkscape and I would like to embed some figures
directly in vector format. How do I do that??
I'm trying this:
\externalfigure[system][type=svg][scale=1000]
But a dummy image appears. Is there any svg support in context?!
Regards,
Zeus
Hi,
Including local SVG graphics works, so does including remote PNGs.
Remote SVGs are not displayed, however. Example:
\starttext
\externalfigure[http://www.gnu.org/graphics/gnu2.svg]
\stoptext
Is this not supported or am I missing a required option?
Marco
signature.asc
Description
Skencil http://www.skencil.org can open and save SVG and exports to PDF via
reportlab. As I have not worked with transparency yet I do not know if that
works all the way from SVG to PDF. Could you post me a little sample image to
run it through Skencil?
All right. I sent some files
On 21-12-2010 8:04, Anand Raj wrote:
Hi,
how to map svg tags from xml and tex file.?
Dump the svg blob in a file (say image-1.svg) and then use
\extenalfigure[image-1.svg] to place it. Conversion to pdf will happen
automatically then.
Hans
On Tue, Dec 21, 2010 at 10:01 AM, Hans Hagen pra...@wxs.nl wrote:
On 21-12-2010 8:04, Anand Raj wrote:
Hi,
how to map svg tags from xml and tex file.?
Dump the svg blob in a file (say image-1.svg) and then use
\extenalfigure[image-1.svg] to place it. Conversion to pdf will happen
*d.svg*
?xml version=1.0 standalone=no?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 20010904//EN
http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd;
svg id=root xml:space=preserve width=100% height=100%
preserveAspectRatio=xMidYMid meet
xmlns=http://www.w3.org/2000/svg;
/svg
can you help me
2011/4/26 mathew m...@pobox.com:
I just want to include a finite state machine in a pdf document.
I usually go GraphViz - SVG, touch up the SVG with Inkscape, then
save from Inkscape to PDF.
If you're happy with GraphViz's standard output, it'll write PDF directly.
SVG can be included
Is there a SVG to MetaPost/MetaFun converter available?
I want to get this quite simple logo to converted from SVG into a ConTeXt-
native vector graphic.
Cheers,
Matija
P.S. Too bad SVG is not ConTeXt-native (yet?)
--
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk
On 4-4-2010 7:29, Matija Šuklje wrote:
Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a):
I just tried using an SVG image directly in MkIV, and it worked like a
breeze. Apparently ConTeXt converts the image to PDF on the fly as I
found a PDF-file with a similar name
Hi Taco!
Very enlightening!
I’ll just use both MetaPost and SVG for their intended purposes. (SVG will come
from workflow involving GIMP/Inkscape; MetaPost for logical, rather than
graphical, figures.)
Regards
Jon
> On Aug 12, 2019, at 7:30 PM, luigi scarso wrote:
>
>
>
>
A regression?
% SOF
\startbuffer[svg]
http://www.w3.org/2000/svg; width="179" height="126" viewBox="0
0 134 94">
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[svg][conversion=mp]}
\stoptext
% EOF
Expected: Green box, black outline.
Actual:
I've tried the following from the manuals and adapted some code to see if
it works:
1.
\definefontfeature[svg][svg=yes]
\definefontsynonym[Emoji][file:emojionecolor-svginot.ttf*default,svg]
\definesymbol[bug][\getglyphdirect{Emoji}{\char"1F41B}]
\starttext
\symbol[bug]
\stoptext
The emoj
Hello,
I wonder if it is possible to include SVG picture directly in ConTeXt
without conversion.
Thank you.
Jack
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
will not show the same result -- basically only acroread is able to
show swf inside a pdf, and it depends to the OS and version
3) a svg image. PDF spec. doesn't support SVG, so we must also agree on the
same program to convert the svg into a bitmap or vector image, and this is
a problem: as you have seen
Hi,
svg images are not rendered in the new beta.
\startxmlsetups xml:img
\externalfigure[\xmlatt{#1}{src}]
\stopxmlsetups
Thanks
Anand
___
If your question is of interest to others as well, please add
Does Context support bibtex together with harvard style citations?
and
Is it possible to include graphics (or even animations) in SVG format into
the pdf documents ?
Thank You in advance
Michal Morawski
___
ntg-context mailing list
[EMAIL PROTECTED
PDF supports SVG graphic starting from version 5 of Acrobat (according
adobe)
I would like to obtain effects similar to
http://www.learnsvg.com/pdf/chapter09_svg.pdf
So I hope, it is not very difficult to include this possibilities into
Context. Am I right?
Michal Morawski
Here's a fairly minimal example showing an issue, using ConTeXt LMTX.
Save the following as "main.tex":
% SOF
\startbuffer[document]
\stopbuffer
\startbuffer[csvg]
http://www.w3.org/2000/svg;>
\stopbuffer
\startxmlsetups xml:xhtml
\xmlsetsetup{\xmldocument}{body|img}{xml:*}
\
On 6/29/2022 4:35 AM, Aditya Mahajan via ntg-context wrote:
On Mon, 27 Jun 2022, Thangalin via ntg-context wrote:
In the following example, the line and text should be aligned to the
middle when LMTX converts the SVG figure using MP. (Note that you may have
to install Roboto, but the font
On Dec 4, 2007 3:13 PM, Zeus Gómez Marmolejo wrote:
Hi all,
I'm working with Inkscape and I would like to embed some figures
directly in vector format. How do I do that??
I'm trying this:
\externalfigure[system][type=svg][scale=1000]
But a dummy image appears. Is there any svg support
On Thu, May 26, 2011 at 12:32, mathew m...@pobox.com wrote:
Wow, that's odd. I've found that SVG - PDF - MkIV results in huge
document bloat, whereas SVG - EPS - MkIV works much better. (Using
Inkscape for both SVG conversions.)
Some numbers:
SVG to PDF: Two diagrams, 25k.
SVG to EPS: Same
Am Donnerstag, 26. Januar 2006 13:05 schrieb Ville Voipio:
I would need to embed some SVG images
- I want to have my vector images in vector format (i.e., no
Inkscape-to-PNG)
- alpha-channel transparency is used in the images, and it should be
present in the PDF file, as well (i.e
On Tue, 26 Apr 2011, Vedran Miletić wrote:
2011/4/26 Cecil Westerhof cldwester...@gmail.com
2011/4/26 mathew m...@pobox.com:
I just want to include a finite state machine in a pdf document.
I usually go GraphViz - SVG, touch up the SVG with Inkscape, then
save from Inkscape to PDF
On 08/15/2016 10:39 AM, Jean-Pierre Delange wrote:
> Hi Pablo and Wolfgang,
>
> Many thanks ! The issue concerning a logo image in a TwoColumns document
> is resolved. It was only a matter of file format. I thought (I don't
> know why), that ConTeXt use SVG format. I've convert
> Hi Neven,
>
> it seems to be an issue with the conversion of the SVG file.
Hans,
I thought it was an issue with the MP conversion of the SVG file.
I was wrong: it is an issue on how LMTX deals with the SVG conversion in
MP. MkIV is totally fine respecting image dimensions.
Many tha
ome Blender, so I decided to try to use the super ugly route with
>> metapost -> svg -> dxf -> g-code
>> for the first time.
>>
>> I have a few questions.
>>
>> (1) I love Hans' shortcuts in metafun, but I seem to remember that things
>> like
>&
I did. It turns out that installing graphicsmagick does the trick (pun
intended) for Noto Color Emoji. However, the issue persists for SVG fonts
and the same message appears, despite of having cleaned the cache (I've
used mtxrun --script cache --erase). Using the code Pablo sent, with
EmojiOne
Hi Heinrich,
Use the SVG I provided. R and Renjin use two different SVG generators.
Renjin uses JFreeSVG when exporting as SVG. As you pointed out, there are
no issues with R because it will export an SVG file without any double
semicolons.
In other words, try this:
\startbuffer[svg
Hi Hans,
I've been using the SVG->MP converter and I've found a few bugs. Most of
the bugs are with "weird" SVG input, but I have no control over the
input, and the metadata on most of the files shows that it was exported
from Adobe Illustrator which is (unfortunately) quite popular
>>
>> pstoedit -dt -f dxf:-polyaslines\ -mm something.1 something.dxf
>>
>> For some reason the SVG files from metapost get wrong dimensions when
>> converted via inkscape, but pstoedit works super reliably.
>
>
> in that case you can consider:
>
> mp ->
the output, even when running with
--debug. Any hints on how to sprinkle debug info into the code? Or was I
barking up the wrong source file?
Cheers!
On Sun, May 8, 2022 at 1:33 AM Thangalin wrote:
> Hey hey,
>
> The following produces a filled square, rather than an empty one:
>
> \start
On Sun, Apr 4, 2010 at 19:29, Matija Šuklje wrote:
Dne nedelja 4. aprila 2010 ob 19:23:18 je Peter Wüsten napisal(a):
I just tried using an SVG image directly in MkIV, and it worked like a
breeze. Apparently ConTeXt converts the image to PDF on the fly as I
found a PDF-file with a similar name
Normally, this should not matter, but sometimes part of the image is
repeated due to rounding differences.
what magic flag deals with a specific page in pdf in inkscape?
I used svg2pdf which converts all pages of a pdf to split svg files. But,
in the end, decided not to use svg images
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
On Thu, 10 May 2012, Ian Lawrence wrote:
I read on the wiki that now svg is natively supported. Hmm.
No. You need to have inkscape installed (and in your PATH) for svg to pdf
conversion to work.
FWIW, I cannot find the intermediate file
'm_k_i_v_ChangingField_ILUC.pdf' on my disk either
Original Message
Original-Nachricht
Betreff: MetaPost to SVG Converter
Datum: 7 Nov 2005 22:00:00 -0800
Von: tlhiv [EMAIL PROTECTED]
Organisation: http://groups.google.com
Newsgruppen: comp.text.tex
For all that are interested, I've setup a page which
On Wed, Dec 5, 2018 at 10:15 AM Henri Menke wrote:
> ConTeXt already comes with a full XML parser. SVG is XML. It would be
> nice if it was possible to render some subset of SVG.
>
In the mean time, I think we should also consider
Headless Chromium for SVG -> PDF (with --
On Wed, Dec 5, 2018 at 1:37 PM Hans Hagen wrote:
> On 12/5/2018 10:14 AM, Henri Menke wrote:
> > ConTeXt already comes with a full XML parser. SVG is XML. It would be
> > nice if it was possible to render some subset of SVG.
> So what subset? ... Doing some shapes etc is do
How can I place an SVG icon "inline", i.e. side by side to some text?
Here's my MWE
```
\useURL
[github]
[https://github.com/test]
[]
[github.com/test]
\starttext
\placefigure[none]{}{\externalfigure[github.svg][width=17.5pt]}
\from[github]
\stoptext
```
I have attached a
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
Here's a screenshot comparing ConTeXt's PDF output (left) with KeenWrite's
preview for the same SVG document:
https://i.ibb.co/68nqwrg/render-r-plot.png
I've filed a bug against Renjin's SVG exporter.
Any guidance on how to fix this is greatly appreciated
Hi there!
The following document contains SVG. Save the SVG as "problem.svg" and
run the document through LMTX version 2023.05.08 17:39:
% SOF
\startbuffer[csvg]
\stopbuffer
\starttext
% honours viewbox
\placefigure[none]{}{\includesvgbuffer[csvg]}
\page
% dishonou
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smile.svg"]
\stopMPcode
\stoptext
also when i look at evenmore manual at page15, for font Abelone-FREE the
gradients has rendere
Am 12.03.24 um 23:59 schrieb seyal zavira:
You are correct. when i convert this svg to pdf via inkscape it works
like a charm.
But what is standard way of including an svg file with context if we
want to inkscape render the images?
\externalfigure[smile]
without any other settings
On Wed, May 25, 2011 at 09:40, Hans Hagen pra...@wxs.nl wrote:
Normally I convert such images to pdf first (using acrobat or gs) simply
because inclusion of pdf is much faster.
Wow, that's odd. I've found that SVG - PDF - MkIV results in huge
document bloat, whereas SVG - EPS - MkIV works much
May be I missed one or the other mail on this topic.
There is indeed support for svg-inclusion in MKIV. In order to be possibly of
help I would like you to send a minimal example.
Since I'm also interested in this and fail to get it working, please allow me
to provide such an example. The svg
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
the picture when you make a minimal
document containing only some text and the problematic SVG?
Should I upload the SVG and manual PDF output somewhere?
Yes, if you could, that would be appreciated.
Here is the PDF converted by hand from the SVG:
https://docs.google.com/file/**d
I almost forgot to upload the graphics.
Here is the SVG:
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg
SVG (7z compressed):
https://dl.dropboxusercontent.com/u/19254345/scatterplot_of_WER_vs_PPL.svg.7z
PDF:
https://dl.dropboxusercontent.com/u/19254345
2011/4/26 Cecil Westerhof cldwester...@gmail.com
2011/4/26 mathew m...@pobox.com:
I just want to include a finite state machine in a pdf document.
I usually go GraphViz - SVG, touch up the SVG with Inkscape, then
save from Inkscape to PDF.
If you're happy with GraphViz's standard
Hello,
How can I convert svg to png on the fly?
I've created a file test.rlx:
?xml version='1.0 standalone='yes'?
rl:manipulators
rl:manipulator name='png' suffix='svg'
rl:oldrl:value name='path'//rl:value name='file'
method='nosuffix'/.png/rl:old
rl:newrl:value name
On 12/17/20 5:08 PM, Neven Sajko wrote:
> On Thu, 17 Dec 2020 at 15:27, Aditya Mahajan wrote:
> [...]
>> Can you check with a desktop pdf viewer as well.
>
> It looks the same with MuPDF.
Hi Neven,
it seems to be an issue with the conversion of the SVG file.
> This i
Hi again!
% SOF\startbuffer[svg]
\stopbuffer
\starttext
\placefigure{}{\includesvgbuffer[svg][conversion=mp]}
\stoptext
% EOF
Expected: No border around the outer white box, border around the inner
green box.
Actual: Border around both boxes.
Version: 2021.05.06
Additional details
A document has a mix of SVG and PNG images. Changing the parameters for
`\setupexternalfigure` affects both SVG and PNG images. Consider the
following code:
\setupexternalfigures[
order={svg,pdf,png,jpg},
location={local,default,global},
directory={images},
maxwidth
Thangalin via ntg-context schrieb am 18.07.2022 um 19:10:
Thank you, Wolfgang.
That looks promising.
SVG files are converted using MetaPost. I thought the following would
work:
svg=>{\externalfigure[#1][svg][conversion=mp]}
You can probably remove the second argument ([svg]) wh
Thank you, Wolfgang.
That looks promising.
SVG files are converted using MetaPost. I thought the following would work:
svg=>{\externalfigure[#1][svg][conversion=mp]}
Is there anything else that needs to happen to ensure SVG files are piped
through MetaPost?
Thanks ag
Hi !
Did you have a look at this :
https://wiki.contextgarden.net/SVG
Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit :
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smil
decided to try to use the super ugly route with
metapost -> svg -> dxf -> g-code
for the first time.
I have a few questions.
(1) I love Hans' shortcuts in metafun, but I seem to remember that things
like
input metafun;
or perhaps
input mp-tool;
used to work, so that I d
TeXWorld wrote:
TeXWorld a écrit :
Hello,
I wonder if it is possible to include SVG picture directly in ConTeXt
without conversion.
Thank you.
Jack
No answer. Does it mean that it's not possible ?
Not that I know of, but I was hoping someone else did.
Best wishes,
Taco
On Sat, Jul 28 2012, Bill Meahan wrote:
Do recent versions of MKIV (specifically, the one in TeXLive 2012) support SVG
- http://wiki.contextgarden.net/Humour#Can_you_run_it_for_me.3F ;)
--
Peter
Hi,
how to map svg tags from xml and tex file.?
On Mon, Dec 20, 2010 at 4:48 PM, Anand Raj anand.s...@gmail.com wrote:
Hi,
I want to convert the html page to pdf.
the html contains svg and mathml content.
Thanks
Anand
Am 26.01.2011 um 02:49 schrieb Anand Raj:
Hi,
svg images are not rendered in the new beta.
\startxmlsetups xml:img
\externalfigure[\xmlatt{#1}{src}]
\stopxmlsetups
Does it work in a normal document?
\starttext
\externalfigure[figure.svg]
\stoptext
Wolfgang
Am 26.01.2011 um 10:39 schrieb Anand Raj:
yes.
works fine for jpg images.
But does it also work with svg-images?
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
Micha Morawski wrote:
So I hope, it is not very difficult to include this possibilities into
Context. Am I right?
no; actually i have it someplace on my machine, but since svg support was rather
bugged in acrobat 6 the code never made it into the distribution; i'll have a
look at it
Hans
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp]
\stoptext
The axis labels, tick labels, and title are all incorrect. This file was
generated with Matplotlib
With the latest lmtx installed, what would be the correct cli command to
generate a svg outputfile from a metapost source?
.Floris
___
If your question is of interest to others as well, please add an entry
On 19/08/2023 15:05, Hans Hagen via ntg-context wrote:
mutool can do that
indeed.
context test.tex
mutool convert -F svg test.pdf
thank you!
.F
___
If your question is of interest to others as well, please
On Mon, 27 Jun 2022, Thangalin via ntg-context wrote:
> In the following example, the line and text should be aligned to the
> middle when LMTX converts the SVG figure using MP. (Note that you may have
> to install Roboto, but the font isn't the issue.)
>
> % SOF
> \startbuffe
Hi,
I uploaded a new beta. This version has (experimental) support for color
fonts. (not to be confused with 'coloring text in a font').
\definefontfeature[svg][default][svg=yes]
\definefontfeature[colored][default][colr=yes]
% \definefont[Emoj][file:emojionecolor-svginot.ttf*default,svg
hing else.
> Can you check with a desktop pdf viewer as well.
It looks the same with MuPDF.
> The mailing list has a size limit for attachments, so I think that your zip
> file did not get included in your message. Could you just include the tex
> file and maybe upload the svg somewhe
Thanks for checking this. Unfortunately, introducing \hbox didn't work; the
text is still off-center with respect to the vertical line:
https://i.ibb.co/hYGfdgZ/text-align.png
For comparison, the SVG file loaded into Inkscape appears similar to:
https://i.ibb.co/KF3PBkw/inkscape-alignment.png
:
>
> Hi Heinrich,
>
> Use the SVG I provided. R and Renjin use two different SVG generators. Renjin
> uses JFreeSVG when exporting as SVG. As you pointed out, there are no issues
> with R because it will export an SVG file without any double semicolons.
>
> In other words
Hi,
I want to play with CNC and don't yet have any experience with CAD
software (nor the licence for the expensive ones) other than perhaps
some Blender, so I decided to try to use the super ugly route with
metapost -> svg -> dxf -> g-code
for the first time.
I have a few question
ok, let’s get smarter.
how about sanitizing the svg-file from JFreeSVG with svgo or svgcleaner or nano
or else?
And as a side effect you’d have the file optimized, ie. a smaller size
(lossless I suppose) …
and are you sure that the ;;-issue is the only bug? After sanitizing you’ll
never know
and the problematic SVG?
Should I upload the SVG and manual PDF output somewhere?
Yes, if you could, that would be appreciated.
Here is the PDF converted by hand from the SVG:
https://docs.google.com/file/d/0BynsKFwk6jYJQlMxR3paNW0zS2s/edit?usp=sharing
I can upload the SVG in the evening, if you need it. I
On 6/29/2016 12:31 PM, Mojca Miklavec wrote:
Hi,
I want to play with CNC and don't yet have any experience with CAD
software (nor the licence for the expensive ones) other than perhaps
some Blender, so I decided to try to use the super ugly route with
metapost -> svg -> dxf -&g
Dear all,I would like to produce an svg file from a Metapost input file using some of ConTeXt's typesetting features (esp. using System OTF Fonts) using something like:\startbuffer[buffer:dummy] \start\startcolor[white]\framed[align=middle,width=28mm,frame=off]{ \SansBodyBold
1 - 100 of 559 matches
Mail list logo