:
local source = addsuffix(cssextra[i],"css")
local target = joinfile(stylepath,basename(source))
while for reference, context is using:
result[#result+1] = replacetemplate(csspreamble, { filename = cssfile })
extras[#extras+1] = replacetemplate(cssheadlink, { filename =
e 97, subpage 97
pages > flushing realpage 98, userpage 98, subpage 98
close source> level 2, order 3, name
'D:/Lukas/Jobs/Chrastany-D5.4-RDS/SO_201/t.mkiv'
close source> level 1, order 3, name
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
s
ont?
>
> Hi Gerben!
>
> Sometimes ConTeXt can’t find the subfonts in TTCs, e.g.:
>
> $ mtxrun --script fonts --list --all --pattern=Gill
> identifierfamilyname fontname filename
> subfont instances
>
> gillsans
here:
>
> /System/Library/Fonts/Supplemental/GillSans.ttc
>
> What should I do to be able to use that font?
Hi Gerben!
Sometimes ConTeXt can’t find the subfonts in TTCs, e.g.:
$ mtxrun --script fonts --list --all --pattern=Gill
identifierfamilyname f
ds more consistent.
OTOH I can understand you don’t want to bloat your module.
> Another option is to write the external files as valid tex file (i.e., with a
> \startTEXpage .. \stopTEXpage wrapper), and when defining the filtercommand,
> use something like `context --environment=env fi
e1.pgf
> t-filter > output file : tikztemp/example1.pgf.pdf
> ...
> system > 13: filename=img/example1.pgf foundname=img/example1.pgf
> fullname=.../img/example1.pgf usedmethod=direct
>
> Looks like ConTeXt can find the file, but the filter module
filter> current filter : tikzThick
t-filter> base file : example1.pgf
t-filter> input file : img/example1.pgf
t-filter> output file : tikztemp/example1.pgf.pdf
...
system > 13: filename=img/example1.pgf foundname=img/example1.pgf
fullname
if there is an error?
You can try:
context --nodummy filename
which will not generate the "error" pdf. However, if the error was such that
context had to abort the run, then no valid PDF will be generated. You cannot
have the previous PDF untouched because context sta
=20pt]}}
{some offset}
\startMPcode
draw lmt_svg [
filename =
"../hammingCoderStopwatch-hammingCoder-gcc-RowsSparse-1023-1013.svg"
];
setbounds currentpicture to
it with some trial
and error but the next seems to work:
\let\PackageError\writestatus
so I'll add something like that to m-tikz.mkiv
after all that I get this:
PGFPlots: reading {mfe-addplot.dat}
pgfplots> Sorry, could not retrieve column 't' from table
'\\pgfplotstableread@filename
> Am 04.12.2020 um 10:04 schrieb Hans Hagen :
>
> On 12/4/2020 8:02 AM, Axel Kielhorn wrote:
>>> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster
>>> :
>>>
>>> The following example shows the output of all commands:
>>>
>>> \starttext
>>> \starttabulate [|T|T|]
>>> \NC \type{\jobname}
On 12/4/2020 8:02 AM, Axel Kielhorn wrote:
Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster
:
The following example shows the output of all commands:
\starttext
\starttabulate [|T|T|]
\NC \type{\jobname} \NC \jobname \NC\NR
\NC \type{\jobfilename} \NC \jobfilename
> Am 01.12.2020 um 18:23 schrieb Wolfgang Schuster
> :
>
> The following example shows the output of all commands:
>
> \starttext
> \starttabulate [|T|T|]
> \NC \type{\jobname} \NC \jobname \NC\NR
> \NC \type{\jobfilename} \NC \jobfilename \NC\NR
> \NC
On 12/1/2020 6:55 PM, Otared Kavian wrote:
Hi Wolfgang,
Thank you for your explanations: I am wondering whether this kind of
information could go into the wiki, and if yes what would be an appropriate
title for that page (of course I'll do it).
However the two commands
\inputfilesuffix
Hi Wolfgang,
Thank you for your explanations: I am wondering whether this kind of
information could go into the wiki, and if yes what would be an appropriate
title for that page (of course I'll do it).
However the two commands
\inputfilesuffix
\jobfilesuffix
put inside the file « myfile.tex
Otared Kavian schrieb am 01.12.2020 um 18:10:
Thanks Hraban, this might be also useful and I'll keep it somewhere on my mind,
but for the project I was asking my question \jobname is enough.
Best regards: Otared
On 1 Dec 2020, at 17:33, Henning Hraban Ramm wrote:
Am 01.12.2020 um 16:20
Thanks Hraban, this might be also useful and I'll keep it somewhere on my mind,
but for the project I was asking my question \jobname is enough.
Best regards: Otared
> On 1 Dec 2020, at 17:33, Henning Hraban Ramm wrote:
>
>
>
>> Am 01.12.2020 um 16:20 schrieb Otared Kavian :
>>
>> Thanks
> Am 01.12.2020 um 16:20 schrieb Otared Kavian :
>
> Thanks Tomás! Indeed \jobname does the job :-)
In case you need the current component file in a project environment:
\currentcomponent
Hraban
___
If your
Thanks Tomás! Indeed \jobname does the job :-)
Best regards: Otared
> On 1 Dec 2020, at 15:25, Tomas Hala wrote:
>
> Hi Otared,
>
> try \jobname.
>
> Best wishes,
>
> Tomáš
>
>
> Tue, Dec 01, 2020 ve 02:45:18PM +0100 Otared Kavian napsal(a):
> # Hi everyone,
> #
> # I have to typeset a
Hi Otared,
try \jobname.
Best wishes,
Tomáš
Tue, Dec 01, 2020 ve 02:45:18PM +0100 Otared Kavian napsal(a):
# Hi everyone,
#
# I have to typeset a few files which get each an input file named in a certain
way. For instance, a file named « myfile.tex » in which another file named «
Hi everyone,
I have to typeset a few files which get each an input file named in a certain
way. For instance, a file named « myfile.tex » in which another file named «
myfile-buffer.tex » is used as an \input file, as in
% content of myfile.tex
%
\starttext
This is a test.
\input
> Am 24.11.2020 um 22:38 schrieb Wolfgang Schuster
> :
>
> Jannik Voges schrieb am 24.11.2020 um 22:24:
>> Hello,
>> as the title suggested, I get an error when using spaces in the argument of
>> \startproduct. For example typesetting
>> \startproduct{f
Jannik Voges schrieb am 24.11.2020 um 22:24:
Hello,
as the title suggested, I get an error when using spaces in the argument
of \startproduct. For example typesetting
\startproduct{foo bar}
You can have a filename with a space use
\startproduct [foo bar]
but you don't even need
Dear list,
I have this sample:
\setupinteraction[state=start]
\starttext
\def\cB{file.pdf}
\def\cC{file with spaces.pdf}
%~ \def\PathName{\cldcontext{[[\env{completepath}]]}}
\def\PathName{%
\cldcontext{string.gsub([[\env{completepath}]], "", "/")}}
no
ctures for ConTeXt Wiki
filename
reference
owner
comment
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
___
Dear list,
I have the following sample:
\starttext
\ctxlua{ context.setvariable("environment", "filename", "abc123") }
\ctxlua{ c = context.getvariable("environment", "filename") or "a" }
\ctxlua{ d = [[\env{filename}]]
correctly. So, it appears to be an issue with font name to
filename mapping.
I'll try a clean install on a docker image and check it that works ... or just
wait for the newer version, which often fixes such things :-)
there have been no fundamental changes, but the names of these liber*
fonts change
pt
and it works correctly. So, it appears to be an issue with font name to
filename mapping.
I'll try a clean install on a docker image and check it that works ... or just
wait for the newer version, which often fixes such things :-)
Aditya
__
fonts --list --pattern="LibertinusSerif" --all
identifier familyname fontname
filename subfont instances
libertinusserif libertinusserif libertinusserif
libertinusserif-regular.otf
libert
'LibertinusMath' has no files for the
> > 'tf' alternative, Latin Modern is used instead.
> >
> >
> > I can find the fonts using mtxrun --script fonts. For example:
> >
> > $mtxrun --script fonts --list --pattern="LibertinusSerif" --al
familynamefontname
filename subfont instances
libertinusserif libertinusserif libertinusserif
libertinusserif-regular.otf
libertinusserifdisplaynormal libertinusserifdisplay
has no files for the 'tf'
alternative, Latin Modern is used instead.
I can find the fonts using mtxrun --script fonts. For example:
$mtxrun --script fonts --list --pattern="LibertinusSerif" --all
identifier familynamefontname
Hi,
> On 7 Sep 2020, at 22:05, Andres Conrado Montoya
> wrote:
>
>
> Hello list. I'm trying to call a direct glyph from the Phaistos font, but it
> seems it doesn't work. The font is loaded, the log file says it so:
>
> system > 12: filename=/home
Hello list. I'm trying to call a direct glyph from the Phaistos font, but
it seems it doesn't work. The font is loaded, the log file says it so:
system > 12: filename=/home/vantta/.fonts/Phaistos.otf
format=otf foundname=/home/vantta/.fonts/Phaistos.otf
fullname=/home/vantta/.fo
hould be able to copy and adapt to your needs. There are lot of things which can be improved in your example. 1. Pass the filename of the component/product to \startcomponent and not some dummy name (or just use *), this allows you to print the filename with \currentcomponent or \currentproduct
the filename of the component/product to \startcomponent and not
some dummy name (or just use *), this allows you to print the filename
with \currentcomponent or \currentproduct
2. Use \setvariables or \setupdocument to set the document title,
revision etc.
3. Use \startsectionblockenvironment to move
)
font.vbs=$(font.base)
command.1.$(file.patterns.context)=cmd /c context $(FileNameExt) && start
sumatraPDF $(FileName).pdf -reuse-instance
The last line of SciTEGlobal.properties is
import myproperties
This works ok for me.
Greetings Lutz
Am 30. Juli 2020 03:57:26 MESZ schrieb
; requested is hardcoded or is some other callback invoked which can then
> > provide some tokens?
> >
> > Marcel
>
> first line on console was already gone (only the filename gets pushed into
> the input because tex forces an input
I think this is a misunderstanding. I was
was already gone (only the filename gets pushed
into the input because tex forces an input
anyway, read/write channel zero are for the terminal
Hans
-
Hans Hagen | PRAGMA ADE
Thank you all.
No modes, no funniness in the environment file.
The test case works (Acroread/properties shows the Title, Author,
Subject, and Keywords fields). However, my real case does get the other
fields (Author, Subject, and Keywords) but contains in the Title field
the filename
> xmp > using file
'/Users/janneman/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 18, userpage 18, subpage 18
close source> level 2, order 5, name './labels3.tex'
close source> level 1, order 5, name 'cont-y
Hello All!
In the page https://wiki.contextgarden.net/Labels
<https://wiki.contextgarden.net/Labels>
I’ve tried with no success to run those examples given at the page. The error
complaint as the log shows below
return {
["filename"]="./labels3.tex",
["las
TeXt/Test/IsMacDef3.mkiv'
close source> level 1, order 3, name
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system > start used files
system > text: IsMacDef3
system > stop used files
system > start used files
syst
lts. Would it be
possible by a magic trick to deleter the last line of the file ?
It is possible to filter lines using `\typefile[range={start,
stop}]{filename}`. You can use `range={1,3}` to only include lines 1 upto 3 or
`range={1, +2}` to include line 1 followed by 2 lines. What you want is
someth
suppose you wanted to use the image defined as part of
> `\startchapter` as the background image of the _current_ page, then you
> could access the value of the \structureuservariable. For example,
>
> \startchapter[title=whatever][image=filename]
>
> \structureuservariable{image}
ave to worry about it. See
https://wiki.contextgarden.net/System_Macros/Key_Value_Assignments#Multi-pass_data
for more details.
Now, suppose you wanted to use the image defined as part of `\startchapter` as
the background image of the _current_ page, then you could access the value of
the \struct
>>>it=file:OptimaNovaLTPro-MediumIta.otf,
>>>bf=file:OptimaNovaLTPro-Bold.otf,
>>>bi=file:OptimaNovaLTPro-BoldIta.otf,
>>> ]
>>
>> will work.
>>
>> selectfont > the requested font 'Optima Nova' has no files for the 'tf'
>> alternative,
file:OptimaNovaLTPro-MediumIta.otf,
>>bf=file:OptimaNovaLTPro-Bold.otf,
>>bi=file:OptimaNovaLTPro-BoldIta.otf,
>> ]
>
> will work.
>
> selectfont > the requested font 'Optima Nova' has no files for the 'tf'
> alternative, Latin
sy because already reads the first line of the document
> for special setting (e.g. the engine) but anything which is set in the
> document requires more work because you don't know the new name *before*
> LuaTeX or LuaMetaTeX create the PDF.
You don’t need to know the
lose source> level 1, order 6, name
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system > start used files
system > text: ColsRuleOn~
system > stop used files
system > start used files
system >1: filename=char-pr
On Thu, 21 May 2020, Hans Hagen wrote:
On 5/21/2020 10:43 AM, Aditya Mahajan wrote:
On Thu, 21 May 2020, Aditya Mahajan wrote:
Hi,
`context --purgeall filename` behaves differently from `context
--purgeall`.
`context --purgeall` deletes all files with the name `*-temp-*`. I would
have
On 5/21/2020 10:43 AM, Aditya Mahajan wrote:
On Thu, 21 May 2020, Aditya Mahajan wrote:
Hi,
`context --purgeall filename` behaves differently from `context
--purgeall`.
`context --purgeall` deletes all files with the name `*-temp-*`. I
would have thought that `context --purgeall filename
On Thu, 21 May 2020, Aditya Mahajan wrote:
Hi,
`context --purgeall filename` behaves differently from `context --purgeall`.
`context --purgeall` deletes all files with the name `*-temp-*`. I would have
thought that `context --purgeall filename` will delete all files with the
name `\jobname
Hi,
`context --purgeall filename` behaves differently from `context --purgeall`.
`context --purgeall` deletes all files with the name `*-temp-*`. I would have
thought that `context --purgeall filename` will delete all files with the name
`\jobname-temp-*` but it does not.
Is there a way
t-type=pdf --export-filename/')
Then make sure the shell script is executable:
chmod +x /usr/bin/inkscape
This produces the expected results:
graphics> inclusion > checking conversion of 'genealogy-sm',
fullname 'images/genealogy-sm.svg', old format 'svg', new format
'pdf', con
Il 19/05/20 20:50, Thangalin ha scritto:
Minor correction:
\startluacode
figures.programs.inkscape={
command="inkscape",
pdfargument=[[
"%oldname%"
--export-dpi=600
--export-type=pdf
--export-filename="%newname%"
]],
pngargument=[[
Minor correction:
\startluacode
figures.programs.inkscape={
command="inkscape",
pdfargument=[[
"%oldname%"
--export-dpi=600
--export-type=pdf
--export-filename="%newname%"
]],
pngargument=[[
"%oldname%"
--export-dpi=600
$ inkscape --version
Inkscape 1.0 (4035a4fb49, 2020-05-01)
Pango version: 1.44.7
With the new release of Inkscape, --export-pdf no longer exists. The
new options appear to be:
--export=type=pdf
--export=pdf-version=1.5 (or 1.4)
--export-filename=filename.pdf
Aditya has shown a work
[title={Sample document}]
\startparagraph
This is a paragraph
\stopparagraph
\startmycommand
This is mycommand
\stopmycommand
\stopsection
\stoptext
```
If I compile using `context --trackers=structures.tags filename`, I get
```
backend > tags > U+0031:1 =>
This is a paragraph
\stopparagraph
\startmycommand
This is mycommand
\stopmycommand
\stopsection
\stoptext
```
If I compile using `context --trackers=structures.tags filename`, I get
```
backend > tags > U+0031:1 => U+0031:1 : 4 document>1 section>1
s
1, order 3, name
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system > start used files
system > text: EnvHome
system > stop used files
system > start used files
system >1: filename=char-prv.lua filetype=tex form
s > flushing realpage 1, userpage 1, subpage 1
close source> level 2, order 3, name
'd:/Lukas/ConTeXt/Test/EnvHome/EnvHome.mkiv'
close source> level 1, order 3, name
'd:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system > start use
Floris van Manen schrieb am 03.05.2020 um 00:20:
At present the ibmplexmonothin font is seen by the mtxrun script
mtxrun --script fonts --list --all --pattern=ibmplexmonothin*
identifier familynamefontnamefilename
subfont instances
ibmplexmonothin
At present the ibmplexmonothin font is seen by the mtxrun script
mtxrun --script fonts --list --all --pattern=ibmplexmonothin*
identifier familynamefontnamefilename
subfont instances
ibmplexmonothin ibmplexmono ibmplexmonothin
/home/vm/.local/share
not
convert svg files into the corresponding `m_k_i_v_*` pdf.
It seems that the `--export-filename=` option does the job.
Thank in advance.
The command line syntax has changed in version 1. See this:
http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
So it's --export-filename
.
The command line syntax has changed in version 1. See this:
http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
So it's --export-filename in Inkscape 1.00, and --export-pdf in previous
versions.
If the conversion you need is done by
tex/texmf-context/scripts/context/ruby/graphics
into the corresponding `m_k_i_v_*` pdf.
It seems that the `--export-filename=` option does the job.
Thank in advance.
The command line syntax has changed in version 1. See this:
http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
So it's --export-filename in Inkscape 1.00, and --export-pdf
*` pdf.
> The command line syntax has changed in version 1. See this:
> http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
>
> So it's --export-filename in Inkscape 1.00, and --export-pdf in previous
> versions.
> If the conversion you need is done by
> tex/t
that the `--export-filename=` option does the job.
Thank in advance.
The command line syntax has changed in version 1. See this:
http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
So it's --export-filename in Inkscape 1.00, and --export-pdf in previous
versions.
I tried
that the `--export-filename=` option does the job.
Thank in advance.
The command line syntax has changed in version 1. See this:
http://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
So it's --export-filename in Inkscape 1.00, and --export-pdf in previous
versions.
I tried
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
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 the job.
Thank in advance.
--
Romain Diss
on) across a two-page
> spread, such that there is no gap.
You need to use \clip and calculate the sections.
Thangalin already gave you an example. Here’s a convoluted one that I use:
% full double page image
% usage:
% \startpostponing[pagenumber]
% \doublepagefig[reference][left/right/width/he
{2}{1}]{%
\externalfigure[filename][
width=2\paperwidth,
height=.5\paperheight]%
}%
}%
On Wed, Apr 29, 2020 at 5:05 PM jbf wrote:
>
> Hi list,
>
> With 99% of work complete on a book, including single page images, I now find
> myself confronted with
p=NAME
>create component file
> -p NAME, --product=NAME, --prd=NAME
>create or set product file
> -j NAME, --project=NAME, --prj=NAME
>create or set project file
> -e NAME, --environme
reate component file
-p NAME, --product=NAME, --prd=NAME
create or set product file
-j NAME, --project=NAME, --prj=NAME
create or set project file
-e NAME, --environment=NAME, --env=NAME
create or set environment file
>> helveticaneuedeskinterfaceheavy
>>> /System/Library/Fonts/HelveticaNeueDeskInterface.ttc 10
>>> helveticaneuethinitalic helveticaneue
>>> helveticaneuethinitalic /System/Library/Fonts/Helvetica
>
> If the subfont is not listed, ConTeXt/mtxrun couldn’t find it and won’t find
> it regardless of your setup.
>
> Try
> mtxrun --script fonts --reload --force
> maybe even twice or thrice and check again.
> (Unfortunately this is not reliable.)
>
> I get t
regardless of your setup.
Try
mtxrun --script fonts --reload --force
maybe even twice or thrice and check again.
(Unfortunately this is not reliable.)
I get the full list:
identifier familyname fontname
filename
>>>> mtxrun --script=fonts --list --all --pattern=Optima
> >>>
> >>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list
> --all --pattern=optima
> >>> identifier familyname fontname filename
>
amm wrote:
>>>>
[...]
>>>> What do you get from
>>>> mtxrun --script=fonts --list --all --pattern=Optima
>>>
>>> hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all
>>> --pattern=optima
>>> identifier
;>>>> https://wiki.contextgarden.net/Font_Switching
>>>>>
>>>>>> What do I need to do to get actual bold and italics in my output?
>>>>>
>>>>> \bi == \bf\it
>>>>>
>>>>> Or by
t?
>>>>
>>>> \bi == \bf\it
>>>>
>>>> Or by "actual bold" you mean something different?
>>>
>>> Yes, in my output everything is regular, there is no bold or italics text,
>>> even when I use \bf or \it
>>
ypically located at $HOME/.vim/vimrc (note that the filename
does *not* start with a dot, only the directory's name does).
Good ConTeXt typesetting in Vim!
Nicola
___
If your question is of interest to other
es, in my output everything is regular, there is no bold or italics text,
>> even when I use \bf or \it
>
> What do you get from
> mtxrun --script=fonts --list --all --pattern=Optima
hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all
--pattern=optima
identifier
, but it
works. It reads the array from /PrintPageRange, deploying it in
context.filterpages.
\startluacode
function document.printrange_from_file(filename)
range_array =
pdfe.open(filename).Catalog.ViewerPreferences.PrintPageRange
for i=1,#range_array do
file_page = range_array[i
code.
What I would like to do is not have to edit the .tex file when I want to
process another .xml file but just pass the name of the xml file on the command
line. And I would like to pass on a second filename with some local overrides
settings fr my code. All of this needs to be data that I ca
ept it
> would only have one ‘view’ in it and the rest removed.
Or you could write out a shell script while processing the run.
function moduledata.archimate(filename)
local root = xml.load(filename)
warnIfVerbose( "Processing %s", filename)
local shfile = io.open(tex.jobname
t; warn( "STRING.FORMAT TeX-ed \"%s\"", tmpString)
> warn( "STRING.FORMAT Replaced \"%s\"", lpeg.replacer(rep):match(tmpString))
> return lpeg.replacer(rep):match(tmpString)
> end
>
> function warnAndConTeXt( ...)
> warn( ...)
rep):match(tmpString)) return lpeg.replacer(rep):match(tmpString)endfunction warnAndConTeXt( ...) warn( ...) context( ...)endfunction moduledata.test( filename) local labelString context( "The string to typeset is:\\par\\type-{Label} \"a\" [Text]!-") context( "\\par The att
;>
>> Basically, the approach is now something like this:
>>
>> TeX: calls Lua code with \ctxlua{filename}
>> Lua: context.startMPpage
>> Lua: read XML. String in XML in filename read by Lua
>> Here we know the dimensions in which the string must be typeset and
; TeX: calls Lua code with \ctxlua{filename}
> Lua: context.startMPpage
> Lua: read XML. String in XML in filename read by Lua
> Here we know the dimensions in which the string must be typeset and wrapped
> around because that is also in the XML
> Lua: A context() call contains METAPO
I have a string with double quotes that needs to become a text in a box in
METAPOST. METAPOST is used to create an image consisting of boxes and
connections.
Basically, the approach is now something like this:
TeX: calls Lua code with \ctxlua{filename}
Lua: context.startMPpage
Lua: read XML
gt;> wrote:
>>
>> Hi All!
>>
>> When I invoke this command
>>
>> \startMPcode
>> picture p ; p := lmt_svg [ filename ="pil.svg" ];
>> draw p;
>> \stopMPcode
>>
>> I get weird results, the arrowhead points in wr
> On 17 Mar 2020, at 15:51, Jan-Erik Hägglöf wrote:
>
> Hi All!
>
> When I invoke this command
>
> \startMPcode
> picture p ; p := lmt_svg [ filename ="pil.svg" ];
> draw p;
> \stopMPcode
>
> I get weird results, the arrowhead points in wron
Il 17/03/20 15:51, Jan-Erik Hägglöf ha scritto:
Hi All!
When I invoke this command
\startMPcode
picture p ; p := lmt_svg [ filename ="pil.svg" ];
draw p;
\stopMPcode
I get weird results, the arrowhead points in wrong direction and is very
tiny compared to the size it was mea
Hi All!
When I invoke this command
\startMPcode
picture p ; p := lmt_svg [ filename ="pil.svg" ];
draw p;
\stopMPcode
I get weird results, the arrowhead points in wrong direction and is very tiny
compared to the size it was meant to have.
Here is the .svg code from the saved fil
g setup:
\starttext
\startMPdefinitions (or inclusions, no difference)
% ApplicationComponentLogo is defined here with a vardef
\stopMPdefinitions
\ctxlua{foo(“filename”)}% produces a series of
%context.startMPpage { in
tions (or inclusions, no difference)
% ApplicationComponentLogo is defined here with a vardef
\stopMPdefinitions
\ctxlua{foo(“filename”)}% produces a series of
%context.startMPpage { instance =
"doublefun” }
On 2/20/2020 10:29 AM, Jan U. Hasecke wrote:
Am 18.02.20 um 19:24 schrieb Jan U. Hasecke:
Am 18.02.20 um 19:17 schrieb mf:
Il 18/02/20 19:07, Jan U. Hasecke ha scritto:
Am 18.02.20 um 14:53 schrieb Hans Hagen:
\setupcolors[rgb=no]
\startMPcode
draw lmt_svg [ filename = "sampl
201 - 300 of 1623 matches
Mail list logo