Emanuel Han via ntg-context schrieb am 10.03.2024 um 17:43:
Hi all,
I added
https://wiki.contextgarden.net/Chinese_Japanese_and_Korean#Meeting_the_JIS_X_4051_Requirements_for_Japanese_Text_Layout
with attached working example code and to-do list.
Thanks for any contributions!
The working example code is still a work in progress. Its text layout
output meets already some of the requirements (see comments in the
code). Among the ones to still be implemented are:
*
solid setting (no extra spacing between characters)
https://www.w3.org/TR/jlreq/#fig1_8 if no requirement for
line-adjustment https://www.w3.org/TR/jlreq/#term.line-adjustment
*
aligning of the lines to the Kihon-hanmen (optimizing the code
below in this regard)
Can you make text files out of the images [1] with the spacing
before/after punctuation to have short examples for testing.
[1] https://www.w3.org/TR/jlreq/#positioning_of_punctuation_marks
*
positioning and realm of headings
https://www.w3.org/TR/jlreq/#fig3_1_9
https://www.w3.org/TR/jlreq/#fig3_1_15 et al, and
https://www.w3.org/TR/jlreq/#fig3_1_4
*
positioning of yokugo-ruby https://www.w3.org/TR/jlreq/#fig2_3_24
*
inline cutting note (warichu) https://www.w3.org/TR/jlreq/#fig2_4_1
*
emphasis with sesame dot or bullet
*
itemization https://www.w3.org/TR/jlreq/#fig2_5_6
Circled numbered are easy and achieved by adding additional number
conversions.
*
indenting of quotation paragraphs
https://www.w3.org/TR/jlreq/#fig2_5_7
Use the narrower or blockquote environment for this.
*
tab setting https://www.w3.org/TR/jlreq/#fig2_6_1
Just use a table.
*
furiwake https://www.w3.org/TR/jlreq/#fig2_7_2
*
jidori https://www.w3.org/TR/jlreq/#fig2_7_4
*
math https://www.w3.org/TR/jlreq/#fig2_7_6 and
https://www.w3.org/TR/jlreq/#fig2_7_62
*
tategaki (writing vertically)
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________