Re: [NTG-context] How to make a row of text have vertical centering in tabulate environment?

2022-10-25 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 25.10.2022 um 02:35: I have a simple tabulate environment like this: \starttext \starttabulate[|p(.45\textwidth)|cp(.1\textwidth)|p(.45\textwidth)|]             \NR                 \HL                 \NC Cause    \NC \NC Effect    \NC\NR          

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Wolfgang Schuster via ntg-context
Oliver Sieber via ntg-context schrieb am 19.10.2022 um 11:31: Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I also want to use floating figures. But this does not

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Wolfgang Schuster via ntg-context
Alan Braslau schrieb am 13.10.2022 um 00:43: On 12/10/22 12/10/22, 14:25, Wolfgang Schuster via ntg-context wrote: Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default] \setupdelimitedtext   [quotation]   [

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Wolfgang Schuster via ntg-context
Max Chernoff via ntg-context schrieb am 11.10.2022 um 00:57: Hi Joel, On Mon, 2022-10-10 at 12:46 +, Joel wrote: Hello Max, It is preferred if the solution is just three lines per paragraph, rather than some content parallel to the text A Lua callback solution: [...] An \everypar

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Wolfgang Schuster via ntg-context
Leah Neukirchen schrieb am 09.10.2022 um 15:52: Wolfgang Schuster via ntg-context writes: Leah Neukirchen via ntg-context schrieb am 09.10.2022 um 15:19: Hi, is there a way to have something like \setuppapersize[A5][A4] but have the "inner paper size" be a compute

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Wolfgang Schuster via ntg-context
Leah Neukirchen via ntg-context schrieb am 09.10.2022 um 15:19: Hi, is there a way to have something like \setuppapersize[A5][A4] but have the "inner paper size" be a computed fit like in \startTEXpage? Or, alternatively, is there is a way to print crop marks around an environment like

Re: [NTG-context] Example from Practex Journal

2022-10-08 Thread Wolfgang Schuster via ntg-context
Jeroen via ntg-context schrieb am 08.10.2022 um 13:17: Hello, Could anybody help me out with the setup and a MWE to get a document exactly as the one from Steve Peter in the Practex Journal in 2005 as in https://tug.org/pracjourn/2005-1/peter/peter.pdf The articles used a now out of date

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Wolfgang Schuster via ntg-context
Max Chernoff via ntg-context schrieb am 29.09.2022 um 02:17: Hi Leah, I was typesetting some German text on a narrow page when I discovered the justification wasn't as good as expected. I think I tracked this down to differences in hyphenation points, namely, ConTeXt has fewer: \starttext

Re: [NTG-context] Lato typescripts (MKIV/LMTX)

2022-09-17 Thread Wolfgang Schuster via ntg-context
Adam Reviczky via ntg-context schrieb am 17.09.2022 um 18:14: Hi, With the latest upload (2022-09-16 14:41) I wanted to compare some older projects that I've used with MKIV to the LMTX 2.10.00. In one of which I am using the Lato 2.0 font (https://packages.debian.org/sid/fonts-lato). With

Re: [NTG-context] Typearea module fails with “Missing number”

2022-09-16 Thread Wolfgang Schuster via ntg-context
Peter Münster via ntg-context schrieb am 31.08.2022 um 23:16: On Mon, Aug 29 2022, Wolfgang Schuster via ntg-context wrote: remove one pair of curly braces Hi Wolfgang, Thanks. Here a new version: http://pmrb.free.fr/tmp/t-typearea.zip Even though the module works now with LMTX it needs

Re: [NTG-context] searching in the source browser

2022-09-05 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 05.09.2022 um 20:28: Hi, this is probably for Taco: Is there a possibility in the source browser to search for macros (\something) or anything containing dots (logs.errors)? Because neither “simple” nor with Lua patterns I get any results. E.g.

Re: [NTG-context] Typearea module fails with “Missing number”

2022-08-29 Thread Wolfgang Schuster via ntg-context
Marco Patzer via ntg-context schrieb am 29.08.2022 um 09:49: 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

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 27.08.2022 um 09:17: Thanks. I'll try that. But, iirc, these had some other drawbacks I'll check if it works for my use case. Is there a way to have blanks in the tabulate? \startlines[inbetween={\dontleavehmode\crlf}] ... Wolfgang

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-21 Thread Wolfgang Schuster via ntg-context
黄复雄 via ntg-context schrieb am 21.08.2022 um 10:24: Currently, the ruby module does not seem to support cjk fonts? I have a preliminary implementation of furigana(pinyin in Chinese) as: ```lmtx % define the pinyin font \definefont[pinyinfont][name:ahpinying*default at 9pt] % define the pinyin

Re: [NTG-context] Color property of \setupurl

2022-08-20 Thread Wolfgang Schuster via ntg-context
Max Chernoff via ntg-context schrieb am 20.08.2022 um 08:41: Hi, Could someone clarify me in what kind of context the color of a hyperlink is controlled by the "color" property of \setupurl? This code: \show\setupurl \showthe\everysetupurl produces: > \setupurl=frozen

Re: [NTG-context] Bug (?) with \placefigure[right]

2022-08-16 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 16.08.2022 um 18:11: Things start to go awry after about 5 or 6 iterations, 12 shows it up clearly with three or so nearly blank (except for the subject) pages produced. \setuppapersize [A5] [A5] \starttext \dorecurse{12}{ \subject{Some heading}

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-16 Thread Wolfgang Schuster via ntg-context
amano.kenji schrieb am 16.08.2022 um 13:33: At least, furigana seems covered. How do I know which document to consult? There are many PDF files that come with ConTeXt. You can start with the following thread from 2020: https://mailman.ntg.nl/pipermail/ntg-context/2020/098389.html Useful

Re: [NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

2022-08-15 Thread Wolfgang Schuster via ntg-context
amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00: Is there any documentation about \ruby? You can see all available parameters in setup-en.pdf, the example below shows a few of them: begin example \setupinterlinespace[line=4ex] \setuptype[style=\ttx] \starttext \start

Re: [NTG-context] Changing the caption on a split table

2022-08-13 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 13.08.2022 um 10:35: On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context wrote: I have a 5-page table placed using \setupcaption [table] [way=bytext,prefixsegments=none] \placetable[split]{My long table}{...} The caption for the first table page

Re: [NTG-context] image with rounded corners

2022-08-12 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 12.08.2022 um 10:57: Hi, can ConTeXt make rounded image corners? Both of my approaches don’t work: \externalfigure[mill][   width=3cm,   frame=on,   corner=round,radius=1cm,   backgroundcorner=round,backgroundradius=1cm, ] \defineoverlay[Mill][{%

Re: [NTG-context] How to display these characters

2022-08-09 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 09.08.2022 um 16:51: Am 08.08.22 um 08:01 schrieb Alan Braslau: On 05/08/22 05/08/22, 12:13, Henning Hraban Ramm via ntg-context wrote: I recently had the same problem and was wondering if there isn’t a Metapost module for directory trees?

Re: [NTG-context] How to display these characters

2022-08-05 Thread Wolfgang Schuster via ntg-context
juh+ntg-context--- via ntg-context schrieb am 05.08.2022 um 19:04: Dear all, I have this: \starttext \starttyping foo └── bar     ├── baz     │   └── index.html     └── index.html \stoptyping \stoptext The source code is generated with the linux command "tree". The special characters

Re: [NTG-context] String substitution using regular expressions and backreferences

2022-08-01 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 01.08.2022 um 21:58: Hi list, I'm looking to perform text replacements. Please don't omit important information, on TeX SE you mentioned you input is XML which means a lot more can be done than your simple TeX based example demonstrates. Wolfgang

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 18.07.2022 um 19:10: Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} You can probably remove the second argument ([svg]) which was

Re: [NTG-context] Sudoku module

2022-07-18 Thread Wolfgang Schuster via ntg-context
Otared Kavian via ntg-context schrieb am 18.07.2022 um 18:53: Hi Wolfgang, Thank you for your attention and the explanation regarding the « hash option » and why the sudoku module written by Jairo does not work. However I was reporting the issue when I tried to typeset the example file with

Re: [NTG-context] How to setup a headertext in a doublesided document in a cld?

2022-07-18 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 16.07.2022 um 17:03: Hello! I tried to setup a headertext in a context-lua-document. — No problem for the singlesided version, however hoe to pass the info for a double sided version? Unfortunately the cld-mkiv manual contains an example for a singlesided

Re: [NTG-context] Sudoku module

2022-07-18 Thread Wolfgang Schuster via ntg-context
Otared Kavian via ntg-context schrieb am 18.07.2022 um 17:00: Hi Jairo, You sent a message last year about your Sudoku module, and today, out of curiosity, I wanted to test it. Unfortunately it stops with an error message at line 76 of the file t-sudoku.mkiv, where you have:

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 12.07.2022 um 20:11: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition,

Re: [NTG-context] Getting started with Japanese

2022-07-10 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 09.07.2022 um 13:58: I’d like to experiment a bit with typesetting Japanese in ConTeXt (LMTX), to see if it is doable. I tried looking for Japanese on ConTeXtgarden, but did not find anything. Can someone point me to instructions to get started with

Re: [NTG-context] What is going wrong with this use of --mode for switching language?

2022-07-08 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 08.07.2022 um 12:21: On 8 Jul 2022, at 11:57, Taco Hoekwater wrote: On 8 Jul 2022, at 11:42, Gerben Wierda via ntg-context wrote: I have this minimal example: \startmode[EL] \setuplanguage[el][patterns={el}]\mainlanguage[el] That (‘el’) is a

Re: [NTG-context] dorecurse within combination

2022-07-07 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 07.07.2022 um 21:25: Am 07.07.22 um 20:52 schrieb Henning Hraban Ramm via ntg-context: How can I do this? Sorry for the noise, I solved it with Lua. The cld manual even contains a combinations example. The Lua method is also simpler than a TeX

Re: [NTG-context] Bug in counter

2022-07-04 Thread Wolfgang Schuster via ntg-context
Johann Birnick via ntg-context schrieb am 04.07.2022 um 18:29: Hey there, please consider: \starttext \defineenumeration[definition][text=Definition, alternative=serried] \setupnumber[definition][way=bysection, numbersection=yes]

Re: [NTG-context] return a labeltext with color...

2022-06-24 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 24.06.2022 um 16:34: Hi all, Sorry for bothering you again. I would like that lua is returning a colored string, which is a label-text. The following does not work, the labeltext remains black, there is no error though: return

Re: [NTG-context] Detailed citation of reference

2022-06-24 Thread Wolfgang Schuster via ntg-context
Johann Birnick via ntg-context schrieb am 24.06.2022 um 11:59: Thanks! However, if I type \cite[righttext={, section 2.1}] is doesn't work anymore. Any ideas? What happens with     \cite[righttext={{, section 2.1}}] or     \cite[righttext={\textcomma\ section 2.1}] Wolfgang

Re: [NTG-context] Failing \doifemptyelse

2022-06-23 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 23.06.2022 um 23:00: On 6/23/2022 9:16 PM, Willi Egger via ntg-context wrote: Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \setuppapersize[A6][A6] \setvariables [Test] [Number=] \starttext

Re: [NTG-context] Failing \doifemptyelse

2022-06-23 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 23.06.2022 um 21:16: Good evening gurus! Why is the minimal example failing? i.e. executing always the else-branch? \doifempty(else) doesn't expand the argument and any argument counts as not empty. To satisfy the command you can expand the first

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 17.06.2022 um 16:07: On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: \startsectionblockenvironment[bodypart] ... \stopsectionblockenvironment This should work

Re: [NTG-context] How to print a random whole number between x and y?

2022-06-17 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 17.06.2022 um 16:10: I was using this code for a long time in my document. I have a PDF with 10 pages, and this would randomly display one of those pages:    \ctxlua{math.randomseed( os.time() )}         \getrandomnumber \n {1} {10}      

Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 11.06.2022 um 10:05: Dear list, I have the following file: \starttypescript [lidia] \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] \stoptypescript \setupbodyfont[lidia,36pt] \starttext

Re: [NTG-context] Two minor questions

2022-06-07 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic schrieb am 07.06.2022 um 07:25: Thank you very much Wolfgang! But, there is still something weird going on with the font. I updated the files on Drive. Please see line 19, the last word "and". It is clearly out of alignment with the gid. I tested the alignment in MP and it

Re: [NTG-context] Two minor questions

2022-06-06 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 06.06.2022 um 22:07: Wolfgang, Aditya, thank you both very much! I have 2 more questions: Observe the files here: https://drive.google.com/drive/folders/18ve5_F-BKOa-TxCWmD02mhPqNXQvNyWK?usp=sharing 1. I'd like to shift the text area down so

Re: [NTG-context] Two minor questions

2022-06-06 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 06.06.2022 um 07:55: Dear list, I have 2 small questions: 1. In \setuplayout if I try to set topspace=5\measured{base} + \dimexpr2bp I get an error. How should I add these 2bp? \setuplayout   [topspace=\dimexpr 5\measured{base} + 2bp\relax] 2.

Re: [NTG-context] Can I simplify this to some sort of logic so it scales better?

2022-06-06 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 06.06.2022 um 13:34: I have this: \definemode[EN,FR,RU,PT][keep] \doifmodeelse{EN} {     \disablemode[FR]     \disablemode[RU]   \disablemode[PT]   }   { \doifmodeelse{FR}     {       \disablemode[EN]       \disablemode[RU]       \disablemode[PT]     }  

Re: [NTG-context] Improving pandoc's ConTeXt output

2022-06-05 Thread Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 05.06.2022 um 12:01: On 6/5/2022 9:07 AM, Albert Krewinkel via ntg-context wrote: Hi all, I'm currently trying to improve the ConTeXt output generated by pandoc, the document convert. There are two questions that we haven't decided on, and I'd be grateful

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-06-03 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 03.06.2022 um 00:57: On 19 May 2022, at 18:22, Wolfgang Schuster via ntg-context mailto:ntg-context@ntg.nl>> wrote: You have to provide a minimal example, in the following the example the text within the frame isn't indented. I cannot always p

Re: [NTG-context] ugly bug

2022-06-02 Thread Wolfgang Schuster via ntg-context
Steffen Wolfrum schrieb am 01.06.2022 um 14:03: Hi, several times I got problems with my publishing house when they noticed that the headerlines jump up and down on pages that end/begin with qoutes (i.e. smaller interlineskip), see example below: on page 1 the blackrule is about 1mm higher

Re: [NTG-context] Align headings on the left

2022-05-30 Thread Wolfgang Schuster via ntg-context
Jürgen Althaus via ntg-context schrieb am 30.05.2022 um 18:37: Hello all, my first post in this mailing list and I hope you can help me. I am looking for a setting that sets the headings completely left-aligned. Have unfortunately found nothing suitable in the online search. Maybe I

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Wolfgang Schuster via ntg-context
I sent a fix to the dev list. Wolfgang Joel via ntg-context schrieb am 29.05.2022 um 18:34: After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]  \HL         \NC {\bf Term} \NC

Re: [NTG-context] Help needed with slide grid layout

2022-05-25 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 25.05.2022 um 13:35: Dear list, This is a follow-up question on my previous question about Jean-Luc Doumont and his grid layouts. This time I have concrete questions. I reverse engineered his slide (slide_grid_overlay.pdf). All his units are

Re: [NTG-context] item enumeration

2022-05-25 Thread Wolfgang Schuster via ntg-context
Jorge Manuel via ntg-context schrieb am 25.05.2022 um 12:22: Hi to All A have this piece of code that works in old ConText versions but with new versions (current version: 2022.04.19 19:53) don’t. \def\legalconversion#1{  \dorecurse{\numexpr\currentitemlevel-1}{%  

Re: [NTG-context] split TABLE cells

2022-05-19 Thread Wolfgang Schuster via ntg-context
Steffen Wolfrum via ntg-context schrieb am 19.05.2022 um 12:44: do you have a MWE? the example from https://wiki.contextgarden.net/Tabulate gives an empty page: [...] You need \starttext and \stoptext in your document. The examples in the wiki don't need both commands because they are added

Re: [NTG-context] How do I turn off indentation inside a \framed with align=?

2022-05-19 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 19.05.2022 um 17:27: I have these kinds of statements \framed[frame=off,align=flushleft,width=\textwidth]{\phrasetext{metamodelexplanation}} but the text inside the frame is typeset with indentation. I tried \setupindenting both before and after

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 13.05.2022 um 09:00: Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Use the TABLEnested environment in your document header which was

[NTG-context] Reference prefix for sections is ignored

2022-05-12 Thread Wolfgang Schuster via ntg-context
Hi, the automatic reference prefix for section etc. with the setup     \setuphead[chapter][referenceprefix=+] doesn't work anymore (broken since a while). The following patch for strc-sec.mkxl fixes the missing prefix: begin fix \def\strc_sectioning_set_reference_prefix  

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 11.05.2022 um 17:57: AfaIk, there is not "--language" option from the command line. (This also makes sense to me.) \doifdocumentargument {language}   {\mainlanguage[\getdocumentargument{language}]} \starttext \currentmainlanguage \stoptext Wolfgang

Re: [NTG-context] Simple question

2022-05-10 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 10.05.2022 um 00:15: What is the easiest way to have a ‘database’ of translations for strings and maybe links? I now have 4 languages and 2 versions so 8 documents, but I’d like to have all translatable strings together so I can maintain these in a

Re: [NTG-context] context module t-account in LMTX

2022-04-28 Thread Wolfgang Schuster via ntg-context
Heinrich Paeßens schrieb am 28.04.2022 um 16:39: Many thanks Wolfgang, I can see the 'values' in a table like form, nothing but the values — how can I switch on the 'lines' of the table? You can either add     \setuptaccount[mp=taccount:line] or     \setuptaccount[mp=taccount:nose]

Re: [NTG-context] Problem with a defined colour in MetaFun

2022-04-28 Thread Wolfgang Schuster via ntg-context
Keith McKay via ntg-context schrieb am 28.04.2022 um 12:05: Hi, In the MWE below I define an rgb colour, myColor1, using random numbers for the r, g and b components. I then use it to fill a unitsquare the size of the page, which works as expected. In the loop that follows I then use the

Re: [NTG-context] context module t-account in LMTX

2022-04-26 Thread Wolfgang Schuster via ntg-context
Heinrich Paeßens via ntg-context schrieb am 26.04.2022 um 16:13: Hi there I just tried to test the use of the /t-account module/, compiling with LMTX, but no avail. What is wrong? Does the module need a fix for LMTX or is the fault on my side (having no experience …)? The module which can

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 25.04.2022 um 18:17: On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote: Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: [...] Using current LMTX (2022.04.20 19:18), I’m afraid no format from \setupframedtext is applied

Re: [NTG-context] issue with framed texts

2022-04-24 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: Dear list, I have the following sample: \defineframedtext[backcover] \setupframedtext[backcover] [frame=off, offset=overlay, width=\textwidth] \starttext \startframedtext[backcover] \input

Re: [NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 18.04.2022 um 22:46: In the MWE below the 'part' title is centred but on one line only and, because it is a long title, the beginning and end are lost off the sides of the page. If it were a 'chapter' title then I could insert '\\' to cause a line

Re: [NTG-context] right item marks for associative questions?

2022-04-12 Thread Wolfgang Schuster via ntg-context
Damien Thiriet via ntg-context schrieb am 12.04.2022 um 20:46: Thank you for all your answers. I will have a deeper look at them. My first comments: If you are certain that the there will be no multi-line item Unfortunately there are often some. History teachers are not known for loving short

Re: [NTG-context] command line arguments to specify output directory

2022-03-30 Thread Wolfgang Schuster via ntg-context
A A via ntg-context schrieb am 30.03.2022 um 18:24: Dear All, I would like to ask whether there exists a command line option to the context executable which would allow me to specify the directory in which I would like my output to be dumped. I have noticed that if I call the executable

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread Wolfgang Schuster via ntg-context
A A via ntg-context schrieb am 26.03.2022 um 08:50: Hi Jan, Thanks, I was starting to think pandoc is not yet mature enough to handle these conversions, but it looks like that might not be the case. \mathcal works now, but I actually ran into another issue in my real document. I have the

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 20.03.2022 um 21:10: I'm editing a book that will be printed, however the authors have included URLs which will no doubt suffer from "bit rot" in no time at all. I think it will make the main text cleaner if I use endnotes rather than include the URL

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 20.03.2022 um 17:05: Hoi Wolfgang, I tested both variants (bodymatter and bodypart. The compilation runs through, however without the thumb-picture in the margin and the metafun error is in the log. 1. Do you use \startfrontmatter and \startbodymatter

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 20.03.2022 um 16:53: Hoi Wolfgang! thank you for your suggestion. Your example indeed works. However if I apply this to my situation, which is \startsectionblockenvironment[bodymatter] You use the wrong name for the argument:

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 19.03.2022 um 21:42: Hello Otared, thanks so much for your testing and comments. — Tthe problem is, that this thumb-picture should only be placed in the \startboydmatter..\stopbodymatter sections. In the case of this book however there are the title

Re: [NTG-context] tilde character

2022-03-14 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 14.03.2022 um 18:36: Hi, I’ve a stupid question: How do I get the default tilde character from a font? ~ is a fixed space \texttilde gives a tilde accent \utfchar{0x007E} yields a space (probably the same as ~) \lettertilde Wolfgang

Re: [NTG-context] help with facing page image

2022-03-11 Thread Wolfgang Schuster via ntg-context
jbf schrieb am 09.03.2022 um 23:02: Am endeavouring to explore Wolfgang's very 'elegant' solution to this facing page challenge. The exploration has included a look at base/mkxl/page-inj.mklx (thanks Sreeram for reminding me of this) where I see immediately that the approach is experimental

Re: [NTG-context] help with facing page image

2022-03-07 Thread Wolfgang Schuster via ntg-context
jbf via ntg-context schrieb am 07.03.2022 um 09:27: Appreciate your assistance. I'll do my best with what you offer here. Of course, I've always said these images are at the beginning, not "the end of their respective chapters" and I've already indicated how the images are named, simply as

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread Wolfgang Schuster via ntg-context
Michael Urban via ntg-context schrieb am 05.02.2022 um 20:28: I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it } and {\bf

Re: [NTG-context] paragraph notes located in text

2022-01-31 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 31.01.2022 um 19:49: Dear list, with current latest (2022.01.21 20:13), I cannot get paragraph footnotes when located in text. Here you have the mandatory sample: \setuppapersize[A6] \showframe\showgrid %~ \setupnote[footnote][paragraph=yes]

Re: [NTG-context] doublesided margin page number

2022-01-31 Thread Wolfgang Schuster via ntg-context
Youssef Cherem via ntg-context schrieb am 24.01.2022 um 02:28: I've managed to put double-sided page numbers -- but numbers are restarting after two, though. What's going on? Add     \setupbackgrounds[state=repeat] to your setups to ensure the text background is refreshed. Wolfgang

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 29.01.2022 um 15:46: I am finishing the final touches on a manuscript, which I hope to send to a publisher later today and noticed this problem where bold and italic text isn't rendered at the same time. I am using the EB Garamond font in my document. I set it

Re: [NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Wolfgang Schuster via ntg-context
Adam Reviczky via ntg-context schrieb am 29.01.2022 um 17:19: Hi Joel, I don't think you can stack those, just use \bi (see: https://wiki.contextgarden.net/Font_Switching) \starttext \startitemize \item This text has {\bf bold} in it. \item This text has {\it italics} in it. \item Why

Re: [NTG-context] How to make an in-text list without periods

2022-01-23 Thread Wolfgang Schuster via ntg-context
Thomas A. Schmitz via ntg-context schrieb am 23.01.2022 um 21:13: This is a FAQ: you can't mix keywords and assignments, hence: \startitemize [n,text] [stopper=] Put a comment after the second argument to get rid of the extra space before the first item.     \startitemize [text,n]

Re: [NTG-context] How to achieve true double space text in ConTeXt?

2022-01-17 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 17.01.2022 um 17:18: I need to display one article within my book that is in double space, like what is a basic requirement in US colleges for turning in papers. Basically, I need readers to have lots of space above the text to be able to write some notes above

Re: [NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 17.01.2022 um 17:11: I created a book that strangely renders with an entirely blank page. There are tons and tons of macros, in dozens of files defined before the document starts, but the document itself starts quite simply with a title page set inside

Re: [NTG-context] XML, dealing with whitespace

2022-01-15 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 15.01.2022 um 13:04: Hi all, I have sources that look like this: %    Bla Bla Bla   Bla   , Bla Bla. % Typesetting this with context gives me a spurious space after the underlined

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-10 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 10.01.2022 um 09:52: Am 09.01.22 um 16:03 schrieb Wolfgang Schuster via ntg-context: Joel via ntg-context schrieb am 09.01.2022 um 15:16: Is there a way for a macro to check the previous value of #1, the last time that same macro was called

Re: [NTG-context] Get Current Section Number

2022-01-09 Thread Wolfgang Schuster via ntg-context
Michael Urban via ntg-context schrieb am 09.01.2022 um 17:25: I want to put a book title above the Chapter title for the first chapter of a book. I suppose that this can be accomplished with a 'before=' clause that checks to see if it is the first chapter... but how do I look at the chapter

Re: [NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-09 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 09.01.2022 um 15:16: Is there a way for a macro to check the previous value of #1, the last time that same macro was called? Here is a minimum working example, pretending that `\previousvalue` is equal to #1 from the last time the same macro was called: [...]

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-09 Thread Wolfgang Schuster via ntg-context
Willi Egger via ntg-context schrieb am 08.01.2022 um 23:57: I would suggest not to use \starttable at all. To me the most suitable table environment for such a table is \bTABLE \eTABLE. It gives you all kind of control over layout, dimensions, frames on and off etc. I agree natural tables

Re: [NTG-context] \its disappeared

2022-01-08 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 08.01.2022 um 16:53: I don’t know since when the questionnaire item command \its doesn’t exist any more: https://wiki.contextgarden.net/Command/its \starttext \startitemize[5,packed][items=7,width=5em,distance=1em] \ran{\ss\tfx 1 \hss 7}   

Re: [NTG-context] Align table (framed) top

2022-01-04 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 04.01.2022 um 13:21: Oh, thanks! I can simply wrap my table in a framed environment, then. If it is still possible to solve without the surrounding framed I'm interested to hear how. You have to put the table in a box to change the vertical

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Wolfgang Schuster via ntg-context
Youssef Cherem via ntg-context schrieb am 01.01.2022 um 13:10: I've tried to implement a journal-like footnote with the authors' affiliation for each section/chapter, by adapting things from the wiki (https://wiki.contextgarden.net/Table_of_Contents#Author_in_ToC and

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:14: For Malayalam, most often we would be expecting ligation to work even within \starttyping \stoptyping. You can anyway make a typescript that matches your needs. Don't know how. Can you point towards a documentation? You can use

Re: [NTG-context] Asking context to switch to a different font for a single character in many places

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:06: On Sat, 01 Jan 2022 14:28:12 +0530 kauśika wrote: Try with the following: \definefallbackfamily [malayalam] [serif] [TeX Gyre Pagella][range=controlpictures,force=yes] \definefontfamily [malayalam] [serif] [RIT

Re: [NTG-context] footnotes not aligned if tabulate cell is centered.

2021-12-31 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 31.12.2021 um 14:04: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the seventh (and the last one for now) problem I face.

Re: [NTG-context] Two questions on enumerations/indentation

2021-12-31 Thread Wolfgang Schuster via ntg-context
Mikael Sundqvist via ntg-context schrieb am 31.12.2021 um 13:19: Thank you for that! This certainly gives me an italic Remark and an upright 1. I feel a bit uneasy about adding the style to the text key, but if there is no other way out... Create a custom conversion set for the counter and

Re: [NTG-context] Strange behavior with \startbodymatter ... \stopbodymatter

2021-12-28 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 28.12.2021 um 15:34: Hi, In my file cours_premiere.tex if I indicate  \startbodymatter       \component[probabilites.tex]  \stopbodymatter I get the following error message tex error     > tex error on line 49 in file ./cours_premiere.tex:

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 26.12.2021 um 17:36: Hi all, I am looking for a way to make startstoplines likes this: This is a long line that breaks, the second line, the third line. So if a line in the poem is too long it shall break and indent. Short version: \setuplines [

Re: [NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.12.2021 um 18:51: [...] \define[3]\ifisempty{%         \setbox0=\hbox{#1\unskip}%         \ifdim\wd0=0pt             #2%         \else             #3%         \fi }% No need for your own command because ConTeXt already provides \doifemptyelse which

Re: [NTG-context] Problem with \head inside \itemize

2021-12-21 Thread Wolfgang Schuster via ntg-context
Benjamin Buchmuller via ntg-context schrieb am 21.12.2021 um 14:04: Not sure if this is the behavior to expect, but I would like to get formatted inline headers in itemize like: The syntax for \starthead is     \starthead {...} ... \stophead where the argument within the braces is

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 19.12.2021 um 18:12: Hi, The following MWE won't compile for me: \setupinteraction [state=start] \starttext Click me: \goto{https://forum.swissmicros.com/viewtopic.php?f=2=22236#p22236}

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread Wolfgang Schuster via ntg-context
mf via ntg-context schrieb am 18.12.2021 um 09:47: Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext > > \samplefile{ward}\par > > \blank > > \start \setupinterlinespace[line=12pt] > \samplefile{ward}\par > \stop > > \stoptext Yes, but you can't

Re: [NTG-context] How to use a variable in a macro agrument

2021-12-18 Thread Wolfgang Schuster via ntg-context
skyhorse--- via ntg-context schrieb am 18.12.2021 um 10:52: I have a need to use a logo graphics file several times in a document. I somethings need to update to a newer graphics file. I only want to make one change to the original variable value definition. I've tried using \define.. but it's

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