Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-03-22 12:28:33 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-03-23 12:16:52 -0400
commit2475cc37a62e91de283be5505ccc73003b312b1f (patch)
treed86af64678e91d3e00a46a3fb631cc617e4f6542 /doc
parenta7368d1b527a7d54ca7de75f08aad7f4735b279d (diff)
downloadliza-2475cc37a62e91de283be5505ccc73003b312b1f.tar.gz
liza-2475cc37a62e91de283be5505ccc73003b312b1f.tar.bz2
liza-2475cc37a62e91de283be5505ccc73003b312b1f.zip
doc/macros.texi (@srcrefraw): Add macro
I do not think Texinfo supports optional macro arguments.
Diffstat (limited to 'doc')
-rw-r--r--doc/macros.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/macros.texi b/doc/macros.texi
index be46533..a70200f 100644
--- a/doc/macros.texi
+++ b/doc/macros.texi
@@ -122,10 +122,18 @@
@macro srcref{path, display}
@url{@value{SRCURI}/\path\, @code{\display\}}
@end macro
+
+@macro srcrefraw{path}
+@url{@value{SRCURI}/\path\, @code{\path\}}
+@end macro
@end ifset
@ifclear SRCURI
@macro srcref{path, display}
+@srcrefraw{\path\}
+@end macro
+
+@macro srcrefraw{path}
@file{\path\}
@end macro
@end ifclear