summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:01:37 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-26 20:03:37 +0200
commit0eb62f03fe5cc65534a30bb1f66362e85992c55a (patch)
tree237aeb6a19fddd2357fff97352abf285e7d9d7d5 /data
parent0ae448e63810b5599c21cac7a83e90dd82f07031 (diff)
Ms writer: Hyperlink table of contents and other improvements.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.ms12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/templates/default.ms b/data/templates/default.ms
index 276a41880..85f9af30a 100644
--- a/data/templates/default.ms
+++ b/data/templates/default.ms
@@ -42,6 +42,17 @@
.ds PDFHREF.COLOUR 0.35 0.00 0.60
.\" border for links (default none)
.ds PDFHREF.BORDER 0 0 0
+.\" point size difference between heading levels
+.nr PSINCR 1p
+.\" heading level above which point size no longer changes
+.nr GROWPS 2
+.\" comment these out if you want a dot after section numbers:
+.als SN SN-NO-DOT
+.als SN-STYLE SN-NO-DOT
+.\" pdf outline fold level
+.nr PDFOUTLINE.FOLDLEVEL 3
+.\" start out in outline view
+.pdfview /PageMode /UseOutlines
.\" ***************************************************************
.\" PDF metadata
.pdfinfo /Title "$title-meta$"
@@ -85,7 +96,6 @@ $endfor$
.1C
$body$
$if(toc)$
-$toc$
.TC
$endif$
$for(include-after)$