8000 Tweak PDF creation. · log4cplus/log4cplus@3002670 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 3002670

Browse files
committed
Tweak PDF creation.
1 parent 9bf357d commit 3002670

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

docs/latex-header.tex

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,29 @@
1616
\usepackage{textcomp}
1717
\usepackage{upquote}
1818
\usepackage{etoolbox}
19-
\usepackage{selnolig}
19+
20+
\setmainfont[Ligatures={TeX, Common}]{TeX Gyre Pagella}
21+
\setmonofont[Scale=MatchLowercase,Ligatures={NoCommon}]{DejaVu Sans Mono}
22+
%\setromanfont{Georgia}
23+
%\setsansfont{DejaVu Sans}
24+
25+
\newfontfamily{\cjkfont}{WenQuanYi Zen Hei}[]
26+
\newfontfamily{\devanagarifont}{Lohit Devanagari}[]
27+
\newfontfamily{\tamilfont}{Lohit Tamil}[]
28+
\newfontfamily{\cyrilicfont}{CMU Serif}
29+
30+
%% These unfortunately break too many things. PDF will have to be without
31+
%% contributors' native names.
32+
% \ifxetex
33+
% \usepackage{xeCJK}
34+
% \setCJKmainfont{WenQuanYi Zen Hei}
35+
% \setCJKmonofont{WenQuanYi Zen Hei Mono}
36+
% \else
37+
% %% Adding senolig breaks compilation in the CJK support.
38+
% %\usepackage{selnolig}
39+
% \usepackage{luatexja-fontspec}
40+
% \setmainjfont{WenQuanYi Zen Hei}
41+
% \fi
2042

2143
\pagestyle{fancy}
2244
\chead{\raisebox{\baselineskip}{\includegraphics[width=1.5cm,keepaspectratio]{./docs/log4cplus}}}

scripts/build-pdf.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
, '--latex-engine=lualatex',
3737
, '--include-in-header=docs/latex-header.tex'
3838
, '--include-before-body=docs/latex-body.tex'
39-
, '-V', 'lang=english',
39+
, '-V', 'lang=en-US',
4040
, '-V', 'geometry:a4paper');
4141

4242
# pre-compute various source information strings

0 commit comments

Comments
 (0)
0