Thank you Rik, \wordright is exactly what I was looking for.
Best regards,
Massi
Il giorno lun, 16/11/2015 alle 09.34 -0500, Rik Kabel ha scritto:
> On 2015-11-16 07:40, mass...@fastwebnet.it wrote:
> > Sorry, there was a typo in my previous email.
> > The last example should look like this:
> >
al-sizes-ws.pdf
Description: Adobe PDF document
%D \module
%D [ file=type-imp-ebgaramond,
%Dversion=2016.05.02,
%D title=\CONTEXT\ Typescript Macros,
%D subtitle=Garamond Premier Pro,
%D author=MF,
%D date=\currentdate,
%D copyright={PRAGMA ADE \&
Tested with my setup, which -- you know -- is quite complex.
This is the only error:
lua error > lua error on line 6 in file
/home/massi/context/latest/tex/texmf-
context/tex/context/base/mkiv/cont-yes.mkiv:
...est/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:1398:
image.ownerpasswo
> >
> Do you get the same error message with the following minimal example:
>
> \starttext
> \externalfigure[figure]
> \stoptext
>
Yes, of course, same error; BTW, the pdf i'm using is not password
protected.
___
Hello list,
please consider these XML snippets:
some text
some textblah blahsome other text
now apply these CSS selectors to them:
e ~ f matches all
e + f matches the first and the third
There's no CSS selector to match ONLY the third.
But i have a use case for that: sometimes i have endno
> make a (real) minimal example and we'll see what can be done
>
Here it is:
\startbuffer[test]
In this paragraphfirst footnoteendnote
strictly
following a footnote (no other XML nodes between them)
a footnote marker and an endnote marker are at the same point in the text;
in the XML
> With \xmltag{#1} one can find the identity of the current node. But
> how can I find the tag of the parent node?
>
> dr. Hans van der Meer
>
\xmltext{#1}{../tag()}
___
If your question is of interest to others as
My 2 cents:
local xmlflush = lxml.flush
local function text_or_xml(...)
for i,v in ipairs(arg) do
if "table" == type(v) then
xmlflush(v)
else
context(v)
end
end
end
function xml.functions.heading(t)
text_or_xml( "\\section{" , t , "}" )
end
Massimiliano
Il giorno
What is the difference between \startpar and \startparagraph?
Are these two equivalent?
Blah blah blah.\par
\startpar Blah blah blah.\stoppar
Is \startpar ... \stoppar only more XML-like and TaggedPDF oriented?
Thanks in advance,
Massimiliano
__
Hello list,
i'm trying to add a smallcaps variant to the MyriadPro font, since it
does not implement the smcp opentype feature.
My strategy:
- "transplant" the uppercase letters of the MyriadPro-Regular into the
lowercase letters of the same font with a font fallback that scales down
the gly
Il 03/10/18 16:02, Hans Hagen ha scritto:
ok, even nicer:
\definefontfallback[FakeSansCaps] [SansEmboldened]
[0x-0x] [rscale=.8,method=uppercase]
which will remap all lowercase in the font so that you also get accented
characters
Yes, for this case it makes more sense us
\starttypescriptcollection [myriadpro]
\definefontfeature[emboldened][effect={width=0.18,delta=0.4,factor=0.3}]
\starttypescript [sans] [myriadpro]
\definefontsynonym [Sans]
[file:MyriadPro-Regular.otf] [features=default]
\definefontsynonym [SansItalic] [file:MyriadPro-
Il 04/10/18 14:11, Hans Hagen ha scritto:
On 10/4/2018 1:44 PM, Taco Hoekwater wrote:
Hi,
ok, even nicer:
\definefontfallback[FakeSansCaps] [SansEmboldened]
[0x-0x] [rscale=.8,method=uppercase]
which will remap all lowercase in the font so that you also get
accented char
In Debian, evince has the same problem (ugly preview); instead
qpdfview preview is OK.
maybe some aliasing option?
evince (ugly) uses cairo, qpdfview (good) uses qt.
Zooming out the preview becomes uglier, but
- evince emboldens too much
- qpdfview shifts the emboldened glyphs downward
_
Hello list,
sometimes ConTeXt moves the (would-be) last line of a page to the next
page, even when there's room for it at the bottom of a page, before the
footnotes.
Sometimes i understand why it does so: when the line contains a footnote
that would increase the footnotes' height, for example
Hello list,
the ConTeXt git mirror at
https://github.com/contextgarden/context-mirror is out of sync.
Does anybody know why?
Thanks in advance, best wishes,
Massimiliano
___
If your question is of interest to ot
The git mirror is now synchronized again.
Many thanks to the people who fixed it.
Massimiliano
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
Hello list,
the effect of \mirror in latest beta looks extended to the following
content in the page.
It seems a bug in the \mirror macro or another bug that is reflected in
\mirror (forgive the pun).
Massimiliano
% (the following brace is a modified version of one posted by Wolfgang)
\start
A much simpler example:
\starttext
\ConTeXt\ version: \contextversion.
A paragraph with a mirrored \mirror{word} inside.
Another paragraph.
\stoptext
mirror-not-ok.pdf
Description: Adobe PDF document
mirror-ok.pdf
Description: Adobe PDF document
___
Sorry for the mistake in the subject: the bug is in the latest beta of
November, 18th.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://w
In my setup, i have an index of names:
\defineregister[Nome][...]
The indexing of names can be toggled with a mode: --mode=AddNames
The setup is something like this:
\startmode[AddNames]
\Name[key]{term}\xmlflush{#1}
\stopmode
\startnotmode[AddNames]
\xmlflush{#1}
\stopnotmode
I noticed t
Hello list,
i always use the "Commands" manual a lot to retrieve information about
the parameters and options of ConTeXt commands.
The manual is built from the .xml files in the
tex/texmf-context/tex/context/interface
directory.
Since those files are organized by topic, is it possible to gen
Hello list,
i noticed that setting a different kerning breaks some features of
opentype fonts; that is true, for example, for ligatures and fractions
(frac feature).
It looks like a modified kerning inserts something between two adjacent
character, making them no more adjacent.
That way the
An example of local correction, but it's not automatic:
\definecharacterkerning[narrow][factor=-.02]
\definecharacterkerning[wide][factor=.02]
\definefontfeature[frac][frac=yes]
\def\Narrow#1{\bgroup\setcharacterkerning[narrow]#1\egroup}
\def\Wide#1{\bgroup\setcharacterkerning[wide]#1\egroup}
\
character kerning is bad anyway ...
I'm using it to get a paragraph one line shorter or longer, or to tune
what in TeX is set with \parfillskip.
I'm using ConTeXt with a mindset developed on other typesetting
softwares. That's not right, i know, but for now i'm finding easier to
work with c
But i should consider all the text parts with a modified kerning and
disable kerning around character sequences like "ff", "ffi", "fl" and
so on. Luckily, the XHTML markup "knows" where the kerning is modified:
A paragraph with a modified kerning
should become
A paragraph with a modified ke
did you play with
\definefontfeature[whatever][keepligatures=auto]
\definecharacterkerning [extrakerning] [factor=0.125,features=whatever]
\starttext
\setcharacterkerning[extrakerning]
effe fietsen
\stoptext
Great! Thanks! This now works:
\definefontfeature[frac][frac=yes]
\defin
I agree with Willi.
Kind regards,
Massimiliano
Il 30/01/19 13:50, Willi Egger ha scritto:
Hi,
here my humble personal thoughts:
I would say, that the multicolor version is dissecting the word ConTeXT to
unidentifiable crumbles. It is to my taste to less connected to typesetting,
herewith a
Dear list,
how can i read the current values of \lefthyphenmin and \righthyphenmin?
TIA,
Massimiliano
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
BTW \startsidebar ... \stopsidebar stopped working too.
Massimiliano
Il 23/02/19 21:58, Hans Hagen ha scritto:
On 2/23/2019 5:10 PM, Rik Kabel wrote:
With the following example, I get:
...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238:
attempt to call upvalue 'imgwrap' (a nil v
Hello list, please consider this MWE:
\definenumber[p]
\setnumber[p][1]
\def\PageLeft{ p.~}
\def\TextCommand#1{\getnumber[p]
#1\doif{\rawcountervalue[p]}{2}{\def\PageLeft{ P.~}}\incrementnumber[p]}
\setupindex[n=1,pageleft=\PageLeft,pageright=,textcommand=\TextCommand]
\starttext
Foo\index{foo}
Hello list,
in this MWE the columns are not aligned at the bottom, and they are not
at the bottom of the page:
\definevspacingamount[myBlank][5pt plus 5pt minus 2pt][5pt plus 5pt
minus 2pt]
\starttext
\showgrid
\startmixedcolumns[n=2,balance=yes]
\dorecurse{2}{\input knuth \blank[myBlank]}
An
./first-setup.sh --engine=luatex --modules=all
downloads ok, but then
.../tex/setuptex gives this error:
"/home/massi/context/latest/tex" is not a valid TEXROOT path.
(There is no file
"/home/massi/context/latest/tex/texmf/tex/plain/base/plain.tex")
provide a proper tex root (like '. setuptex
find tex -name plain.tex
finds nothing; there's no "plain" dir under ./tex/texmf/tex/
Massimiliano
Il 14/05/19 11:39, Henning Hraban Ramm ha scritto:
Am 2019-05-14 um 11:34 schrieb mf :
./first-setup.sh --engine=luatex --modules=all
downloads ok, but then
.../tex/setuptex g
Now it works again. Thanks!
Massimiliano
Il 14/05/19 12:29, Mojca Miklavec ha scritto:
Something broke with svn updates of TeX Live.
I'm looking into it.
Mojca
___
If your question is of interest to others as well,
Hello list,
i've played a bit with interfaces.definecommand, that lets you define
TeX macros from lua (see the "ConTeXt Lua Documents", 7.3 User interfacing).
I found that the commands defined by interfaces.definecommand fail when
you pass string arguments that contain brackets.
I think cldf
Hello list,
i'd like having an object representation of a typeset paragraph or even
a page, preferably as a JSON object, but a Lua table is equally good.
My reference is section "4.4 Node lists" of the CLD manual.
Before writing an iterator over the list of nodes of a paragraph,
figuring out
Il 29/08/19 16:33, Henning Hraban Ramm ha scritto:
\setuppagenumbering[
alternative=doublesided,
]
\starttext
\startstandardmakeup[align=center]
bastard title
\stopstandardmakeup
\startstandardmakeup[page=left]
\vfill
imprint
\stopstandardmakeup
\stoptext
\setuppagenumbering[
alter
\setuppagenumbering[
alternative=doublesided,
]
% use pagestate=start on both makeups only if you want the title page
% to be the page 1 of the book
\definemakeup[title-page][align=middle,doublesided=no]
\definemakeup[imprint][align=top,page=no]
\starttext
\startmakeup[title-page]
bastard t
\starttext
\define\question{44}
\startluacode
-- see "ConTeXt Lua Documents" manual, §7.4 Looking inside
local question = tokens.getters.macro("question")
-- it's up to you to verify that \question contains a number
-- better using the userdata table for your data
userdata.points = tonumber( que
The answer is in lxml-lpt.lua, where built-in expressions are defined.
You need a good knowledge of LPEG that i miss.
Some built-in expressions get the current element as first argument,
like count() or child() (lines 1300-1307 of lxml-lpt.lua):
expressions.child = function(e,pattern)
retu
Hello,
i'm using XML and i find useful specifying a fraction made of text this way:
text for numerator/text for denominator
With some lua, i can transform it into
\frac{\text{text for numerator}}{\text{text for denominator}}
which typesets something like this:
text for numerator
l:b
{\bf \xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:fraction
\xmlfunction{#1}{textfraction}
\stopxmlsetups
\starttext
\xmlprocessbuffer{main}{text}{}
\stoptext
Il 07/10/19 18:26, mf ha scritto:
Hello,
i'm using XML and i find useful specifying a fraction made of text this
way:
text
Hello list,
is there a way to place only one single entry of a register, or a
selection of entries?
I looked into strc-reg.mkiv and strc-reg.lua and i would answer "no,
it's not possible".
I could hack strc-reg.lua and define a command to do that, but maybe a
better solution is already there.
Hello list,
is there a better way to interlace overbraces and underbraces like this?
\starttext
These are the expressions to combine:
$$\overbrace{a+b+c}+d \quad a+\underbrace{b+c+d}$$
This is the desired result:
$$\overbrace{a+b+c}+d \kern-16mm\underbrace{\hbox to 15mm{ }}$$
\blank
{\tfx(the
Il 23/11/19 14:18, Henning Hraban Ramm ha scritto:
Am 2019-11-23 um 13:18 schrieb luigi scarso :
another link:
https://coko.foundation/
https://coko.foundation/product-suite/
or merely https://pubsweet.coko.foundation
Thank you for the hint, sounds interesting and like the thing I always wa
Il 23/11/19 13:02, Henning Hraban Ramm ha scritto:
Am 2019-11-23 um 08:12 schrieb Mojca Miklavec
:
Then you can use one of the online JS editors like CKeditor.\
Only if you spend an enormous amount of effort making sure that
the code is properly cleaned up rather than containing a gazillion
Il 22/11/19 08:43, Jan U. Hasecke ha scritto:
Am 20.11.19 um 18:10 schrieb Henning Hraban Ramm:
Hi!
I’m running ConTeXt on my web server e.g. to generate shipping forms for a
customer.
As Hans said, it makes sense to use an asynchronous setup; in my case it’s
celery/RabbitMQ behind Django.
Hello list, is there a way to achieve this?
\def\FlushRightFromNextLine{\relax}
\setupnarrower[left=0cm,right=11cm]
\setupalign[stretch]
\starttext
This is what I'd like to type in my source:\par
\blank
\type{This is the text of an index term, that is normally justified,
but I'd like the page num
This is a good-enough solution to my problem:
\setupalign[stretch]
\starttext
\def\Text{This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line}
\def\Pages{34, 57, 101-104, 276, 345, 401, 403, 512.}
\type{\
Il 11/12/19 21:25, Wolfgang Schuster ha scritto:
\starttext
\startbuffer
This is the text of an index term, that is normally justified,
but I'd like the page numbers to be flushed to the right from
their second line\par
\startalignment[flushright]
\ifdim\dimexpr\hsize-\lastlinewidth\relax>2\emwi
Hello list,
\setuplayout[marking=on] typesets crop marks that are in grayscale black.
Can I change their color, in particular into a CMYK black (0,0,0,1.0)?
Thanks,
Massi
___
If your question is of interest to other
Il 19/12/19 18:07, Henning Hraban Ramm ha scritto:
Am 2019-12-19 um 16:41 schrieb mf :
Hello list,
\setuplayout[marking=on] typesets crop marks that are in grayscale black.
Can I change their color, in particular into a CMYK black (0,0,0,1.0)?
There’s no parameter, and I don’t understand
There is no option to change the color for the rules and the only option
you have is to use color conversion.
\setupcolors[cmyk=yes,rgb=no]
I do have this setup, but it produces grayscale crop marks.
I was told by two different printshops that grayscale raises problems
with recent versions
This is a dirty hack to change the color of the crop marks and the page
number at the corner of a page when \setuplayout[marking=on].
Edit the file:
tex/texmf-context/metapost/context/base/mpiv/mp-crop.mpiv
in the distribution, changing two lines:
- (here i'm reproducing only the last par
Il 20/12/19 20:04, Rik Kabel ha scritto:
MkIV fails with
tex error > tex error on line 3 in file
c://Users/micro/Desktop/fail.tex: ! Missing \endcsname inserted
given the following mwe:
\starttext
a
\blank[\lineheight]
z
\stoptext
Not critical as there are lots
Il 22/12/19 22:19, Rik Kabel ha scritto:
List,
Is there a way in ConTeXt to adjust the left-side kern for one
character? The cap J in the font I am using is being set too close to
the preceding characters and I would rather not insert a thinspace
before each. (Inserting a thinspace is suffici
Il 11/02/20 17:00, Hans Hagen ha scritto:
Hi,
I uploaded a fresh lmtx. There is some new stuff in there:
I'm a little bit confused about versions.
1) GIT MIRROR
The last commit in the branch "beta" is 2020-01-26 18:37:00.
I've seen no update since your "upload" message (the one i'm replyin
if you fetch from the web site you need to use /latest as we no longer
have lpha, beta current ... maybe somthing got messed up in the git
sync, i don't know
The git mirror is in sync again.
Thanks to anybody working on it.
Best wishes,
Massi
__
Hello list,
I tried this:
\starttext
\startMPcode
picture p ; p := lmt_svg [ filename = "sample.svg" ] ;
draw p ;
color black_rgb ; black_rgb := ( 0, 0, 0 ) ;
color red_rgb ; red_rgb := ( 1, 0, 0 ) ;
remapcolor( black_rgb, red_rgb ) ;
recolor p ;
draw p shifted ( bbwidth(p) + 5mm, 0) ;
\stopM
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 = "sample.svg" ] ;
\stopMPcode
I get this error.
! Not implemented: (unknown numeric)=(string).
]
<*> ... ; p := lmt_svg [ filename = "sample.
Is there not a simple place to get all the up-to-date documentation?
If you install ConTeXt from
http://www.pragma-ade.nl/install.htm
in the installation tree you'll find docs under
tex/texmf-context/doc/context/documents/
There you'll always find the docs at their last revision.
Massi
__
In your tex file, try this:
\startluacode
settings = {}
docstruktur = {}
doclistfile = "doclist.xml"
local striplines = utilities.strings.striplines
local xmltext= xml.text
cropstring = function(s)
-- return striplines(s, "prune and collapse")
return striplines(s)
end
doc = xml.load(do
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 meant to have.
Ke
Il 19/03/20 11:20, Fabrice Couvreur ha scritto:
Hi,
this file did not pose any problems but today yes.
Thank you.
Fabrice
\starttext
\startluacode
local letters_1 = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J" }
local letters_2 = { "1", "Année", "1998", "1999", "2000", "2001", "2002",
"200
Il 05/04/20 15:00, Jairo A. del Rio ha scritto:
I'm writing a project in ConTeXt MKIV and I want to load some (pure) Lua
libraries and bindings (defining \ctxlua and the like). For instance, I
have the file foo.lua with some macros and I want to use them in my
project. Something like this:
\s
Hello list,
this MWE is a simplified version of a real case:
\startuseMPgraphic{cell:triangle}
path p ; p := unittriangle rotated 90 xscaled 2.5 OverlayWidth
yscaled 2.5 OverlayHeight ;
draw p withcolor red ;
\stopuseMPgraphic
\defineoverlay[triangle][{\uniqueMPgraphic{cell:triangle}}]
\sta
NSION (an offset that is both horizontal and vertical)
- a "frame": what does it mean? (I looked into pack-rul.mkiv, with no
results)
Massi
Il 11/04/20 20:11, Wolfgang Schuster ha scritto:
Hans Hagen schrieb am 11.04.2020 um 19:41:
On 4/11/2020 4:15 PM, mf wrote:
Hello list
Or maybe a method in MP to set the bounding box of the resulting overlay?
setbounds in combination with leftenlarged, topenlarged etc.
Thanks Wolfgang, this is the kind of solution I was looking for:
\startuseMPgraphic{cell:triangle}
path p ; p := unittriangle rotated 90 xscaled 2.5 Overlay
Hello list,
I started a topic in Pandoc discussions (see
https://github.com/jgm/pandoc/discussions/10208) about custom styles in
pandoc tables.
This is the framework:
- in Pandoc, some textual elements have a "custom-style" attribute,
whose value becomes the name of a paragraph or characte
probably got lost when my mail address was in transition
I sent you some mails during that period that were not answered.
I thought it was a retaliation for not presenting anything at the meeting :)
Anyway I'll prepare an article on running ConTeXt inside a container
that could eventually end
It looks like the argument of \getmarking is not expanded, since you get
"\it knuth" instead of an italicized "knuth" in the headers of this MWE:
\definemarking[myheader]
\setupheadertexts[{\getmarking[myheader][last]}]
\starttext
\dorecurse{10}{\samplefile{knuth}\marking[myheader]{\it knuth}\
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto:
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.
Here it's wrong. See attachment.
Massimiliano
Il 18/10/21 18:30, Hans Hagen via ntg-context ha scritto:
On 10/18/2021 6:06 PM, mf via ntg-context wrote:
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto:
The following MWE fails to render the text in the attached SVG pro
Il 18/10/21 18:30, Hans Hagen via ntg-context ha scritto:
On 10/18/2021 6:06 PM, mf via ntg-context wrote:
Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto:
The following MWE fails to render the text in the attached SVG properly:
\starttext
\externalfigure[test.svg][conversion=mp
\definepapersize[a4-portrait][A4][A4]
\setuppapersize[a4-portrait]
\setuplayout[topspace=10mm,backspace=15mm,header=50pt,footer=50pt,textwidth=165mm,height=middle,width=middle]
\starttext
\offset[x=\dimexpr11mm\relax,y=\dimexpr23mm\relax]
{\framed[frame=on,offset=none,align=flushleft]
{% per
Hello list,
here's a MWE to shrink the distance between two lines:
\starttext
\samplefile{ward}\par
\blank
\bgroup
\baselineskip=0pt
\samplefile{ward}\par
\egroup
\stoptext
How can I get lines closer, even overlapping?
Massi
__
Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext
>
> \samplefile{ward}\par
>
> \blank
>
> \start \setupinterlinespace[line=12pt]
> \samplefile{ward}\par
> \stop
>
> \stoptext
Yes, but you can't say \setupinterlinespace[line=6pt] and make lines
overlap. At a certain point baselines don
Il 18/12/21 13:00, Wolfgang Schuster ha scritto:
\definefontfeature [tightlines] [dimensions={*,0,0}]
\starttext
\samplefile{ward}\par
\blank
\start
\setupinterlinespace[line=5pt]
\definedfont[Normal*default,tightlines]
\samplefile{ward}\par
\stop
\stoptext
Thanks Wolfgang.
Hello,
I'm trying to add new templates (xmlsetups) from the XML document itself.
See the attached MWE.
- the XML document is a simple XHTML file
- in the "head" element there's a "script" element with the "type"
attribute set to "text/vnd.context", whose contents are then passed to
\xmlcontex
e style="margin: 0em;">
\xmlsetsetup{\xmlfirst{\xmldocument}{body}}{p|i}{myHtml:*}
</pre><tt>but it doesn't work, since \xmldocument seems to be the actual document
</tt><tt>instead of an id pointing to its root element.
</tt><pre style=&q
I prefer this one:
--
\startxmlsetups myHtml:i
{\it\blue\xmlflush{#1}}\relax
\stopxmlsetups
--
You need to end the line with a macro eating up all the trailing spaces
(newlines included).
Massi
Il 22/03/22 15:23, m
run by ConTeXt
- redefine xmlsetups from the HTML document itself
Massi
Il 22/03/22 17:07, mf via ntg-context ha scritto:
</pre><blockquote style="border-left: #EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">
I've added a &l
Hello list,
I need to modify the kern between two glyphs.
This is a MWE where the problem is solved manually:
--
\mainlanguage[it]
\starttext
Default: «Questo è successo nel ’48».
Desired: «Questo è successo nel ’\kern-.1em 48».
\stoptext
-
Il 05/04/22 13:15, Thomas A. Schmitz via ntg-context ha scritto:
On 5. Apr 2022, at 13:02, mf via ntg-context wrote:
Is it possible to solve it globally and only for a single font?
Thanks,
Massi
Have you looked at chapter 5.4 “Goodies” of fonts-mkiv.pdf? That should get you
started
Il 05/04/22 13:54, Hans Hagen via ntg-context ha scritto:
On 4/5/2022 1:45 PM, mf via ntg-context wrote:
It's defined in typo-fkr.lua, but I can't understand what parameters
to pass and whether it's the right macro. It looks like it's not.
look at the extension examples in
There's a problem with oldstyle glyphs, because they have different
codes inside a font.
I used fontforge to find the "four.oldstyle" glyph, whose code is 0xf734.
But then I discovered that the 'four.oldstyle' key works the same in the
lua table.
This is the updated MWE, suitable for oldstyle
Hello list,
I just added some instructions to the WIKI to build an extension file
for VSCode, starting from the code you find in the LMTX installation at
tex/texmf-context/context/data/vscode/extensions/context
You find them at
https://wiki.contextgarden.net/VSCode
Massi
___
I'm downloading it and I see a lot of mkii files and even some Ruby files.
It looks like some old material got into the update. Is everything right?
Massi
Il 09/05/22 17:41, Hans Hagen via ntg-context ha scritto:
Hi,
I uploaded a new version of lmtx (also because some users have to test
some
See HTML-tidy,
https://www.html-tidy.org/
it could help you pre-processing your HTML files.
Massi
Il 16/05/22 17:08, Pablo Rodriguez via ntg-context ha scritto:
Dear list,
I would like to feed
https://seumasjeltzz.github.io/LinguaeGraecaePerSeIllustrata/001.html as
XML input for ConTeXt.
Th
Is this what you mean?
\starttext
Hello\footnotetext{Footnote without mark}.
\stoptext
Kind regards,
Massi
Il 18/05/22 07:55, Zhichu Chen via ntg-context ha scritto:
Hi everybody,
After some attempts to put footnotes in a mixed 1&2 columns layout, I
decide to put marks in the one-column env
Il 16/11/22 18:33, Thomas A. Schmitz via ntg-context ha scritto:
\startbuffer[test]
This is the first test
22/11/16
This is the second test
22/11/17
This will be the content of the first chapter.
This works:
local metadata = xml.filter (t, '../../topics/topic[@t:id=="' .. ch_id
.. '"]')
also this:
local lpath = string.format('../../topics/topic[@t:id=="%s"]', ch_id)
local metadata = xml.filter (t, lpath)
It looks like xml.filter supports only 2 arguments (see lxml-tex.lua),
and so
latest ConTeXt 2022.12.15 18:12:
mkiv lua stats > resource resolver: loadtime 0.009 seconds, 0 scans
with scantime 0.000 seconds, 0 shared scans, 107 found files, scanned
paths:
mkiv lua stats > stored bytecode data: 507 modules (0.346 sec), 106
tables (0.023 sec), 613 chunks (0.369 sec)
The old version is 2020.04.26 19:53, not 2020-04-22
___
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-con
Il 18/12/22 14:49, Hans Hagen via ntg-context ha scritto:
On 12/18/2022 2:14 PM, mf via ntg-context wrote:
> ...
So we gained a lot in the meantime.
mkiv lua stats > loaded fonts: 27 files: lmmono10-regular.otf,
texgyrepagella-math.otf, dejavusansmono.ttf, gfsneohellenic.otf,
fi
\setupitemgroup
[fooditems]
[each]
[none,text]
[textseparator={,}]
Comma is used to separate options; if you don't use braces, it means
that the textseparator is set to the empty string.
Massi
Il 27/02/23 12:33, Jan-Erik Hägglöf via ntg-context ha scritto:
I tested the code a
I would try \setuptabulate, \starttabulate ... \stoptabulate.
It has some limitations (though Hans added some features recently), but
it should work.
Massi
Il 24/02/23 06:41, jbf via ntg-context ha scritto:
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2]
\set
Hello,
the github repo at https://github.com/contextgarden/context-mirror
is not updated since March 20th.
I don't know whether it's related to the server update, but maybe you know.
BTW thank you Taco, Jules and Robbert for your work.
Massi
Il 11/04/23 22:42, Taco Hoekwater via ntg-context h
Hello,
here's the error I get:
lua error : function call:
...si/context/lmtx-latest/tex/texmf-linux-64/bin/mtxrun.lua:4548: bad
argument #2 to 'lpegmatch' (string expected, got nil)
BTW I was trying to compile lowlevel-expansion.tex in
tex/texmf-context/doc/context/sources/general/manuals/lo
101 - 200 of 204 matches
Mail list logo