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
ves [logs.errors=*]
%% missing font
\definefontfamily [foo] [serif] [no font here really]
\setupbodyfont [foo]
\starttext
%% missing characters
đť’ś
\stoptext
Marco
___
If your question is of interest t
t; If I use the 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/def
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
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
>
s how I'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 /
ht
; > [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 other
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=inHg]
Marco
3) How to make \unit{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 /
ht
[math] [pagella]
\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
\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
*\)}/\1/p'
Not 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
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
_
ubject Alternative Name:
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
t?
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
do 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.0
igh] 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
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
tsuffix[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 oth
ll have:
>
> \adddefaultsuffix[foo,{},crap]
> \adddefaultsuffix[{}]
>
> \typefile{./crapcrap}
> \typefile{crapcrap}
Thanks Hans for looking into that. I'll play with it after the next
update.
>
st
\stopnitpicking
would be 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
ght go completely 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/mail
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
> file '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 $?
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 questi
ou can
just 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/
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
combine it with \translateinput. 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://
it with 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
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
et me know if I 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 ';'
\st
used 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. Tha
. But on
my machine 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 o
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
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
___
I
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 >
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
x27;t seem 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
___
>
> \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.
yfont [foo]
\starttext foo \stoptext
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 /
.errors]
%% 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
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
sed on compatibility.
2) The user explicitly requested error reporting (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 ent
ors same as --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 a
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
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/mailma
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 que
| fatal error: 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
\stopte
than relying 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, p
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 to the
se) knows a 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 / ht
\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 ent
sary" 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 /
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 Henning.
Marco
_
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 of i
hieve automatic 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
mple group … 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 we
ou combination 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 so
e 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
That's just 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
__
error: 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
work, but 10.11.12.tex
should 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/mailm
n to have multiple dots, 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
) stuff 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 cha
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://
structureresetset
> 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
y. But both will
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
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
s in your code. I
don't know if that's added by your mail client or if that's actually
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
chapters at the moment 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]
>
{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
reset 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 referen
> 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
rstand 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 1220 matches
Mail list logo