On Tue, 19 Mar 2024 15:38:16 +0100
Jeroen wrote:
> Can this text be placed in the margin in regular text or possibly
> in slightly smaller font size compared to the regular text in the
> document?
\setupmargindata
[inleft]
[style=\tf
On Sat, 16 Mar 2024 20:33:33 + (UTC)
Joel via ntg-context wrote:
> How do I remove the page number from the header texts?
\setupheadertexts []
or
\setuplayouttext
[header][text]
[middletext=]
Ma
ction
[title=FooBar]
\setupdocument
[metadata:title=FooBar]
\setupmetadata
[title=FooBar]
Are any of those deprecated or the preferred way? I'm starting to
get confused.
Marco
___
If your question is of interest to o
errors=*]
%% missing font
\definefontfamily [foo] [serif] [no font here really]
\setupbodyfont [foo]
\starttext
%% missing characters
풜
\stoptext
Marco
___
If your question is of interest to others a
UTF-8 characters then do not come out in text with
> Modern font.
You need to select a font containing the characters you need. Or set
up a fallback for a certain range:
https://wiki.contextgarden.net/Command/definefallbackfami
you can play with
> \inframed in the second case
\inframed did make a difference, indeed. I'll check if I can obtain
the spacing I need. Thanks.
Marco
___
If your question is of interest to others as well, please add an en
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
> I'm having problems getting the textbackground spacing offset to work.
> Example:
>
> \setupframedtext
> [offset=overlay,
>width=max,
>depthcorrection=off]
>
> \setuptextbackground
> [loca
'd approach it. Not sure if it meets all your
requirements, though.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.n
[inchmercury=inHg]
>
> It's just a stupid example to show how to set the label value.
Ok, got it. Thanks for your quick help, as usual!
Marco
___
If your question is of interest to others as well, plea
ick reply.
> \setupunittext[en][millimetermercury=inHg]
That doesn't make sense, inch and mm are different units. I'd rather
add:
\registerunit
[inHg=inchmercury]
\setupunittext
[en]
[inchmercury=
{millimetermercury} render as mmHg and
\unit{inch mercury} render as inHg?
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl
agella]
\setupbodyfont [mainface, 8.5pt]
\starttext
\math{V_y}
\bold{\math{V_y}}
\stoptext
Thank you for your replies.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
ma
\starttext
\bold{\math{x_y}}
\stoptext
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-cont
[mainface] [mm] [TeX Gyre Pagella Math]
%% works
\definefontfamily [mainface] [mm] [pagella]
So even with \definefontfamily it works, when “TeX Gyre Pagella
Math” is changed to “pagella”. That I do not understand.
Marco
___
ter 'subshiftdown' with id 48 in style 2 is not set
\math_m_nop
#1->\relax \ifmmode #1\else \normalstartimath \begingroup #1\endgroup
\normalstopimath
\fi
\bold{\math{x_y}
What is the issue here?
Marco
LMTX 2023.09.04
pretty, but has been working for a decade or so (except the
minimals → standalone change a while ago).
> You can check the mailing list, all new releases by Hans are now
> reported on the ntg-context list
That's not pr
ove: there is nothing behind the connection.
I used that server to check for the latest context version. What's
the recommended way to check for the latest version? Basically the
output of the \contextversion command?
Marco
__
ame:
DNS:4tex.ntg.nl, DNS:mailman.ntg.nl, DNS:mysql-admin.ntg.nl, DNS:ntg.nl,
DNS:www.ntg.nl
This makes connections fail. distribution.contextgarden.net has to
be added to the Alternative Name list.
Marco
___
If y
yout?
Works as expected here. The margins have changed and \showlayout
gives you:
\leftmarginwidth = 6cm
\rightmarginwidth = 10cm
Change the example to:
\setuplayout
[leftmargin=6mm, %% mm, not cm
rightmargin=10mm]
That way you better see the effect on the
On Thu, 16 Nov 2023 21:40:08 +0100
vm via ntg-context wrote:
> Is there a command in context to force every word in a text to
> hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes"
Like this?
\starttext
\hyphenatedword{\samplefile{knuth}}
{1}{\n}}
\starttext
%% dots are vertically aligned
\dorecurse{6}{%%
Foo \PavelFiller Bar\par}
\hairline
%% dots are not aligned
\dorecurse{6}{%%
\oneword\PavelFiller\oneword\par}
\stoptext
Marco
LMTX 2023.09.04 19:15
it get the same spacing as in the framedtext case? The
textbackground has a small gap between the inner and outer frame at
the top and a larger gab at the bottom. I'm not concerned with
horizontal spacing here.
Marco
LMTX 2023.09.04 19:15
bar \blank [5*line]
foo \externalfigure[][][location=middle] bar \blank [5*line]
foo \externalfigure[][][location=low]bar
\stoptext
Marco
___
If your question is of interest to others as well, please add an en
ons as to what needs to be changed to get the diagram to
> display correctly?
I saved it again and now it seems to work.
Marco
___
If your question is of interest to others as well, please add an entry to the
Wiki!
m
On Tue, 3 Oct 2023 16:27:22 +0200
Marco Patzer wrote:
> What about:
>
> \unit{10 um}
> \unit{10 µm}
>
> Can I assign µ to mean micro (prefix)?
Found it:
\registerunit [prefix] [µ=micro]
\starttext
\unit{10 micro meter} \crlf
\unit{10 µm}
\stoptext
Should this be the d
On Tue, 3 Oct 2023 15:42:57 +0200
Wolfgang Schuster wrote:
> Marco Patzer schrieb am 03.10.2023 um 12:31:
> > Hi!
> >
> > I struggle using the unit Farad (unit of capacitance):
>
> The unit "farad" exists.
You're right \unit{10 Farad} works.
µm” to produce the correct result. Can we make
“µm” also produce the same result as “um”?
Marco
LMTX 2023.09.04 19:15
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
On Sat, 13 May 2023 14:04:49 +0200
Lutz Haseloff via ntg-context wrote:
> When I invoke context with parameter --ansi, the logfile remains
> empty.
I can confirm:
https://www.mail-archive.com/ntg-context@ntg.nl/msg90303.html
ix[aa, bb, foobar]
But that's not how it behaves. Can you elaborate?
Marco
LMTX 2023.02.14 17:44
PS: When I get it to work, I'll document it on the wiki.
___
If your question is of interest to others as well, pl
gt;
> \adddefaultsuffix[foo,{},crap]
> \adddefaultsuffix[{}]
>
> \typefile{./crapcrap}
> \typefile{crapcrap}
Thanks Hans for looking into that. I'll play with it after the next
update.
> which someone
correct. But as I said, assuming \type'ed files are .tex
files does not make sense, IMO.
> By chance, do you have a file named "bar.tex" that would prevent this
> from being an error?
No. It just doesn't produce an error here (or non-success exit code
for that matter).
ly unnoticed.
I'd expect an error there.
Marco
___
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
Xt seems to dislike \typefile{bar} when the filename
> has no suffix.
Is there a way around it? Traditionally there are plenty of files
without suffix (e.g. README, Makefile, configure, etc.)
Marco
___
If your quest
e 'bar' does not exist
However, the file “bar” clearly does exist. Furthermore, context
exits with no error in the log file and a successful exit value:
context --errors='*' t.tex > /dev/null; echo $?
0
Is this working as intende
On Mon, 19 Sep 2022 17:16:19 +0200
Pablo Rodriguez via ntg-context wrote:
> Could anyone confirm the issue?
I can confirm. On a fresh install I'm getting
2022.09.11 20:44
Marco
___
If your quest
t specify multiple domains with the “-d” option.
Marco
___
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-contex
On Mon, 29 Aug 2022 09:30:34 +0200
Marco Patzer via ntg-context wrote:
> The typearea module fails on LMTX (runs ok with MkIV):
>
> tex error > tex error on line 89 in file
> /usr/local/share/context-lmtx/tex/texmf-modules/tex/context/third/typearea/t-typearea.tex:
&
Hi!
The typearea module fails on LMTX (runs ok with MkIV):
tex error > tex error on line 89 in file
/usr/local/share/context-lmtx/tex/texmf-modules/tex/context/third/typearea/t-typearea.tex:
Missing number, treated as zero
LMTX 2022.08.25 19:21
Ma
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
1 - 100 of 1194 matches
Mail list logo