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
compose Tibetan Buddhist Canon text collection in layout of traditional Pecha tibetan texts #1785
Comments
We put SVG background for whole page and it solve layout partly. Any chance set @left-middle as DIV or SPAN and absolute position it by CSS or Python code? |
@left-top {
width:200px;
font-size: 11pt;
content: string(heading);
transform: rotate(90deg);
line-height:1px;
padding-top:0px;
} Any chance set |
Hi!
🙏️
As this seems to be quite complex, it would be really useful to get an example. Could you please provide a "simple" example with an image of what you want (it could be a screenshot of PechaMaker) and the corresponding HTML/CSS sample you have?
Hyphenation is done using the Pyphen library (that we also maintain) and Hunspell hyphenation dictionaries. We currently use the ones provided by LibreOffice, but no Tibetan hyphenation dictionary is provided yet. Depending on the Tibetan hyphenation rules, it can be quite easy (but long) or extremely hard (and extremely long) to write such a dictionary. Maybe one is already available somewhere? |
Good day! Tibetan hyphenation and pagination rules is relatively simple and need implement only few rules for all texts.
This rules more about how handle phrases and syllables on page than pure hyphenation rules. |
We my use @left-middle rule in @page for position of header text vertically. Problem is we can not position it by relative or absolute coordinate. @left-top {
move text line the way we can not predict in code. In tibetan text sometimes it is need position two or three headers. |
Thanks for your sample. I’m sorry, but it’s difficult for me to fully understand what is the problem with your current implementation. Could it be possible to have an HTML/CSS sample and an image of the same content, so that we can compare the generated PDF with the image and see what’s wrong? |
Good day.
Thank you for all your noble work for benefit of all mankind.
At present we need compose Tibetan Buddhist Canon text collection in layout of traditional Pecha tibetan texts. At first stage it is about 350 volumes.
https://www.pechamaker.com/screenshots.html
https://en.wikipedia.org/wiki/Pecha
Does it possible to ask your help to compose this layout and help me understand how adjust hyphenation route for tibetan texts? First of all we need position @left-middle and @right-middle properly and make border around all page content.
Of course we will be happy provide Weasyprint contact an every generated PDF (at last few million pages).
Open Source Buddhism Library
Stroganov Alexander
The text was updated successfully, but these errors were encountered: