Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works

2020-04-24 Thread Wolfgang Schuster
] [Optima]   [it=optimaitalic,    bf=optimabold,    bi=optimabolditalic] 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] Hyphentation/Linebreak after x characters

2020-04-23 Thread Wolfgang Schuster
CCGGCATATT% CTAGAAGGGCCGCCTTCATGTGG% \stopframedtext \stoptext [1] https://mailman.ntg.nl/pipermail/ntg-context/2017/089106.html Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Wolfgang Schuster
. The \useexternaldocument is used to access referecens from other ConTeXt documents. https://mailman.ntg.nl/pipermail/ntg-context/2019/095564.html Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] accessing prd file from component file

2020-04-22 Thread Wolfgang Schuster
something similar with ConTeXt itself but then you get only a PDF with the current file and not the complete document. [1] TeXShop Tips & Tricks: https://herbs.github.io/ Wolfgang ___ If your question is of inte

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Wolfgang Schuster
Saša Janiška schrieb am 21.04.2020 um 17:35: On Tue, 21 Apr 2020 15:32:24 +0200 Wolfgang Schuster wrote: Hello Wolfgang, thank you very much for prompt reply! You have to set a font which has the required glyphs but you can also use different fonts for both scripts and combine them. I

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Wolfgang Schuster
यान्पुंसः सङ्गस्तेषूपजायते । सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजायते ॥ ६२ ॥ dhyāyato viṣayān puṁsaḥ saṅgas teṣūpajāyate saṅgāt sañjāyate kāmaḥ kāmāt krodho ’bhijāyate \stoptext Wolfgang ___ If your question is of

Re: [NTG-context] conditional not working in \setuphead

2020-04-20 Thread Wolfgang Schuster
}{}} \startsection[title={\xmlatt{#1}{id}}] \xmlflush{#1} \stopsection \stopxmlsetups Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 20.04.2020 um 11:00: Hi Wolfgang, Thank you very much ; as usual your explanations are always clear and your approach to the problem intelligent and original. I would however like to know the way in which we can use the command \frameletter except for the rounded

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 20.04.2020 um 10:23: On Mon, Apr 20, 2020 at 09:21:41AM +0200, Wolfgang Schuster wrote: Fabrice Couvreur schrieb am 19.04.2020 um 22:55: Hi, I try to reproduce the figure as faithfully as possible. I tried for the rounded corners to put the key corner = round

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
[rotation=5] {\color[darkred] {\frameletter{A}}} \rotate [rotation=-5]{\color[green] {\frameletter{L}}} \rotate [rotation=5] {\color[mediumblue]{\frameletter{E}}} \rotate [rotation=-5]{\color[darkviolet]{\frameletter{A}}} \stopTEXpage \stoptext end tex example Wolfgang

Re: [NTG-context] Unexpected result when using PaperHeight and MetaFUun

2020-04-19 Thread Wolfgang Schuster
e = "linear", colors = { "red", "blue" }, ] shifted (19cm,0cm) ; StopPage ; \stopMPpage \stoptext Wolfgang ___ If your question is of interest to others as well, please ad

Re: [NTG-context] animation using \startuseMPgraphic

2020-04-19 Thread Wolfgang Schuster
\stopexpanded} \stopanimation or use #1 to access the counter level and get rid of \startexpanded: \startanimation[menu=yes] \dorecurse{10} {\startframe \useMPgraphic{inversionPoint}{n=#1}% \stopframe} \stopanimation Wolfgang

Re: [NTG-context] lmtx vs mkiv

2020-04-18 Thread Wolfgang Schuster
or Windows 64bit is missing (or in a different folder) on the server because I get the following message as content for luatex.exe 404 Not Found Not Found The requested URL /build/luatex/x86_64-w64-mingw32/luatex.exe was not found on this server.

Re: [NTG-context] template system

2020-04-16 Thread Wolfgang Schuster
documentation?) Look in the manual folder: templates-mkiv.pdf 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] Using command line values in a TeX document; writing a script?

2020-04-15 Thread Wolfgang Schuster
: produces foo.tex (gets the name from the XML) and “foo.pdf" The TeX file in Tacos example contains the xmlsetup entries which are used to map the XML tags to ConTeXt commands and environment, the resulting PDF file has the same name as the XML file. Wol

Re: [NTG-context] fun with frames and tables

2020-04-13 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 13.04.2020 um 16:07: Am 13.04.2020 um 15:37 schrieb Wolfgang Schuster : Henning Hraban Ramm schrieb am 13.04.2020 um 14:07: I’m trying to get those tables side by side, but the size of the wrapping box is somehow miscalculated – if I set the width, the left

Re: [NTG-context] offset for background overlay

2020-04-13 Thread Wolfgang Schuster
frame" you have to change the value for "frameoffset" to get a result because "backgroundoffset" uses now the "frameoffset" value. Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] fun with frames and tables

2020-04-13 Thread Wolfgang Schuster
] \dorecurse{10}{\bTR\bTD x \eTD\bTD y \eTD\eTR} \eTABLE \egroup \hskip1cm \ruledvbox\bgroup \bTABLE[width=2cm] \dorecurse{10}{\bTR\bTD x \eTD\bTD y \eTD\bTD z \eTD\eTR} \eTABLE \egroup \stopframed \stoptext Wolfgang

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
mf schrieb am 11.04.2020 um 23:59: Thanks Hans and Wolfgang. @Wolfgang: your solution is clearer, but unfortunately it works only for this MWE. In the real case the triangle extends over 2 rows, but the table has more than 2 rows. I tried grouping the first two rows in a \bTABLEbody

Re: [NTG-context] offset for background overlay

2020-04-11 Thread Wolfgang Schuster
=triangle] \bTABLE[frame=off] \bTR \bTD[nx=2,align=middle] a\crlf text \eTD \eTR \bTR[toffset=1mm] \bTD left \eTD \bTD right \eTD \eTR \eTABLE \stopframed \stoptext Wolfgang

Re: [NTG-context] \placelist[chapter][counter=realpage] not working

2020-04-11 Thread Wolfgang Schuster
pagenumber=realpage]) for this yet and I think it's better to do this. 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.

Re: [NTG-context] Short weekday option for date command

2020-04-08 Thread Wolfgang Schuster
Adam Reviczky schrieb am 08.04.2020 um 21:53: Thank you Hans and Wolfgang, I have updated the wiki (https://wiki.contextgarden.net/Command/date) with the new dayshort/daylong options, but I seem to get an empty value for every day after day 7, see example: \starttext \date[d=7,m=4,y=2008

Re: [NTG-context] Using Lua files in project structure

2020-04-06 Thread Wolfgang Schuster
he current directory or in your TeX installation. 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] startMPpage..stopMPpage written to a separate PDF?

2020-04-06 Thread Wolfgang Schuster
withcolor blue ; \stopMPpage \stopbuffer \savebuffer[list=triangle,prefix=no,file=triangle.tex] \typesetfile[triangle.tex][] \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Trying to understand this ctxlua error

2020-04-05 Thread Wolfgang Schuster
tartluacode %print("text\ntext") %\stopluacode \startluacode print("text\n text") \stopluacode \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Using Lua files in project structure

2020-04-05 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 05.04.2020 um 17:49: None of them work. Maybe I'm doing something wrong. I guess so because \loadluafile[testh.lua] and \luaenvironment testh.lua work for me. Wolfgang

Re: [NTG-context] Using Lua files in project structure

2020-04-05 Thread Wolfgang Schuster
Thank you in advance. 1. \luaenvironment 2. \useluamodule [] 3. \ctxloadluafile {} 4. \loadluafile [] or \loadluafileonce [] Wolfgang ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] What was that 'rounding paths' metafun(?) function again?

2020-04-05 Thread Wolfgang Schuster
own, but it is giving me headaches so I’d like to find something that is better than what I produce. You you mean "cornered ..." or "smoothed ..."? Wolfgang ___ If your question is of intere

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-05 Thread Wolfgang Schuster
Geert Dobbels schrieb am 05.04.2020 um 00:30: Wolfgang, Below is what I think is the bare minimum to explain this question (sorry for not doing it right from the beginning...) Keep it up. As I said, with the code as it is below, the header is not repeated after the first page

Re: [NTG-context] splitted xtable with repeating headers and placetable

