Re: [NTG-context] Adaptation of ConTeXt to Esperanto

2021-10-09 Thread Wolfgang Schuster via ntg-context
Alain Delmotte schrieb am 09.10.2021 um 11:23: Hi! Le 9/10/2021 à 10:58, Wolfgang Schuster a écrit : Alain Delmotte via ntg-context schrieb am 08.10.2021 um 22:07: Hi, Some time ago I did prepare the files to support Esperanto in Context (hyphenation and translation of terms). I thought

Re: [NTG-context] Adaptation of ConTeXt to Esperanto

2021-10-09 Thread Wolfgang Schuster via ntg-context
anguage[\s!esperanto][\c!default=\s!eo] 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-conte

Re: [NTG-context] ConTeXt's equivalent of standalone class

2021-10-02 Thread Wolfgang Schuster via ntg-context
you use % multiple TEXpage environments in your document %\starttext \startTEXpage \starttikzpicture ... \stoptikzpicture \stopTEXpage %\stoptext Wolfgang ___ If your question is of interest to others as well, please

Re: [NTG-context] Question on style-italic vs style=italicface

2021-10-02 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:49: Wolfgang (off-list), It is simply wrong to say that \italicface as defined gives only \it or \bi as a result. Look at the definition. If the current fontalternative is it \it it will give a \tf result. It is sensitive to the current

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
Rik Kabel via ntg-context schrieb am 27.09.2021 um 00:20: On 9/26/2021 16:29, Wolfgang Schuster via ntg-context wrote: Rik Kabel via ntg-context schrieb am 26.09.2021 um 22:13: Hello list mavens, What are the circumstances under which style=italicface should be used instead of style=italic

Re: [NTG-context] Question on style-italic vs style=italicface

2021-09-26 Thread Wolfgang Schuster via ntg-context
fferent result when you use \em compared with \it. Example: \starttext \tex{it}: normal {\it italic} {\bf bold {\it italic}} \tex{italicface}: normal {\italicface italic} {\bf bold {\italicface italic}} \tex{em}: normal {\em italic} {\bf

Re: [NTG-context] Placing pagenumer with coordinates (layers)

2021-09-21 Thread Wolfgang Schuster via ntg-context
]{\pagenumber} \stopsetups \setupbackgrounds[page][setups=layer,background=pagenumber] \starttext \dorecurse{10}{\page[dummy]} \stoptext Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 13:14: Am 19.09.2021 um 13:01 schrieb Wolfgang Schuster via ntg-context : Henning Hraban Ramm via ntg-context schrieb am 19.09.2021 um 12:44: There are some problems in the following MWEs. First example looks the same with MkIV

Re: [NTG-context] tabulate with lp columns

