enforcing formation of conjuncts inside \starttyping \stoptyping
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 command pair \starttyping \stoptyping, conjuncts are not formed as outside the command pair. Is it possible to enforce [features=malayalam-two] even inside \starttyping \stoptyping command pair? Thanks, ajith
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 command pair \starttyping \stoptyping, conjuncts are not formed as outside the command pair. Is it possible to enforce [features=malayalam-two] even inside \starttyping \stoptyping command pair?
quick and dirty \setuptyping[style={\definedfont[Mono*malayalam-two]}] \starttyping മലയാളലിപികളുടെ ആവൃത്തി നിർണ്ണയം \stoptyping If the need for features in monospaces is frequent one can think of a specific Mono setup (normally we have no features there) but then one can wonder: what features to enable? Maybe adding something 'monoextra' makes sense (as we do with mathextra) You can anyway make a typescript that matches your needs. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On Sat, 1 Jan 2022 11:04:03 +0100
Hans Hagen
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 one can think of a specific Mono setup (normally we have no features there) but then one can wonder: what features to enable? Maybe adding something 'monoextra' makes sense (as we do with mathextra)
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? Thanks a lot, ajith
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 | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
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 \definefontfamily and \definefallbackfamily also for monospaced fonts. Wolfgang
participants (3)
-
Ajith R
-
Hans Hagen
-
Wolfgang Schuster