2020-04-04 Thread Wolfgang Schuster
ake your example simpler and reduce it to the bare minimum (replace your csv file which dummy content) which is required to show the error. Wolfgang ___ If your question is of interest to others as well, please add an

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Wolfgang Schuster
ead] \doloopfromto{1}{1}{\getbuffer[loop]} \stopxtablehead \startxtablebody \doloopfromto{2}{500}{\getbuffer[loop]} \stopxtablebody \stopxtable \stoptext Wolfgang ___ If your question is of interest to others as well, ple

Re: [NTG-context] \placenamedfloat and \setuphead[aftersection=...] broken?

2020-04-02 Thread Wolfgang Schuster
[footnote] [location=none] \setupnotation [footnote] [way=bychapter] \setuphead[chapter][aftersection=\setups{chapter:after}] \starttext \dorecurse{4} {\startchapter[title={Number #1}] A few notes\dorecurse{\numexpr#1-1\relax}{\footnote{Note #1.##1}}. \stopchapter} \stoptext Wolfgang

Re: [NTG-context] Table-bug in lmtx?

2020-03-30 Thread Wolfgang Schuster
\stoptable \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.pra

Re: [NTG-context] Nodes module for commutative diagrams etc

2020-03-29 Thread Wolfgang Schuster
l command to \smallnode, I guess the command name has changed after the manual was written. @Alan: Even after this fix there is something wrong with the module because I get no output from the MetaPost graphic while the TeX example in the manual works. Wolfgang ___

Re: [NTG-context] Primes far too high in Lucida Type1

2020-03-29 Thread Wolfgang Schuster
for the OpenType version. 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

Re: [NTG-context] Different behaviour of textcommand (setupcaption+startplacefigure)

2020-03-29 Thread Wolfgang Schuster
e=Cow] \externalfigure[cow][height=4cm] \stopplacefigure \samplefile{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

Re: [NTG-context] Space around comma in math mode

2020-03-29 Thread Wolfgang Schuster
w n schrieb am 29.03.2020 um 16:10: That works, great Just curious, is this setup described on the Context Wiki, or on the mailing list ? https://wiki.contextgarden.net/Command/setupmathematics#Syntax PS. The wiki has a search function. Wolfgang

Re: [NTG-context] Space around comma in math mode

2020-03-29 Thread Wolfgang Schuster
How can I eliminate this extra space ? \starttext Some text $1,23$ \stoptext \setupmathematics[autopunctuation=yes] % autopunctuation=comma Wolfgang ___ If your question is of interest to others as well, please add a

Re: [NTG-context] How do I handle strings with " characters in it in METAPOST?

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 15:06: On 29 Mar 2020, at 14:35, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: Gerben Wierda schrieb am 29.03.2020 um 14:30: On 29 Mar 2020, at 12:58, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>&g

Re: [NTG-context] How do I handle strings with " characters in it in METAPOST?

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 14:30: On 29 Mar 2020, at 12:58, Wolfgang Schuster wrote: Gerben Wierda schrieb am 29.03.2020 um 12:52: I am using MetaFun (Lua code) to create METAPOST commands from an XML file. One of the issues I am running into that in METAPOST I have to handle

Re: [NTG-context] conditional for undefined references

2020-03-29 Thread Wolfgang Schuster
{\at{page}[unknown:1]} {\dummyreference\inright[style=\ttxx]{Missing reference}}. This line ha a reference.\pagereference[unknown:2] Take a look at \doifelsereferencefound{unknown:2} {\at{page}[unknown:2]} {\dummyreference\inright[styl

Re: [NTG-context] I could use some ideas for a strategy to get these kind of labels in a METAPOST picture

2020-03-29 Thread Wolfgang Schuster
Gerben Wierda schrieb am 29.03.2020 um 10:47: On 28 Mar 2020, at 19:04, Wolfgang Schuster wrote: Gerben Wierda schrieb am 28.03.2020 um 18:58: Actually, I would already be helped with a way to convert this string: My “Büsiness" sérvice into something that can be ty

Re: [NTG-context] How do I handle strings with " characters in it in METAPOST?

2020-03-29 Thread Wolfgang Schuster
Foo "Bar” Foo ^^^ Use correct left quotation marks or \quotation{...}. 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] I could use some ideas for a strategy to get these kind of labels in a METAPOST picture

2020-03-28 Thread Wolfgang Schuster
Gerben Wierda schrieb am 28.03.2020 um 18:58: Actually, I would already be helped with a way to convert this string: My “Büsiness" sérvice into something that can be typeset by ConTeXt. Using embedded lua is fine. Does enabling entities help? \setupxml [entities=yes] Wol

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-28 Thread Wolfgang Schuster
Benjamin Buchmuller schrieb am 25.03.2020 um 14:47: Thanks, perfect! On 25 Mar 2020, at 14:34, Wolfgang Schuster wrote: Benjamin Buchmuller schrieb am 25.03.2020 um 09:27: Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-26 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 26.03.2020 um 21:23: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers

Re: [NTG-context] \setupinteraction v commas

2020-03-26 Thread Wolfgang Schuster
contain the text without any change, in keyword all commas has been erased. Is this the expected behaviour? Yes, the comma is used as separator for keywords and replaced with a space in the metadata. If yes, how could I write command inside? ??? Wolfgang

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Wolfgang Schuster
Michael Guravage schrieb am 26.03.2020 um 15:31: Thank you Wolfgang, Now is there a way to persuade the quotation marks to protrude? You can either enable hanging punctuation for the bodyfont (which is done with \definefontfeature and \setupalign) or put the quotation mark in a box and move

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Wolfgang Schuster
Michael Guravage schrieb am 26.03.2020 um 14:29: Greetings, I would like to add a citation to a block quotation. Wolfgang proposed a solution <https://www.mail-archive.com/ntg-context@ntg.nl/msg55956.html>back in May 2011. With \star-stopquotation, the left quotation mark pro

Re: [NTG-context] reference a paragraph

2020-03-25 Thread Wolfgang Schuster
*, for example? Parallel syntax might suggest \startparagraph [reference=p:myparagraph] but this is not implemented. Perhaps there is another referencing command that I am not aware of? xxx\pagereference[p:myparagraph] xxx \dontleavehmode\pagereference[p:myparagraph]xxx xxx Wolfgang

Re: [NTG-context] Distance between table rows

2020-03-25 Thread Wolfgang Schuster
and _third_ row? Some TeX expansion thing going on here? No, the command already exists but is local to the tabulate environment and your custom command is just overwritten. Wolfgang ___ If your question is of interest

Re: [NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Wolfgang Schuster
this for [...] (And for \setupbackgrounds for [top header text footer bottom].) I’m sure there is a more elegant way to do this. But how? You can use \setuplinewidth[] to change the default value for all (there can be lines which have a fixed value) lines. Wolfgang

Re: [NTG-context] How to calculate the height of text of a certain width?

2020-03-24 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 24.03.2020 um 19:04: On Tue, Mar 24, 2020 at 04:43:17PM +0100, Wolfgang Schuster wrote: \setbox0=\vbox{... somehow flushed text ...} wount work, i.e \wd0 or \ht0 will both result in 0. With "unflushed" text this means will work perfectly. I have no idea where

Re: [NTG-context] How to calculate the height of text of a certain width?

2020-03-24 Thread Wolfgang Schuster
Rudolf Bahr schrieb am 24.03.2020 um 16:29: On Tue, Mar 24, 2020 at 03:56:18PM +0100, Wolfgang Schuster wrote: Rudolf Bahr schrieb am 24.03.2020 um 12:19: Hello dear All, the following MWE works best: \definelayer[LAY] \starttext \setlayerframed[LAY] [x=0pt,y=20pt] [frame

Re: [NTG-context] How to calculate the height of text of a certain width?

2020-03-24 Thread Wolfgang Schuster
ned texts (layers?). 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] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread Wolfgang Schuster
} \samplefile{weisman} \subsubsection{Subsubsection} \samplefile{weisman} \stopcolumns \stoptext end columns Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 17:09: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-23 Thread Wolfgang Schuster
\stopitemize \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

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread Wolfgang Schuster
te]}, after={\blank[nowhite]}] \setupwhitespace [medium] %\showgrid \starttext \completecontent \chapter{Chapter} \samplefile{knuth} \section{Section} \samplefile{weisman} \subsection{Subsection} \samplefile{weisman} \subsubsection{Subsubsection} \samplefile{weisman} \stopt

Re: [NTG-context] Math font not embedded

2020-03-18 Thread Wolfgang Schuster
Hans Hagen schrieb am 18.03.2020 um 18:16: On 3/18/2020 2:35 PM, Pablo Rodriguez wrote: On 3/18/20 10:51 AM, Hans Hagen wrote: On 3/18/2020 10:44 AM, Pablo Rodriguez wrote: [...] fonts   > math: unset for global bodyfont mainface at 12pt that is weird .. question for Wolfg

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Hans Hagen schrieb am 16.03.2020 um 18:42: On 3/16/2020 6:01 PM, Wolfgang Schuster wrote: Henning Hraban Ramm schrieb am 16.03.2020 um 15:42: Am 2020-03-16 um 14:35 schrieb Hans Hagen : Yes, pagella is a extreme case but when you use bold text the vertical spacing is also messed up. You

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
for Alegreya 3.2ex for Adobe Jenson (Just tried, didn’t calculate anything.) How would this help for the original problem? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-16 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 16.03.2020 um 10:01: On 3/15/20 10:56 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 15.03.2020 um 20:32: [...] Everthing is fine when italic fonts aren’t used. It can be fixed with a strut option for lists, e.g. \setuplist[strut=no]. The problem

Re: [NTG-context] (bug?) wrong interline in \placelist[alternative=d] with Pagella italics

2020-03-15 Thread Wolfgang Schuster
\NC it \NC \it \the\exheight \NC\NR \NC bf \NC \bf \the\exheight \NC\NR \NC bi \NC \bi \the\exheight \NC\NR \stoptabulate \egroup} \starttext \ShowExheight{pagella} \ShowExheight{modern} \ShowExheight{dejavu} \ShowExheight{termes} \stoptext end example Wolfgang

Re: [NTG-context] ntg-context Digest, Vol 189, Issue 28

2020-03-15 Thread Wolfgang Schuster
Yves Cloutier schrieb am 15.03.2020 um 16:09: Hello Wolfgang, after a few attempts that didn't work I copy-pasted the example from the wiki: \definetyping[C][option=commands] \startC #include int main(){ return 0; /BTEX{\em unreachedCode;}/ETEX } \stopC This did not work. However

Re: [NTG-context] Source Code with Bolded Keywords

2020-03-14 Thread Wolfgang Schuster
. \starttext \starttyping[escape=yes] This is /BTEX\bf formatted/ETEX text. \stoptyping \starttyping[escape={<<,>>}] This is <<\bf formatted>> text. \stoptyping \starttyping[escape={}] This is text. \stoptyp

Re: [NTG-context] Second derivative ''

2020-03-05 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

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Wolfgang Schuster
On Wed, 4 Mar 2020 19:28:49 +0100 Tomas Hala wrote: > Hi Wolfgang, > > Mon, Mar 02, 2020 ve 05:38:35PM +0100 Wolfgang Schuster napsal(a): > # On Mon, 2 Mar 2020 12:22:26 +0100 > # Tomas Hala wrote: > # > # > Hi all, > # > > # > in composed words in Czech a

Re: [NTG-context] epub and pdf not the same

2020-03-04 Thread Wolfgang Schuster
the epub. See also the corresponding -raw.xml. Unless I am making a gross mistake. You make things easier when you show your TeX file. Wolfgang ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Why mode not recognized?

2020-03-03 Thread Wolfgang Schuster
startnotmode[epub] > Not producing EPUB\crlf > \stopnotmode > \stoptext > > This produces "Not producing EPUB" Why? I guess parameters which are passed to the context script have to come after you call the script, e.g.

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
ate epub with: mtxrun --script epub --make "test" [--purge --rename --svgmath] 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] Quick question about dual output pdf and epub

