Re: [NTG-context] metapost: remapping colors of an SVG picture

2020-02-18 Thread Hans Hagen
metapost log    >    ; metapost log    > <*> ...apcolor( black_rgb, red_rgb ) ; recolor p ; metapost log    > draw grayed p shifted ( b... metapost log    > My goal is to remap colors of an SVG image, like this: \starttext \startMPcode picture p ; p := lmt_svg [ filename = &

[NTG-context] SVG fonts not working properly

2021-02-05 Thread Jairo A. del Rio
The following examples doesn't work as expected: \definefontfeature[emojis][default,color:svg][script=latn,language=dflt] \definefont[gilbert][file:Gilbert-ColorBoldPreview5*emojis @ 13bp] \starttext {\gilbert abcdefghijklmnpqrstuvwxyz} \stoptext Letters are displayed correctly, but

Re: [NTG-context] metafun / patterns

2021-03-25 Thread Aditya Mahajan
On Thu, 25 Mar 2021, Hans Hagen wrote: > Hi, > > As I'm still in metafun (and svg) mode I decided to support patterns > (that are already supported at the tex end) also in metafun. As there > has never been demands I suppose it's not that interesting but it

Re: [NTG-context] SVG comments, transparency, and extended font styles

2021-04-03 Thread Thangalin
A bug report exists for the -inkscape-font-specification issue: https://bugs.launchpad.net/inkscape/+bug/1324809 I've migrated it, so hopefully it'll get some traction: https://gitlab.com/inkscape/inbox/-/issues/4704 It'd be nice to support that particular extension; however, the reason for

Re: [NTG-context] \showcolor broken in LMTX

2021-02-26 Thread Hans Hagen
On 2/26/2021 12:16 AM, Jairo A. del Rio wrote: Hi, list. The following example fails in LMTX, but it works in MkIV: \starttext\showcolor[svg]\stoptext LMTX complains about a s-colors-run file not found i'll fix it (that hardly used runtime code has been moved) and the name is wrong Hans

Re: [NTG-context] SVG stroked path colours

2021-04-15 Thread Hans Hagen
On 4/15/2021 4:20 AM, Thangalin wrote: A regression? probably side effect of opacity check ... i'll fix it but no upload today Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Jason Ross via ntg-context
On 10/18/21 8:38 AM, Luis Montgomery wrote: > Check that your Inkscape is working properly. > > That proble NOT appear on my machine... > > Best, > > L. Montgomery (Sorry Luis, I forgot to cc mailing list) Per https://wiki.contextgarden.net/Command/externalfigure, in LMTX the conversion is

[NTG-context] another svg conversion=mp question

2021-10-22 Thread juh via ntg-context
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: .

[NTG-context] svg conversion=mp renders wrong background

2021-10-22 Thread juh via ntg-context
Hi all, in a minimal example \starttext \externalfigure[test.svg][conversion=mp] \stoptext renders fine. I my real world project white background is rendered black. Any hints where I can start to debug? juh -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Essays:

Re: [NTG-context] Graphviz and ConTeXt

2022-06-24 Thread juh+ntg-context--- via ntg-context
Am 23.06.22 um 15:08 schrieb Taco Hoekwater: Hi, You could just convert these separately to pdf/svg/jpg/png and then load them as \externalfigure. I thought about this solution. You could also use the filter module to be able to take them inline into the ConTeXt code: Thanks

[NTG-context] SVG path conversion misalignment

2022-09-11 Thread Thangalin via ntg-context
Hi there, % SOT \startbuffer[dna] \stopbuffer \starttext \placefigure{}{\includesvgbuffer[dna][conversion=mp]} \stoptext % EOT In the PDF that's generated, the curve of the gray semi-circle is malformed with respect to the blackground. It's like there's a small chip. The expected result is

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Thangalin via ntg-context
Hi again, I changed tex/texmf-context/tex/context/base/mkiv/grph-con.lua to replace "" with "--export-area-page" in the inkscapecrop function: local function inkscapecrop(specification) return (specification and specification.crop == v_yes) and "--export-area-drawing" or

[NTG-context] ConTeXt, Framemaker, and InDesign

2008-06-30 Thread Idris Samawi Hamid
that Framemaker does not? What does Framemaker have that ConTeXt does not? (svg integration comes to mind -- there's been some svg discussion here the last couple of days). From what I know of Framemaker -- structured processing etc, it seems that would be a more a~propos comparison with ConTeXt than

Re: [NTG-context] ConTeXt, Framemaker, and InDesign

2008-06-30 Thread Charles P. Schaum
Framemaker have that ConTeXt does not? (svg integration comes to mind -- there's been some svg discussion here the last couple of days). From what I know of Framemaker -- structured processing etc, it seems that would be a more a~propos comparison with ConTeXt than InDesign. Eventually

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-26 Thread George N. White III
the level of control needed for the difficult cases. SVG is different because much of it is based on a graphics model that resembles PDF. Some SVG documents translate directly to PDF, but others, e.g., markers, may blow up when translated. -- George N. White III aa...@chebucto.ns.ca Head of St

Re: [NTG-context] Exported figures

2011-08-27 Thread Hans Hagen
... \figurefullname can be the converted image (say that we wa ask for an svg .. .it gets converted to pdf then) .. needs a bit of thinking 2. What is the best way to handle multipage pdf images? I frequently create a big pdf with many images and then use \externalfigure[...][page=2] I don't know if svg has

Re: [NTG-context] Simple rings with svg

2012-05-11 Thread Hans Hagen
on the installation page: http://wiki.contextgarden.net/ConTeXt_Standalone#Dependencies for simple minded people like me…as I think my solution will be (if I decide for svg) to batch convert these before launching the context build process. Why? That's exactly what context does in the background. There's

Re: [NTG-context] interesting link

2012-09-18 Thread luigi scarso
is the file name without extension while the other optional arguments are the width and the height in pixels of the image. The format used is BMP on windows and PPM on Linux. save_svg(filename[, w, h]) Save the plot in the given filename in SVG format. Two optional parameters can be given to specify

Re: [NTG-context] Including a large SVG image

2013-06-15 Thread Sander Maijers
My question was in error ... All the time I overlooked the double .svg in the argument to \externalfigure for my last (this) plot. Sorry for the fuss! On 10-06-13 12:37, luigi scarso wrote: On Mon, Jun 10, 2013 at 12:26 PM, Sander Maijers s.n.maij...@student.ru.nl mailto:s.n.maij

Re: [NTG-context] Html to pdf using pragma script

2010-12-20 Thread Anand Raj
Hi, Thank you so much for your prompt reply. I am new to this. my need is to convert the html page to pdf and this html contains svg and mathml content. I have linux environment 1. What are things to be installed to fulfill my need 2. how to convert html -- xml -- pdf using context (may

Re: [NTG-context] Html to pdf using pragma script

2010-12-21 Thread Henning Hraban Ramm
Am 2010-12-21 um 03:12 schrieb Anand Raj: my need is to convert the html page to pdf and this html contains svg and mathml content. I have linux environment 1. What are things to be installed to fulfill my need 2. how to convert html -- xml -- pdf using context (may be the commands

Re: [NTG-context] Handling EMBED tag in Tex

2011-01-06 Thread Anand Raj
Yes. the svg content is not stored in the embed.svg. can you make it? Thanks On Thu, Jan 6, 2011 at 5:28 PM, Hans Hagen pra...@wxs.nl wrote: On 6-1-2011 9:02, Wolfgang Schuster wrote: Am 06.01.2011 um 04:42 schrieb Anand Raj: Hi, I have embed tags in my xhtml can i render it in my pdf

Re: [NTG-context] How to use metauml in ConTeXt

2009-12-01 Thread Renaud AUBIN
in advance. Joshua Best regards, Joshua Hi Joshua, There we use the following chain: - Edit UML diagrams with bouml (a really really great tool to design and for reverse engineering… ) - Export to SVG (take care of the font with qt-config if you want some consistency within your final pdf) - SVG

[NTG-context] Metafun standalone and fonts

2014-09-27 Thread Pol Stra
the TFM file either. I know I can use the: \startMPpage \input myfigure.mp \stopMPpage But the point is I want to generate an svg file, not a pdf. (mpost -s 'outputformat=svg;prologues:=3' --mem=metafun myfigure.mp) Note that with mpost command, it use metafun.mpii, while with mprun

Re: [NTG-context] Metafun standalone and fonts

2014-09-27 Thread Hans Hagen
On 9/27/2014 2:28 PM, Pol Stra wrote: Unfortunately, this only solve half of my problem: this outputs one pdf with all figures, while I try to output all figures in separated svg files. that would not give you the benefits of the context run (fonts and so) ... just use mudraw to convert

Re: [NTG-context] location of old ConTeXt versions?

2015-11-10 Thread Sanjoy Mahajan
was 0.48 and is now 0.91. That affected the conversion from svg to eps of one figure. That I worked around by just using the previously converted eps figure instead of the svg. All the changes above can affect the page and line breaks, but I tweaked a bit until that didn't happen. It does

Re: [NTG-context] WARNING: File path includes directory that doesn't exist

2016-07-31 Thread Aditya Mahajan
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

Re: [NTG-context] Creating SVG: using MetaFun, exporting proper units, conversion to DXF

2017-02-16 Thread Mojca Miklavec
likely be using a proprietary tool, Carbide Create to > drive either a Nomad or a Shapeoko. Now that you brought this topic out of the dead ... I managed to convert the SVG to DXF somehow back then (I'm not 100% sure how exactly, perhaps I was using Inkscape), but it turned out that the con

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Jan U. Hasecke
ce? They start with: http://www.w3.org/2000/svg; xmlns:xlink="http://www.w3.org/1999/xlink; x="0px" y="0px" viewBox="0 0 170.1 170.1" style="enable-background:new 0 0 170.1 170.1;" xml:space="preserve"> .st0{fill:#99BCDB;}

Re: [NTG-context] graphics

2018-12-05 Thread Henri Menke
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. On 12/5/18 6:03 AM, Hans Hagen wrote: > Hi, > > As most mechanism are reasonable okay now we can look into what future > versions of ConteXt should prov

Re: [NTG-context] Label in externalfigures

2020-02-12 Thread Hans Hagen
e.g change from 37° to 41° without reediting it in Inkscape. A similar properties like latex export picture.pdf_tex which is a function in Inkscape I investigate the details manual tip you provided, thanks a lot. you might want to peek into the luametafun manual as svg is discussed

Re: [NTG-context] Quick question about dual output pdf and epub

2020-02-28 Thread Hans Hagen
On 2/28/2020 2:52 PM, Christoph Hintermüller wrote: Second am i right that i have to use also startmode and stopmode to include svg image instead of metapost image in epub or is there some other trick to make metapost image in epub. What would be the keywords to use on wiki search

Re: [NTG-context] Howto metapost textext set or change basepoint (origin) baseline of text

2020-02-20 Thread Christoph Hintermüller
n raw > Thank you very much, that was what i missed to properly get when reading manuals. > (if instead of an eps export you can use svg that can be an > alternative > route) > Yes i know but i want text inside figure to be typeset by context to be able to use all the cool stuff inclu

Re: [NTG-context] metapost: remapping colors of an SVG picture

2020-02-20 Thread Hans Hagen
mtx it works but there is no image in the resulting file. Sorry for digging deeper. I am very thrilled by the idea that I could simply adjust a RGB SVG to well defined CMYK colors with this trick. Can anybody confirm if this works? mf and i are playing with an overload mechanism (actually pre

[NTG-context] upload

2020-02-11 Thread Hans Hagen
as in: \usemodule[gnuplot] \starttext \externalfigure[gpdemo.gp][conversion=svg,width=4cm] \externalfigure[gpdemo.gp][conversion=svg,width=8cm] stoptext a new terminal feature is under investigation by Mojca and me but this is a start - support for ecmascript for those who think thayt javascript

Re: [NTG-context] Label in externalfigures

2020-02-13 Thread Jan-Erik Hägglöf
investigate the details manual tip you provided, thanks a lot. > you might want to peek into the luametafun manual as svg is discussed there, > including label stuff > > what you can also try (with lmtx) is this (no real interface yet): > > \starttext > > \hbox\bgroup &

Re: [NTG-context] running gnuplot failure

2020-03-29 Thread Jan-Erik Hägglöf
y=\\sin(x)$' > set xlabel 'This is the $x$ axis' > set ylabel 'This is the $y$ axis' > > plot [0:6.28] [0:1] sin(x) > ]]) > \stopluacode > > \starttext > >\externalfigure[m-gnuplot-demo.

Re: [NTG-context] Problem including svg files with Inkscape 1.0~rc1-4

2020-04-30 Thread Hans Hagen
On 4/30/2020 5:35 PM, Romain Diss wrote: Hi, Il 30/04/20 14:09, Romain Diss ha scritto: Hi, The last release candidat of Inkscape (1.0~rc1-4 on my Debian sid) doesn't provide the `--export-pdf=` option anymore. So context can not convert svg files into the corresponding `m_k_i_v_*` pdf

Re: [NTG-context] Problem including svg files with Inkscape 1.0~rc1-4

2020-04-30 Thread mf
Il 30/04/20 14:09, Romain Diss ha scritto: Hi, The last release candidat of Inkscape (1.0~rc1-4 on my Debian sid) doesn't provide the `--export-pdf=` option anymore. So context can not convert svg files into the corresponding `m_k_i_v_*` pdf. It seems that the `--export-filename=` option does

Re: [NTG-context] Problem including svg files with Inkscape 1.0~rc1-4

2020-04-30 Thread Romain Diss
Hi, > Il 30/04/20 14:09, Romain Diss ha scritto: > > Hi, > > > > The last release candidat of Inkscape (1.0~rc1-4 on my Debian sid) > > doesn't provide the `--export-pdf=` option anymore. So context can not > > convert svg files into the corresponding `m_k_i_v_

Re: [NTG-context] Emoji color fonts not working on LMTX/Context MKIV

2020-05-20 Thread Jairo A. del Rio
Pablo pointed out the bug in Evince. Sorry too. I've used another PDF viewer and SVG color displays correctly. Thanks. El mié., 20 de may. de 2020 a la(s) 16:32, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > Info from \luatexbanner > > For ConTeXt (LuaTeX): This is LuaTeX

[NTG-context] Problem with gnuplot-module in lmtx

2020-11-25 Thread Christian Prim
ptexttoks } ... \includegnuplotsvgfile[./sin.svg] \resetbuffer[svg-sin-inclusion] The control sequence at the end of the top line of your error message was never \def'ed. You can just continue as I'll forget about whatever was undefined. mtx-context | fatal error: return code: 256 here is the code: gn

Re: [NTG-context] xtable in def or setups

2021-05-18 Thread Werner Hennrich
Hi Adam, no, I hadn't tried that - even tough I had skimmed over that part way back, it now escaped me. \long\def\iconblock[#1]#2{% \ignorespaces *\startembeddedxtable[icbtable]* \startxrow \startxcell[width=17mm] \externalfigure[img/#1.svg][height=15mm,width=15mm

Re: [NTG-context] SVG images inside XML setups

2021-03-09 Thread Hans Hagen
On 3/9/2021 7:29 AM, Thangalin wrote: 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

Re: [NTG-context] No svg file output

2022-03-05 Thread Jan-Erik Hägglöf via ntg-context
It worked, thank you very much. /Jan-Erik > 4 mars 2022 kl. 10:59 skrev Hans Hagen : > > On 3/3/2022 10:54 PM, Jan-Erik Hägglöf via ntg-context wrote: >> Dear list! >> This seems strange, what is wrong? No output from svg-file. >> \starttext >> \startMPcod

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-07 Thread Andres Conrado Montoya
A possible reason for this is that the use of xlink:href, the attribute used to render the text glyphs created by symbol elements in https://wiki.contextgarden.net/images/5/54/layout.svg, has been deprecated since SVG 2.0, as you can see in https://developer.mozilla.org/en-US/docs/Web/SVG

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Thangalin via ntg-context
That's another good idea Heinrich. I certainly could invoke another application to sanitize the SVG, but that brings with it a number of additional problems: Does the user have it installed properly? Is it cross-platform? Additionally, the typesetting code (in Java) would have to be updated

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Jean-Pierre Delange
: \starttext \input tufte \externalfigure[smile.svg][conversion=mp] \stoptext Best//JP Le 12/03/2024 à 15:01, Henning Hraban Ramm a écrit : Am 12.03.24 um 14:53 schrieb seyal zavira: > when i want to put some SVGs in my document the svg does not     render properly here is the c

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
Am 13.03.24 um 13:14 schrieb Jean-Pierre Delange: Hi Hraban & Seyal I can confirm that converting the *.svg file into a *.pdf file displays the colour shades correctly ... (I used Gimp to export the smile.svg file to a smile03.pdf file). Gimp is a really bad choice in this case, s

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
Hraban, Thank a lot for these clarifications ! Jean-Pierre > Le 13 mars 2024 à 13:41, Henning Hraban Ramm a écrit : > > Am 13.03.24 um 13:14 schrieb Jean-Pierre Delange: >> Hi Hraban & Seyal >> I can confirm that converting the *.svg file into a *.pdf file displ

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Henning Hraban Ramm
onversion of TIFF to PDF if you have the converter installed. (Maybe you've had that installed before?) EPS, BMP, GIF, TIFF (and in MkIV, SVG) are only supported via conversion. For EPS you need GhostScript (gs), for SVG Inkscape, and GraphicsMagick (gm convert) for the others.

Re: [NTG-context] Which color model shall I use

2018-10-01 Thread Henning Hraban Ramm
nt] \setupcolors[cmyk=no,rgb=yes] \stopnotmode \startmode[print] \setupcolors[cmyk=yes,rgb=no] \stopmode >> CMYK colors in SVG are difficult (I needed them in 2005, nowadays there’s a >> hardly supported standard for icc profile based colors). >> e.g. >> https://stackoverflo

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Jan U. Hasecke
depended means what? I did this to convert our RGB corporate colors to device depended CMYK: transicc -i sRGB.icc -o Fogra/Iso-whatever.icc But what shall I do with the logo? It is a RGB SVG. Do I understand you correctly that the best would be to ask someone with Indesign to convert it

Re: [NTG-context] Problem including svg files with Inkscape 1.0~rc1-4

2020-04-30 Thread Hans Hagen
On 4/30/2020 3:15 PM, mf wrote: Il 30/04/20 14:09, Romain Diss ha scritto: Hi, The last release candidat of Inkscape (1.0~rc1-4 on my Debian sid) doesn't provide the `--export-pdf=` option anymore. So context can not convert svg files into the corresponding `m_k_i_v_*` pdf. It seems

Re: [NTG-context] Problem including svg files with Inkscape 1.0~rc1-4

2020-04-30 Thread Hans Hagen
On 4/30/2020 3:15 PM, mf wrote: Il 30/04/20 14:09, Romain Diss ha scritto: Hi, The last release candidat of Inkscape (1.0~rc1-4 on my Debian sid) doesn't provide the `--export-pdf=` option anymore. So context can not convert svg files into the corresponding `m_k_i_v_*` pdf. It seems

Re: [NTG-context] [OT] The ISO 32000 Standard (DIS)

2007-12-06 Thread Hans Hagen
? ;-) well , yes or no ? I mean, I don't understand if it's good to have a iso standard of ~PDF 1.7 standard is somewhat dubious if it's a kind of subset of the real thing i.e. it's this encryption stuff and viewer depend thingies that disturb me most; but then, svg (to mention one) is not better

Re: [NTG-context] migrating to ConTeXt

2007-12-22 Thread Jean Magnan de Bornier
Le 22 décembre à 11:01:22 Gour [EMAIL PROTECTED] écrit notamment: | My writing needs are from short simple docs (1--few pages long) over preparing | educational presentations (with handouts) illustrated with graphics (both images SVG) for | seminars (beamer-like) to be used with video

[NTG-context] new mkiv beta

2008-02-26 Thread Hans Hagen
luatex. The advantage is that file searching in lua is more robust (and when many search paths are used, also faster). Image conversion has been moved to lua too, but currently still uses pdftops (also for svg) but that may move to lua as well. Figure libraries are supported by default now

Re: [NTG-context] mplib

2008-03-16 Thread zs
library with many output targets(pdf,svg,png,...) and bindings to different programming languages (including lua!). It can do almost the same things that metapost do. Development version of gnulpot should be able to use cairo library for rendering too. ZS

Re: [NTG-context] mplib

2008-03-16 Thread Mojca Miklavec
about cairo library. (http://cairographics.org/) It's versatile graphic library with many output targets(pdf,svg,png,...) and bindings to different programming languages (including lua!). It can do almost the same things that metapost do. Development version of gnulpot should be able

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-26 Thread mathew
this result is surprising. Unfortunately, it looks as if it's not as general a result as the use EPS rather than PDF for SVG rule. I just tried another document, and that one grew by 90k when I preconverted the PNGs to PDF (again using ImageMagick). So it seems the answer to whether PDF or PNG

[NTG-context] Letter module: signature with externalfigure fails

2011-06-18 Thread Christian
Hello List, I tried to include a signature (tried pdf, svg, png, shipped pictures) in my letter and it always fails. Example taken from correspondence.pdf Version 2010.08.27: \usemodule[letter] \setupletter[signature={\externalfigure[cow][height=2\lineheight]}] \starttext \startletter Thus, I

[NTG-context] Exported figures

2011-08-26 Thread Aditya Mahajan
frequently create a big pdf with many images and then use \externalfigure[...][page=2] I don't know if svg has support for multiple pages or not. Aditya~ ___ If your question is of interest to others as well, please add

Re: [NTG-context] Figure Help

2011-11-08 Thread Willi Egger
Hi, 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. Willi On 8 Nov 2011, at 04:26, Kip Warner wrote: On Fri, 2011-11-04 at 10:32 +0100, Hans Hagen wrote

Re: [NTG-context] \externalfigure and file size

2012-01-19 Thread Kip Warner
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

Re: [NTG-context] \externalfigure and file size

2012-01-20 Thread Wagner Macedo
, but not absolute dependency. 3) Suggests - used to declare that one package may be more useful with one or more others. So, I think Inkscape would fit well as 'context' Suggests. -- Wagner Macedo On 20 January 2012 21:54, Hans Hagen pra...@wxs.nl wrote: no, because not all users use svg (just

Re: [NTG-context] \externalfigure and file size

2012-01-24 Thread Marco
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

Re: [NTG-context] back-up.lua; mtx-epub.lua

2012-06-08 Thread Hans Hagen
. So I tried to sort out the options. filter the first page of the pdf and convert it to svg or png (which is what I did a couple of times) - Hans Hagen | PRAGMA ADE

Re: [NTG-context] lilypond inclusion

2005-09-18 Thread Hans Hagen
Mojca Miklavec wrote: Hans Hagen wrote: newpstopdf --method=crop yourfile.ps (raw crop bounded) just try it -) --method=crop --method=bounded --method=raw How can I crop a PDF document with it? I can do pdf2ps first ... but then? it also supports svg to pdf conversion

Re: [NTG-context] SVG?

2012-07-29 Thread Bill Meahan
On 07/29/2012 04:25 AM, luigi scarso wrote: On Sat, Jul 28, 2012 at 6:33 PM, Bill Meahan wmeaha...@gmail.com mailto:wmeaha...@gmail.com wrote: No, mkiv still uses inkscape. Some time ago I've seen rsvg I've also tried a kind of native support with a lua binding for librsvg, but the rsvg

Re: [NTG-context] ntg-context Digest, Vol 99, Issue 40

2012-09-14 Thread Troy Henderson
/crgb/currentrgbcolor ld/cmyk/setcmykcolor ld/gs/gsave ld/gr/grestore ld But thank you for gave a try. I doubted that it would work, but thought that I would try just the same. It may still be able to be done by converting it to SVG, editing (automagically), and then converting back. If you

Re: [NTG-context] Including a large SVG image

2013-06-05 Thread Sander Maijers
On 05-06-13 15:09, luigi scarso wrote: On Wed, Jun 5, 2013 at 3:06 PM, Sander Maijers s.n.maij...@student.ru.nl mailto:s.n.maij...@student.ru.nl wrote: Hi Luigi, That is a preview window that only works for certain file types. You can download the file, for example by the menu

Re: [NTG-context] Including a large SVG image

2013-06-10 Thread luigi scarso
On Mon, Jun 10, 2013 at 1:04 AM, luigi scarso luigi.sca...@gmail.comwrote: On Mon, Jun 10, 2013 at 12:21 AM, Sander Maijers s.n.maij...@student.ru.nl wrote: Is anybody still interested to look into this issue? I need the graph for my thesis, which is due soon. tomorrow morning

Re: [NTG-context] Including a large SVG image

2013-06-10 Thread Sietse Brouwer
Sander wrote: All graphics except for one gets properly included in my ConTeXt document. Since it's just the one graphic: Luigi, perhaps you could send Sander a copy of the .pdf you produced that didn't show problems? Luigi wrote: $ inkscape --version Inkscape 0.48.3.1 r9886 (Jan 29 2013)

Re: [NTG-context] Overriding pdfview

2013-06-27 Thread luigi scarso
for svg. But instead of give no support at all sometime is better to give some support, if possibile -- for example if it's easy to install a pdf viewer or inkscape. -- luigi ___ If your question is of interest

[NTG-context] Image width in a two-column layout

2013-09-02 Thread Thangalin
It seems that there is a bug with \textwidth and \linewidth inside mixed columns. Minimum working example: % interface=en output=pdftex \definemixedcolumns[StyleColumns][ n=2, separator=rule, align=tolerant, before={\blank[big]},] \setupexternalfigures[ order={svg,pdf,png,jpg

Re: [NTG-context] Creating graphic file instead of PDF

2010-11-20 Thread Vnpenguin
Import your PDF into Inkscape so you get SVG. From this format you can export to PNG at any size. On Sun, Nov 21, 2010 at 07:21, Cecil Westerhof cldwester...@gmail.com wrote: I am making flowcharts with ConTeXt. Because the flowcharts have to be included in other documents, I would like

Re: [NTG-context] Html to pdf using pragma script

2010-12-21 Thread Thomas Schmitz
On Tue, 21 Dec 2010 09:13:00 +0100 Henning Hraban Ramm hra...@fiee.net wrote: Am 2010-12-21 um 03:12 schrieb Anand Raj: my need is to convert the html page to pdf and this html contains svg and mathml content. I have linux environment 1. What are things to be installed to fulfill my need

Re: [NTG-context] Handling EMBED tag in Tex

2011-01-06 Thread Wolfgang Schuster
Am 06.01.2011 um 04:42 schrieb Anand Raj: Hi, I have embed tags in my xhtml can i render it in my pdf. How should I form the .tex file to handle this? embed type='image/svg+xml' align='middle' width='200' height='200' src='/javascript/d.svg' script='initPicture(-.5,5,-.5,5);path

Re: [NTG-context] Handling EMBED tag in Tex

2011-01-06 Thread Anand Raj
)/am*. 2. *embed* to *svg* In the last question in the xml, can find line *embed type='image/svg+xml' align='middle' width='250' height='250' src='/javascript/d.svg' script='initPicture(-10,130,-10,130);stroke=black;fill=gray;strokewidth=1;rect([0,0],[50,40]);rect([50,0],[100,100]);text([50

Re: [NTG-context] nice pictures for the wiki

2011-01-10 Thread Henning Hraban Ramm
box (TeX is part of LuaTeX) - perhaps make that ConTeXt label Mk IV or just IV - perhaps show more input formats (pictures)? - I didn't know LuaTeX can output SVG - perhaps show optional XML output (and even re-input for tagged PDF)? BTW: Nice to see my ex-wife's cooking lion again ;-) There's

Re: [NTG-context] Finite state machine

2011-04-26 Thread Hans Hagen
On 26-4-2011 8:33, Aditya Mahajan wrote: On Tue, 26 Apr 2011, Hans Hagen wrote: On 26-4-2011 7:45, Aditya Mahajan wrote: http://randomdeterminism.wordpress.com/2010/10/09/using-eps-and-svg-images/ but (That is indeed m_k_v_i and not m_k_i_v due to a typo in grph-inc.lua) was fixed

Re: [NTG-context] Metapost animation

2004-09-15 Thread Hans Hagen
in pdf (apart from svg, which is poorly implemented/integrated). Another method is demonstrated in the 'dante XV' presentation (runs slightly faster on a mac than on windows); Hans - Hans

Re: [NTG-context] bib-tex uppercase

2004-11-15 Thread r . ermers
last-days evergreen: title = About {SVG} format, Good night Vit Zyka -- Vít Zýka --- http://typokvitek.com Automatic document typesetting Automaticka sazba dokumentu -- -- ___ ntg-context mailing list [EMAIL PROTECTED] http

[NTG-context] new beta

2005-04-13 Thread Hans Hagen
0.41) you mag give svg to pdf a try concerning on the fly conversion ... i need to make a new manual (or magazine) explaining it first; among the new things is 'typescript definitions in your source file' (makes sense for small typescripts, not for large ones); see cont-sys.rme for a new option

Re: [NTG-context] MetaPost integration: default parameters

2009-11-22 Thread Hans Hagen
to tex ... outlines are ther ebecause of the svg output mode of metapost and so providing access made sense; opentype is another matter Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] pk-directory

2010-03-27 Thread luigi scarso
it into an OpenType font, using FontForge, for example. I'm not sure maybe with mftrace http://lilypond.org/mftrace/ From ff site Different font formats FontForge supports Type1, truetype, opentype, cff, type42, cid-keyed and svg fonts, also bdf and NFNT for bitmaps FontForge will sort-of accept

Re: [NTG-context] Error in ePub script

2015-08-06 Thread Hans Hagen
-epub| 17 images checked, 0 updated, 17 kept, 0 skipped mtx-epub| creating paths in tree 'prd_MBL-epub' mtx-epub| removing 'prd_MBL-epub/OEBPS/styles/prd_MBL-images.css' mtx-epub| checking image 'prd_MBL-export/images/MT-Logo_grau-page-1.svg' - 'prd_MBL-epub/OEBPS

[NTG-context] Error in ePub script

2015-08-05 Thread Henning Hraban Ramm
, 0 skipped mtx-epub| creating paths in tree 'prd_MBL-epub' mtx-epub| removing 'prd_MBL-epub/OEBPS/styles/prd_MBL-images.css' mtx-epub| checking image 'prd_MBL-export/images/MT-Logo_grau-page-1.svg' - 'prd_MBL-epub/OEBPS/images/MT-Logo_grau-page-1.svg' mtx-epub

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-14 Thread Wolfgang Schuster
onTeXt documents (i.e. 'default'). I have requested an external figure in *.svg format (Logo.svg), but the print on the top right shows only these informations : name : Logo.svg file : Logo.svg state : unknown By the way, even if my images are loaded in a ConTeXt subdirectory (as context\ConTeXt-Doc

Re: [NTG-context] vectors instead of embedding fonts

2016-08-15 Thread Pablo Rodriguez
exchange.com/a/127902/10995 > > Cheers, Henri Hi Henri, many thanks for your reply. I really need the vectors to create an SVG cover from the PDF cover. Nothing to do with obfuscation at all. Cheer, Pablo > On 08/15/2016 06:53 PM, Pablo Rodriguez wrote: >> Dear list, >> >

Re: [NTG-context] decomposed and precomposde glyphs

2017-02-23 Thread luigi scarso
m w32tex.org) and the error seems to be gone. ah w32tex.. right. (offtopic) So... can you check if the png/svg backed of mplib in luatex is still available ? -- luigi ___ If your question is of interest to others a

Re: [NTG-context] issue with external image and PDF/A-3a

2017-10-05 Thread Pablo Rodriguez
directly? > > hm, the only reliable way that I know w is to convert it to a flattened png Many thanks for your reply, Luigi. The real graphic is a vector logo and I need to keep it as a vector image. I converted it from a SVG source into a PDF document (years ago). I cannot remember if the v

Re: [NTG-context] handling an external sag file as a text character

2018-10-02 Thread Wolfgang Schuster
: When it is possible to handle an external svg file as a singe character with text, i assume there is someone on the list who could point me to the instructions as how to do that. Thanks Floris ___ If your question

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Martin Althoff
? Sort of like svg is handled through inkscape. Martin > just use context font commands, like > > \tikzstyle{label}=[minimum size=30mm,line > width=2mm,draw=blue!50,align=center, > font=\bfx] > > but i think you can also do more, like > > \tikzstyle{label}=[minimum

Re: [NTG-context] tikz problem with fontsize

2019-09-01 Thread Hans Hagen
of like svg is handled through inkscape. probably but it defeats the idea of having a consisten approachg to fonts Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] beta

2019-10-28 Thread Floris van Manen
On 28-10-2019 19:20, Hans Hagen wrote: > > As a teaser ... it is also possible to embed svg code, as in: > > \startbuffer[svgtest] > >         cx="50" cy="50" r="40" >     stroke="green" stroke-width=&qu

Re: [NTG-context] beta

2019-10-29 Thread Hans Hagen
On 10/28/2019 10:00 PM, Floris van Manen wrote: On 28-10-2019 19:20, Hans Hagen wrote: As a teaser ... it is also possible to embed svg code, as in: \startbuffer[svgtest]         \stopbuffer \startTEXpage     \includesvgbuffer[svgtest] \stopTEXpage \startTEXpage

Re: [NTG-context] beta

2019-10-29 Thread Floris van Manen
.g. it might be that the layers/grouping are dropped by inkscape while importing the pdf. if i export the original svg as a pdf within inkscape, then re-import it again, the layers/grouping are gone too. not urgent, as many other paths exist ;-) .F pEpkey.asc Description: applicat

Re: [NTG-context] Howto metapost textext set or change basepoint (origin) baseline of text

2020-02-20 Thread Hans Hagen
endMPcode or startMPpage stopMPpage after replacing simple draw ... by draw textext( You can append a palcement suffix, like: textext.dflt you can try: lft rt bot top ulft urt llft lrt d dflt drt origin raw (if instead of an eps export you can use svg that can be an alternative route

<    1   2   3   4   5   6   >