Re: [NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-21 Thread Richard Mahoney | Indica et Buddhica
Robert, In IV one can do something such as this: % Registers (Indices) \defineregister[TIB] \setupregister[TIB][indicator=yes,compress=yes] and then in the body: \TIB[don du gner ba]{don du gñer ba : patthanā : wish}don du gñer ba'i phyir rdzogs par byed do \TIB[non mons]{ñon moṅs : kilesa

[NTG-context] formatting index entries: alphabetical order in Unicode

2019-08-21 Thread Robert Zydenbos
I seem to have a problem with Unicode in the indexing function for my book: a word like āyitu (beginning with an 'a' with a macron over it) is considered a word that starts with a 'y'; the word īga (beginning with an i with a macron) is placed as if it is 'ga'. Is there any way to tell the

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
Strange, in MkIV I get an error message which I do not understand, because by the look of it, your code (I called the file 'indexpablo.tex') seems in order – but in MkII (which I need) it works. The MkIV error log: This is LuaTeX, Version 1.07.0 (TeX Live 2018) system commands enabled. open

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
Sorry, that works fine in MkIV, but not in MkII, which I need to use. Robert > On 21. Aug 2019, at 17:33, Wolfgang Schuster > wrote: > > Robert Zydenbos schrieb am 21.08.2019 um 10:59: >> Dear list members, >> >> In my book I am creating an index. I know that there are commands for >>

Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-21 Thread Sytse Knypstra
Dear Jeong Dal, I use the following functions to control the start and end of columns in a columnset: 
\setuplayout[grid=yes] \emptylines[...] % see the command \emptylines in ConTeXtgarden \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9

Re: [NTG-context] Use Visual studio code

2019-08-21 Thread Hans Hagen
On 8/21/2019 9:44 PM, Julian Gompper wrote: Hello, I too use vscode as my editor, and recently wanted to use it for ConTeXt as well. Patrick Gundlach created a tmLanguage file for ConTeXt: https://github.com/pgundlach/context.tmbundle/blob/master/Syntaxes/ConTeXt.tmLanguage I just finished

Re: [NTG-context] Use Visual studio code

2019-08-21 Thread Julian Gompper
Hello, I too use vscode as my editor, and recently wanted to use it for ConTeXt as well. Patrick Gundlach created a tmLanguage file for ConTeXt: https://github.com/pgundlach/context.tmbundle/blob/master/Syntaxes/ConTeXt.tmLanguage I just finished packaging and publishing said file in a vscode

Re: [NTG-context] formatting index entries

2019-08-21 Thread Wolfgang Schuster
Robert Zydenbos schrieb am 21.08.2019 um 10:59: Dear list members, In my book I am creating an index. I know that there are commands for formatting index entries, like: \index{sl::īga} if I want the word 'īga' to be printed in slanted type. I also know that we can create sub-entries, like

Re: [NTG-context] formatting index entries

2019-08-21 Thread Pablo Rodriguez
On 8/21/19 10:59 AM, Robert Zydenbos wrote: > Dear list members, > > In my book I am creating an index. I know that there are commands > for formatting index entries, like: > > \index{sl::īga} > [...] > \index{īga+emphasized} > [...] > Any suggestions? Hi Robert, this worked in MkIV/XL (I don’t

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I’m so so sorry for yet another message in this thread. I’ve solved it, but still don’t quite understand why it works. I post the solution here so that nobody has to spend any time crafting the solution. But I still have 1 key question. Key question: Why does \setwhitespace[line]

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ok, last message in this topic, I promise. I’ve crafted a MWE. If I \setupwhitespace[line], the \blank[-0.5em] stops working. I’m sure I need to revise my TeX notes. For now, can somebody give me a little encouragement and tell me the answer? :-P \usecolors[xwi] %

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Ah, found the solution in TextBackground. At here: https://www.contextgarden.net/TextBackground Can I have a 2-segment (2 vboxes) TextBackground (presumably with 2 TextBackgrounds, zero vspace between them)? For the top segment, I want

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, Sorry, my solution didn’t work. My purpose of using \startnarrower is to have some paragraphs of text inside the \framed. Unfortunately, it seems \framed doesn’t take paragraphs. \startframedtext doesn’t have as many border options as \framed. Should I use overlays? Or layers? It

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I got some progress! \setupnarrower[left=2cm, right=2cm] % what does middle do, actually? \startnarrower \dontleavehmode\framed[width=local]{testing} Since this works for left offset: \framed[width=local]{testing} \endnarrower So, how do I do a gradient background? Yeah, I know I

Re: [NTG-context] startnarrower and framed?

2019-08-21 Thread Hans Hagen
On 8/21/2019 2:14 PM, Jon Wong wrote: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower \starttext Seems framed doesn’t observe startnarrower commands. \startnarrower \dontleavehmode \framed{testing} Seems framed doesn’t observe

[NTG-context] startnarrower and framed?

2019-08-21 Thread Jon Wong
Hi all, I want to have a \startnarrower effect. But I also want that segment to have a border (hopefully a gradient background color too!). I tried: \startnarrower \framed{testing} Seems framed doesn’t observe startnarrower commands. \endnarrower How do I achieve that? Regards Jon

[NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
Dear list members, In my book I am creating an index. I know that there are commands for formatting index entries, like: \index{sl::īga} if I want the word 'īga' to be printed in slanted type. I also know that we can create sub-entries, like \index{īga+emphasized} But now I want the word