ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* About vertical typesetting in ConTeXt
@ 2020-06-10  5:49 Jairo A. del Rio
  2020-06-10  7:30 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Jairo A. del Rio @ 2020-06-10  5:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1388 bytes --]

Hi list! I'm curious about vertical typesetting in ConTeXt. As far as I
know, LuaTeX supports four text directions, but LTL is broken for Manchu
script (letters are displayed unjoined in LTL mode) and LuaMetaTeX does not
support vertical directions anymore, at least as primitives.

I found the following solution:

https://tex.stackexchange.com/a/140972/193767
I reproduce the code (in XeLaTeX), just in case

% !TEX TS-program =
xelatex\documentclass{scrartcl}\usepackage{fontspec}\newfontfamily{\dcw}[]{DaicingWhite}%\begin{document}\noindent
Line above\\% to demonstrate that the lines are being stacked as
normal\rotatebox{-90}{%\XeTeXupwardsmode1\\% successive lines will be
stacked upwards instead of downwards\begin{minipage}{4em}% this will
be the vertical length of the Mongolian section{\dcw% Font: Daicing
White
1 ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ\\% direct Unicode input of Manchu letters
2 ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ}% End font\end{minipage}\XeTeXupwardsmode0}% End rotatebox
\noindent
Line underneath\end{document}


and I see XeTeX uses the primitive \XeTeXupwardsmode and some other tricks
to get the proper display of Manchu text, so maybe MKII can do the magic
using XeTeX as an engine. How would one use ConTeXt MKIV for this task? Is
it possible to emulate \XeTeXupwardsmode in ConTeXt as a first step? Thank
you very much.

Jairo :D

[-- Attachment #1.2: Type: text/html, Size: 4226 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-04 13:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10  5:49 About vertical typesetting in ConTeXt Jairo A. del Rio
2020-06-10  7:30 ` Hans Hagen
     [not found]   ` <CAKyqqaaqEL8J73Hogii91xB4E69xn_ibyEWj4ANzL_EVYtpZMg@mail.gmail.com>
2020-08-04  8:32     ` Jairo A. del Rio
2020-08-04 12:42       ` Hans Hagen
     [not found]         ` <b8495842-1b1d-7e1f-71cd-a6df97c1d54d@xs4all.nl>
2020-08-04 13:32           ` Jairo A. del Rio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).