default.ms: Add settings for document variables like width.
This commit is contained in:
parent
1e13e98ecf
commit
af57de0b27
3 changed files with 60 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ sourcefiles=$(shell find pandoc.hs src test -name '*.hs')
|
|||
BRANCH?=master
|
||||
|
||||
quick:
|
||||
stack install --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes'
|
||||
stack install --flag 'pandoc:embed_data_files' --fast --test --test-arguments='-j4 --hide-successes $(TESTARGS)'
|
||||
|
||||
full:
|
||||
stack install --flag 'pandoc:embed_data_files' --test --test-arguments='-j4' --pedantic
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.\" **** Custom macro definitions *********************************
|
||||
.mso www.tmac
|
||||
.\" **** Custom macro definitions ****
|
||||
.\" * Super/subscript
|
||||
.\" (https://lists.gnu.org/archive/html/groff/2012-07/msg00046.html)
|
||||
.ds { \v'-0.3m'\\s[\\n[.s]*9u/12u]
|
||||
|
@ -12,7 +12,32 @@
|
|||
.ce
|
||||
\l'20'
|
||||
..
|
||||
.\" **********************************
|
||||
.\" **** Settings *************************************************
|
||||
.\" text width
|
||||
.nr LL 5.5i
|
||||
.\" left margin
|
||||
.nr PO 1.25i
|
||||
.\" top margin
|
||||
.nr HM 1.25in
|
||||
.\" bottom margin
|
||||
.nr FM 1.25in
|
||||
.\" header/footer width
|
||||
.nr LT \n[LL]
|
||||
.\" point size (pt x 1000)
|
||||
.nr PS 10000
|
||||
.\" line height (pt x 1000)
|
||||
.nr VS 12000
|
||||
.\" font family: A, BM, H, HN, N, P, T, ZCM
|
||||
.fam T
|
||||
.\" paragraph indent
|
||||
.nr PI 0
|
||||
.\" interparagraph space
|
||||
.nr PD 0.33v
|
||||
.\" footnote width
|
||||
.nr FL \n[LL]
|
||||
.\" footnote point size
|
||||
.nr FPS (\n[PS] - 2000)
|
||||
.\" ***************************************************************
|
||||
$if(adjusting)$
|
||||
.ad $adjusting$
|
||||
$endif$
|
||||
|
@ -48,6 +73,8 @@ $endfor$
|
|||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
.\" 1 column (use .2C for two column)
|
||||
.1C
|
||||
$body$
|
||||
$if(toc)$
|
||||
$toc$
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.\" **** Custom macro definitions ****
|
||||
.\" **** Custom macro definitions *********************************
|
||||
.mso www.tmac
|
||||
.\" * Super/subscript
|
||||
.\" (https://lists.gnu.org/archive/html/groff/2012-07/msg00046.html)
|
||||
.ds { \v'-0.3m'\\s[\\n[.s]*9u/12u]
|
||||
|
@ -11,7 +12,32 @@
|
|||
.ce
|
||||
\l'20'
|
||||
..
|
||||
.\" **********************************
|
||||
.\" **** Settings *************************************************
|
||||
.\" text width
|
||||
.nr LL 5.5i
|
||||
.\" left margin
|
||||
.nr PO 1.25i
|
||||
.\" top margin
|
||||
.nr HM 1.25in
|
||||
.\" bottom margin
|
||||
.nr FM 1.25in
|
||||
.\" header/footer width
|
||||
.nr LT \n[LL]
|
||||
.\" point size (pt x 1000)
|
||||
.nr PS 10000
|
||||
.\" line height (pt x 1000)
|
||||
.nr VS 12000
|
||||
.\" font family: A, BM, H, HN, N, P, T, ZCM
|
||||
.fam T
|
||||
.\" paragraph indent
|
||||
.nr PI 0
|
||||
.\" interparagraph space
|
||||
.nr PD 0.33v
|
||||
.\" footnote width
|
||||
.nr FL \n[LL]
|
||||
.\" footnote point size
|
||||
.nr FPS (\n[PS] - 2000)
|
||||
.\" ***************************************************************
|
||||
.hy
|
||||
.EQ
|
||||
delim ||
|
||||
|
@ -23,6 +49,8 @@ John MacFarlane
|
|||
.AU
|
||||
Anonymous
|
||||
.ND "July 17, 2006"
|
||||
.\" 1 column (use .2C for two column)
|
||||
.1C
|
||||
.LP
|
||||
This is a set of tests for pandoc.
|
||||
Most of them are adapted from
|
||||
|
|
Loading…
Add table
Reference in a new issue