Hi Hraban,
Downgrading zint to 2.12.0 worked for me. Many thanks!
In case someone is experiencing similar issues, I ran:
brew remove zint
curl
https://raw.githubusercontent.com/Homebrew/homebrew-core/962d789d26c9d8f760affe272689f21388f7d3e2/Formula/z/zint.rb
> zint.rb
brew install zint.rb
zint
Catching up on an earlier thread by Ursula and Hraban,
I'm also experienceing problems with \usemodule[zint] while \usemodule[t-zint]
works fine.
Running on macOS (ConTeXt ver: 2024.04.01 08:59 LMTX fmt: 2024.4.28).
The issue seems somewhat unrelated to ConTeXt on first glance (??) if this i
Hi list,
I came across this old thread as I was trying to use \xmlpos{#1} to
"dynamically" create references such as \item[mystep:\xmlpos{#1}] to be
referenced when other elements of this node are parsed at a later point.
In fact, it seems that \xmlpos{#1} returns duplicate values. This might
Hi Julian,
I had the same question a couple of days ago and I found a thread on the
mailing list, which I'm reposting here. Although this worked for me, I found
downsampling of the pdf with gs more convenient.
Hope this helps,
Benjamin
%
if not modules then modules = { } end modules ['g
This thread about downsampling external images on the fly is a really helpful
feature! Thanks, Hraban for sharing the code!
I was wondering if it was possible to downscale also raster images embedded in
pdf/svg files loaded via \externalfigure?
I found a ghostscript solution online
(https://st
, Hans Hagen wrote:
>
> On 9/23/2022 11:08 PM, Benjamin Buchmuller via ntg-context wrote:
>> Dear list,
>> \setuplist has the convenient option [pagenumber=realpage]
>> \setupregister has not (yet).
>> How can I get the realpagenumber instead of the userpagenumber f
Dear list,
\setuplist has the convenient option [pagenumber=realpage]
\setupregister has not (yet).
How can I get the realpagenumber instead of the userpagenumber for the register
indices?
I tried
\def\MyPageCommand#1{\realpagenumber}
\setupregister[MyIndex][pagecommand=\MyPageCommand]
but
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
> On Jun 26, 2022, at 18:32, Max Chernoff wrote:
>
> On 2022-06-26 9:59 a.m., Benjamin Buchmuller wrote:
>> Hi Max,
>> Thank you so much for your help
I completely agree, Hans, that such specifications are often made without a
second thought on them. And Max is probably right that they originated from the
typewriter area.
In a sense these "challenges" can be at least somewhat educational. I've
learnt---also thanks to Max's suggestions---a fa
Hi Max,
Thank you so much for your help and pointing me to the documents; always a lot
of things to learn in TeX!
I'm afraid that including the hyphen width doesn't solve the issue yet. It
seems to move the problem to other parts of the text. My guess is that one
could equivalently have said
character or hboxed
group. I assume, this is because the hyphen is not counted and pushes the
remainder to a new line where the intended breakpoint again starts another one.
Unfortunately, I don't know what to change; I know a bit about "glyph" and
"glue", but what is &
Wow, that works like a charm! Thank you, Max!
It's also a very insightful example of how to use and inject Lua code in the
TeX output routine. Do you mind if I add it to the wiki? (Probably under
"Wrapping".)
Many thanks again!
Benjamin
> On Jun 24, 2022, at 01:44, Max Chernoff wrote:
>
>
Dear list,
I've been confronted with the following 'intriguing' formatting requirement for
a document:
"
• Type density: Must be no more than 15 characters per linear inch (including
characters and spaces).
• Line spacing: Must be no more than six lines per vertical inch.
"
While the line spa
2/2022 2:14 PM, Benjamin Buchmuller wrote:
>> Thanks, Hans, for the answer, but I'm not sure if I get the point.
>> While this is possible in ConTeXt:
>> \startsection[title={My Title}]
>> \beginMyBlock
>> bla bla
>> \endMyBlock
>> \stopsection
>> The fo
't be used in commands. (To add: Even when passed as arguments during
compilation?)
Many Thanks again!
Benjamin
> On Jan 2, 2022, at 12:19, Hans Hagen wrote:
>
> On 1/2/2022 11:47 AM, Benjamin Buchmuller via ntg-context wrote:
>> Hi list,
>> I'm playing around
Hi list,
I'm playing around with blocks and buffers again, realizing that I cannot use
them inbetween a \start...\stop that I defined myself. Apparently, they work
between \startsection...\stopsection and the like, so I was wondering how I
should define or expand #2 in the MWE below to make TeX
Hi list,
using this example from the wiki, the dbend symbol appears cropped on the left
side on my machine (ConTeXt ver: 2021.12.10 11:41 LMTX fmt: 2021.12.14), but
not on the ConTeXt live server? Any possible reasons?
\definefontsynonym [bends] [file:manfnt.afm]
\startsymbolset [Dangerous B
Thanks, Wolfgang, perfectly works! I added an example to the Wiki.
> On Dec 21, 2021, at 18:03, Wolfgang Schuster
> wrote:
>
> Benjamin Buchmuller via ntg-context schrieb am 21.12.2021 um 14:04:
>> Not sure if this is the behavior to expect, but I would like to get
>>
Not sure if this is the behavior to expect, but I would like to get formatted
inline headers in itemize like:
– Unformatted item.
– *Head One.* Something bla bla.
– *Head Two.* Other bla bla.
From:
\setupitemize[each][2, headintext]
% \setupitemize[each][headstyle={\groupedcommand{\bf}{.\space\
Yes, this works! Thanks!
I'll try to add a section on the Wiki. Is there a reason why the second
approach works while the other doesn't?
> On Dec 16, 2021, at 12:46, Hans Hagen wrote:
>
> On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote:
>> Thanks again, Ha
1, at 19:16, Hans Hagen wrote:
>
> On 12/14/2021 6:16 PM, Benjamin Buchmuller via ntg-context wrote:
>> Hi!
>> I'd like to follow up on a problem that Denis came across recently with the
>> titles argument in tabulate. (It's more a solution than a question, b
Hi!
I'd like to follow up on a problem that Denis came across recently with the
titles argument in tabulate. (It's more a solution than a question, but any
hints to improve the answer are welcome.) I wanted to use this argument for an
easy specification of, well, a title for a "recipe". The adv
Maybe
\hfill author
?
> On 24. Oct 2021, at 04:12, kauśika cittūr wrote:
>
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line
> preceding it breaks with hyphenation and does not otherwise? How to avoid it
> (if at all possible)?
>
> I have t
How odd; Then it must be related to my viewer here ...
I was just surprised to literally see two different outcomes with the
\startTEXpage and without. Maybe it has to do with some sort of "nesting" in
the PDF that is not handled correctly at the PDF viewer's end. I'll test again
on a different
(For the record on the list, I attach a small res screenshot to illustrate the
matter, description below; My apologies for any inconvenience.)
On Aug 30, 2021, at 09:36, Benjamin Buchmuller
wrote:
Sorry, I've been probably a bit unclear. The file to look at is "test.pdf"
(f
Hello list,
I have noticed that some gradients get lost when embedding an external figure
from a pdf (Preview and Acrobat DC and in printer), although the original pdf
works fine for me.
It seems to occur with color-to-color gradients (but not all), but not with
color-to-alpha ones.
While pre
vimout", I get a "pdf" (error) and a "log" (some attached) now.
Also, the blocks get recompiled with each run even if their content doesn't
change which was the previous behavior.
xxx-temp-vimR-0-error.log
Description: Binary data
xxx-temp-vimR-0.log
Descriptio
Hi,
Here is another thing which worked previously for me:
ConTeXt ver: 2021.07.30 00:57 LMTX fmt: 2021.8.8 int: english/english
Now:
ConTeXt ver: 2021.08.22 11:54 LMTX fmt: 2021.8.22 int: english/english
Error:
lua error:
registered function call [396]:
...eXt/tex/texmf-contex
Hi,
Thanks for having had a look into the t-vim.
At least the document compiles fine (I get a PDF), although multiple complaints
from the lua end when I use "$" or "#" in my source, for example
#!/usr/bin/bash
etc. culminating in
Sorry, but I'm not programmed to handle this case;
I'll just
I'm not sure if it's related to this latest:
ConTeXt ver: 2021.08.07 22:53 LMTX fmt: 2021.8.8 int: english/english
or a previous one, but with this one:
ConTeXt ver: 2021.07.30 00:57 LMTX fmt: 2021.8.8 int: english/english
My document compiled fine.
When I use the t-vim module (freshly i
Wow, that's powerful!
I'll add the wiki entries later tonight.
Thanks a lot!
> On Aug 3, 2021, at 17:02, Hans Hagen wrote:
>
> On 8/2/2021 8:54 PM, Benjamin Buchmuller via ntg-context wrote:
>> That's great, I wikified a Note for testing if a buffer exists
That's great, I wikified a Note for testing if a buffer exists or has content
(using the \getbuffer[…] approach for the moment).
If I was asked, I'd opt for \doifelseemptybuffer (doifemptyelse?) since one
could think of similar commands that test for empty "objects".
Is there an option for tes
Hi,
How can I check if a buffer or block has content (or is empty) before a
\useblocks or \getbuffer statement?
I would like to typeset a headline only if the buffer/block has been used in a
particular section and want to avoid headlines with empty sections.
Thanks!
Benjamin
Hi,
Is there a more convenient way to get the current reference label (stably) from
within a float? For example, I would like to make an "image credits" section at
the end of a document, so I do something similar to:
\defineblock[credits]
\starttext
\section[sec:topic]{Topic}
\startplacefig
I was wondering if there is a way to get the internal bibliography manager to
write out a .bib (or XML or Lua table) containing only the entries used in a
document?
Somewhat similar to BibTeX
(https://tex.stackexchange.com/questions/41821/creating-bib-file-containing-only-the-cited-references-
I know this is quite an old thread, but here is a minimal parser (\units with
an “s”) that wraps around \digits and \unit to produce an acceptable output.
As I frequently need to write ranges (or measures of uncertainty), I find it
convenient to able to type
\units{4.0 to 5.0 centi meter}
th
\stopxtablebody
\stopxtable
> On 7 May 2020, at 21:22, Benjamin Buchmuller
> wrote:
>
> Hi Wolfgang,
>
> you are (of course) right again. I realised that I wouldn’t get the expected
> behaviour after checking the snippet isolated from my document’s co
Hi,
As Wolfgang has figured out, zero padding in \digits only works for trailing
(and omitted) zeroes when immediately preceded by the decimal separator.
It would be nice if this would work even if there is a number preceding, so that
\digits{3.1=}x\crlf
\digits{3.==}x\crlf
\digits{3.14}x
wou
:00, Wolfgang Schuster
> wrote:
>
> Benjamin Buchmuller schrieb am 07.05.2020 um 19:41:
>> Hi Wolfang,
>> Thank you for your reply. I have indeed not explained my intended result
>> very clearly.
>> 1.
>> Primarily, I need to get the two values aligned at the d
.
> On 7 May 2020, at 18:21, Wolfgang Schuster
> wrote:
>
> Benjamin Buchmuller schrieb am 07.05.2020 um 17:31:
>> Hi,
>> I’m trying to get
>> \digits{15.0=}±\digits{1.00}
>> \digits{_8.12}±\digits{0.34}
>> horizontally aligned as
>> 15.0 ±1.00
Hi,
I’m trying to get
\digits{15.0=}±\digits{1.00}
\digits{_8.12}±\digits{0.34}
horizontally aligned as
15.0 ±1.00
8.12±0.34
But I get
15.0±1.00
8.12±0.34
instead.
From the source (phys-dim.mkiv), I can see that “=“ should expand to
\hphantom{0}. (I think \zeropoint in the table is outd
different as soon as
xtable tries to place them …
Cheers
\startplacetable[reference=tab1,title={A table},location=split]
\startxtable[split=repeat]
\startxrow
\startxcell hi \stopxcell
\stopxrow
\stopxtable
\stopplacetable
> On 22 Apr 2020, at 21:10, Benjamin Buchmuller
> wrote:
>
>
020, at 12:14, Benjamin Buchmuller
> wrote:
>
> Hi Hraban,
>
> Thanks for the hint (and the proper fontfamily setup), I have forced reload
> ten times now from various accounts; the issue persists unfortunately.
>
> This might confirm Taco‘s notion that there is some bug
Dec/Jan three days ago, I
suspect it is not because of a new feature in the OS, but rather an old feature
in mtxrun or elsewhere having disappeared.
> On 24. Apr 2020, at 11:35, Henning Hraban Ramm wrote:
>
>
>
>> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller
>>
Although this specific issue might have been solved meanwhile by the helpful
suggestions of Wolfang, Thomas and others, I would like to point out that I
have recently also encountered an odd behaviour of the mtxrun fontloader in the
standalone, in which not all typefaces are available/properly i
4/23/2020 17:50, Wolfgang Schuster wrote:
>> Benjamin Buchmuller schrieb am 23.04.2020 um 23:16:
>>> Hi Rik,
>>>
>>> Thanks for the fast reply! Your example works indeed nicely. However,
>>> within this solution my problem has shifted now (fully) towards
Thanks Wolfgang, this works perfectly. I will add this hint tomorrow to the
Wiki.
> On 23 Apr 2020, at 23:50, Wolfgang Schuster
> wrote:
>
> Benjamin Buchmuller schrieb am 23.04.2020 um 23:16:
>> Hi Rik,
>> Thanks for the fast reply! Your example works indeed nicely.
t; \WORD?
> Date: 23 April 2020 at 21:46:59 CEST
> To: ntg-context@ntg.nl, benjamin.buchmul...@gmail.com
>
>
>
>
> On 4/23/2020 15:01, Benjamin Buchmuller wrote:
>> Sorry, I have just realized that the problem might not be \WORD{} actually,
>> so this one hyphenates:
>&g
> On 23 Apr 2020, at 20:46, Benjamin Buchmuller
> wrote:
>
> Hi again,
>
> I am reading a CSV file into ConTeXt which contains long DNA sequences (>> 40
> characters) to place in xtables. So far, this works fine. However, I need to
> uppercase the entries and
Hi again,
I am reading a CSV file into ConTeXt which contains long DNA sequences (>> 40
characters) to place in xtables. So far, this works fine. However, I need to
uppercase the entries and need to \tt them. When I do this inside \WORD
however, they don’t hyphenate any more.
I’m using:
\defi
I’ve just updated to the most recent standalone
ConTeXt ver: 2020.01.30 14:13 MKIV beta fmt: 2020.4.22 (LuaTeX 1.11.1)
and I’m running now into troubles with system font indexing:
mtxrun --script fonts --reload
locates fonts in macOS directories appropriately (*.afm fonts placed in
.../tex/
Hi,
I would like to reference a table of the following structure.
\starttext
\startplacetable[reference=tab1,title={A table},location=split]
\startxtable
\startxrow
\startxcell hi \stopxcell
\stopxrow
\stopxtable
\stopplacetable
In Table \in[tab1]
\stoptext
It has [location=split], which I
simply not
“converted" to \starthead ... \stophead before the next invocation of \head or
the end of \stoptext?
Cheers
Benjamin
> On 2 Apr 2020, at 19:51, Wolfgang Schuster
> wrote:
>
> Benjamin Buchmuller schrieb am 02.04.2020 um 19:29:
>> Potentially on the same
Potentially on the same lines, placing delayed element seems currently not to
work properly (or the syntax has changed?).
I think these features of MkIV are very elegant and useful. I’m just wondering
if they are/were temporarily not working (tried on 2019.12.27 16:34 MKIV beta
and the Wiki’s C
For the following one, I’m not sure if this is the intended behaviour or not:
I want to set up the “notation” and “note” style manually, which works great
unless I also call \setupinteraction[state=start,style=normal] (or any other
style), regardless of calling it before or after setting up “not
Following Aditya’s recommendation on making a glossary with ConTeXt
(https://tex.stackexchange.com/questions/152248/make-a-glossary-with-context)
and have looked through several older and newer manuals under “abbreviations”
and into the source.
However, I cannot figure out if there is a simple
Hi!
I would like to change the rule thickness that is used by default in ConTeXt.
However, from the command documentation
(http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need
to basically change this for
\basegrid[rulethickness=...]
\setupbar[rulethickness=...]
\setup
Hi Hans,
the patch solves the issue. Thank you for the fast reply.
With regard to Pablo’s question: When I would not use crop in the MWE,
apparently I would get the desired output indeed. However, in the situation I
was using the command to produce a document, I would need to crop some parts of
Hi Hans,
I finally managed to make a MWE. The issue is related to me using \clip{…} onto
external figures I would like to crop in conjunction with a colored footer
set-up:
\starttext
\setupfooter[color=red]
\setupfootertexts
[]
[]
[any t
ontext-ow...@ntg.nl
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> Today's Topics:
>
> 1. \setupfooter[color=red]: red color spills with float over
> next page (Benjami
When I have
\setupfooter[color=red, style=bold] (same goes with \setupfooter[style=red])
and a
tex text text
% page breaks here after typesetting
\startplacefigure[
%location=force, % no matter what I do here
title={Caption.}
]
… something …
\stopplacefigure
other te
Here is another question, I was wondering about.
What is the ConTeXt’s way to provide the “right” (or “left”) argument when
\definereferenceformat[text=…] is set?
Starting from this example:
\starttext
\definereferenceformat[infig][text={Figure }]
\startplacefigure[reference=fig:A]
Some fig
Hi,
I’m not sure if this is the intended behaviour of the system, but I want to
typeset “This is Figure 1.1 in Chapter A Good Story” in the attached minimal
example. However, setting up the referencing interaction to text, this typesets
“This is 1.1 in Chapter A Good Story”. The same holds true
Hi list,
according to case-insensitive sorting for \placeregister[…][…, method=…], I
tried to figure out how to achieve similar results for \placelistofsynonyms
(has method-key too).
I tried this modified minimal example (that originally was proposed by Hans
here: http://www.ntg.nl/pipermail/
64 matches
Mail list logo