[NTG-context] MP setup for a progress bar

2023-07-04 Thread Henning Hraban Ramm
Thanks to Taco, Robbert and Jules for their work! I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text area as well as under the margins. * I thought \useM

[NTG-context] Re: MP setup for a progress bar

2023-07-05 Thread Henning Hraban Ramm
Am 04.07.23 um 22:53 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 04.07.2023 um 22:24: I used the downtime to setup a presentation style with a progress bar in the footer. But I get the same (first page) graphics on all pages, and the footer background appears under the text

[NTG-context] Re: {\rm foo {\it bar}}

2023-07-05 Thread Henning Hraban Ramm
Am 05.07.23 um 07:57 schrieb Gerben Wierda: And the reason probably is that the font is defined as sans serif [ss]? Well, if you only define a sans font, \rm is somewhat undefined. You call the upright variant with \tf; \rm switches to the serif font. Hraban __

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

2020-04-22 Thread Henning Hraban Ramm
> Am 22.04.2020 um 15:19 schrieb Hans Hagen : > > On 4/22/2020 8:16 AM, Henning Hraban Ramm wrote: >>> Am 21.04.2020 um 15:32 schrieb Wolfgang Schuster >>> : >>> >>> You have to set a font which has the required glyphs but you can also use >>

Re: [NTG-context] Indic scripts/languages (was: lmtx & lohit-devanagari fonts)