2020-03-03 Thread Wolfgang Schuster
n extra ConTeXt run by enabling the mode to get the epub 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/li

Re: [NTG-context] Left hanging hyphen

2020-03-02 Thread Wolfgang Schuster
arttext \hsize=0pt modro-zelený \stoptext %%%% end example 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/mailm

Re: [NTG-context] Up-to-date documentation / tutorials. Where?

2020-02-29 Thread Wolfgang Schuster
steps-mkiv.pdf still.pdf svg-lmtx.pdf swiglib-mkiv.pdf templates-mkiv.pdf texit.pdf tiptrick.pdf tools-mkiv.pdf units-mkiv.pdf workflows-mkiv.pdf xml-mkiv.pdf xtables-mkiv.pdf Wolfgang ___ If your question is of in

Re: [NTG-context] \setbreakpoints[compound] not working?

2020-02-25 Thread Wolfgang Schuster
\stoptext > > I mean, line isn’t broken after any "/". > > Is this a bug in MkXL (and MkIV) or am I missing something? The break happpens only when letters are on the left and right side but not for numbers. \setbreakpoints[compound] \start

Re: [NTG-context] Shading

2020-02-25 Thread Wolfgang Schuster
t; withshadefactor 0.75 withshadecolors (white,red) ; \stopMPcode \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / ht