2021-09-19 Thread Wolfgang Schuster via ntg-context
with a simple "l" column. With "p" the width is ignored. You're missing a \NC at the start of each row. Wolfgang ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Wolfgang Schuster via ntg-context
the number conversion for the frontmatter and the counter starts at 1 by default. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Wolfgang Schuster via ntg-context
? In the past the titles page was spread over many smaller pages with AFAIR a separate page for each layout. Going to back to this doesn't seem to be the best idea but creating a new page for all examples can be useful. Wolfgang

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-13 Thread Wolfgang Schuster via ntg-context
this? \setuphead   [chapter]   [page=yes,    alternative=inmargin,    location=outer,    align=outer] \setuppagenumbering   [alternative=doublesided] \showframe \starttext \dorecurse{10}{\expanded{\chapter{Chapter \convertnumber{word}{\recurselevel \stoptext Wolfgang

Re: [NTG-context] Image cropped

2021-09-12 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 12.09.2021 um 12:10: Hi Wolfgang, That's what I understood but the problem is that if I reduce the margin, the logo is too small in my opinion : what would you do ? Place the logo with a layer or shift is inwards. \setuplayout   [width=middle

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Wolfgang Schuster via ntg-context
@Marcel: I suggest to load ttc fonts with the file option. \starttext \definedfont[file:iosevka.ttc(Iosevka)*none]Iosevka \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Image cropped

2021-09-11 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.09.2021 um 17:52: Hi Wolfgang, The red frame is the print area ? The *green* frame are the margins of the A4 paper which is positioned in the middle of the A3 paper. The larger paper allows you to the see the part of the margins which

Re: [NTG-context] Image cropped

2021-09-11 Thread Wolfgang Schuster via ntg-context
\dorecurse{8}{\input knuth} \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

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-11 Thread Wolfgang Schuster via ntg-context
there should be a full (printpaper)size image. https://www.mail-archive.com/ntg-context@ntg.nl/msg94581.html Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Equation alignment

2021-09-07 Thread Wolfgang Schuster via ntg-context
= \frac{-b \pm \sqrt{b^2-4ac}}{2a} \NR \stopmathalignment \stopformula \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.n

Re: [NTG-context] features of fallback font

2021-09-07 Thread Wolfgang Schuster via ntg-context
] \definefontfamily [sylvain] [math] [Latin Modern Math] \setupbodyfont [sylvain] \starttext 人 foo {\bf 人 bar} 人 foo \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Remove vertical space around typing

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert schrieb am 07.09.2021 um 13:38: Thanks Wolfgang, this solves my problem. But now I'm wondering why \starttyping[before=,after=] cannot do the same job? Works here. \starttext Remove space below \starttyping[before=,after=] some code \stoptyping \stoptext Wolfgang

Re: [NTG-context] Remove vertical space around typing

2021-09-07 Thread Wolfgang Schuster via ntg-context
Sylvain Hubert via ntg-context schrieb am 07.09.2021 um 11:49: Dear List, How should we remove the vertical space above and below the following typing? \starttext Remove space below \starttyping some code \stoptyping \stoptext \setuptyping [before=,after=] Wolfgang

Re: [NTG-context] no looseness in LMTX?

2021-09-07 Thread Wolfgang Schuster via ntg-context
enable protrusion and font expansion for your document font or is it just missing in your example? Have you checked if the alignment changes when you use the "extremestretch" keyword for \setupalign?

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Wolfgang Schuster via ntg-context
ering=file, ] \setuptyping[numbering=line] 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-conte

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
xt \setup[header] \dorecurse{12}{\samplefile{lorem}\par} \stoptext stop example 2 Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg

Re: [NTG-context] Test for displaying a header

2021-08-27 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 27.08.2021 um 10:04: Hi Wolfgang, This may not be nicest but seems to work Fabrice %% \definelayout [1]   [header=10mm] \setuplayout   [header=0pt,  height=middle] \setuppagenumbering [alternative=doublesided,location=] \setupbackgrounds

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
environment  but you never call it. The call from within the environment itself can't work because the content is never evaluated and even if it would be called you create an endless loop. Wolfgang ___ If your question

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Wolfgang Schuster via ntg-context
not the nicest solution, but this works: \doifvalueelse {\lastpage} {1} {\message{true}} {\message{false}} Same solution but better counter name: \doifelse{\totalnumberofpages}{1}{...}{...} Wolfgang

Re: [NTG-context] layer disappears when showframe is set

2021-08-26 Thread Wolfgang Schuster via ntg-context
round=" which resets all previous values of the background-key. To keep the layer setting you have to move \showframe above your own \setupbackgrounds command because the reset of the background-key happens then before you pass your own value.

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 23:15: On 25 Aug 2021, at 13:56, Wolfgang Schuster wrote: Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt] \definefont[TestB

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
, typing environment etc. \usebodyfont[heros] \starttext \style[style={\switchtobodyfont[heros,14pt]}]{The quick brown} \style[style={\switchtobodyfont[heros,14pt]\bf}]{fox jumps over} \style[style={\switchtobodyfont[heros,14pt]\it}]{the lazy dog} \stoptext Wolfgang

Re: [NTG-context] TOC labeltext and no partlabel

2021-08-25 Thread Wolfgang Schuster via ntg-context
matter \startappendices \chapter{Appendix} \stopappendices \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/m

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 21:26: Am 24.08.2021 um 21:17 schrieb Wolfgang Schuster via ntg-context : Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must

Re: [NTG-context] numbered exercises

2021-08-24 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 24.08.2021 um 20:31: Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must not float. Which structure should I use for them? There must be an easy answer, but I draw a blank. Use an enumeration. Wolfgang

Re: [NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Wolfgang Schuster via ntg-context
,height=\footerheight]} \showframe \starttext \dorecurse{20}{\samplefile{lorem}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-22 Thread Wolfgang Schuster via ntg-context
need to be adjusted? (Second mail with another error in LMTX follows.) Can you provide a minimal working (or in your case not working) example for the problem. Wolfgang ___ If your question is of interest to

Re: [NTG-context] Adjustment for header and footer

2021-08-22 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 22.08.2021 um 13:13: Hi, In the file below (not minimal, sorry!) I am using commands from Wolfgang in different threads. We can see that the top frame overflows into the text: how to correct this ? I would also like the top and bottom stroke

Re: [NTG-context] file to buffer

2021-08-17 Thread Wolfgang Schuster via ntg-context
} \stopnointerference \typebuffer[knuth] \getbuffer[knuth] \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

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
[lecturenumber] \doiftext{\getmarking[lecture]}{: \getmarking[lecture]} \stopsetups \setupfootertexts [\directsetup{footer:left}] [] \starttext \completecontent \startlecture [title={Foo}] Foo bar baz \stoplecture \page \startlecture Foo bar baz \stoplecture \stoptext Wolfgang

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 12:18: Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin project \startproject[terminale-environment] \environment[terminale-style]  ... \stopproject end

Re: [NTG-context] Adjustment in the table of contents

2021-08-16 Thread Wolfgang Schuster via ntg-context
] \setuplist   [subsection]   [margin=2.75em,% chapter width + section width    width=2em] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
} \stopsectionblockenvironment \doifmode{*component}{\directsetup{section:chapter}} \stopenvironment end environment Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Create an enumeration style