2020-04-23 Thread Henning Hraban Ramm
> Am 22.04.2020 um 11:49 schrieb Arthur Reutenauer > : > > On Wed, Apr 22, 2020 at 08:16:32AM +0200, Henning Hraban Ramm wrote: >> Does that mean that indic scripts/languages are now fully supported? (Or >> maybe just scripts, not languages? > > Devanagari suppo

Re: [NTG-context] Basic font question

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:22 schrieb Gerben Wierda : > > > >> On 23 Apr 2020, at 16:16, Vladimir Lomov wrote: >> >> Hello, >> ** Gerben Wierda [2020-04-23 16:00:34 +0200]: >> >>> On my Mac, I am trying: >> >>> \definefontfamily[mainface][rm][Optima] >>> \setupbodyfont[mainface,10pt] >> >>> {\

Re: [NTG-context] Basic font question

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:42 schrieb Gerben Wierda : > >> >> On 23 Apr 2020, at 16:34, Henning Hraban Ramm wrote: >> >>> >>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda : >>> >>> >>> >>>> On 23 Apr 2020, at 16:1

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

2020-04-23 Thread Henning Hraban Ramm
> Am 23.04.2020 um 16:36 schrieb Jan U. Hasecke : > > Am 23.04.20 um 16:10 schrieb Vladimir Lomov: >> Please see the page about '\goto' command, it was written for a reason! > > Ok, with \goto{linkname}[program(target.doc)] it works. > > "works" means some PDF Viewers opens the right program.

Re: [NTG-context] Basic font question (Optima, but no bold, no italics)

2020-04-23 Thread Henning Hraban Ramm
> Am 24.04.2020 um 02:10 schrieb Vladimir Lomov : > > > I think Henning Hraban Ramm meant not OS font cache (but may be including it, > I'm not a Mac OS user) but context font cache. Run > > $ mtxrun --script fonts --reload --force > > and try above 

Re: [NTG-context] Basic font question (Optima, but no bold, no italics)

2020-04-23 Thread Henning Hraban Ramm
> Am 24.04.2020 um 05:19 schrieb kaddour kardio : > > It's noticed that Optima is a Sans Serif font. > Maybe it conflicts with MacOS way to handle fonts. No, ConTeXt doesn’t care what kind of font you define as rm/ss/tt, and the OS has no say in that. Best, Hraban __

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 Henning Hraban Ramm
> Am 24.04.2020 um 08:48 schrieb Gerben Wierda : > > Then I thought, let’s test some other things. I logged in as another user, > and used ConTeXt from TeX Live 2019: > > > It seems to be that on my system, the standalone installed ConTeXt does not > work with Optima, but the TeX Live instal

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 Henning Hraban Ramm
> Am 24.04.2020 um 11:13 schrieb Benjamin Buchmuller > : > > Although this specific issue might have been solved meanwhile by the helpful > suggestions of Wolfang, Thomas and others, I would like to point out that I > have recently also encountered an odd behaviour of the mtxrun fontloader in

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Henning Hraban Ramm
> Am 28.04.2020 um 08:32 schrieb Jan U. Hasecke : > > 1. Nameing and organizing the project, product and environments files. I > am currently reorganising the files for my cooperative. I think that > besides some nameing conventions it is more or less up to me how I > organise our print work. An

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Henning Hraban Ramm
> Am 28.04.2020 um 16:12 schrieb Jan-Erik Hägglöf : > >> 28 apr. 2020 kl. 09:33 skrev Henning Hraban Ramm : >> >> Yes, the naming is completely up to you. >> >> I use: >> >> project_something.tex >> env_something.tex >> prd_oneiss

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Henning Hraban Ramm
> Enjoy! > > On Tue, Apr 28, 2020 at 7:12 AM Jan-Erik Hägglöf > wrote: >> >> Is there a running example ? I’m not sure how to fill in the commandline >> >> >> >> 28 apr. 2020 kl. 09:33 skrev Henning Hraban Ramm : >> >> Yes, the

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Henning Hraban Ramm
> Am 28.04.2020 um 16:39 schrieb Henning Hraban Ramm : > >>> https://github.com/fiee/tools/blob/master/contextproject.py > > There are a few bugs in the output, e.g. in the first call you can’t set the > project name, and in the second it won’t create an environment if

Re: [NTG-context] Typesetting Markdown - Part 8

2020-04-28 Thread Henning Hraban Ramm
Sorry, I took your message for irony. Should have read your blog posts to know better. Hraban > Am 28.04.2020 um 18:07 schrieb Henning Hraban Ramm : > > Don’t forget, what’s already included in ConTeXt: > > \usemodule[visual] > \useMPlibrary[dum] > > \starttext >

Re: [NTG-context] image across 2 page spread

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 02:05 schrieb jbf : > > Hi list, > > With 99% of work complete on a book, including single page images, I now find > myself confronted with a final problem: how to run one image across facing > pages or in other words, one image (plus its caption) across a two-page > sprea

Re: [NTG-context] Project setup query

2020-04-30 Thread Henning Hraban Ramm
Hi Alan! > Am 30.04.2020 um 15:07 schrieb Alan Bowen : > > Is there a way to identify the TEX root for each of the common files (in > Directory02) so that > the file will be processed when I process any one of the prd files in > Directory01? > > I have tried > % !TEX root=../prd_\mystring.tex

Re: [NTG-context] How do I get an empty line in a \framed[align=flushleft]{} item?

2020-04-30 Thread Henning Hraban Ramm
> Am 30.04.2020 um 22:47 schrieb Gerben Wierda : > > In normal TeX, when I type > > AapAap > > I get something like > > Aap > > Aap > > But inside a \framed[align=]{} the empty line disappears. How do I get it > back? Try \framedtext instead; multi line text needs a \vbox, and \fram

Re: [NTG-context] followtext, lmt_followtext and an offset of the glyphs typeset along the path

2020-05-01 Thread Henning Hraban Ramm
> Am 01.05.2020 um 10:26 schrieb Gerben Wierda : > > I have been looking at lmt_followtext and followtext to get typesetting done > along a path. That works fine, except that in my case, I need the text to not > be exactly on that path, I need it to hover slightly above tor below he path. > G

Re: [NTG-context] [ibmplex setup script]

2020-05-03 Thread Henning Hraban Ramm
> Am 03.05.2020 um 13:36 schrieb Floris van Manen : > > Hello Wolfgang, > > > On 03-05-2020 10:49, Wolfgang Schuster wrote: >> % Load IBM Plex with the regular width >> >> % \setupbodyfont[ibmplex] >> >> % Load IBM Plex with the thin width >> >> %\setupbodyfont[ibmplex-thin] > > > A quick

Re: [NTG-context] How do I add cyrillic to my typescript/document?

2020-05-03 Thread Henning Hraban Ramm
> Am 04.05.2020 um 00:36 schrieb Gerben Wierda : > > > \starttypescript [sans] [optima] >\setups[font:fallback:sans] >\definefontsynonym [Sans] [file:Optima.ttc(Optima Regular)] > [features=default] >\definefontsynonym [SansBold] [file:Optima.ttc(Optima Bold)]

Re: [NTG-context] long caption in 2-page spread

2020-05-04 Thread Henning Hraban Ramm
> Am 05.05.2020 um 03:31 schrieb jbf : > > The following excellent solution (see below) to a 2-page spread of an image > was given me by Hans (I had been completely unaware of the command > \startspread. It appears to be recent and undocumented, but it certainly > simplifies matters). > > But

Re: [NTG-context] Definition of \registerpagerange

2020-05-05 Thread Henning Hraban Ramm
> Am 05.05.2020 um 10:35 schrieb Hynek, Stefan : > > Hello fellow ConTeXies, > > since April 2019 it is possible to use \setupregister with > compress=text which is a fine addition and has its use cases. > Unfortunately, I am confronted with the demand to style the registers > with 'f.' for a

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-11 Thread Henning Hraban Ramm
> Am 11.05.2020 um 12:50 schrieb cont...@vivaldi.net: > > - is "--context=beta" OK here? Try --context=current HR ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-11 Thread Henning Hraban Ramm
> Am 11.05.2020 um 12:54 schrieb Henning Hraban Ramm : > > >> Am 11.05.2020 um 12:50 schrieb cont...@vivaldi.net: >> >> - is "--context=beta" OK here? > > Try --context=current Sorry, of course &qu

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Henning Hraban Ramm
> Am 16.05.2020 um 00:47 schrieb Bruce Horrocks : > > When I customise the table of contents layout I lose the automatic > hyperlinks. Is there a simple configuration option that I have missed or do I > need to create my own links somehow? > > Example: > > \setupinteraction[state=start] > \se

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
> Am 16.05.2020 um 08:30 schrieb Wolfgang Schuster > : > > Bruce Horrocks schrieb am 16.05.2020 um 00:47: >> When I customise the table of contents layout I lose the automatic >> hyperlinks. Is there a simple configuration option that I have missed or do >> I need to create my own links someho

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-17 Thread Henning Hraban Ramm
> Am 17.05.2020 um 13:38 schrieb Bruce Horrocks : > > >> On 16 May 2020, at 12:02, Henning Hraban Ramm wrote: >> >>> >>> Am 16.05.2020 um 08:30 schrieb Wolfgang Schuster >>> : >>> >>> Bruce Horrocks schrieb am 16.05.2020 u

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Henning Hraban Ramm
> Am 18.05.2020 um 17:18 schrieb Pablo Rodriguez : > > Typeface is available at > https://github.com/dbenjaminmiller/garamond-libre/releases/latest. Thank you for the hint, I’m always looking for interesting fonts. This is a nicely designed classical Garamond with a big glyph repertoire (Latin

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-18 Thread Henning Hraban Ramm
> Am 19.05.2020 um 08:08 schrieb Jan U. Hasecke : > > Am 18.05.20 um 22:23 schrieb Henning Hraban Ramm: >> >> >>> Am 18.05.2020 um 17:18 schrieb Pablo Rodriguez : >>> >>> Typeface is available at >>> https://github.com/dbenjaminmiller

Re: [NTG-context] output file name query

2020-05-22 Thread Henning Hraban Ramm
> Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster > : > > Alan Bowen schrieb am 22.05.2020 um 14:33: >> In my project, I process a single product file by enabling various modes. >> What I would like to do is to vary the name of the output PDF file in each >> instance. >> So, in processing a f

Re: [NTG-context] output file name query

2020-05-23 Thread Henning Hraban Ramm
> Am 23.05.2020 um 14:43 schrieb Wolfgang Schuster > : > >>> 1. Drop the weird (sorry Hraban) naming system and use myfilename for your >>> product. >> I force nobody to use that. > No and everybody has to find a system which fits best for him, prefixes can > be useful (e.g. to avoid component

Re: [NTG-context] Wiki - Proposal to update the Welcome page

2020-05-24 Thread Henning Hraban Ramm
> Am 24.05.2020 um 04:06 schrieb Aditya Mahajan : > > I am okay with changing the main page as well. But since this is the main > page, let's wait for the other mods to chime in as well. Am I a mod? Just a frequent contributor, I guess... I like the new main page, it looks very friendly. Myse

Re: [NTG-context] [pretty printing python]

2020-05-24 Thread Henning Hraban Ramm
> Am 24.05.2020 um 14:04 schrieb Floris van Manen : > > Does anyone know how to activate/use the pretty printing of python code? > > \starttyping[option=python] > > does not work. No, ConTeXt supports only TeX, XML, MetaPost and Lua. Try Aditya’s vim module: https://github.com/adityam/filter

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Henning Hraban Ramm
In a similar setup I wanted to start every chapter with image and short vita the author and came up with the following (of course not without help from our wizards): \definefont[ChapterFont][Sans*default at 30pt] \startsetups normalheader % default numbers of my bodyfont are oldstyle \set

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Henning Hraban Ramm
> Am 29.05.2020 um 22:18 schrieb Aditya Mahajan : > > On Fri, 29 May 2020, Henning Hraban Ramm wrote: > >> In a similar setup I wanted to start every chapter with image and short vita >> the author and came up with the following (of course not without h

[NTG-context] background of \typing fills column

2020-06-01 Thread Henning Hraban Ramm
Hi, I finally wanted to attack CG journal 2019 again and stumble upon this error: If an article contains several \starttyping ... \stoptyping examples with a textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t occur if the "typing" is at top or bottom of the column or e

Re: [NTG-context] [overstrike] with different color?

2020-06-03 Thread Henning Hraban Ramm
> Am 03.06.2020 um 16:19 schrieb Floris van Manen : > > What is the preferred way to overstrike a text with a different color? > This does not work: > One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt See also rules-mkiv.pdf Hraban __

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Henning Hraban Ramm
> Am 04.06.2020 um 20:00 schrieb Floris van Manen : > >> \setupbar[color=red,rulethickness=1.4] % measurement in pt > > the command also takes a parameter offset as well as dy. > I assume the offset will position the line higher / lower . > But I see no effect. > > \setupbar[color=red,rulethick

Re: [NTG-context] start/stop executed conditionally on mode ?

2020-06-15 Thread Henning Hraban Ramm
> Am 10.06.2020 um 09:33 schrieb Hans Hagen : > > the begin/end are used for marking blobs of content (kind of buffers) that > can be mixed in, reused, moved, while start/stop is for structure > > so, begin/end is independent > > it is an already old mechanism that was made for educational mat

Re: [NTG-context] ConTeXt source browser website update

2020-06-15 Thread Henning Hraban Ramm
> Am 07.06.2020 um 16:25 schrieb Taco Hoekwater : > > > * On the plus side, because of the SciTE lexer, “contextversion’ and > “\contextversion” are separate entries in the search index. And you can > search for “\@@kldirection”. > This is quite great! I was often annoyed that I couldn’t r

Re: [NTG-context] Bar within math (amended)

2020-06-15 Thread Henning Hraban Ramm
> Am 11.06.2020 um 13:41 schrieb Axel Kielhorn : > >> Am 09.06.2020 um 20:41 schrieb Wolfgang Schuster >> : >> >> Use a textbackground to highlight parts of your text. >> >> \definetextbackground >> [Highlight] >> [frame=off, >> background=color, >> backgroundcolor=yellow] >> >> \starttext

Re: [NTG-context] using modeset

2020-06-15 Thread Henning Hraban Ramm
> Am 12.06.2020 um 11:26 schrieb Jan Willem Flamma : > > Thank you Wolfgang, BPJ and Robert for your answers and feedback. Much > appreciated. > > I will explorer the solutions that have been offered to extend my knowledge > on using ConTeXt but at the same time I value the advice of not goi

[NTG-context] Fwd: Janus M. Nowacki

2020-06-15 Thread Henning Hraban Ramm
Quoted from: lilypond-u...@gnu.org I just wanted to let you know that Janus Nowacki, one of the founders of the TeX Gyre font suite, has recently died: http://www.gust.org.pl/news/jmn-obit-en And his personal website (in Polish): https://jmn.pl/ The TeX Gyre font project was started in 2006 to pr

Re: [NTG-context] spacing before items

2020-06-17 Thread Henning Hraban Ramm
> Am 17.06.2020 um 21:50 schrieb Mike Cooper > : > > For one thing, I have no clue what "ttbf" means. Can't find it on the wiki > or in the manuals. Google says it's the Texas Teen Book Festival but I'm > guessing that ain't it. ??? Did you try it? (Hint: There’s \tt and \bf ...) HR __

Re: [NTG-context] margin comment above heading

2020-06-17 Thread Henning Hraban Ramm
> Am 17.06.2020 um 22:47 schrieb Wolfgang Schuster > : > > Pablo Rodriguez schrieb am 16.06.2020 um 22:17: >> Dear list, >> I have the following sample: >> \startsetups[tinytiny] >> \setupwhitespace[-2em] >> \setupbodyfont[0.01pt] >> \setupinterlinespace[1sp] >> \stopsetups > >

Re: [NTG-context] CMYK workflow. How to set and should I worry about

2020-06-23 Thread Henning Hraban Ramm
> Am 23.06.2020 um 22:28 schrieb Keith McKay : > > Colleagues > > I'm getting ready to send a book to the printers and in their blurb they > state "Ensure that you are using a CMYK workflow and export to PDF/X-1a:2001" > . I can set the pdf format using \setupbackend but I'm unsure as to wh

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Henning Hraban Ramm
> Am 24.06.2020 um 08:19 schrieb Lukas/ConTeXt : > > Hello, > > is there a way to detect whether the document is intended as single- or > double- sided, IOW, whether > \setuppagenumbering[alternative=singlesided] > or > \setuppagenumbering[alternative=doublesided] > has been specified? > >

Re: [NTG-context] Checking for singlesided/doublesided at run-time

2020-06-24 Thread Henning Hraban Ramm
> Am 24.06.2020 um 15:48 schrieb Aditya Mahajan : > > On Wed, 24 Jun 2020, Henning Hraban Ramm wrote: >> >> >> I wanted to refer to the mmodes manual, but it’s gone. >> Was it accidentally removed, or are modes now explained in some other >> manual? I

Re: [NTG-context] spacing before items

2020-06-24 Thread Henning Hraban Ramm
> Am 24.06.2020 um 19:41 schrieb Mike Cooper > : >> >> Indeed. It's all volunteer work that doesn't pay the bills. Sitting down >> and starting to write a big manual simply doesn't pay off so it has to >> happen in free time. And that being the case, it is more attactive to >> work on some new c

Re: [NTG-context] spacing before items

2020-06-24 Thread Henning Hraban Ramm
> Am 24.06.2020 um 23:11 schrieb Mike Cooper > : >> Most of you know I’m writing at this German ConTeXt book since years... >> I use the incomplete version myself a lot, and I very much hope that at >> least every >> second German TeX user will buy it ;) > > Awesome! Keep at it! > Maybe when t

Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Henning Hraban Ramm
> Am 01.07.2020 um 21:04 schrieb Mike Cooper > : > > Me again… > > I’ve got an itemize that needs to fit on one page. I’ve been using > inbetween={\blank[small]} for all the other analogous lists but this one is > longer and with that spacing, it goes about one inch onto the next page. Bu

[NTG-context] Resetting image width

2020-07-06 Thread Henning Hraban Ramm
Hi, for collecting a lot of images into a booklet I set \setupexternalfigures[width=\textwidth,maxheight=\textheight] but would like to have some single images defined by height and proportional width, like \externalfigure[dummy][width=auto,height=.5\textheight] but height and width only take

Re: [NTG-context] Resetting image width

2020-07-06 Thread Henning Hraban Ramm
> Am 06.07.2020 um 21:17 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 06.07.2020 um 21:03: >> Hi, >> for collecting a lot of images into a booklet I set >> >> \setupexternalfigures[width=\textwidth,maxheight=\textheight] >> &g

Re: [NTG-context] Vertical space between label and title

2020-07-07 Thread Henning Hraban Ramm
> Am 07.07.2020 um 19:27 schrieb Fabrice Couvreur : > > Hello, > I want a vertical space between the label and the chapter title: is this the > right way to proceed ? Why not? It seems to work. What’s your problem? BTW I’d set \mainlanguage[fr] Hraban

Re: [NTG-context] No inverse Search when using \usepath

2020-07-11 Thread Henning Hraban Ramm
> Am 11.07.2020 um 18:08 schrieb Hans Hagen : >> I can compile and I get a nice PDF, but the inverse search is not possible. >> (I use Sumatra and Notepad++) >> NPP only looks at the path after\input... /techdaten/Ang_techdaten.tex >> Do any of you know a workaround for this? >> Is \usep

[NTG-context] Broken PDF with latest MkIV

2020-07-12 Thread Henning Hraban Ramm
Hi, I just installed the latest ConTeXt MkIV (LuaTeX 2.06 20200706 + ConTeXt MkIV 2020.07.09 14:51) to check if the CG journal will look the same as with my "old” installation (LuaTeX 1.11 7215 + ConTeXt MkIV 2020.01.30 14:13). All looks well in Preview.app and PDF Studio 2019, but Adobe (Reader

Re: [NTG-context] Chapter numbering that does not follow a regular pattern

2020-07-13 Thread Henning Hraban Ramm
> Am 13.07.2020 um 02:23 schrieb jbf : > > Hi there, > > I have a situation where numbered chapters are occasionally interspersed with > unnumbered chapters, so, for example, it might be: > > 1 First chapter title with number > > second chapter title unnumbered > > 2 Second chapter title

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-15 Thread Henning Hraban Ramm
> Am 15.07.2020 um 10:31 schrieb Hans Hagen : > you can leave the commands for last ... in an french user interface the > english commands will work ok, but keys/values/elements have to be translated Are the other interfaces (Dutch, German, Czech...) actually still working? AFAIR I tried the Ge

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-15 Thread Henning Hraban Ramm
> Am 15.07.2020 um 14:28 schrieb Hans Hagen : > > On 7/15/2020 2:14 PM, Henning Hraban Ramm wrote: >>> Am 15.07.2020 um 10:31 schrieb Hans Hagen : >>> you can leave the commands for last ... in an french user interface the >>> english commands will work ok,

Re: [NTG-context] \documentvariable (used in environment)

2020-07-25 Thread Henning Hraban Ramm
> Am 25.07.2020 um 10:20 schrieb Wolfgang Schuster > : > > Alan Braslau schrieb am 25.07.2020 um 00:21: >> On 22/07/20 22:36, Wolfgang Schuster wrote: >>> What exactly doesn't work and do you get the same problems when you set the >>> values in the following minimal example (everything has to b

Re: [NTG-context] Installing VSCode extension?

2020-07-29 Thread Henning Hraban Ramm
> Am 29.07.2020 um 14:19 schrieb Alasdair McAndrew : > > Thank you very much, but in fact that script file "vscode-context.cmd" really > just contains the same command for installing extensions as I quoted above - > and so produces the same errors. Maybe I'll go back to trying SciTe - I gave

Re: [NTG-context] Installing VSCode extension?

2020-07-30 Thread Henning Hraban Ramm
> Am 30.07.2020 um 07:52 schrieb Jeong Dal : > > Dear Alasdair McAndrew, > > I am using vscode in iMac, so my setting may not work for you. > > > > 1. First, find files for vscode in your TeX folder. > > In my case, > > /ConTeXt-homefolder/tex/texmf-context/context/data/vacode/extensions/c

Re: [NTG-context] Installing VSCode extension?

2020-07-30 Thread Henning Hraban Ramm
> Am 30.07.2020 um 03:57 schrieb Alasdair McAndrew : > > Thanks again, I've fiddled with SciTE, but when I attempted to compile a > context file, I was told that "texexec" wasn't in my path, so somehow, > somewhere, I must have picked up an old version of the compile command. > Also, there d

[NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
Hi, besides the CG journal I’m working on a scientific biography with huge person and locality indexes (named Person and Locality for the examples). In many cases, the author wants additional information in the index, e.g. \Locality{Altona (Hamburg)} \Locallity{Breslau (pol. Wrocław)} or \Perso

[NTG-context] limit of index entries?

2020-08-01 Thread Henning Hraban Ramm
Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I change it? Hraban _

Re: [NTG-context] lmtx update

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 15:20 schrieb Otared Kavian : > > Regarding footnotes, would it be possible to have a built-in support for > writing the footnotes in the margin? (For instance, assuming that the layout > is such that for instance the right margin takes 1/3 of the page width, then > the foot

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 18:57 schrieb Otared Kavian : > > Hi Hraban, > > Thank you for reminding me of the solution cooked up by Wolfgang for you a > few years ago. That solution works fine when the notes are short enough, but > in some cases the notes in the margin bump into each other (indeed it

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 13:22 schrieb Henning Hraban Ramm : > > Hi, > > besides the CG journal I’m working on a scientific biography with huge person > and locality indexes (named Person and Locality for the examples). > > In many cases, the author wants additional infor

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 21:01 schrieb Jairo A. del Rio : > > Hi, Henning. According to the garden, something like: > > \def\Ort#1{\index[#1]{\ctxlua{user.Lookup("#1")}}} > > as long as #1 is capable of being sorted in the normal way, should work. Thank you, but that doesn’t work if my lookup e.g.

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 21:30 schrieb Wolfgang Schuster > : >> \def\Ort#1{\index{\ctxlua{user.Lookup("#1")}}} > > You have to expand the \index argument: > > \define[1]\Ort{\expanded{\index{...}}} Ah, I never know where to expand (tried \expanded\ctxlua). Now, \def\TOrt#1{\expanded{\Ort{\ctxlua{u

Re: [NTG-context] consistent index entries

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 22:44 schrieb Wolfgang Schuster > : >>> \define[1]\Ort{\expanded{\index{...}}} >> Ah, I never know where to expand (tried \expanded\ctxlua). > > \expanded needs a argument, i.e. \expanded{...} I recognized it doesn’t work otherwise. But I thought TeX would always use the nex

Re: [NTG-context] margin notes (was: lmtx update)

2020-08-01 Thread Henning Hraban Ramm
> Am 01.08.2020 um 22:36 schrieb Otared Kavian : > > Hi Hraban, > > Thank you for taking the time to send your code for sidenotes. > Unfortunately when I add > > \starttext > test\footnote{A footnote in the margin.} > \stoptext > > to your code, I get an error and unfortunately with recent ver

Re: [NTG-context] limit of index entries?

2020-08-02 Thread Henning Hraban Ramm
> Am 02.08.2020 um 10:18 schrieb Hans Hagen : > > On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: >>> Am 01.08.2020 um 14:10 schrieb Hans Hagen : >>> >>> On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: >>>> Hi, >>>> my aforemen

[NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
Hi, me again... Is there a check if a macro is called from inside of a footnote, like a system mode *footnote? (Same with captions?) In my current project, index entries should get italic page numbers if they occurr inside of a footnote (or a caption, but that is rare). I’m using different shor

Re: [NTG-context] check if inside footnote

2020-08-04 Thread Henning Hraban Ramm
> Am 04.08.2020 um 13:20 schrieb Hans Hagen : > > On 8/4/2020 11:04 AM, Henning Hraban Ramm wrote: >> Hi, me again... >> Is there a check if a macro is called from inside of a footnote, like a >> system mode *footnote? >> (Same with captions?) >> In my cu

[NTG-context] floats side by side

2020-08-08 Thread Henning Hraban Ramm
Hello again, I need to place several figures side by side (e.g. pictures of persons). I know I can use combinations, but I need the figures with captions included in the usual numbering of figures and not one number & caption for the combination. How can I achieve this? Best, Hraban

Re: [NTG-context] floats side by side

2020-08-08 Thread Henning Hraban Ramm
> Am 08.08.2020 um 18:32 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 08.08.2020 um 17:51: >> Hello again, >> I need to place several figures side by side (e.g. pictures of persons). >> I know I can use combinations, but I need the figures wit

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-10 Thread Henning Hraban Ramm
> One thing I *CANNOT* figure out: I've been using \doifoddpageelse to put in > a blank/empty page at the end of a section (if needed) so that new sections > always start on an odd page. This is still working with the change to > chapters from sections, EXCEPT for the first chapter (after TOC)

[NTG-context] Index confusion with first entry

2020-08-18 Thread Henning Hraban Ramm
Hi, my index of locations shows a strange problem: Hamburg 6, 12, 14, 24–25, 27, 31, 33, 35, 44, 46, 48, 57, 59, 64, 75, 79, 81, 93–94, 96, 102, 104–105, 108–110, 112, 116–118, 120, 121–125, 6, 126–135, 6, 137– 147, 149, 151–159, 161, 165, 168, 169–171, 174, 176, 178, 182, 207, 209, 211, 215–21

[NTG-context] vertical align in tabulate paragraphs

2020-08-23 Thread Henning Hraban Ramm
Here’s another problem that I can’t reproduce in a MWE: In a tabulation that is set up like the example, in some cases the right column cell doesn’t top-align with the left one (see screenshot). In most cases it works. There’s no \setuptabulate in my environment; don’t know what else could infl

Re: [NTG-context] color question

2020-08-24 Thread Henning Hraban Ramm
> Am 24.08.2020 um 01:15 schrieb jbf : > > I have a very basic question about color use that someone will be able to > answer easily. The background to the question is that (i) I am completely new > to this scene of commercially[offset] print-ready material as distinct from > what is required

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
> Am 23.08.2020 um 11:25 schrieb Duncan Hothersall : > > I think there was a question on this very recently but I don;t think it got > an answer and I can't find it to reply to, so apologies for the extra noise. > I have a large text with floats numbered sequentially by chapter and then > fig

Re: [NTG-context] Overriding the number on a float

2020-08-24 Thread Henning Hraban Ramm
> Am 24.08.2020 um 17:36 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 24.08.2020 um 15:29: >>> Am 23.08.2020 um 11:25 schrieb Duncan Hothersall : >>> >>> I think there was a question on this very recently but I don;t think it got >

Re: [NTG-context] setuplayout vs Indesign!

2020-08-26 Thread Henning Hraban Ramm
> Am 26.08.2020 um 08:44 schrieb jbf : > > Severe Covid-19 restrictions locally have left me out on a limb unable to be > side-byside with people who can set me on track for a few things! Hence the > bombardment of questions, for which I apologise. But almost there! > > The InDesign QC indivi

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Henning Hraban Ramm
> Am 26.08.2020 um 12:13 schrieb jbf : > > Thank you. Let's see if the Quality Control person is convinced by what she > gets with the suggested measurements. > > I usually set things up 'as if' they would be on A4, in this case, > \setuppapersize[ACN][A4] (ACN being the name I give to the 14

Re: [NTG-context] defining font family for several options

2020-09-01 Thread Henning Hraban Ramm
> Am 01.09.2020 um 05:22 schrieb jbf : > > Perhaps someone can assist me with the following query. I have a situation > where I need to use more than one sans serif fonts (especially within > complicated chapter heads). I currently have the following: > > \definefontfamily [mainface] [rm] [ale

[NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
Hi, I’d like to have an (person) index entry like Ramm, Hraban passim i.e. without actual page number. How can I force that? I also need to be able to refer to it like \seeindex{Hraban}{Ramm, Hraban) Hraban ___

Re: [NTG-context] force index entries without page number

2020-09-03 Thread Henning Hraban Ramm
Hi Massi, thank you! > Am 03.09.2020 um 11:09 schrieb mf : > > This should be exactly what you asked for: > > \defineprocessor[passim][right=\quad{\it passim}] I didn’t think to use processors. > \seeindex{passim->Ramm, Hraban}{} No, this results in "Ramm, Hraban passim see passim" And \inde

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 06:44 schrieb jbf : > > > Of course, I would prefer it to say 'Chapter One' not just 'One', so that is > a minor problem I still have to resolve. But in fact, the publisher wants > something quite different and I really do not know how to go about it. I did > look at 'Auth

Re: [NTG-context] force index entries without page number

2020-09-04 Thread Henning Hraban Ramm
> Am 03.09.2020 um 13:32 schrieb mf : > > Use check=yes But I need check=no, because my author has several entries like Miller, Carolyne, born Princess of Sayn-Wittgenstein 123–125 Sayn-Wittgenstein, Carolyne of see Miller, Carolyne i.e. the reference target often has a different wordin

Re: [NTG-context] author in ToC and other design complications

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 12:08 schrieb jbf : > > Thanks, and I am sure that this entry into the wiki will be also helpful for > others. For me it will be step by step, and using your information I can now > at least get an author's name into the toc! But that's about all. And that’s what the wiki e

[NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
My current book contains a lot of quotations with their sources marked as footnotes, e.g. \definedelimitedtext[Zitat][ %setups=Zitat, % doesn’t work!? left=», right=«, leftmargin=2em, rightmargin=1.5em, ] \startZitat A rose is a rose is a rose.\footnote{Marx brothers} \stopZitat Now

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 13:25 schrieb Henning Hraban Ramm : > > My current book contains a lot of quotations with their sources marked as > footnotes, e.g. > > > \definedelimitedtext[Zitat][ > %setups=Zitat, % doesn’t work!? > left=», > right=«, > lef

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 16:04 schrieb Taco Hoekwater : > > Something like this? > > \definenarrower[myquote] > \setupnarrower[myquote] > [left=2em, > right=1.5em, > before=\dontleavehmode\hskip-0.33em\startquote, > after=\stopquote] > > \startmyquote > Im übrigen ist der Mensch ein Lebewesen,

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 16:20 schrieb Wolfgang Schuster > : > > \startsetups [userdata:myquote] > \startnarrow [left=2em,right=1.5em] > %\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation] > \symbol[leftquotation]\getinlineuserdata\symbol[rightquotation]

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Henning Hraban Ramm
> Am 05.09.2020 um 03:35 schrieb jbf : > > (1) the author's names lined up vertically throughout the ToC, and That would require to typeset the ToC as a table/tabulate; I remember that was hard to do, and I can’t remember in which product I used it, so I can’t look it up. Maybe an \inframed

Re: [NTG-context] latest lmtx

2020-09-05 Thread Henning Hraban Ramm
> Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > When I process > \starttext > Hello, world! > \stoptext > I get the following error message: > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or > directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun >

  1   2   3   4   5   6   7   8   9   10   >