Re: [NTG-context] Chapters, sections, usw

2020-02-24 Thread Wolfgang Schuster
;, remove the space and the text will appear in the PDF. \startchapter[title ={Introduction}] ^^^ Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread Wolfgang Schuster
er][textcommand=\reversehbox] \setuplist[chapter][textcommand={\unframed[location=low,align=righttoleft]}] \starttext \completecontent \chapter{Sample Chapter} \stoptext end example Wolfgang ___ If your question

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Wolfgang Schuster
On Tue, 18 Feb 2020 11:39:24 -0800 Kevin Kenan wrote: > Perfect. Thank you, Wolfgang. > > Is there a way I could have discovered this answer without bothering folks on > the list? You can always try the list archive, e.g. the same problems was asked last year. https://ma

Re: [NTG-context] Space between heading and paragraph in a description

2020-02-18 Thread Wolfgang Schuster
paragraph text: > > > \definedescription > [definition] > [headstyle=italic, >indenting=1em, >alternative=hanging, >margin=2em, >distance=1.5em, stretch=0,

Re: [NTG-context] Repeat backgrounds on slides

2020-02-14 Thread Wolfgang Schuster
On Fri, 14 Feb 2020 09:10:22 +0100 "Jan U. Hasecke" wrote: > Am 13.02.20 um 20:39 schrieb Wolfgang Schuster: > > > > > This is normal behaviour for layers but you can repeat it on every page with > > > > \definelayer [bg:...] [state=re

Re: [NTG-context] Global \setup has no effect while ad-hoc setting does

2020-02-13 Thread Wolfgang Schuster
tretch} You need a command at the end of the argument because the line end adds a space. align={verytolerant, stretch}, ^^^ Wolfgang ___ If your question is of interest to others a

Re: [NTG-context] Repeat backgrounds on slides

2020-02-13 Thread Wolfgang Schuster
your case a simple overlay is the simpler solution to get repeated images on every page, i.e. \defineoverlay [bg:hs2020-mond] [{\externalfigure[background.jpg][height=\paperheight]}] or \defineoverlay [bg:hs2020-mond] [\overlayfigure{background.jpg}] Wolfgang _

Re: [NTG-context] Label in externalfigures

2020-02-12 Thread Wolfgang Schuster
in the details [1] manual. [1] http://www.pragma-ade.nl/general/manuals/details.pdf 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] Referencing formulas doesn't work?

2020-02-09 Thread Wolfgang Schuster
> \stoptext > > There is a blank where the formula label should be at “now we can refer to > formula ---“. Use \ref[number][formulalabel] or \in[formulalabel]. Wolfgang ___ If your question is of in

Re: [NTG-context] Fonts from various .otf to work with \bold, \emph, \bf, \bfa ...

2020-02-08 Thread Wolfgang Schuster
[file:your-font-file.otf]" should work, but I never used this approach. Works at the moment only when the fonts in a place where ConTeXt can find them. Wolfgang ___ If your question is of interest to others

Re: [NTG-context] math font

2020-02-07 Thread Wolfgang Schuster
e latest 2020.01.26 19:19. I have a slight suspicion that this > behavior is new, but I’m not totally sure. It’s just a small nuisance, but > something is wrong here, I would say? Does this also happen when you use \definetypeface to set the math font? \definetypeface [thomas] [mm] [

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
On Thu, 6 Feb 2020 22:04:47 +0100 Pablo Rodriguez wrote: > On 2/6/20 8:17 PM, Wolfgang Schuster wrote: > > On Thu, 6 Feb 2020 19:02:08 +0100 Pablo Rodriguez wrote: > >> [...] > >> BTW, in my real-world document I use layers which are different for > >> fir

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
> first and other pages. How many pages has your document, first you write is has only one page but now you write about a document with many pages. > Could you provide a minimal sample showing how a component may include a > page twice? Can you pro

Re: [NTG-context] repeat a page inside a document

2020-02-06 Thread Wolfgang Schuster
\dorecurse{\recurselevel}{\samplefile{weisman}}} \startlayout[page] \directboxfromcache{savedpages}{5} \page \directboxfromcache{savedpages}{2} \stoplayout \stoptext Wolfgang ___ If your question is of interest to

Re: [NTG-context] Official file ending?

2020-02-03 Thread Wolfgang Schuster
doesn’t count, it’s shared with LaTeX files     and plain TeX files) so then use mkiv Why not just .context Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] checking whether file is landscape or portrait

