LaTeX reader: rudimentary support for \hyperlink.

This commit is contained in:
John MacFarlane 2017-08-16 10:56:16 -07:00
parent db715ca847
commit ae61d5f57d

View file

@ -1384,7 +1384,11 @@ inlineCommands = M.fromList $
<|> citation "citeauthor" AuthorInText False)
, ("nocite", mempty <$ (citation "nocite" NormalCitation False >>=
addMeta "nocite"))
-- hyperlink: for now, we just preserve contents.
-- we might add the actual links, but we need to avoid clashes
-- with ids produced by label.
, ("hypertarget", braced >> tok)
, ("hyperlink", braced >> tok)
-- glossaries package
, ("gls", doAcronym "short")
, ("Gls", doAcronym "short")