-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF: Add new vertical layout #226
Comments
Here's an updated file for reference:
I've used "Noto Serif JP" "Medium" to replace the Italic text, so we don't need Source Sans.
It's a mirrored front-back image of the front cover page. If possible allow using a separate front/back cover page. Thanks! |
@ronaldtse there are question about numbers in header/footer:
Examples: |
@ronaldtse could you check the fonts which are used on the cover page in the source Adobe Illustrator file. but the rendered fonts looks so: I've tried to use Also, Adobe Acrobat in the document properties shows 7 fonts Thanks. |
@Intelligent2013 I think this is because I’m using Noto Sans JP “Variable” that can realize all weights. It’s not Extra Light. |
Actually the fonts |
Latest PDF with rotated text in the tables: 20241205.vertical.jis.example.pdf |
hello @Intelligent2013 this layout represents a great amount of work here. thank you very much. i have followed this work on and off, sorry i could not review everything. i have one question, the cover is A4 portrait but the pages are A4 landscape. was there a precedent/reference to use landscape format for this layout over portrait format? if we think about a printed and bound document (at the top of the landscape formatted pages) i think there would not be enough space to see the top row of characters with the binding. while there is more space at the bottom of the landscape pages, the binding would never be at the bottom, as it causes too much interactive conflict for the user. it is really fascinating to see this and to know that metanorma has this implemented functionality. i think there are specific areas in the document that could be independently modified a bit for readability. its that independent aspect that makes it very difficult to define blanket rules for some of those issues. |
@ReesePlews thank you for the comments.
Your question is hard for me to answer. The XSLT module for the PDF generating was developed based on the template JIS_Template_traditional_blue_v2_traditional.pdf provided 1.5 month (see post I forward the question to @ronaldtse.
Regarding printing, I agree there may be problems in the header/footer (i.e. left/right margins on landscape pages) printing due the limitation of some printers. |
Next tasks are:
and then paste the text into editor, the the user will see the 'left cornet bracket' as vertically oriented symbol: |
Found 8 characters which require to use the dedicated characters:
|
In continue of metanorma/mn-native-pdf#713.
As titled, based on the new JIS layout JIS_Template_traditional_blue_v2_traditional.pdf.
To do (draft list):
add new parametersno need, it's part of user-provided cover page:presentation-metadata-color-cover-page-background-1:
,:presentation-metadata-color-cover-page-background-2:
for vertical stripes (with opacity) on the cover pageadd new parametersno need, it's part of user-provided cover page:presentation-metadata-color-cover-page-background-opacity-1:
,:presentation-metadata-color-cover-page-background-opacity-2:
vertical stripes opacitiesintegrate two new logosno need, it's part of user-provided cover pageJIS
andJSA
into SVG.:presentation-metadata-color-header-footer-background:
(blue bar in the reference PDF)Noto Sans JP Thin
,Noto Serif JP ExtraLight
andSource Sans
Noto Serif JP Medium
in the XSLT, and add intoprocessor.rb
metanorma-jis
(Jis new layout fonts #230):coverpage-image:
(see https://www.metanorma.org/author/bsi/ref/document-attributes/) - image location, for image to be included on the PDF cover page. Image location is relative to the source document.metanorma-jis
(Add document attributes for cover and back page image #227):backpage-image:
- same, for image to be included on the PDF back page. (Add document attributes for cover and back page image #227)metanorma-jis
(Add document attributes for cover and back page image #227)http;//
https://
www.
), no need special actions, the English text doesn't rotate by defaultspan:norotate[text]
Known issues:
The text was updated successfully, but these errors were encountered: