Skip to content

Commit

Permalink
fixed some issues with newer versions of TeX Live. layout probably ne…
Browse files Browse the repository at this point in the history
…eds tweaking
  • Loading branch information
jemmybutton committed Jun 20, 2019
1 parent bc7944a commit 0d756a0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 18 deletions.
3 changes: 1 addition & 2 deletions books11-13.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
topspace=10mm,
footer=0mm]

\switchtobodyfont[10pt]
\setupbodyfont[ebgaramond-be]
\setupbodyfont[ebgaramond-be,10pt]

\input preamble.tex
\input preamble_be.tex
Expand Down
2 changes: 1 addition & 1 deletion byrne.mp
Original file line number Diff line number Diff line change
Expand Up @@ -3115,7 +3115,7 @@ vardef byConstructCompoundAngle (suffix pointA, pointB, pointC) =
fi;
endfor;
if (not isFirst) or (not isLast):
errmessage("Can't construct angle: " & angleName);
errmessage("Can't construct angle: " & str pointA & str pointB & str pointC);
fi;
rv := angleList;
rv
Expand Down
5 changes: 2 additions & 3 deletions byrne_context.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
headerdistance=8mm,
topspace=10mm,
footer=0mm]

\switchtobodyfont[10pt]
\setupbodyfont[ebgaramond-be]

\setupbodyfont[ebgaramond-be,10pt]

\input preamble.tex
\input preamble_be.tex
Expand Down
3 changes: 1 addition & 2 deletions byrne_ru_context.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
topspace=10mm,
footer=0mm]

\switchtobodyfont[10pt]
\setupbodyfont[ebgaramond-be]
\setupbodyfont[ebgaramond-be,10pt]

\input preamble.tex
\input preamble_be.tex
Expand Down
20 changes: 10 additions & 10 deletions preamble_be.tex
Original file line number Diff line number Diff line change
Expand Up @@ -276,16 +276,16 @@
\startbook[ownnumber={\directconvertedcounter{book}\empty},incrementnumber=no,#1][#2]}

\definehead[supersection][coupling=chapter,default=chapter,incrementnumber=no,placehead=yes,page=no]
\define[2]\supersectionTitle{\vbox{\ \hfill \tfb #2 \hfill\ }}
\setuphead[supersection][alternative=text,command=\supersectionTitle,before={\blank[2\baselineskip]},after={}]
\define[2]\supersectionTitle{\midaligned{\tfb #2}}
\setuphead[supersection][command=\supersectionTitle,before={\blank[line]},after={\blank[line]}]

\definehead[silentSupersection][coupling=chapter,default=chapter,incrementnumber=no,placehead=yes,page=no]
\define[2]\noTitle{}
\setuphead[silentSupersection][alternative=text,command=\noTitle,distance=0pt,before={},after={},inbetween={}]
\setuphead[silentSupersection][alternative=text,command=\noTitle,before={},after={},inbetween={}]

\definehead[subproposition][subsection]
\define[2]\subpropositionTitle{\vbox{\ \hfill #2 \hfill\ }}
\setuphead[subproposition][alternative=text,command=\subpropositionTitle,distance=0pt,before={\blank[\baselineskip]},after={}]
\define[2]\subpropositionTitle{\midaligned{#2}}
\setuphead[subproposition][command=\subpropositionTitle,before={\blank[line]},after={\blank[line]}]

%\definehighlight[emph][style=italic]
\def\emph#1{{\em #1}}
Expand Down Expand Up @@ -340,15 +340,15 @@

\definehead[silentsection][section]
\define[2]\noTitle{}
\setuphead[silentsection][alternative=text,command=\noTitle,distance=0pt,before={},after={},inbetween={}]
\setuphead[silentsection][alternative=text,command=\noTitle,before={},after={},inbetween={}]

\definehead[sectiononlyname][section]
\define[2]\definitionTitle{\vbox{\ \hfill #2 \hfill\ }}
\setuphead[sectiononlyname][alternative=text,command=\definitionTitle,distance=0pt,before={\blank[0.5\baselineskip]},after={}]
\define[2]\definitionTitle{\midaligned{#2}}
\setuphead[sectiononlyname][command=\definitionTitle,number=no,before={\blank[halfline]},after={\blank[halfline]}]

\definehead[sectiononlynumber][section]
\define[2]\definitionNumber{\vbox{\ \hfill #1 \hfill\ }}
\setuphead[sectiononlynumber][alternative=text,command=\definitionNumber,distance=0pt,before={\blank[0.5\baselineskip]},after={}]
\define[2]\definitionNumber{\midaligned{#1}}
\setuphead[sectiononlynumber][command=\definitionNumber,before={\blank[quarterline]},after={\blank[quarterline]}]

\definecounter[proposition][way=bypart]
\define\startProposition{\dodoubleempty\startproposition}
Expand Down

0 comments on commit 0d756a0

Please sign in to comment.