einput. That would
remove the need of the \TR… macros.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listin
ith other fonts,
framedtext justifies the text here.
Are you sure it's not a tolerance issue? Frames don't inherit the
tolerance from the main environment¹. Try with
\setupframedtext
[align=verytolerant]
%% [align={verytolerant, stretch}]
Marco
¹ https://wiki.contextgarden.
On Mon, 14 Mar 2022 18:36:08 +0100
Henning Hraban Ramm via ntg-context wrote:
> How do I get the default tilde character from a font?
\starttext
\startasciimode
a~b
\stopasciimode
a\textasciitilde b
\stoptext
Ma
should report the other errors, too.
I'm not using the failing bits myself, so I don't need fix for that.
Motivation is to help find issues with the current release.
Marco
%% metafun > log > error: A primary expression can't begin with ';'
\starttext
\startMPcode
uniquelist(a) ;
that are invalid in asciimode.
But as far as I understand, it should be sufficient running it
without asciimode just with the \ctxcatcodes snippet in place to
test if that breaks something.
> No time to investigate why, ATM.
No problem. Thanks f
ine this fails even without the \ctxcatcode fix in place.
Maybe someone else with more MetaPost-heavy workflows¹ can test
this, too?
Marco
¹ Hraban? nudge, nudge…
___
If your question is of interest to others as well, pleas
On Mon, 31 Jan 2022 20:02:42 +0100
Marco Patzer via ntg-context wrote:
> LMTX seems to have an issue with \asciimode and MetaPost:
>
> \asciimode
> \starttext
> \startMPcode
> fill unitsquare scaled 2cm;
> \stopMPcode
> \stoptext
>
> Results in:
>
lp
> here?
mtxrun --autogenerate --script check
The following will not report missing tags but will find other
common issues and report them on the console:
context --errors='*'
Marco
___
If your question is of intere
On Wed, 2 Mar 2022 13:15:18 +0100
"Thomas A. Schmitz via ntg-context" wrote:
> try "RealPageNumber" instead of "PageNumber."
That works. Thanks for the quick reply.
Marco
__
a rectangle on page 2, an older MkIV
produces a circle on page 2. Is this expected behaviour?
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
.patterns
metapost> trace > vardef
metafun > log >
metafun > log > I couldn't find an '=' or ':=' after the expression
that is shown above this
error message, so I guess I'll just ignore it and carry on.
metafun > log >
metapost >
On Sun, 16 Jan 2022 16:53:16 +0100
Marco Patzer via ntg-context wrote:
> Still an issue with 2022.01.15 17:29.
Fixed as of 2022.01.18 10:48. Thanks Hans.
Marco
___
If your question is of interest to others as w
On Fri, 10 Dec 2021 18:22:46 +0100
Marco Patzer via ntg-context wrote:
> On Fri, 10 Dec 2021 17:01:26 +0100
> Hans Hagen wrote:
>
> > no example code
>
> The MWE was included in the OP on 2021-10-30. But here it is again:
Still an issue with 202
to
> work for text notes (they do work for notes at the bottom).
>
> […]
>
> \placelocalnotes[afiliação]
Maybe this helps:
\startcolumns [n=3]
\placelocalnotes[afiliação]
\stopcolumns
Marco
___
If your
> \stoptext
Try:
export OSFONTDIR=/usr/share/fonts
mtxrun --script fonts --reload
\definefontfamily [mainface] [serif] [Mathjax_Fraktur]
\setupbodyfont [mainface]
\starttext
\samplefile{knuth}
\stoptext
Marco
___
On Thu, 18 Nov 2021 19:27:25 +0100
Marco Patzer via ntg-context wrote:
> Is there a way to return failure if *any* error is encountered or
> do they need to be enabled each individually?
A solution is to use patterns (supported in the upcoming upload):
\enabledirectives
[logs.
But I guess that's just not supported.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-conte
rs]
%% missing font
\definefontfamily [foo] [serif] [no font here really]
\setupbodyfont [foo]
\starttext
%% missing characters
풜
%% missing figure
\externalfigure [foo]
%% missing references
See \in{section}[sec:none].
\stoptext
Marco
On Tue, 30 Nov 2021 15:51:24 +0100
Marco Patzer via ntg-context wrote:
> There's an issue with defining new floats in LMTX in combination
> with bottom placement.
>
> The following works in MkIV, but throws an error in LMTX:
Short followup: This issue is still present in 2021
On Tue, 30 Nov 2021 14:13:52 +0100
Marco Patzer via ntg-context wrote:
> In the following example “Lorem ipsum” sits on an otherwise empty
> page in LMTX. Output is as expected with MkIV.
This is now fixed in the latest version. Thanks Hans.
e example I posted on 2021-12-15 still returns success when it
should fail. So regarding the exit codes I see no change here.
> side float coming loose from section head issue solved; ...).
That's fixed indeed. Thanks for looking into that.
Marco
LMTX 2021
rting (by providing --errors).
3) No one is recovering tex runs these days.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/ma
s --errors
\enabledirectives
[logs.errors]
\starttext
%% ### semi simple group … entered at line
\startalignment [middle]
foo
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to
ure [title=Foo]
\framed{Foo}
\stopplacefigure
\startplacefoo [title=Bar]
\framed{Bar}
\stopplacefoo
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
W
On Tue, 30 Nov 2021 15:51:24 +0100
Marco Patzer via ntg-context wrote:
> There's an issue with defining new floats in LMTX in combination
> with bottom placement.
>
> The following works in MkIV, but throws an error in LMTX:
I don't know if the error changed or if I copied the
On Tue, 30 Nov 2021 14:13:52 +0100
Marco Patzer via ntg-context wrote:
> In the following example “Lorem ipsum” sits on an otherwise empty
> page in LMTX. Output is as expected with MkIV. Has the interface
> changed or may it be a bug in LMTX?
Any idea
g. framed texts)
don't honour the global tolerance setting?
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/lis
On Mon, 29 Nov 2021 16:44:07 +0100
Marco Patzer via ntg-context wrote:
> Why does ConTeXt not break the line between "unnecessary" and "FOO"?
Any ideas how to fix this?
Marco
___
If your
: return code: 256
\setupfloat [figure]
[default=bottom] %% fails
%% [default=top] %% works
\definefloat
[foo] [foos]
[figure]
\starttext
\startplacefigure [title=Foo]
\framed{Foo}
\stopplacefigure
\startplacefoo [title=Bar]
\framed{Bar}
\stopplacefoo
\stoptext
Marco
LMTX
elying on
typing the correct parameter order each time.
BTW: creating new float types fails in LMTX, I'll post an MWE in
a new thread shortly.
Marco
___
If your question is of interest to others as well, please add an
tempor
\startplacefigure [location=outer]
\externalfigure
\stopplacefigure
\samplefile{knuth}
\stoptext
Marco
LMTX 2021.11.26 11:38
___
If your question is of interest to others as well, please add an entry
way to disable the caption without
influencing the placement, I'm all ears.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mail
\externalfigure
\stopplacefigure
\stoptext
Not sure if that's how it's supposed to be. In any case, I didn't
expect it.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
quot; and "FOO"?
How to kindly persuade it to do so?
Marco
LMTX 2021.11.26 11:38
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
On Mon, 29 Nov 2021 12:07:51 +0100
Henning Hraban Ramm via ntg-context wrote:
> > How to influence the location of the cache directory?
>
> Try to set TEXMFCACHE
That's it. Thanks Peter and Hen
Hi!
when LMTX is installed in a read-only location (e.g. /opt) it
creates a directory "luametatex-cache" in $HOME.
How to influence the location of the cache directory?
Marco
___
If your question is o
subfigure numbering without specifying the
groupsuffix manually?
Marco
LMTX 2021.11.22 22:27
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
… entered at line
\startalignment [middle]
foo
%% missing references
See \in{section}[sec:none].
%% undefined control sequence
%% \undefined
\stoptext
Marco
___
If your question is of interest to others as well, please
tion blocks is to put
> them either in a float or put a framedtext environment around it.
The project comprises several hundred source files. That's why I
stayed away from rewriting the sources in the first place. I'll try
to bulk-change the sources.
Thanks for y
the sources files (to either use floats or surround the
combinations with the required commands)?
Marco
LMTX: current version: 2021.11.16 22:36
___
If your question is of interest to others as well, please add an entry
t an MWE to demonstrate the problem. The actual code is
part of a module (therefore it's \unprotect'ed).
> of course \& also works ok.
I'll convert to \&. Thanks for the quick reply.
Marco
___
If your ques
: return code: 256
As \& works for MkIV as well as LMTX, there's an easy workaround.
But maybe this isn't intended behaviour and needs checking.
ConTeXt ver: 2021.07.06 18:49 LMTX
Marco
___
If your question is of inte
in fact work as far as I understand.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpag
but I hope
there's chance it might be fixed.
But maybe Hans can chime in and clarify.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://
ff and run tests.
A gentle reminder.
As by my tests, something has changed in the last months, but the
behaviour is still weird (e.g. log files differ from pdf file or
10.10.10.tex results in 10.10.pdf).
Is there a chance you ca
me impressive work! Well executed and very creative.
Thanks for posting that link.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://
\definestructureresetset
> is a alias for backwards compatibility.
Thanks for the info. I updated the wiki.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
l
work.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl
setuphead
[chapter]
[sectionresetset=jbfreset]
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt
tually
in your code. If it's also in the code: Context doesn't like it. The
NO-BREAK SPACEs have to go.
Second, you have a space (new line) after “bodypartlabel=part”. Add
a comma, percent sign or move the closing bracket after the word
“part”.
Marco
__
ent come out as
> Chapter 1.1... Chapter 2.1 etc. and I simply want Chapter One,
> Chapter Two and so on
\setuphead
[chapter]
[sectionsegments=chapter]
\setuphead
[section]
[sectionsegments=chapter:section]
> Any thoughts?
An M
{2}{100}
\stopsetups
\setuplayout [setups=mypenalties]
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinf
On Wed, 18 Nov 2020 20:22:24 +0100
Marco Patzer wrote:
> I struggle with referencing subfigures.
>
> […]
Any ideas?
Marco
___
If your question is of interest to others as well, please add an entry to
On Thu, 19 Nov 2020 16:53:52 +0100
Pablo Rodriguez wrote:
> On 11/19/20 11:55 AM, Marco Patzer wrote:
> > Hi!
> > [...]
> > What's the reason the section head stays on the previous page when
> > the “after” is used and how to fix this?
>
> Hi Marco,
>
>
this?
\setuphead
[section]
[after=\blackrule] %% works as desired when commenting this one out
\starttext
\startsection [title=Foo]
\samplefile{knuth}
\stopsection
\startsection [title=Bar]
\framed[height=15cm]{}
\samplefile{knuth}
\stopsection
\stoptext
Marco
the counter for the subfigure to start anew for each
new figure?
The second issue is the referencing of subfigures. The MWE shows
“figure b)” and “figure d)” rather than “figure 1b)” and “figure
2b)”. How to include the outer float counter in the reference?
Marco
> ConTeXt MKIV used to produce files "test.test.log", "test.test.tua",
> "test.test.pdf".
Same issue here. (BTW: That's the main reason I'm still on MkIV.)
https://mailman.ntg.nl/pipermail/ntg-context/2020/098260.html
Marco
_
][width=\rightmarginwidth,location=high]}
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=top]}
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
align={flushleft,broad}]
> {{\bf Remarque — }\getinlineuserdata}
> \stopsetups
> \marginfigure{\externalfigure[dummy][width=\rightmarginwidth]}
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=high]}
Marco
___
On Tue, 16 Jun 2020 14:37:17 +0200
Marco Patzer wrote:
> On Tue, 16 Jun 2020 14:17:09 +0200
> Willi Egger wrote:
>
> > I try to use a Metapost drawing as a background to a framed text. —
> > I can not make it working though…
> >
> > \startuniqueMPgraphic{Marki
gt; withcolor blue; \stopuniqueMPgraphic
>
> \defineoverlay[Marks]{\useMPgraphic{Markings}}
\defineoverlay[Marks][{\useMPgraphic{Markings}}]
Marco
___
If your question is of interest to others as well, please add an entry
nderstand there is no built-in method. You have to
install them manually. Relevant thread:
https://mailman.ntg.nl/pipermail/ntg-context/2020/097022.html
Marco
___
If your question is of interest to others as well, pl
ntf '%s\n' '\bye' > good.tex && mtxrun --autogenerate --script context
good.tex; echo $?
0
printf '%s\n' '\by' > bad.tex && mtxrun --autogenerate --script context
bad.tex; echo $?
1
Marco
___
other (neat) stuff and run tests.
OK, thanks. No hurry. The production projects run on some oldish
2019 MkIVs anyway. I'm trying to get my feet wet with lmtx and run
it on some projects to check how usable and compatible it is.
Marco
_
On Thu, 28 May 2020 17:33:19 +0200
Hans Hagen wrote:
> On 5/28/2020 2:49 PM, Marco Patzer wrote:
> > Hi!
> >
> > LMTX and MkIV behave differently if dots are used in the file
> > name. Example:
> >
> >printf '%s\n' '\starttext\null\stoptext'
On Thu, 28 May 2020 17:33:19 +0200
Hans Hagen wrote:
> On 5/28/2020 2:49 PM, Marco Patzer wrote:
> > Hi!
> >
> > LMTX and MkIV behave differently if dots are used in the file
> > name. Example:
> >
> >printf '%s\n' '\starttext\null\stoptext'
Hi!
LMTX and MkIV behave differently if dots are used in the file
name. Example:
printf '%s\n' '\starttext\null\stoptext' > foo.10.tex && context foo.10.tex
MkIV: → foo.10.pdf
LMTX: → foo.pdf
Is this intentional?
This is LuaMetaTeX, Version 2.06.05
current version: 2020.05.25 2
rttext
\bTABLE
\bTR
\bTD \samplefile{knuth} \eTD
\bTD \samplefile{knuth} \eTD
\eTR
\eTABLE
\stoptext
This is LuaMetaTeX, Version 2.06.05
current version: 2020.05.25 23:39
Marco
___
I
ght
[BufferStyle]
[style=smallitalic,
color=blue]
\startbuffer
\samplefile{knuth}
\stopbuffer
\starttext
\samplefile{knuth}
\getbuffer
\samplefile{knuth}
\stoptext
Marco
___
If your question is of inter
t; But I'm still getting the same LuaTeX version:
I had the same issue. You have to add --context=latest:
https://mailman.ntg.nl/pipermail/ntg-context/2020/097651.html
Marco
___
If your question is of interest to ot
On Tue, 5 May 2020 20:38:55 +0200
Wolfgang Schuster wrote:
> Marco Patzer schrieb am 05.05.2020 um 20:26:
> > Hi!
> >
> > Has something changed regarding the installation/update procedure?
> > ConTeXt seems to be stuck at 2020.01.30 and downloading the newest
>
/--context=latest/' first-setup.sh
sh ./first-setup.sh
. tex/setuptex
context --version
→ current version: 2020.04.30 11:10
Marco
___
If your question is of interest to others as well, please add an entry
n of threads would get lost.
Why? Threads are arranged by the “References” and “In-Reply-To”
headers which are not modified.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wi
fy "$file"
context --batchmode "$file"
done
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinf
On Wed, 30 Oct 2019 18:48:43 +0100
Wolfgang Schuster wrote:
> Marco Patzer schrieb am 30.10.2019 um 17:16:
> > On Wed, 30 Oct 2019 11:55:17 -0400 (EDT)
> > Aditya Mahajan wrote:
> >
> >> On Wed, 30 Oct 2019, Marco Patzer wrote:
> >>
> >>> H
On Wed, 30 Oct 2019 11:55:17 -0400 (EDT)
Aditya Mahajan wrote:
> On Wed, 30 Oct 2019, Marco Patzer wrote:
>
> > Hi!
> >
> > Some images run into each other when using floats. The following
> > example illustrates this. The second image (or frame) runs into
[width=5cm, height=5cm]{}
\stopplacefigure
\samplefile{ward} \blank
\framed [width=4cm, height=4cm]{}
\samplefile{knuth}
\stoptext
context 2019.10.29 15:00
Marco
___
If your question is of interest to others
message when checking
\currentreferencenumber? Or alternatively
2) Is there a better way to find invisible references?
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki
other way, I'd settle for your
approach. So far that seems to be the best choice.
Thanks for the quick response.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
, but it would be great if I could do without that float.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
I'd write your example as follows:
\setuppapersize
[A5]
\defineframed
[tightframed]
[width=5cm,
%% width=.1\textwidth,
align=right]
\setupcolumns
[distance=.5cm]
\starttext
\startcolumns
\tightframed{Small}
\column
\tightframed{A really really long line that is split at 5c
On Thu, 21 Feb 2019 18:24:29 +0100
Wolfgang Schuster wrote:
> > \startprettyblock
> >\noindentation
>
> You don’t need \noindentation when you add “next” to the indenting
> options.
That's even better (meaning cleaner source). I didn't kno
'm not mistaken.
Have you tried using “syntax=scilab”?
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-
On Thu, 21 Feb 2019 14:25:03 +0100
Otared Kavian wrote:
> Is there a pretty printer file to typeset Matlab codes?
How about Aditya's vim module? It supports Matlab:
\usemodule [vim]
\definevimtyping [matlab] [syntax=matlab]
\starttext
\startmatlab
…
\stopmatlab
\stoptext
Ma
lumn
Words, words, words \dots
all in the second column.
And look ye here! Even more words!
\stopcolumns
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
mail
bin da.\par Du auch}
> \stoptext
Move the \starttext to the beginning:
\starttext
\framed
[height=3em,
width=.5\textwidth,
foregroundcolor=red,
framecolor=blue,
rulethickness=2pt,
background=color,
backgroundcolor=green]
{Ich b
On Mon, 18 Feb 2019 12:26:45 +
Ursula Hermann wrote:
> \framed
> [background=color,backgroundcolor=red,
>foreground=color,foregroundcolor=white
foreground=color,foregroundcolor=white,
> frame=off]
> {\bf
On Sun, 17 Feb 2019 12:14:14 +0100
Peter Münster wrote:
> On Fri, Feb 15 2019, Marco Patzer wrote:
>
> > - It's 99% Peter's code, he's the maintainer of the module and
> > probably he should just fix his code.
>
> Done.
>
>
> > - My modification con
tribution.
- I'm not fluent in Lua and am therefore not the right person to
maintain a Lua module.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-conte
degrades jpg as well as png images at the same
time. It's a quick hack, but works here, also on armhf.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@n
. The script worked up to a particular context
version. I believe a Lua upgrade broke it. The version attached
should work.
Marco
if not modules then modules = { } end modules ['t-downsample'] = {
version = 1.001,
comment = "companion to grph-inc.mkiv",
author= "P
the degrade module. Instead I use the downsample.lua
script which works fine with a current beta. Maybe give it a try.
Apparently it's not on the wiki and if I remember correctly I got it
off the mailing list. Let me know if you can't fin
to go with it:
>
> https://lists.contextgarden.net/mailman/listinfo/wiki
I didn't know there's a list for the wiki. Signed up.
Marco
___
If your question is of interest to others as well, please add an entr
ut before
removing the info on the wiki someone needs to confirm there's no
repo any longer.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.
, but apparently it's
permanently down. Where is the manual hosted at the moment? The wiki
still points to foundry.supelec.fr:
https://wiki.contextgarden.net/Improving_the_manuals
Some years ago there was a discussion about moving it to github. But
I doubt that has ever taken place.
Marco
On Tue, 5 Feb 2019 12:22:29 +0100
Marco Patzer wrote:
> Is there a way to hook the \spaceddigits into \unit somehow?
I tried to add \spaceddigits to the \unit command, but it didn't
work. If someone has an idea how to do that, I'd greatly appreciate.
Ma
On Fri, 8 Feb 2019 23:26:21 +0100
Hans Hagen wrote:
> On 2/8/2019 10:22 PM, Marco Patzer wrote:
>
> > What is a bad name for context? Does it have any consequences if
> > badly named files are used? Just being curious.
> Bad names are names that can result i a miss whe
a.1.png” seem perfectly fine file names to me.
The files are included without issues, regardless of context's opinion about
the name.
What is a bad name for context? Does it have any consequences if badly named
files are used? Just being curious.
Ma
layer prints on all pages
next : layer appears on the following page
continue : layer appears on all pages except the first
> \setupbackgrounds[paper][background=kreisbackground, state=start]
\setupbackgrounds[paper][background=kreisba
Hi!
Is it expected behaviour that --ansi creates an empty log file?
Example:
%% foo.tex
\startext\null\stoptext
# context foo
# wc -c foo.log
7501 foo.log
# context --ansi foo
# wc -c foo.log
1 foo.log
ctx 2019.01.28 16:58
Marco
1 - 100 of 1157 matches
Mail list logo