2021-08-13 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 11.08.2021 um 12:57: I forgot this : how to reduce the font size for the exponents "er", "e" ? The exponents are placed with \high and you can change the style with     \setuphigh[style=...] but this affects all texts which

Re: [NTG-context] Create an enumeration style

2021-08-09 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 09.08.2021 um 14:16: Hi Wolfgang, Thank you for your suggestion. I tested the code and the result is not what I expected from the second item : "2 exemple" instead of "2^{e} exemple", "3 exemple" instead of "3^{e} exemple"

Re: [NTG-context] Create an enumeration style

2021-08-08 Thread Wolfgang Schuster via ntg-context
=,    numbercommand=\groupedcommand{}{~exemple},    numberconversion=ordinal] \mainlanguage [fr] \starttext \starttest \input knuth \stoptest \starttest \input knuth \stoptest \stoptext Wolfgang ___ If your question

Re: [NTG-context] Referencing fonts by path within ConTeXt

2021-08-07 Thread Wolfgang Schuster via ntg-context
path with font setup commands in an environment file? You can use     \usefontpath[...] to set a directory where ConTeXt searches for fonts but this works only when you use a typescript and not for \definefontfamily. Wolfgang

Re: [NTG-context] Rotating pages

2021-08-07 Thread Wolfgang Schuster via ntg-context
to achieve this? \startbuffer[apx] \setuppapersize[ \setuppapersize[%   \dorecurse{\noffigurepages}       {\startTEXpage \externalfigure[\jobname-apx.pdf][page=\recurselevel]  \stopTEXpage} \externalfigure [...] [page=\recurselevel,orientation=90] Wolfgang

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
\dorecurse{6}{\input knuth\par} \stopMyPart \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

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context
canvas.copies = false + else + canvas.copies = copies end -- [...] end Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Alignment of bullets withn \tabulate within \itemize

2021-08-04 Thread Wolfgang Schuster via ntg-context
point. \starttext \startitemize[intext] \item XXX \starttabulate[|l|||] \NI aa \NC bb \NC\NR \stoptabulate \item YYY \stopitemize \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Wolfgang Schuster via ntg-context
e existing commands we can use \doifelsebufferempty \doifelsebuffersomething \doifelsebuffernothing or (we already have \xmldoif... and \btxdoif...) \bufferdoifelseempty \bufferdoifelsesomething \bufferdoifelsenothing Wolfgang ___ I

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Wolfgang Schuster via ntg-context
box. 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 / h

Re: [NTG-context] Additional font variants

2021-08-01 Thread Wolfgang Schuster via ntg-context
al alternatives to both styles is possible but the included typescripts (e.g. for lucida bright ot) have to be checked and fixed. Wolfgang ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-01 Thread Wolfgang Schuster via ntg-context
is in the same folder as the main tex file. It would be nicer to have a sub folder (e.g. examples) where I can put the files and \typesetfile creates the pdf in this folder to prevent clutter in the main folder. Wolfgang

Re: [NTG-context] Verbatim text in a frame

2021-07-31 Thread Wolfgang Schuster via ntg-context
=\blank] \setuptyping   [typing]   [before={\starttextbackground[Code]},    after={\stoptextbackground}] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Question about \groupedcommand{}{}

2021-07-27 Thread Wolfgang Schuster via ntg-context
uptest \startgrouptest \unknown \stopgrouptest \blank[2*line] \setupenumeration [grouptest] [number=no] \startgrouptest [title={dummy title}] \unknown \stopgrouptest \startgrouptest \unknown \stopgrouptest \stoptext Wo

Re: [NTG-context] Macro that does not work in an environment

2021-07-27 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur schrieb am 27.07.2021 um 18:24: Hi, The macro \card must allow the word Card to be written in the normal style. Hans' solution works well. To use \text with a certain style use a \mathtext.. command, e.g. \define[1]\card {\m{\mathtexttf{Card}\thinspace#1}} Wolfgang

Re: [NTG-context] Macro that does not work in an environment

2021-07-27 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 27.07.2021 um 16:32: Hello, How to make the macro work in the environment definition ? Can you explain your problem with the \card. Wolfgang ___ If your question

Re: [NTG-context] Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame

2021-07-26 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 26.07.2021 um 13:13: Hello, Following on from my previous questions for writing my book (thanks again Wolfgang), I have to create a solution environment like the attached image. My problem is adjusting the length of the frame. Thank you. Fabrice

Re: [NTG-context] Testing for LMTX: \ifmode

2021-07-25 Thread Wolfgang Schuster
. \starttext \ifcase\contextlmtxmode \MKIV \else \MKIV\ + \LMTX \fi \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Percentage stacked bars chart

2021-07-24 Thread Wolfgang Schuster
-statistical-charts.lua - t-statistical-charts.mkiv Does it work when you put the files and a document in the same folder? Can you show use your error message. Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Wolfgang Schuster
[\ifodd\currentxtablerow \useMPgraphic{xtablerow}% \fi] \starttext \startxtable[frame=off,background=xtablerow] \dorecurse{20} {\startxrow \startxcell Column 1 \stopxcell \startxcell Column 2 \stopxcell \stopxrow} \stopxtable \stoptext

Re: [NTG-context] TrueType font styles suddenly not found anymore

2021-07-23 Thread Wolfgang Schuster
MTX ConTeXt but I can’t find the instructions. Can someone enlighten me? Updating the font cache: mtxrun --script fonts --reload or mtxrun --script fonts --reload --force Listing all available fonts: mtxrun --script fonts --list --all optima* Wolfg

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-23 Thread Wolfgang Schuster
added many new commands which replaced older mechanism. There is no way all modules can work after these changes (especially modules which add font support in MkII). Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Use of lettrine module in LMTX

2021-07-21 Thread Wolfgang Schuster
paragraph without reserving space to indent the first few lines. 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/ma

Re: [NTG-context] LMTX and lettrine

2021-07-19 Thread Wolfgang Schuster
you can also use the slope option to change the indentation for letters like A or V. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / h

Re: [NTG-context] languages

2021-07-18 Thread Wolfgang Schuster
. \language is only needed when you use more than 1 language in a document, otherwise \mainlanguage is enough to change labels and hyphentation patterns. Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] (no subject)

