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

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:25:34 +0100 Wolfgang Schuster wrote: > > You used "Latin Modern" which isn't a valid font name, the correct > name is "Latin Modern Roman". > > Wolfgang > Hi, Thanks for that info. So, when I used "Latin Modern" as the font definition, Context falls back to a system

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:12:14 +0100 Hans Hagen via ntg-context wrote: > On 12/31/2021 1:55 PM, Ajith R via ntg-context wrote: > > 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

[NTG-context] fonts.compact produces compact initials

2022-01-01 Thread Rik Kabel via ntg-context
Enabling compact fonts results in incorrect initials. \enableexperiments[fonts.compact] \starttext \placeinitial Tested with \luatexbanner and \ConTeXt\ \contextversion \stoptext Produces (approximately):   ested with LuaMetaTeX, Version 2.09.35 and ConTEXt 2021.12.30 19:03

[NTG-context] Dynamic document variables from metadata

2022-01-01 Thread Thangalin via ntg-context
Happy New Year! How would you implement a mechanism that takes arbitrary XHTML tags and produces document variables? Consider: After running XML setups, the following would write "Nature": \documentvariable{journal} The tricky part is doing this without pre-defining them. Here's a

Re: [NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread jbf via ntg-context
I knew it had to be simple! Just couldn't get the right combinations. Feliz Año Nuevo para ti también, y muchas gracias, Julian On 2/1/22 7:56 am, Jairo A. del Rio wrote: El sáb, 1 ene 2022 a la(s) 15:37, jbf via ntg-context (ntg-context@ntg.nl ) escribió:

Re: [NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread Jairo A. del Rio via ntg-context
El sáb, 1 ene 2022 a la(s) 15:37, jbf via ntg-context (ntg-context@ntg.nl) escribió: > Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in place of > CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with > \setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' with the >

[NTG-context] Getting ONE, TWO... for chapters

2022-01-01 Thread jbf via ntg-context
Am typesetting a book that has 'STUDY ONE', 'STUDY TWO' etc. in place of CHAPTER ONE, etc. I have no difficulty getting 'STUDY' with \setuplabeltext[chapter=STUDY~], and I can achieve 'STUDY One' with the key conversion=Words in \setuphead[chapter]. My question: how do I get ONE instead of

Re: [NTG-context] tweaked font options in \definedfontfeature?

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 6:05 PM, Pablo Rodriguez via ntg-context wrote: I wonder whether it would be possible to add the options for tweaked fonts (or at least, xscale and yscale) to \definefontfeature. I think this might ease the use of scaled fonts (at least, in some documents). these two are unrelated

[NTG-context] tweaked font options in \definedfontfeature?

2022-01-01 Thread Pablo Rodriguez via ntg-context
Hans, I wonder whether it would be possible to add the options for tweaked fonts (or at least, xscale and yscale) to \definefontfeature. I think this might ease the use of scaled fonts (at least, in some documents). Many thanks for your awesome work and best wishes for 2022 to you and to all

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
Hans, Thanks a lot. I'm still trying to apply this to the top/bottom; I suppose it should be simple after I have a firmer grasp of language. lør. 1. jan. 2022 kl. 10:15 skrev Hans Hagen : > On 1/1/2022 11:46 AM, Youssef Cherem via ntg-context wrote: > > Dear list users, > > > > How can one go

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:46 AM, Youssef Cherem via ntg-context wrote: Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler

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

2022-01-01 Thread Youssef Cherem via ntg-context
Wolfgang, Thank you! Removing the auxiliary file solved the problem. lør. 1. jan. 2022 kl. 09:32 skrev Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > 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' >

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

[NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
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 https://wiki.contextgarden.net/LaTeX_Thanks). However, one thing that bugs me is that any

[NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler or koma script's \layercontentsmeasure?

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] [MetaFun] Trying to understand outlinetext, 'stretch' effect and \kerncharacters

2022-01-01 Thread kauśika via ntg-context
On Saturday, January 1, 2022 3:45:36 PM IST Hans Hagen wrote: > \starteffect is kind of old (comes from mkii), but you could use the > pseudo font feature effect in mkiv / lmtx which then makes a real font > instance instead of mixing in some pdf magic Thanks for the explanations Hans! Happy new

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] aligning Malayalam horizontally across column

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:49:30 +0530 kauśika wrote: > If the height varies due to the formation of conjuncts, I > think you are better off using "(natural) tables" : > https://wiki.contextgarden.net/TABLE > In particular, setting align=lohi for the two columns concerned > should work. Again, your

Re: [NTG-context] Malayalam character overlapping with footnote number

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:06:01 +0100 Hans Hagen wrote: > it makes sense to have styles like s-malayalam (or so) that set up > some parameters to suit practice (often widths and margins) for some > languages but it is somethign that should be 'organized' and > 'coordinated' > > Hans Hi, I am

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

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:14 AM, Ajith R wrote: Don't know how. Can you point towards a documentation? \type-imp-* Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] [MetaFun] Trying to understand outlinetext, 'stretch' effect and \kerncharacters

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 3:13 AM, kauśika via ntg-context wrote: Dear list, I have the following graphic \startuseMPgraphic{TitleGraphic} draw outlinetext.b (\MPstring{TitleText}) (withcolor "titlefg") (withcolor "titleoutline"); \stopuseMPgraphic which I tried to use as follows to produce a

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

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:04:03 +0100 Hans Hagen wrote: > quick and dirty > > \setuptyping[style={\definedfont[Mono*malayalam-two]}] > > \starttyping > മലയാളലിപികളുടെ ആവൃത്തി നിർണ്ണയം > \stoptyping That was a quick fix. Yes, it is working. > If the need for features in monospaces is frequent

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 1:55 PM, Ajith R via ntg-context wrote: 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 second problem I face. I have some 300 group of short

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

2022-01-01 Thread Ajith R via ntg-context
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 Rachana][features=malayalam-two] > >

Re: [NTG-context] Malayalam character overlapping with footnote number

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 1:58 PM, Ajith R via ntg-context wrote: 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 fourth problem I face. One character, ഼ U+0D3C, when

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

2022-01-01 Thread Ajith R via ntg-context
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 Rachana][features=malayalam-two] > >

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

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 2:02 PM, Ajith R via ntg-context wrote: 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 sixth problem I face. If I use Malayalam inside the

Re: [NTG-context] Malayalam conjuncts

2022-01-01 Thread Ajith R via ntg-context
On Sat, 01 Jan 2022 09:48:53 +0530 kauśika wrote: > On Friday, December 31, 2021 6:22:15 PM IST Ajith R via ntg-context > wrote: > > The conjuncts that are not formed > > correctly are those where the second component is ര U+0D30, > > followed by a symbol that is shown on the right side of the >

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

2022-01-01 Thread kauśika via ntg-context
On Saturday, January 1, 2022 1:37:49 PM IST Ajith R wrote: > This doesn't print the open box. If I remove the definefontfamily > command or define font family using only Latin Modern, open box is > printed, but not the title. > > What am I missing? Try with the following: \definefallbackfamily

Re: [NTG-context] Malayalam hyphenation

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:18:27 +0530 kauśika wrote: > Malayalam hyphenation may be invoked by setting the language > appropriately. For quite some time now, ConTeXt ships with the > patterns for Malayalam. Simply write > \language[ml] > in your document head. Hi Kausika, This worked.

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

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:54:16 +0530 kauśika wrote: > On Friday, December 31, 2021 6:30:26 PM IST Ajith R via ntg-context > wrote: > > Is it possible to instruct Context to use a font in general, except > > for a single character? > > Since you have mentioned elsewhere that you have