Hi Pablo (and others),
On Wed, 2024-06-12 at 18:42 +0200, Pablo Rodriguez wrote:
> Is there any way in which regular wiki contributions may help in
> removing the accounts or at least all the pages generated with these
> accounts?
I also don't have deletion privileges, but I went through the rece
Hi,
On Tue, 2024-06-11 at 11:38 +, hdanielhix...@gmail.com wrote:
> There is a LaTeX package called citation-style-language, backed by
> some software called citeproc-lua. The github page for the software is
> here: https://github.com/zepinglee/citeproc-lua
> I'm just wondering if there is mo
Hi Hraban,
On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote:
> when I define a measure on the TeX side, I used to get at the value in
> Lua with tex.getdim, like:
>
> \definemeasure[Bleed][3mm]
>
> tex.getdimen("Bleed")
>
> But now I get "incorrect dimen name".
> I need it as a dimensi
Hi Aditya, Jim,
On Fri, 2024-03-15 at 01:53 +0100, Aditya Mahajan wrote:
> On Thu, 14 Mar 2024, Jim wrote:
> > were you hoping the ConTeXt distribution would ship its own
> > pgfutil-context.def, or were you hoping that someone could convince Henri
> > to put the RGB change in?
>
> We can patch so
Hi all,
I've had a few patches applied to my installation for a little while
now, so I figured that I should send them in. There's a diff at the end
of the email, and the modified files are attached [but rejected by the
mailing list, so sent separately to Hans]
* In the definition of "featurecre
Hi Hans, Mikael,
On Wed, 2024-03-13 at 13:06 +0100, Hans Hagen wrote:
> On 3/13/2024 12:26 PM, Mikael Sundqvist wrote:
> > I can confirm that it works over \alignhere. Hans is doing some black
> > magic, but I guess he did not want to show off by including the whole
> > line.
> Indeed, no need to
Hi Hans,
On Tue, 2024-03-12 at 15:21 +0100, Hans Hagen wrote:
> the next upload will support the attached ... so no ugly hacky code needed
"\texthere[inbetween]" looks perfect, thanks!
The "\definebar[...][inlined]" doesn't look quite right though -- the
issue that I'm having is that I can't fig
Hi all,
Often I want to include a sentence/paragraph in the middle of a long
multipart formula. With the old \startalign/\stopalign formulas, I could
use \intertext{...} to do this, but this doesn't work with the new
\alignhere/\breakhere formulas. I've managed to find a "solution" for
this, altho
Hi Aditya,
> For some reason, there is an extra \relax written to file after
> `\the\numexp\clf_lastypos\relax` (there is no such relax after
> `\the\numexpr\clf_lastxpos\relax`). The test.pgf file is:
>
> \macro {A}{23930350}{43358454.0\relax } \macro {B}{39564274.0\relax
> }{14083538}
>
> An
Hi Julian,
> I am attempting to get a TOC that looks like the following (in other
> words with section titles and their relative page numbers in a block
> below the chapter):
> Has
> anyone put together a TOC of this kind and might be able to give me a
> hint to follow?
This is fairly clos
I'm on mobile now so I can't type out a complete solution, but I think that
what you're looking for is in this file:
https://github.com/gucci-on-fleek/unnamed-emoji/blob/master/documentation/unemoji-manual.mkxl
It doesn't exactly do what you specifically asked for, but I think that it's
pr
On Sat, 2023-07-08 at 08:38 +0200, Mikael Sundqvist wrote:
> David kindly made available
>
> https://texlive.net/run?context
>
> to start with a minimal context file.
There's also
https://live.contextgarden.net/
which is pretty much the exact same thing. Not very up to date though:
Hi Hans,
In lpdf-emb.lmt, there's a commented-out definition of
lpdf.registerfontmethod that I'd like to use. I've uncommented this in
my installation and it's worked pretty well for me, so can you please
uncomment/enable this by default in the distribution?
If you want further background, this i
Hi Hans,
I've been using the SVG->MP converter and I've found a few bugs. Most of
the bugs are with "weird" SVG input, but I have no control over the
input, and the metadata on most of the files shows that it was exported
from Adobe Illustrator which is (unfortunately) quite popular. I've
tested a
Hi Dave,
> How would you instruct ConTeXt to "protect" the lettrine such that
> regardless of whether the first paragraph spans multiple lines, a short
> first paragraph will still prevent the second paragraph from overlapping
> the lettrine?
> Here's the output I'm looking to achieve:
>
> https
Hi all,
I think that this is all resolved now, but if not, maybe this extra info
will help?
I'm using this script to test:
#!/bin/sh
for x in \
"https://speed.cloudflare.com/__down?bytes=$(echo '50*1024^2' | bc)" \
"https://speedtest1.mnd.bulk.iss.as9143.net:8080/random50
Hi Peter,
> My .tex file is in a directory within my working directory. I would like
> ConTeXt to write its output in the same directory as my .tex file. But it
> writes to the working directory.
>
> This was asked 10 years ago:
> `tex.stackexchange.com/questions/67928/how-to-set-output-directo
Hi Hans,
I tried using the code from [1] for Noto Emoji in COLRv1 format [2]:
\startTEXpage
\definefontfeature[colored][default][colr=9]
\definedfont[Noto-COLRv1.ttf*colored] 🦆 % U+1F986
\stopTEXpage
but ConTeXt gives the following error:
fonts > otf loading > l
Hi,
> Any ideas on how to force that setting without modifying grph-con.lua?
This seems to work:
\startluacode
function figures.converters.svg.pdf(oldname, newname)
figures.programs.inkscape.runner {
format = "filename",
resolution = "600",
crop
Hi Lynx,
> Today, I created a separate "user command" within TeXstudio, and it
> points to "/usr/local/ConTeXt_Standalone/context-linux-64/bin/mtxrun"
> This command generates the same log output as the example at
> https://gitlab.com/islandoftex/images/texlive/-/issues/30.
This is probably no
Hi Hans,
With the LuaMetaTeX-based ConTeXt wrapper, it's not generally possible
to run ConTeXt from a symlinked binary in another directory. This shows
up if someone makes symlinks in "/usr/bin" so that they can avoid adding
anything to their $PATH.
If you make run a symlink to the LuaMetaTeX-bas
Hi Lynx,
> * How can I be sure that the standalone version is the one being
> implemented?
It depends on what your $PATH is set to. On Linux/macOS, you can run
$ type -ap context
to list all the ConTeXts in your $PTAH. The first one in that list is
the one that will be ran by default
Hi Hans,
> I actually dont' know the rules for updating texlive but there are
> definitely updates.
The rules are:
- Packages and formats are updated about 24 hours after a new version
is uploaded to CTAN.
- Binaries are only updated once-per-year.
But there are also some special case
Hi Lynx, Aditya,
> > New to conTeXt, have not performed a specific update prior to this.
> >
> > My conTeXt installation is part of TeXlive-2023 (under Linux OS). Will
> > the updates to ConTeXt be handled by tlmgr ?
>
> No. Usually, texlive updates context once a year.
This is correct in g
Hi Carlos,
I think that you may be installing the old ConTeXt MkIV distribution
instead of the new ConTeXt LMTX. ConTeXt LMTX doesn't distribute
"texlua" at all, and runningÂ
"./install --modules=all" doesn't make sense with LMTX (since the
installer can't install modules).
From what link did you
Hi Hans,
This test file:
\setupdirections[bidi=global,method=one]
\starttext
\hbox{$\varepsilon$-TeX}
\stoptext
gives the following error:
callback error:
...ext/tex/texmf-context/tex/context/base/mkxl/typo-duc.lmt:618: attempt to
index a nil value (local 'before')
s
Hi Xavier,
On Sun, 2023-04-02 at 11:00 +, Xavier B. wrote:
> Max, when I use context minimals, I get:
>
> modules > 'pgfrcs' is not found
> modules > 'pgfmat' is not found
> modules > 'tikz' is loaded
> open source > level 3, order 4, name
> '/home/xan/bin/context
Hi Hans,
> it is more side effect of removing the (declared obsolete some years
> ago) `` '' input which catched it later
>
> i tend to remove
>
> for k, v in next, ligaturemapping do
> hash[k] = v
> end
>
> in favor of an explicit 'tquo' feature that one can enab
Hi Xavier,
> During the texlive package, I get this error:
> I simply run context to this file:
>
> \usemodule[tikz]
>
> \starttext
> {\bf a} \tikz (0,0) -- (1,0);
> \stoptext
> So, the problem is not the package or the distro, it's something more
> basic which causes the error.
Someone else r
Hi Hans,
"characters.tex.toutf" only works if there is a backslash somewhere in
its input string. This leads to some really surprising behaviour in the
following example:
\definefontfeature[default][tlig=no, trep=no]
\startbuffer[test-bib]
@article{one,
author = {``Author---\v
Hi Denis,
> The floats where jumping around, appearing in a different order than
> in the source file
Tables and figures can appear in different orders than each other, and a
top float could appear at the top of the page that it is mentioned, but
if you ever see Figure 2 before Figure 1 or a flo
Hi Paul,
> I added a stanza to the appropriate interface file:
>
> --- begin stanza added to i-database.xml ---
>
> I modeled that after the stanza for the argument `strip`. I think
> that's the only thing I need to do in the interface file.
I'd recommend completely ignoring the interface i-*.x
Hi Hans,
There's an uncommented linebreak in the definition of
\pack_framed_text_start that's introducing an unwanted space just before
\startframedtext.
Minimal example:
\showmakeup[space]
\starttext
\hbox{.\startframedtext.\stopframedtext}
\stoptext
Patch:
--- texmf-contex
Hi Jethro,
> I am interested in being able to cite in different ways. By analogy, I
> refer to the \texcite{}, \parencite{} and other options available with
> biblatex in LaTeX. How do I achieve something like \textcite{} in
> ConTeXt?
Page 34 of the publications manual lists the various styles:
Hi Hans,
> what you observe is likely a side effect of an increase in accuracy
> which gives a bit less drift in the pdf; expansion is turned off (it
> would increase runtime if turned on)
It's not just in the PDF though, I can also see the change from Lua.
Using this document:
\showframe
Hi Jan,
> Why is there an additional space after the thousand separator in math mode?
Because something like
${\mathbb N} = \{1,2,3,4,\dots\}$
would look quite bad without any space between the numbers.
(The technical reason is that commas have the math class \mathpunct,
meaning that T
Hi Steffen,
> But how can I adjust in general the horizontal distance between glyphs
> (I don't mean \kern, I am looking for a general setup)?
You probably want \definecharacterkerning. See
https://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf#page=171
for details on how to use it.
-- M
Hi Hans,
Font expansion (hz) seems to be enabled by default with the latest
upload.
If I compile this document locally with ConTeXt "2022.11.18 13:22":
\showframe
% \definefontfeature[default][default][expansion=quality]
% \usetypescript[modern-base]
% \setupbodyfont[reset,moder
Hi,
> I want to simulate \hss in lua end in ConTeXt/luametatex environment.
> For example,
>
> ```ConTeXt
> a{\raise 1.5ex\hbox to 0pt{\hss b}}c
> ```
> And in lua, I do as follows(part of my app seen in attachment):
Your code doesn't compile as is. I think that this is the same thing
though:
Hi Hans,
Using node.setglue in LuaMetaTeX sets all of the glue components to
zero.
This example:
\startluacode
local stretch_order = "stretch_order"
local shrink_order = "shrink_order"
if status.luatex_engine == "luametatex" then
stretch_order = "stretchorder"
Hi Hans,
> Anyway, I'll check it. Is anyone still using this "true" actually?
I've been playing around with LuaMetaLaTeX/LuaMetaPlain recently
https://github.com/zauguin/luametalatex
and plain.tex uses truein for typesetting the footnote rule. It's trivial
to fix that specific case, but
Thanks,
-- Max
-- >8 --
From 69f186daa9b3bf53697e6edf1bd9b066d64b35fe Mon Sep 17 00:00:00 2001
From: Max Chernoff <49086429+gucci-on-fl...@users.noreply.github.com>
Date: Wed, 26 Oct 2022 23:45:19 -0600
Subject: [PATCH] Fix scanning of "true" units
---
source/tex/texscanning.c | 2 +-
1 file changed, 1 inse
Hi Hans,
> i'll bypass that warnign when the mode is zero
I saw that you made that change in the latest upload, thanks.
Unfortunately, I'm still getting the same output:
luatex warning > linebreak: list seems already prepared
luatex warning > linebreak: [ leftinit | rightinit | leftfill
Hi Hans,
When running in \normalizelinemode=0, the \parinitleftskip and
\parinitrightskip nodes are either nonexistant or invisible from Lua,
causing tex.linebreak to not work correctly.
This sample file:
\enabledirectives[system.callbacks.permitoverloads]
\normalizelinemode=0
On Fri, 2022-10-14 at 16:38 -0600, Alan Braslau wrote:
> On Fri, 14 Oct 2022 16:33:12 -0600
> Max Chernoff wrote:
>
> > Do you know how to rebuild the format? I've tried the following to no
> > avail:
> >
> > --script mtx-context
>
> I believe that y
Hi Alan,
On Fri, 2022-10-14 at 16:20 -0600, Alan Braslau wrote:
> On Fri, 14 Oct 2022 15:38:52 -0600
> Max Chernoff via ntg-context wrote:
>
>
>$ context --luatex test.tex
>mtx-context | redirect luametatex -> luatex: luatex --luaonly
> "/opt/c
Hi Pablo,
> I’m afraid that I cannot make latest from 2022.10.14 10:16 with LuaTeX.
>
> I’m on Linux64.
I've got the same configuration and I'm getting the same results:
$ context --luatex test.tex
mtx-context | redirect luametatex -> luatex: luatex --luaonly
"/opt/context/tex/texmf
Hi Joel,
> When I use the code given, it compiles and displays fine. But when I
> try replacing \everypar with \EveryPar, it halts during compiling
It looks like \EveryPar is a macro and not a token list.
> These both work great, but do that for the whole document? Is there a
> way to restrict it
Hi,
> The angle function doesn't appear to provide the same calculation as
> my atantwo in all cases.
They both give the same results, but "angle" gives a result in degrees
while "atantwo" gives a result in radians. This demo:
\startMPpage
vardef atantwo( expr dy, dx ) =
sa
Hi,
> How is atan2 called? I rolled my own as follows:
> Is atan with two parameters supposed to behave like atan2?
At mp-math.mpxl:167 there is:
vardef atan primary x = angle(1,x) enddef ;
The MetaPost manual says:
The angle operator takes a pair and computes the two-arg
On Wed, 2022-10-12 at 13:14 +0200, Leah Neukirchen wrote:
> > Seeing that you're modifying the font encoding, could you perhaps
> > reconsider supporting hinting in LMTX?Â
> >
> >https://mailman.ntg.nl/pipermail/ntg-context/2022/106311.html
> >
> > Even with a high resolution screen, I can st
Hi Gavin,
On Wed, 2022-10-12 at 15:54 -0600, Gavin wrote:
> Hi Max, Alan, Bruce, Hans, et.al
>
> I solved my four issues with \unit spacing. In the process, I
> prevented unwanted line breaks and removed an overzealous backspace
> before division symbols. Below is a MWE that shows all of these
>
Hi Leah,
> > Leah and I are zooming in on the issue. It might relate to wrong font
> > matrix default behavior in the pdf printer driver, and GS got a fix
> > for that long ago, so maybe old printers with not-updated drivers can
> > be affected.
> >
> > Once we're confident that we can catch it L
Hi Joel,
On Mon, 2022-10-10 at 12:46 +, Joel wrote:
> Hello Max,
> It is preferred if the solution is just three lines per paragraph,
> rather than some content parallel to the text
A Lua callback solution:
\startluacode
-- Constants
RULE_OFFSET= tex.sp "1em"
RUL
Hi Tommaso,
> I'm trying to install ConTeXt Standalone on my Mac (macOS 12.6 Monterey and
> Apple M2 chip) but at the end of the installation the ConTeXt-MkIV folder
> (where I install Standalone) on the disk weighs only 7MB (the tex tree is
> created, but its folders are empty).
> I've never had
Hi Joel,
> I'd like to add some area for readers to write in the margins of some
> text. This would leave three lines, like this to the right of the
> text.
Is it okay if there are rules continuously down the right column? If so,
this is fairly simple to do with layers/backgrounds + MetaFun.
If
Hi Alan,
> I would very strongly argue that the space between the number and the
> following units be UNBREAKABLE. Perhaps a thin space (preference), but
> most certainly non-breakable.
>
> Similarly around the times in scientific notation.
>
> I further cannot imagine that a line break be accep
Hi all,
> I use LuaMetaTeX 2.10 20220918 + ConTeXt LMTX 2022.09.11.
>
> Here's a tiny test document, I disabled PDF compression but it also
> doesn't work with the default settings.
>
> \setupbackend[level=0,compresslevel=0]
> \starttext
> Just a line of text.
> \stoptext
>
> When I print this
Hi Bruce,
> I have a book to be perfect bound[1] and I'm trying to work out what
> imposition to use.
>
> The printer would like 4 A5 pages laid out on A3 e.g.
>
> +---+---+
> | | |
> | a | b |
> | | |
> +---+---+
> | | |
> | c | d |
> | | |
> +---+---+
>
> so that he can cut t
Hi,
> Has the handling for the apostrophe character entity changed recently?
>
> In the following example, the \xmltexentity for apostrophe is ignored,
> resulting in a straight apostrophe instead of a curled one:
> Any ideas on how to fix it?
(see also https://tex.stackexchange.com/a/661002/27
Hi Hraban,
> > As soon as I use floats, text isn’t typeset on the grid any more:
> >
> >
> > \setuppaper[A5]
> > \setuplayout[grid=yes]
> > \showframe\showgrid
>
> Oops, my bad: It must be "grid=on".
> But didn’t work "yes" in earlier versions?
I just tested:
MkIV MkXL
[gri
Hi Hraban,
> fetching images per URI was supported (and is also documented in the
> wiki), but with LMTX 2022.09.11 and one of
>
> \externalfigure[http://tug.org/images/logobw.jpg]
> or
> \externalfigure[https://picsum.photos/300/200]
>
> I only get the usual grey box. No error message.
Neithe
Hi Taco, Michal,
> >
> > > /home/qasar/Stažené/cont/tex/texmf-context/context/data/vscode/extensions/context/node_modules/vsce/out/package.js:136
> > > return (translations ?? [])
> > > ^
That's the "Nullish coalescing operator", which MDN says is only
available in
Hi Leah,
> I was typesetting some German text on a narrow page when I discovered
> the justification wasn't as good as expected. I think I tracked this
> down to differences in hyphenation points, namely, ConTeXt has fewer:
>
> \starttext
> \language[de]
> \showhyphens{Zusammenhang}
> \showhyphe
Hi Hans, Pablo,
> > But I do agree that the line ending handling seems a little odd. I find it
> > surprising that the buffers internally use CR line endings since no systems
> > in the past 20 years use that.
>
> how about tex ...
>
> \number\endlinechar
> \number\numexpr`M-`A+1\relax % plain
Hi Pablo,
> But now I don’t understand is the following issue: if the saved file
> contains "\r\n", why does basic Notepad the new lines?
>
> "\r\n" are the chars to get new lines in Windows. Or what am I missing here?
I'm not too sure what you're asking here, but Notepad was somewhat-
recently
Hi Hraban,
> Unfortunately, Firefox doesn’t register itself as a PDF viewer (at least
> on MacOS), that means I can’t use it easily to open a PDF from the
> command line (e.g. in scripts).
That's odd. You can set it as the default PDF viewer on Windows and
Linux at least.
> >> for forms:
> >>
Hi Pablo,
> I mean, to get hash of the file attached to the document, I need to save
> the buffer for "context(utilities.sha2.hash256(io.loaddata(buffer)))".
>
> But I don’t need to save the buffer to attach it to the PDF document.
>
> My question is how to define \shabufferfile to avoid \savebu
Hi Hraban,
> I compiled a kind of wishlist what we need or look for in a new or
> enhanced open source PDF viewer, as discussed e.g. at the 2021 meeting.
>
> https://wiki.contextgarden.net/PDF_viewer
>
> Feel free to enhance the wiki page or discuss here.
I think that pdf.js (the Firefox PDF
Hi Pablo,
> Is there any way to get "utilities.sha2.hash512" with the contents of
> the "abc" buffer?
You can use "buffers.getcontent" or "buffers.raw":
\startbuffer[test]
One
Two
Three
\stopbuffer[test]
\starttext
\startluacode
require("util-sha")
Hi Pablo, Otared,
> On 9/19/22 18:23, Otared Kavian via ntg-context wrote:
> > Hi Pablo,
> >
> > I had the same issue and, as this was discussed a few years or months
> > ago, after removing the three files with extension « .tma » the
> > update goes through normally.> On my machine, running MacO
Hi Hans,
I see that you've released the LuaMetaTeX source code, yay! I'm really
impressed with how easy it is to build, and with how quickly it builds.
Can you please apply this patch to the LuaMetaTeX source code:
diff --g
Hi Mikael,
> I don't see this problem with the latest. Moreover, I think the
> version of luametatex was pushed to 2.10, so there might be a
> mis-match in your case. I hope it helps.
I just tried updating again, and it says that I'm up to date, but:
$ luametatex --version
This is LuaMeta
Hi Steffen,
> … \replaceword should be the correct way for proper hyphenation??
Well I'm not sure if it's "correct", but it seems to work. Based on my
testing, having three subsequent sets of groups ({A}{B}{C}) is converted
to a discretionary. The discretionary hyphen "\-" is equivalent to the
Pl
Hi all,
I've just updated to the latest ConTeXt, but I'm unable to make the
format:
$ context --make
resolvers | resolving | configuration files already identified
resolvers | resolving | loading configuration file
'selfautoparent:/texmf/web2c/texmfcnf.lua'
[...]
resol
Hi Steffen,
> The idea is to set the hyphenation for certain words regardless of the
> language that is used in the surrounding paragraphs.
>
> In this example it should stay: «steff-en»
>
> How do i set this to all non-english paragraphs (without using
> \hyphenation on each language-switch)?
Hi Hraban,
> Am 05.09.22 um 21:07 schrieb Pablo Rodriguez via ntg-context:
> > has it to be the source browser?
> >
> > I mean, I use grep in Linux (MSYS2 in Windows [and brew.sh is available
> > for macOS]) and it works perfectly fine with ConTeXt.
> >
> >$ grep -irl fi[eë][eë] context
> >
On Fri, 2022-08-26 at 07:40 +0200, Hans Hagen wrote:
> On 8/26/2022 3:00 AM, Max Chernoff wrote:
> > Is there a way to make this produce a nice little "error" PDF as soon as
> > the error occurs just like using "\undefined" does?
>
> Only If I add it as
Hi Hans,
On Thu, 2022-08-25 at 08:57 +0200, Hans Hagen wrote:
> On 8/25/2022 2:19 AM, Max Chernoff via ntg-context wrote:
> But ... you can already do
>
> \enabledirectives[logs.errors=*]
>
> or
>
> \enabledirectives[logs.errors=missing modules]
Didn't know about
Hi all,
If you load a non-existent module, ConTeXt issues a minor warning, but
otherwise proceeds as normal:
MWE:
\usemodule[doesnt-exist]
\starttext
Hello world!
\stoptext
I think that this behaviour should be changed so that a fatal error is
issued when a loaded module cann
Hi Amano,
> Wuh. That's a bit complex.
Not really. From a user perspective, all that you need to run is
make install
From a developer perspective, this is essentially just the base ConTeXt
files, a modified texmfcnf.lua, and a fairly basic makefile.
> For distribution packages that depe
Hi,
> Could someone clarify me in what kind of context the color of a
> hyperlink is controlled by the "color" property of \setupurl?
This code:
\show\setupurl
\showthe\everysetupurl
produces:
> \setupurl=frozen protected macro: [#1]->\ifarguments \or
\mult_interfaces_get_paramet
>
Hi Amano(?), Hans
> > Can you make it easier to make an OS package for ConTeXt LMTX by
> > releasing versioned (source) archives, including BUILD/INSTALL
> > instructions in the versioned archives, and so on? I wish I could just
> > extract a versioned binary archive into certain locations or u
Hi Hans,
> > First, how do I get an insert's class/type from the "insert" nodes on
> > the page? With LuaTeX, the insert's class/type is the same as the
> > subtype of the "ins" nodes, but the subtype of the "insert" nodes is
> > always zero in LuaMetaTeX, so I'm not sure how to get the class/typ
Okay, I'm seeing a few separate issues here.
1. Gentoo expects to compile everything from source.
This isn't an option here since LuaMetaTeX doesn't have any source
available (yet). So for the time being, you'll need to use the provided
binaries. These support pretty much every architect
Hi all,
I'm trying to manipulate some inserts from Lua in LuaMetaTeX, and I'm
having some problems that I'm not having with LuaTeX.
First, how do I get an insert's class/type from the "insert" nodes on
the page? With LuaTeX, the insert's class/type is the same as the
subtype of the "ins" nodes,
> Hi,
>
> Hans helped me out with some asciidoc processing a while ago.
>
> I played a bit further, but I'm currently facing two minor issues:
>
> (a) I don't know how to turn program listing (verbatim code) from xml
> to (perhaps, vim-based) syntax highlighting (but most importantly, to
> make
Hi Hraban,
> but I’d like to know why you (esp. if you attended
> previous meetings) decided not to come:
A not-useful answer:
* The flight would take 14 hours each way (biggest reason)
Â
* The flight would cost more than 2 months of rent
* It would be a bad idea for me to miss a full week of
> looks like i don't update something, i'll fix it (probably bin later
> today)
> new upload (see earlier mail for rest)
Works great! Thanks!
> btw, you can do this:
>
> local h, t, pil, pir, pfl, pfr = tex.preparelinebreak(new_head)
> inspect(pfr)
> pfr.stretchorder
Hi Hans,
The new tex.preparelinebreak is great (thanks again), but I can't seem
to figure out how to manipulate the parfillskip nodes that it adds.
MWE:
\newbox\testbox
\startluacode
function test(head)
if head.id ~= node.id "par" then
return head
> the firefox pdf viewer has problems with at least two sans serif
> fonts.
>
> Using this mwe I get a bad display in ff with Gyre font and Alegreya
> Font.
>
What do you mean by "bad display"? Are the fonts blurry, or are the
shapes all slightly distorted? Your test file displays fine on my
s
Hi,
The recently added Metafun hexagons seem to be producing octagons
instead:
\startMPpage
fill fullhexagon scaled 100;
draw unithexagon scaled 50 withcolor white;
\stopMPpage
-- Max
___
If yo
This is because you need to pass a list that conforms to what the
builder expects and the callback that you use doesn't do that for you
(after all, it also gets hbox content).
Isn't "processors/after" the same as "pre_linebreak_filter"? I thought
that only "hpack_filter" gets \hbox content? An
I am writing a document in Spanish and I notice that the syllable
partitioning of words does not conform to the rules of the language. And
so, for example, the word "limitarse" is partitioned as "lim-itarse"
(the correct one is "li-mi-tar-se"), "colores" as "col-ores" (instead of
"co-lo-res"),
Hi,
With the latest upload, "tex.linebreak" doesn't return an "info" table.
When running this code:
\startluacode
function test(head)
local new_head, info = tex.linebreak(node.copylist(head))
print(head, type(head), info, type(info))
if info ==
Well, we must change a lot of dead links on the wiki now.
Taco, can you automate it? Otherwise I’ll start...
I do not know of a clean way to automate that. It may be possible, but then it
is outside of my knowledge set. So yeah, by hand.
This might work
https://wiki.contextgarden.net/Sp
Hans had been complaining about networksolutions not allowing him to move the
domain away from them, so I guess this was to be expected.
indeed, and transfer is pending for ages now ... looks liek they don't
like to transfer
They only have 5 days to respond to a transfer request. If it's been
When I go to:
https://www.pragma-ade.com/
I get a page that says:
pragma-ade.com expired on 06/28/2016 and is pending renewal or deletion.
followed by some advertisements. Both a link archiver
https://archive.today/jUOox
and an SSL/TLS certificate checker
https://www.ssllabs
Enabling PDF tagging corrupts the URLs displayed in bibliographies.
MWE:
\setuptagging[state=start]
\usebtxdataset[mkiv-publications.bib]
\usebtxdefinitions[apa]
% \usebtxdefinitions[chicago]
\starttext
\nocite[article, advancedonline]
\placelistofpublications
\
just preload it, as in:
\usebodyfont[modern]
\setupbodyfont[plex]
\setuphead
[section]
[style={\switchtobodyfont[modern]}]
\starttext
\section{A}
A
\stoptext
That seems to have fixed it. Thanks!
-- Max
_
1 - 100 of 132 matches
Mail list logo