/
githubmirror
/
pandoc
Обзор
Документация
Войти
/
githubmirror
/
pandoc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
data/templates/default.ms
124 строки
2 KB
John MacFarlane
ms template: put PDF-specific things under a conditional.
30 мар 2025, 08:39
30 мар 2025, 08:39
021b9ce
Код
Авторство
О чём код?
$if(pandoc-version)$ .\" Automatically generated by Pandoc $pandoc-version$ .\" $endif$ .\" **** 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] .ds } \s0\v'0.3m' .ds < \v'0.3m'\s[\\n[.s]*9u/12u] .ds > \s0\v'-0.3m' .\" * Horizontal line .de HLINE .LP .ce \l'20' .. $if(highlighting-macros)$ .\" * Syntax highlighting macros $highlighting-macros$ $endif$ .\" **** Settings ************************************************* .\" text width .nr LL 5.5i .\" left margin .nr PO 1.25i .\" top margin .nr HM 1.25i .\" bottom margin .nr FM 1.25i .\" header/footer width .nr LT \n[LL] .\" point size .nr PS $if(pointsize)$$pointsize$$else$10p$endif$ .\" line height .nr VS $if(lineheight)$$lineheight$$else$12p$endif$ .\" font family: A, BM, H, HN, N, P, T, ZCM .fam $if(fontfamily)$$fontfamily$$else$T$endif$ .\" paragraph indent .nr PI $if(indent)$$indent$$else$0m$endif$ .\" interparagraph space .nr PD 0.4v .\" footnote width .nr FL \n[LL] .\" footnote point size .nr FPS (\n[PS] - 2000) $if(papersize)$ .\" paper size .ds paper $papersize$ $endif$ .\" color used for strikeout .defcolor strikecolor rgb 0.7 0.7 0.7 .\" 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 .\" page numbers in footer, centered .ds CH .ds CF % $if(adjusting)$ .ad $adjusting$ $endif$ $if(hyphenate)$ .hy $else$ .nh $endif$ $if(has-inline-math)$ .EQ delim @@ .EN $endif$ $if(pdf-engine)$ .\" color for links (rgb) .ds PDFHREF.COLOUR 0.35 0.00 0.60 .\" border for links (default none) .ds PDFHREF.BORDER 0 0 0 .\" pdf outline fold level .nr PDFOUTLINE.FOLDLEVEL 3 .\" start out in outline view .pdfview /PageMode /UseOutlines .\" *************************************************************** .\" PDF metadata .pdfinfo /Title "$title-meta$" .pdfinfo /Author "$author-meta$" $endif$ $for(header-includes)$ $header-includes$ $endfor$ $if(title)$ .TL $title$ $endif$ $for(author)$ .AU $author$ $endfor$ $if(date)$ .AU .sp 0.5 .ft R $date$ $endif$ $if(abstract)$ .AB $abstract$ .AE $endif$ .\" 1 column (use .2C for two column) .1C $for(include-before)$ $include-before$ $endfor$ $body$ $if(toc)$ .TC $endif$ $for(include-after)$ $include-after$ $endfor$ .pdfsync