enumbering
[alternative=doublesided]
\starttext
\startchapter [title=First chapter]
\dorecurse{10}{\input knuth}
\stopchapter
\startchapter [title=Second chapter]
\dorecurse{10}{\input knuth}
\stopchapter
\stoptext
all of these spaces commands are used in math mode.
Wolfgang
___
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
just another option.
\enabledirectives[hyphenators.discretionary=hyphenated|nothyphenated]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http:
rgb=no,conversion=no]
%\setupcolors[state=stop,conversion=no]
\setcolormodel[none]
\starttext
\dorecurse{20}{\convertnumber{word}{#1} }%
\color[red]{not a number}
\dorecurse{20}{\convertnumber{word}{#1} }
\stoptext
Wolfg
Steffen Wolfrum schrieb am 26.06.2021 um 23:38:
Am 26.06.2021 um 22:43 schrieb Wolfgang Schuster
:
Steffen Wolfrum schrieb am 26.06.2021 um 22:26:
PS: with
% engine=luatex
it works fine.
Add \relax after the last skip value, i.e.
\spaceskip = 1pt plus 1pt minus 1.5pt\relax
LMTX allows
for an additional minus value.
Wolfgang
___
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
[shiftblock]
\input ward
\stopuserdata
\dorecurse{2}{\input zapf\par}
\stopbuffer
\dorecurse{10}{\getbuffer}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
Wolfgang
___
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 / http
]
[protrusion=quality,expansion=quality]
\setupquotation
[method=font]
\setupalign[hz,hanging]
\starttext
oh hi there
“you are so”
\quotation{you are so}
here here
\stoptext
Similarly with \setupquote. Help, please!
Let's see what Wolfgang says
settings (\definebodyfont ...) to get it
working. A limiting factor is that you have to stick to two-letter names
for each alternative and the easier solution is to create additional
typefaces.
Wolfgang
___
If your
ame,
not the file system name.
With \setupinteraction you can set/change metadata values but not the
file name.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
mailli
next time.
\starttext
\startbuffer[first]
First paragraph.
\stopbuffer
\startbuffer[second]
Second paragraph.
\stopbuffer
\start
\setupbuffer[before=,after=]
\getbuffer[first]%
\getbuffer[second]
\stop
\blank
\getbuffer[first,second]
\stoptext
Wolfgang
to go further back, whatever already existed in MetaFont.
Wolfgang
___
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
here
\stopfixed
Wolfgang
___
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
s for each table add \start before the
setup-commands and \stop after the table, this keeps all setups local to
the current table, e.g.
\start
\setupTABLE [r] [1] [..,..=..,..]
\setupTABLE [c] [2] [..,..=..,..]
\bTABLE
...
\eTABLE
\stop
\definefontfamily [source-han] [rm] [Source Han Serif]
\startsetups [japanese]
\switchtobodyfont [source-han]
\setscript [hanzi]
\stopsetups
\setuplanguage
[ja]
[setups=japanese]
\starttext
English {\ja 日本語}
\stoptext
Wolfgang
able X" label when I use
>\startplacetable[location=force]?
>
>
\startplacetable [location={force,none}]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
the title. Omitting the title for a heading doesn't mean no space is
inserted, to change this you can use the 'placehead=hidden' setting but
I guess your goal is to add a mark entry for each description.
Wolfgang
Hans Hagen schrieb am 09.06.2021 um 00:08:
On 6/8/2021 11:44 PM, Wolfgang Schuster wrote:
Rik Kabel schrieb am 08.06.2021 um 23:01:
Yes, that works. Of course, to say that you can never be sure if
such combinations will work is not a welcome statement about the
state of ConTeXt.
More
problem may be lurking.
Just because it did work doesn't mean it was intended to be used in this
case. The different behavior between keywords and dimensions is a result
of the different ways how the are implemented and the way TeX (the
engine) works when it reads arguments.
Wolfgang
Taco Hoekwater schrieb am 08.06.2021 um 08:42:
On 7 Jun 2021, at 23:07, Wolfgang Schuster
wrote:
Use the align key.
\starttext
\startframedtext[width=10cm,align={flushleft,nothyphenated}]
Also, ‘verytolerant’ helps:
align={flushleft,nothyphenated,verytolerant}]
Another option
,
whatever frameoffset= is set to.
The textbackground mechanism uses MetaPost to draw the background, lines
etc.
Not all options are available for each background, e.g. frameoffset
works by default only for side lines.
Wolfgang
without problems. The only reliable method in this case is:
% default setup
\setuplayout
[marking=on]
% mode dependent setup
\startmode[aaa]
\setuplayout
[marking=off]
\stopmode
Wolfgang
___
If your
manually (a nuisance to be avoided, of course.)
Use the align key.
\starttext
\startframedtext[width=10cm,align={flushleft,nothyphenated}]
Martinus, zoon van Johannes van Zonnevelt en Johanna
Teikenbort: getuigen Adrianus van Zonnevelt en Anna
van Oostbroek.
\stopframedtext
\stoptext
Wolfgang
the height, but then it
becomes too wide.
Not all scaling and sizing combinations can be used at the same time.
To get both effects you can use \scale to stretch the figure to the
desired height.
\scale[sy=2]{\externalfigure[...][width=.5\textwidth]}
Wolfgang
\placecontent
\section{First section \\ with a line break}
\section{Second section\\ with a line break}
\section{Third section \\with a line break}
\section{Fourth section\\with a line break}
\stoptext
Wolfgang
partially but this is normal with
the quality setting).
I attached the example to ensure nothing was added when I send it.
Wolfgang
\definefontfeature
[default]
[default]
[protrusion=quality,
expansion=quality]
\setupquotation
[method=font]
\setupalign
[hz,hanging]
\showframe
nging]
\starttext
oh hi there
“you are so”
\quotation{you are so}
here here
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.
it:
\setupnotation[footnote]
[way=bychapter]
Do you use chapters?
% \setupnote[footnote]
% [way=bychapter]
\setupnote
[footnote]
[location=none]
Wolfgang
___
If your question is of interest to others as well, please
version: 2021.06.01 17:04
Wolfgang
___
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
are adding a extra space in the first line at the end of the
\setupindenting line.
To get rid of the space add % after the setup (i.e.
\setupindenting[no]%) or even better use the indenting key with
\startitemize or \setupitemize (i.e. \startitemize[indneting=no]).
Wolfgang
Michael Guravage schrieb am 28.05.2021 um 19:33:
A pox upon me for a clumsy lout!
You can also remove
\usetypescriptfile[...]
from your document because \setupbodyfont loads the file itself when the
typeface and the file have matching names.
Wolfgang
denis.ma...@ub.unibe.ch schrieb am 25.05.2021 um 11:44:
-Ursprüngliche Nachricht-
Von: ntg-context Im Auftrag von Wolfgang
Schuster
Gesendet: Montag, 24. Mai 2021 21:04
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] specify a directory for tex files
Jeroen schrieb am
[...]
and
\usesubpath[...]
Wolfgang
___
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
and a with \switchtobodyfont, only small and big are
possible.
\starttext
a
\switchtobodyfont[small]
a
\switchtobodyfont[big]
a
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add
names but the problem
in the example was the use of \define instead of \defineexpandable.
\defineexpandable\HighlightColor{red}
Wolfgang
___
If your question is of interest to others as well, please add an entry
\stoptext
Wolfgang
___
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
of the environment or the start of
the component file.
Wolfgang
___
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
Alan Bowen schrieb am 17.05.2021 um 20:57:
Wolfgang—Thank you. That works very nicely!
You can also remove the \startsetups and \stopsetups commands to enable
the spacing.
When you want the spacing only for certain languages you can use
\setuplanguage to load the setups-block for them
\stoptext
there is no additional space after and before the guillemets.
\starttext
\setup[test]
«anyword»
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
{tufte}
\stoptext
Wolfgang
___
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
erdistance\relax]
{\externalfigure[32.png]}
\setlayer
[backgroundimage]
[left]
[x=\cutspace,
y=\dimexpr\topspace+\headerheight+\headerdistance\relax]
{\externalfigure[32.png]}
\showframe [text] [text]
\starttext
\dorecurse{10}{\dontleavehmode\page}
\stoptext
Alan Bowen schrieb am 30.04.2021 um 13:19:
Hi, Wolfgang—
I copied all the fonts to a new document (file attached) and ran
ConTeXt. The problem persists. The cause, I think, comes in the lines:
\definefallbackfamily[mainface] [mm] [STIX Two Text]
[range=digitsnormal,
force=yes,
features
have create a
minimal example because I'm unable to reproduce it (copy all font
settings to a new document and run ConTeXt).
Can you also check if the font files are found by ConTeXt:
mtxrun --script fonts --list --all stixtwotext*
Wolfgang
Move both \definelayer and \setupbackgrounds to the start of the document
and put braces ({...}) around the list entry.
Wolfgang
jbf schrieb am Mi., 28. Apr. 2021, 06:53:
> It is not clear to me. I have two \setupbackgrounds as you can see. If I
> put setupbackgrounds[page][back
pbackgrounds[page][background=tree]
>
> What am I doing wrong?
>
\setupbackgrounds [page] [background={blessings,trees}]
Wolfgang
___
If your question is of interest to others as well, please add an entry to
w months ago) even \switchtobodyfont didn't help
here when you used the style-key to change the font size.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
s
a format file which contains the content of the source files (which is a
lot faster).
When you make a change in one of the source files you have to create a new
format with includes these changes, to create such a format files type
context --make
a unconventional font size) to your setups.
Wolfgang
___
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
\startchapter[title=Zapf]
\dorecurse{10}{\samplefile{zapf}}
\stopchapter
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
rk. But in the main directory this here fails : context main
>
> -> « input file ‘subfile1’ is not found, quitting’
>
>
>
> What am I missing ? Does \input resolve filenames according to the CWD,
> not to the location itself is located ?
>
> How can I make that work?
&
=0
Wolfgang
___
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
[default] [default] [dlig=yes]
\definefontfamily [times] [rm] [Times New Roman]
\setupbodyfont[times]
\starttext
ff fi fl ffi ffl
\utfchar{"FB00}
\utfchar{"FB01}
\utfchar{"FB02}
\utfchar{"FB03}
\utfchar{"F
and to change values of
the layout for the block all you have to do is to change the layout.
\setuplayout
[copyrightpage]
[backspace=...,
width=...]
Wolfgang
___
If your question is of interest to others as well, please
after the first line (and add \relax after \hskip).
\define[1]}SectionTocEntry
{#1\par
\hskip.5cm\relax\doifnot{...}{...}}
Wolfgang
___
If your question is of interest to others as well, please add an entry
dashes etc. I'm assuming that people in the year 2021 are using an
UTF-8-aware engine (and my corresponding HTML escape function similarly
caters only to & < > " ').
Another option is to use \utfchar, e.g. \utfchar{0x60}
Wolfgang
__
Hi,
when the wildcard symbol is used as argument to \startcomponent (or
\startproduct) the name of the folder is now used and not the file name.
\startcomponent *
\quotation{\currentcomponent}
\stopcomponent
Wolfgang
]
\starttext
Test \hskip1em ἀβ
Test \hskip1em\relax ἀβ
Wolfgang
___
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
.
Could anyone confirm both issues?
Wolfgang
___
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
t.rt("\tfx\bf\white\framedtextparameter{Title}");
p := p shifted (2BodyFontSize,OverlayHeight-ypart center
p+.25ExHeight);
p := textext.t("\tfx\bf\white\framedtextparameter{Title}");
p := p shifted (OverlayWidth/2,OverlayHeight-ypart cent
denis.ma...@ub.unibe.ch schrieb am 05.03.2021 um 15:53:
I mean without breaking the xml of course. Something like an ad hoc injector...
\startxmlsetups ...
\xmlflushcontext{#1}
\stopxmlsetups
Wolfgang
document.
Wolfgang
___
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
denis.ma...@ub.unibe.ch schrieb am 02.03.2021 um 11:50:
Ok, so this combination will disable tolerant and stretch again?
\setuptolerance[tolerant,stretch]
\setupalign[hz,hanging]
Or will it be preserved?
The tolerance settings remain.
Wolfgang
component_1.tex
Wolfgang
___
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
can be useful because
\component doesn't generate a error when the given file doesn't exist.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
,align=normal]{\maxaligned{Uno dos tres}}
\framed[width=10cm,align=paragraph]{Uno dos tres}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
to know about a better way. Thank you beforehand.
\starttext
\framed{Uno dos tres}
\framed{\stretched[width=10cm]{Uno dos tres}}
\framed[width=10cm,align=normal]{\stretched{Uno dos tres}}
\stoptext
Wolfgang
is no output for \HL with too many lines (and the
warning is shown).
\starttext
\starttabulate[|l|]
\NC xxx \NC\NR
\HL
\ntimes{\NC yyy \NC\NR}{4000}
\stoptabulate
\stoptext
Wolfgang
___
If your question is of inter
.
Is it possible to reduce that space?
You can't put keywords and assignments in the same argument of a setup
command, use separate arguments for each of them and it works.
\setupitemize [each] [joinedup,packed] [leftmargin=2em]
Wolfgang
topoverlay}
\stopcollecting
\stoptext
Wolfgang
___
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
webpa
Alain Delmotte schrieb am 22.02.2021 um 19:58:
Hi!
I have the following program:
\definecolor [tableheader] [x=00ADEF]
\setupbodyfont[dejavu,10pt,ss]
% setups and example thanks to Wolfgang Schuster
\startsetups[tablesettings]
\setupTABLE[start][framecolor=gray
);
draw ulcorner OverlayBox -- lrcorner OverlayBox ;
draw llcorner OverlayBox -- urcorner OverlayBox ;
\stopuseMPgraphic
Wolfgang
___
If your question is of interest to others as well, please add an entry
Alain Delmotte schrieb am 16.02.2021 um 21:00:
Le 16/02/2021 à 20:02, Wolfgang Schuster a écrit :
Alain Delmotte schrieb am 16.02.2021 um 19:23:
Hi!
I am progressing in the use of ConTeXt by applying it to some
specific projects.
For two manuals I am preparing for myself I'd like
How to obtain the first?
Can you show your code for the table.
Wolfgang
___
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
can add additional styles but this requires more than a single line
of code.
\definefontfamily itself is limited to the default styles because the
command
creates a typescript behind the scenes.
Wolfgang
___
If your
ttext
\input tufte
\startlayout[extraheader]
\input tufte
\stoplayout
\input tufte
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
}\space}
\stoptext
Wolfgang
___
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
=start:
\starttext
\dorecurse{3}
{\startTEXpage[pagestate=start]
Page #1
\stopTEXpage}
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
,
updating your installation should fix the problem, Pablo posted a
similar problem a few hours ago and Hans already pushed a fix for it.
Wolfgang
___
If your question is of interest to others as well, please add an entry
Angel M Alganza schrieb am 13.02.2021 um 11:42:
On Fri, Feb 12, 2021 at 02:48:23PM -0500, Jairo A. del Rio wrote:
Oh, I knew about the environment form, but I didn't know about
El vie, 12 de feb. de 2021 a la(s) 14:25, Wolfgang Schuster (
wolfgang.schuster.li...@gmail.com) escribió:
You
\startseparatedlist[namelist]
One
Two
Three
Four
\stopseparatedlist
\stoptext
Wolfgang
___
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
on(1, 4){x} \position(2, 4){a}
\stoppositioning
\stoptext
Why is it so, and how could I avoid that please?
1. Because the letters have different heights.
\startTEXpage[offset=1ex]
\processisolatedchars{aix}\ruledhbox
\stopTEXpage
2. Add \strut, e.g. \position(1, 1){\strut i}
\stoptext
Wolfgang
___
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.prag
]
Wolfgang
___
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 / http
[]?
Reporting here is faster. Can (lazy me) Wolfgang confirm the issue?
1. Wrong date
The \date command has wrong/weird grouping which makes global changes
for the day, month and year.
\permanent\tolerant\protected\def\date[#1]#*[#2]%
{\dontleavehmode
\ifparameter#1\or
\begingroup
at.
When you need only a very small number of third party modules you can
just download the zip file and unpack the content in the texmf-modules
folder.
Wolfgang
___
If your question is of interest to others as we
our system? Is it possible
your previous example works because the module is in the same
folder as the file for the document.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
W
sequence" on \setupfancybreak.
Can you show your log-file because the fancybreak module on the wiki
provides
the \setupfancybreak command.
Wolfgang
___
If your question is of interest to others as well, please add an entry
\strut
}}
\definesymbol
[starbreak]
[\maxaligned\bgroup
\hfill\hfill
\strut\symbol{star}\hfill\symbol{star}\hfill\symbol{star}%
\hfill\hfill
\egroup]
\definefancybreak [starbreak] [symbol=starbreak]
Wolfgang
e used.
\overloadmode=4
\starttext
\permanent\def\mycommand#1{[#1]}
\mycommand{Old definition}
\pushoverloadmode
\aliased\let\originalmycommand\mycommand
\permanent\def\mycommand#1%
{{\it\originalmycommand{#1}}}
\popoverloadmode
\mycommand{New definition}
\stoptext
Wo
set and access values (you still have to ensure all values you set
are global).
\setupheadertexts[\getvariable{header}{text}]
\starttext
\setgvariables[header][text=First page]
Page 1
\page
\setgvariables[header][text=Last page]
Page 2
\stoptext
Wolf
{\blank[10mm]}
\starttext
\startzzz
\input weisman
\stopzzz
\startzzz{Ward}
\input ward
\stopzzz
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
know how to force expansion of userdata?
You can drop "expansion=yes" when you use
\normalexpanded{\startsection[..,..=..,..][..,..=..,..]}
Wolfgang
___
If your question is of interest to others as well, p
Fabrice Couvreur schrieb am 16.01.2021 um 16:58:
Hi,
I seem to have seen a method for hatching the cell of a table, but
maybe it's my imagination.The following code does not work.
Thanks for your help.
Look into section 7.4 (Shape libraries) of the metafun manual.
Wolfgang
that \definestructureresetset is the preferred way. But both will
work.
No, \defineresetset is the main command and \definestructureresetset is
a alias for backwards compatibility.
Wolfgang
___
If your question is of interest to others
?
No, the change already happened in MkIV when Hans rewrote the arrows code.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
new color file, especially because most of the colors you use are
already predefined.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg
d argument for the script key) in your
font features for the monospaced font.
Another option is to use "features={always,standarddigits}" but this
enables kerning and ligatures.
Wolfgang
___
If your que
rk because it loads the typescript for MkII.
Wolfgang
___
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/n
]}%
- \processcommalist[#1]\syst_helpers_with_set_step}}
+ \processcommalist[#2]\syst_helpers_with_set_step}}
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
501 - 600 of 8612 matches
Mail list logo