New autoref - format, ...

This commit is contained in:
Burkhart Wolff 2019-05-28 10:43:40 +02:00
parent dce560b05a
commit 3b4e82b27c
2 changed files with 7 additions and 8 deletions

View File

@ -1688,14 +1688,13 @@ fun pretty_docitem_antiquotation_generic cid_decl ctxt ({unchecked = x, define =
val _ = check_and_mark ctxt cid_decl
({strict_checking = not x})
(Input.pos_of src) (Input.source_content src)
in (if y then Latex.enclose_block "\\label{" "}"
in (*(if y then Latex.enclose_block "\\label{" "}"
else Latex.enclose_block "\\autoref{" "}")
[Latex.string (Input.source_content src)]*)
(if y then Latex.enclose_block ("\\labelX[type="^cid_decl^"]{") "}"
else Latex.enclose_block ("\\autorefX[type="^cid_decl^"]{") "}")
[Latex.string (Input.source_content src)]
(* Future:
(if y then Latex.enclose_block ("\\labelX[type="^cid_decl^"]{") "}"
else Latex.enclose_block ("\\autorefX[type="^cid_decl^"]{") "}")
[Latex.string (Input.source_content src)]
*)
end

View File

@ -20,8 +20,8 @@ text*[paolo::author,
email = "''paolo.crisafulli@irt-systemx.fr''",
affiliation= "''IRT-SystemX, Paris, France''"]\<open>Paolo Crisafulli\<close>
text*[bu::author,
email = "''wolff@lri.fr''",
affiliation = "''Universit\\'e Paris-Sud, Paris, France''"]\<open>Burkhart Wolff\<close>
email = "\<open>wolff@lri.fr\<close>",
affiliation = "\<open>Université Paris-Sud, Paris, France\<close>"]\<open>Burkhart Wolff\<close>
text*[abs::abstract,