-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to layout, positioning, etc.Related to layout, positioning, etc.
Description
57 号のわたしの記事 (https://github.com/WORD-COINS/book57/pull/1) を、リポジトリの root でコンパイルしたときと記事ディレクトリ(articles/ 以下)でコンパイルしたときで組版結果が微妙に違う。
検証環境は以下のとおり。
- commit id
a316ff92a1f08978a61c5bfd06ac15c6b0193c14 - macOS Sequoia 15.5
- GNU bash, バージョン 5.2.37(1)-release (x86_64-apple-darwin23.6.0)
- typst v0.3.1
再現手順は以下。
- 適当なディレクトリで 57 号のリポジトリを clone
- cd クローンしてきたリポジトリ
- make setup
- git checkout articles/typst-latex-comparison
- make compile
- cd articles/typst-latex-comparison
- make compile
root で(step 5 で)make compile して得られた PDF はこれ。
main.pdf
articles 以下に cd してから(step 7 で)得られた PDF はこれ。
main.pdf
「Typst に図版ごと組ませる方針」という見出しがあるページの組版結果が 2 つの PDF で違う。
前者では、図 4 の上に 1 段落あるが、後者では、図 4 がページの最上部に配置されており、前者で図の上にあった段落は図 4 の前のページにある。
同じ記事から生成されたものなので、組版結果は同一であってほしい。
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglayoutRelated to layout, positioning, etc.Related to layout, positioning, etc.