[NTG-context] Is rendering furigana over horizontal or vertical japanese text doable in ConTeXt?

amano.kenji amano.kenji at proton.me
Tue Aug 16 13:33:03 CEST 2022


At least, furigana seems covered.

How do I know which document to consult? There are many PDF files that come with ConTeXt.

------- Original Message -------
On Monday, August 15th, 2022 at 3:39 PM, Wolfgang Schuster via ntg-context <ntg-context at ntg.nl> wrote:


> amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00:
>
> > Is there any documentation about \ruby?
>
>
> You can see all available parameters in setup-en.pdf, the example below
> shows a few of them:
>
> %%%% begin example
> \setupinterlinespace[line=4ex]
>
> \setuptype[style=\ttx]
>
> \starttext
>
> \start
> xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx
> \stop
>
> \start \setupruby[location=left]
> \type{\setupruby[location=left]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx
> \stop
>
> \start \setupruby[location=right]
> \type{\setupruby[location=right]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx
> \stop
>
> \start \setupruby[location=right,left={[},right={]}]
> \type{\setupruby[left={[},right={]}]}\quad xxxxxxxxx \ruby{aaa}{bbb}
> xxxxxxxxx
> \stop
>
> \start \setupruby[align=flushleft]
> \type{\setupruby[align=flushleft]}\quad xxxxxxxxx \ruby{aaaaaa}{bbb}
> xxxxxxxxx
> \stop
>
> \start \setupruby[align=flushright]
> \type{\setupruby[align=flushright]}\quad xxxxxxxxx \ruby{aaaaaa}{bbb}
> xxxxxxxxx
> \stop
>
> \start \setupruby[style=\itxx]
> \type{\setupruby[style=\itxx]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx
> \stop
>
> \start \setupruby[color=blue]
> \type{\setupruby[color=blue]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx
> \stop
>
> \start \setupruby[voffset=-1.2ex]
> \type{\setupruby[voffset=-1.2ex]}\quad xxxxxxxxx \ruby{aaa}{bbb} xxxxxxxxx
> \stop
>
> \stoptext
> %%%% end example
>
> > What about vertical text?
>
>
> ConTeXt has a mechanism to produce vertical text but there is nothing
> yet which can
> be used out of the box to produce a complete document with vertical
> paragraphs.
>
> Wolfgang
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___________________________________________________________________________________


More information about the ntg-context mailing list