metanorma / mn-samples-plateau

Project PLATEAU by MLIT: Japanese Ministry of Land, Infrastructure, Transport and Tourism (国土交通省)
https://www.mlit.go.jp/plateau/
1 stars 0 forks source link

HTML: Every paragraph should be prefixed with a full-width whitespace in Japanese #116

Closed ronaldtse closed 3 months ago

ronaldtse commented 3 months ago
Screenshot 2024-07-09 at 10 27 30 PM
ReesePlews commented 3 months ago

even if the client were to accept non-indented paragraphs i doubt the end user would accept such text, so unfortunately the first sentence in every paragraph needs to be indented as you have specified here: indent with one double-byte space.

i am not sure what would happen in a list. if a long paragraph of text was a list item, then i suspect it would also require the same indent. perhaps for now we dont worry about that. we can see the current fix and go from there. @ronaldtse please contact me to discuss if my feedback is not helpful. thanks

opoudjis commented 3 months ago

This is going to end in tears, as you are anticipating Reese, but ok, implementing...

ReesePlews commented 3 months ago

hello @opoudjis for the regular body paragraphs it is needed. after that we should wait for some discussion/feedback from the client. perhaps we can get some approval and body paragraphs are enough for indenting.

opoudjis commented 2 months ago

Responding to https://github.com/metanorma/mn-samples-plateau/issues/119#issuecomment-2267240589

i am wondering about the indents. i think we discussed that paragraph blocks have one double-byte-space as an indent, but i am concerned indents are possibly being added in more places (the title in the first row of the table actually looks indented on the left compared to the right margin). i will make some checks and open a separate issue if i find anything regarding that.

Like I said at the time, @ReesePlews,

https://github.com/metanorma/mn-samples-plateau/issues/116#issuecomment-2230715188

This is going to end in tears, as you are anticipating Reese, but ok, implementing...

I've implemented indentation before any paragraph. I fully expected that there are going to be cases where indentation is not applicable; and because I don't know about Japanese typography, I don't know what they are. That's up to the client or yourself to clarify.

It's no surprise for example that indentation is turning out in table titles; table titles are still paragraphs... So this needs thorough investigation.

@Intelligent2013 Once we have discrete rules, we will need to stop implementing indentation independently, and I will need to start doing indentation in Presentation XML. We also will need clarification about whether any indentation rules are applicable just to Plateau, or are generic to Japanese, and need to be implemented in JIS as well.

As you've stated, Reese, please open a new ticket once you have the requisite analysis.

ReesePlews commented 2 months ago

thank you @opoudjis i will open a new ticket once these things are clearly defined. i also find indents very confusing when i prepare documents in japanese.