ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* another svg conversion=mp question
@ 2021-10-22 13:58 juh via ntg-context
  2021-10-22 14:40 ` Hans Hagen via ntg-context
  2021-10-22 15:48 ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: juh via ntg-context @ 2021-10-22 13:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: juh


[-- Attachment #1.1: Type: text/plain, Size: 445 bytes --]

Hi,

I include images with a variable via pandoc in a externalfigure
directive.

These images can be jpgs, pngs, pdfs and svgs.

Can I do any harm if I do:

\setupexternalfigures[conversion=mp]

juh
-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: another svg conversion=mp question
  2021-10-22 13:58 another svg conversion=mp question juh via ntg-context
@ 2021-10-22 14:40 ` Hans Hagen via ntg-context
  2021-10-22 15:48 ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-22 14:40 UTC (permalink / raw)
  To: juh, mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/22/2021 3:58 PM, juh via ntg-context wrote:
> Hi,
> 
> I include images with a variable via pandoc in a externalfigure
> directive.
> 
> These images can be jpgs, pngs, pdfs and svgs.
> 
> Can I do any harm if I do:
> 
> \setupexternalfigures[conversion=mp]
unrelated to svg

\startMPcode
     fill fullcircle scaled 1cm withcolor 1;
\stopMPcode

a missing return in line 295 of mlib-pps.lmt:

             return checked_color_pair(f_gray,s,s)



-----------------------------------------------------------------
                                           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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: another svg conversion=mp question
  2021-10-22 13:58 another svg conversion=mp question juh via ntg-context
  2021-10-22 14:40 ` Hans Hagen via ntg-context
@ 2021-10-22 15:48 ` Hans Hagen via ntg-context
  2021-10-23  9:36   ` juh via ntg-context
  1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-22 15:48 UTC (permalink / raw)
  To: juh, mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/22/2021 3:58 PM, juh via ntg-context wrote:
> Hi,
> 
> I include images with a variable via pandoc in a externalfigure
> directive.
> 
> These images can be jpgs, pngs, pdfs and svgs.
> 
> Can I do any harm if I do:
> 
> \setupexternalfigures[conversion=mp]

probably not unless there is an mp conversion for the other formats

-----------------------------------------------------------------
                                           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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: another svg conversion=mp question
  2021-10-22 15:48 ` Hans Hagen via ntg-context
@ 2021-10-23  9:36   ` juh via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: juh via ntg-context @ 2021-10-23  9:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: juh


[-- Attachment #1.1: Type: text/plain, Size: 577 bytes --]

Am Fri, Oct 22, 2021 at 05:48:09PM +0200 schrieb Hans Hagen:
> On 10/22/2021 3:58 PM, juh via ntg-context wrote:
> > Can I do any harm if I do:
> > 
> > \setupexternalfigures[conversion=mp]
> 
> probably not unless there is an mp conversion for the other formats

Thanks a lot, this is a good enough approach for the moment.

juh

-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-23  9:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 13:58 another svg conversion=mp question juh via ntg-context
2021-10-22 14:40 ` Hans Hagen via ntg-context
2021-10-22 15:48 ` Hans Hagen via ntg-context
2021-10-23  9:36   ` juh 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).