-
Notifications
You must be signed in to change notification settings - Fork 84
相互参照
puripuri2100 edited this page Dec 15, 2018
·
1 revision
相互参照類は以下のパッケージによって以下のコマンドが提供されます。
- stdja.satyh
\ref
\ref-page
- stdjabook.satyh
\ref
\ref-page
- stdjareport.satyh
\ref
\ref-page
上記のコマンドの引数は全て[string]
の型を持っています。
+section ?:(`hoge`){test}<
+p{\ref-page(`hoge`);ページの\ref(`hoge`);章では、}
>
第1引数には、+section
や+figure
などで指定した相互参照用のstring
型の文字を入れます。一致するものがあれば、その文字があるページ番号等が返り、一致するものがなければ?
が返ります。
詳しくはThe SATySFibookの129ページを参照してください。
-
register-cross-reference
: string -> string -> unit -
get-cross-reference
: string -> string option -
hook-page-break
: ((|page-number : int|) -> point -> unit ) -> inline-boxes
- トップページ
- The SATySFibook Web公開版 第1版
- Wiki
- 目的別パッケージ一覧
- コマンドライン書式
- SATySFiコマンド一覧
- Satyrographos(パッケージマネージャ)
- 新しい言語機能の紹介
- 言語機能の構想