X-Git-Url: https://git.kianting.info/?a=blobdiff_plain;f=README.md;h=5f7039978f17be607429a6a303a88bf18f928f37;hb=a4f79a3761539f45ac7d86fe919bdc32cf290db0;hp=46dfc11a5ead18e67be6883476ce8c4f99cc627b;hpb=796e0c20c767e214b104fa3d17e754ce58da6e73;p=clo diff --git a/README.md b/README.md index 46dfc11..5f70399 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # clo -another personal draught of a typesetting language and engine. -website: https://kianting.info/wiki/w/Project:Clo -License: MIT + - another personal draught of a typesetting language and engine. + - website: https://kianting.info/wiki/w/Project:Clo + - license: MIT + - issue tracking mailing list: `clo@kianting.info` ## changing journal - 20230904 建立 thenDo、matchRange的函數、refactor harfbuzzjs 以及libpdf 等測試界面 @@ -31,6 +32,9 @@ License: MIT - 20231023-24:fix .ttc bug. - 20231026-27 : clo basic interface, preprocessor of stream of text, add cjk-english splitter, etc. + - 20231029-30: hyphenating for english. + - 20231105-06: 利用fontkit算文字的對應px寬度 initially pushed. + - 20231109-10: Keng-kái oa̍h-chōa ián-sǹg-hoat. ## 之後的做法 - 先做一個前處理註冊器,註冊下列的前處理 @@ -43,15 +47,20 @@ License: MIT - 然後算出每個Box的x, y, page - 最後納入排版 -## 排版語法: +## 排版語法 使用lisp表示,但其實是陣列 ```lisp (hglue 寬度 伸展值) (vglue 高度 伸展值) - (breakpoint 原始模式 斷行模式) + (bp 原始模式 斷行模式) ; breakpoint + (nl) ; newline (em 數字) (ex 數字) (span {"font-family" : "Noto Sans" , "font-size" : 16 }) (vbox 高度 內容) -``` \ No newline at end of file +``` + +## How to generate documents + - `typedoc /path/to/index.js [/path/to/index2.js ...]` +the generated page will be stored in `/src`. \ No newline at end of file