local_cmmds.tex: Add 'section' processing to \fref
authorW. Trevor King <wking@tremily.us>
Thu, 9 May 2013 02:17:03 +0000 (22:17 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 9 May 2013 02:17:03 +0000 (22:17 -0400)
Again, matching cleveref's \cref{} formatting

src/local_cmmds.tex

index fde8ec1a9d2a64255c6fe38ef09e98e0f5d2841d..5eeeb534f6f3e5bf324c4ed75e9a63f8bb2b69f6 100644 (file)
@@ -24,6 +24,8 @@
     Eq.~\iref{#1}{#2}%
   \case{\isequal{#1}{figure}}%
     Fig.~\iref{#1}{#2}%
+  \case{\isequal{#1}{section}}%
+    Section~\iref{#1}{#2}%
   \otherwise%
     \PackageError{fref}{
       \MessageBreak