2021-07-18 Thread Wolfgang Schuster
hich isn't the case for your last table. To get rid of the counter add "nonumber" to the location argument, e.g. \startplacetable[title=...,location={nonumber,force}] but you can also disable the counter for all table floats with \setupcaption [table] [n

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-18 Thread Wolfgang Schuster
begin document-xxx.tex \startcomponent [*] \environment [document-environment] % put your content here \stopcomponent end document-xxx.tex Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] number in \doloopoverlist?

2021-07-14 Thread Wolfgang Schuster
iterating over a list. \definecounter [loopcounter] \starttext \resetcounter [loopcounter] \doloopoverlist {a,b,c,d} {\recursestring, number: \incrementedcounter [loopcounter]\par} \stoptext Wolfgang ___ If your

Re: [NTG-context] Header for a book

2021-07-13 Thread Wolfgang Schuster
nombrement} \samplefile{lorem} \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

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Wolfgang Schuster
to make the code simple. If there is another good method, please let me know. \dorecurse {...} {\frame{...}} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] reusableMPgraphic

2021-07-12 Thread Wolfgang Schuster
of \meta_usempgraphic_nop doesn't match its definition Any pointers? Thanks meta-ini.mkxl -\def\meta_usempgraphic_nop#=#*#=% +\tolerant\def\meta_usempgraphic_nop#=#*#=%   {\meta_begin_graphic_group{#1}%    ...    \meta_end_graphic_group} Wolfgang

