* [NTG-context] [ export to svg ]
@ 2023-08-19 11:12 vm via ntg-context
2023-08-19 13:05 ` [NTG-context] " Hans Hagen via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: vm via ntg-context @ 2023-08-19 11:12 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: vm
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 there is some hidden switch dumping the MPpage directly
into a hpgl file ;-)
.Floris
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: [ export to svg ]
2023-08-19 11:12 [NTG-context] [ export to svg ] vm via ntg-context
@ 2023-08-19 13:05 ` Hans Hagen via ntg-context
2023-08-19 14:30 ` vm via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2023-08-19 13:05 UTC (permalink / raw)
To: vm via ntg-context; +Cc: Hans Hagen
On 8/19/2023 1:12 PM, vm via ntg-context wrote:
> 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 there is some hidden switch dumping the MPpage directly
> into a hpgl file ;-)
mutool can do that
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: [ export to svg ]
2023-08-19 13:05 ` [NTG-context] " Hans Hagen via ntg-context
@ 2023-08-19 14:30 ` vm via ntg-context
0 siblings, 0 replies; 3+ messages in thread
From: vm via ntg-context @ 2023-08-19 14:30 UTC (permalink / raw)
To: Hans Hagen via ntg-context; +Cc: vm
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 add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-19 14:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19 11:12 [NTG-context] [ export to svg ] vm via ntg-context
2023-08-19 13:05 ` [NTG-context] " Hans Hagen via ntg-context
2023-08-19 14:30 ` vm via ntg-context
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).