2020-01-28 Thread Wolfgang Schuster
fi} \hbox} \starttext \checkiflandscape{\externalfigure[cow.pdf]} \iflandscape YES \else NO \fi \checkiflandscape{\externalfigure[mill.png]} \iflandscape YES \else NO \fi \stoptext Wolfgang ___ If your qu

Re: [NTG-context] checking whether file is landscape or portrait

2020-01-28 Thread Wolfgang Schuster
lt] \starttext \getfiguredimensions[mill.png] \ifdim\figurewidth>\figureheight landscape% \else portrait% \fi \getfiguredimensions[cow.pdf] \ifdim\figurewidth>\figureheight landscape% \else portrait% \fi \stoptext Wolfgang ___

Re: [NTG-context] columnset issues

2020-01-27 Thread Wolfgang Schuster
ument, i.e. \setupcolumnsetareatext[...][...] but even then your example only works when I place the areatext before \startcolumnset. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

Re: [NTG-context] line numbering within frame

2020-01-25 Thread Wolfgang Schuster
On Thu, 23 Jan 2020 22:53:42 +0100 "Thomas A. Schmitz" wrote: > > On 23. Jan 2020, at 22:32, Wolfgang Schuster > > wrote: > > > > Bonus question: Why is it necessary to put \definelinenumbering before > > \framed? > > > > Wolfgang &

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Wolfgang Schuster
he second color is wrong. I can't explain why this happens but when you disable the break points for the line numbers the colors are correct (don't use the following code in your document but wait for a official fix from Hans). \appendtoks \resetbreakpoints \to \everylinenu