Re: [NTG-context] Ampersand in \unprotect fails in LMTX

2021-07-09 Thread Wolfgang Schuster
the problem. The actual code is part of a module (therefore it's \unprotect'ed). 1. While most modules use \unprotect there is often no need for it. 2. You can stop and restart protected mode in a module. Wolfgang ___

Re: [NTG-context] Footer

2021-07-05 Thread Wolfgang Schuster
enumbering [alternative=doublesided] \starttext \startchapter [title=First chapter] \dorecurse{10}{\input knuth} \stopchapter \startchapter [title=Second chapter] \dorecurse{10}{\input knuth} \stopchapter \stoptext

Re: [NTG-context] log: use \thinspace instead of \,

2021-06-30 Thread Wolfgang Schuster
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

Re: [NTG-context] hyphenate nothyphenated

2021-06-30 Thread Wolfgang Schuster
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:

Re: [NTG-context] color conversion eats note

2021-06-27 Thread Wolfgang Schuster
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

Re: [NTG-context] Invalid keyword \spaceskip

2021-06-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Invalid keyword \spaceskip

2021-06-26 Thread Wolfgang Schuster
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

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Wolfgang Schuster
[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

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Wolfgang Schuster
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

Re: [NTG-context] setupquotation[method=font] problem

2021-06-24 Thread Wolfgang Schuster
]   [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

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Wolfgang Schuster
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

Re: [NTG-context] Setup output name from within ConTeXt document

2021-06-22 Thread Wolfgang Schuster
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

Re: [NTG-context] Concatenate buffers without newline

2021-06-22 Thread Wolfgang Schuster
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

Re: [NTG-context] simplifying repeated macro calls in metafun

2021-06-22 Thread Wolfgang Schuster
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

Re: [NTG-context] xtable as list item (again)

2021-06-16 Thread Wolfgang Schuster
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

Re: [NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Wolfgang Schuster
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

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread Wolfgang Schuster
\definefontfamily [source-han] [rm] [Source Han Serif] \startsetups [japanese] \switchtobodyfont [source-han] \setscript [hanzi] \stopsetups \setuplanguage [ja] [setups=japanese] \starttext English {\ja 日本語} \stoptext Wolfgang

Re: [NTG-context] \startplacetable[location=none] doesn't have a "Table X" label, but \startplacetable[location=force] does

2021-06-14 Thread Wolfgang Schuster
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 :

Re: [NTG-context] dictionary example

2021-06-12 Thread Wolfgang Schuster
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

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Wolfgang Schuster
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

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Wolfgang Schuster
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

Re: [NTG-context] keep text strictly inside box

2021-06-08 Thread Wolfgang Schuster
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

Re: [NTG-context] frameoffset in textbackground?

2021-06-08 Thread Wolfgang Schuster
, 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

Re: [NTG-context] LMTX problem with doifmode in \setuplayout

2021-06-08 Thread Wolfgang Schuster
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

Re: [NTG-context] keep text strictly inside box

2021-06-07 Thread Wolfgang Schuster
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

Re: [NTG-context] yscale not working

2021-06-05 Thread Wolfgang Schuster
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

Re: [NTG-context] where to break a long header

2021-06-05 Thread Wolfgang Schuster
\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

Re: [NTG-context] quotes potruding out in the left margin

2021-06-04 Thread Wolfgang Schuster
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

<    1   2   3   4   5   6   7   8   9   10   >