Skip to content

Commit

Permalink
Fix the template: pdf/x-1a
Browse files Browse the repository at this point in the history
  • Loading branch information
artasparks committed Oct 7, 2015
1 parent 521b7d3 commit 75e9dcf
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/book/latex/latex_template.js
Expand Up @@ -13,24 +13,20 @@ gpub.book.latex.defaultTemplate = [
'<%#frontmatter.copyright.showPermanenceOfPaper%>',
'\\usepackage{tikz}',
'<%/frontmatter.copyright.showPermanenceOfPaper%>',

'',
'\\usepackage[margin=1in]{geometry}',

'',
'<%#pdfx1a%>',
'%%% PDF/X-1a Header',
'<%ypdfxHeader%>',
'',
'<%&pdfxHeader%>',
'<%/pdfx1a%>',

'',
'%%% Define any extra packages %%%',
'<%init%>',

'',
'\\setlength{\\parskip}{0.5em}',
'\\setlength{\\parindent}{0pt}',
'',

'%%% Diagram Figure defs.',
'% Must expose two commands',
'% \\gofigure (mainline diagrams)',
Expand Down Expand Up @@ -101,7 +97,7 @@ gpub.book.latex.defaultTemplate = [
'\\makeevenhead{headings}{\\thepage}{}{\\slshape\\leftmark}',
'\\makeoddhead{headings}{\\slshape\\rightmark}{}{\\thepage}',
'\\makerunningwidth{headings}[\\textwidth]{\\textwidth}',

'',
'\\pagestyle{companion}',
'\\makerunningwidth{companion}{\\headwidth}',
//'\\renewcommand{\\printchapternum}{\\space}', -- Force no chapter nums
Expand Down

0 comments on commit 75e9dcf

Please sign in to comment.