Re: [NTG-context] line numbering within frame

2020-01-23 Thread Wolfgang Schuster
On Thu, 23 Jan 2020 12:45:22 +0100 Tomas Hala wrote: > Hi Thomas, > > move definitions and setups for Three and Four before the use of \framed. Bonus question: Why is it necessary to put \definelinenumbering before \framed?

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
On Sun, 19 Jan 2020 22:44:02 +0100 Henning Hraban Ramm wrote: > > > Am 2020-01-19 um 21:01 schrieb Wolfgang Schuster > > : > >>> > >>>> Hi, for my section titles I’m looking for the alignment parameters that > >>>> give me: > >

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
On Sun, 19 Jan 2020 20:56:53 +0100 Henning Hraban Ramm wrote: > > > Am 2020-01-19 um 20:02 schrieb Wolfgang Schuster > > : > > > > On Sun, 19 Jan 2020 13:59:15 +0100 > > Henning Hraban Ramm wrote: > > > >> Hi, for my section titles I’m looking

Re: [NTG-context] alignment parameters

2020-01-19 Thread Wolfgang Schuster
ve > align={flushleft,extremestretch,nothyphenated} > (would use also hz and hanging, if they don’t interfere), > but in a few cases I still get section titles that are much wider than the > text column. align={flushle

<    5   6   7   8   9   10   11   12   13   14   >