User Tools

Site Tools


project:texlements:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
project:texlements:start [2021/11/24 17:17] – created sachyproject:texlements:start [2021/11/26 16:08] – added patch file sachy
Line 2: Line 2:
 {{template>project:infobox| {{template>project:infobox|
 name=tExlements| name=tExlements|
-image=texlements:img.jpg?256|+image=texlements:41129584-737480dc-6abb-11e8-8f73-7b9a9afcb38a.png?256|
 founder=[[user:sachy]]| founder=[[user:sachy]]|
 interested=| interested=|
 +sw=CC-BY-SA 4.0|
 }} }}
  
 ~~META: ~~META:
 status = in progress status = in progress
-&relation firstimage = :project:texlements:img.jpg+&relation firstimage = :project:texlements:41129584-737480dc-6abb-11e8-8f73-7b9a9afcb38a.png
 ~~ ~~
  
 The [[https://en.wikipedia.org/wiki/Euclid%27s_Elements|Euclid's Elements]] is one of the most important books ever written by humanity, given it was first published over 2k years ago and still not forgotten. The [[https://en.wikipedia.org/wiki/Euclid%27s_Elements|Euclid's Elements]] is one of the most important books ever written by humanity, given it was first published over 2k years ago and still not forgotten.
 +
 +This project aims to provide the Euclid-Byrne's //Elements// in form suitable for hardcopy/paperback printout.
  
 Timeline: Timeline:
Line 36: Line 39:
  
 <code diff byrne_context_print.diff> <code diff byrne_context_print.diff>
 +114,129d113 
 +< {\tfa github.com/jemmybutton} 
 +< \vskip 0.25\baselineskip 
 +<  
 +< {\tfb 2020 ed.\,0.8a} 
 +< \vskip \baselineskip 
 +<  
 +< \symbol[cc][cc] \symbol[cc][by] \symbol[cc][sa] 
 +< \vskip 0.25\baselineskip 
 +<  
 +< \startnarrower 
 +< \setuplocalinterlinespace[line=2ex] 
 +< {\tfx This rendition of Oliver Byrne's \quotation{The first six books of the Elements of Euclid} is made by Slyusarev Sergey and  is distributed under CC-BY-SA 4.0 license} 
 +< \stopnarrower 
 +<  
 +< \vskip -\baselineskip 
 +<  
 +136a121 
 +>  
 +13348a13334,13363 
 +>  
 +> \setuplayout[title] 
 +> \setupheader [state=stop] 
 +>  
 +> \pagebreak\ \pagebreak 
 +>  
 +> \startalignment[middle] 
 +> \  
 +> \vfill\vfill\vfill 
 +>  
 +> {\tfa github.com/jemmybutton} 
 +> \vskip 0.25\baselineskip 
 +>  
 +> {\tfb 2020 ed.\,0.8a} 
 +> \vskip \baselineskip 
 +>  
 +> \symbol[cc][cc] \symbol[cc][by] \symbol[cc][sa] 
 +> \vskip 0.25\baselineskip 
 +>  
 +> \startnarrower 
 +> \setuplocalinterlinespace[line=2ex] 
 +> {\tfx This rendition of Oliver Byrne's \quotation{The first six books of the Elements of Euclid} is made by Slyusarev Sergey and  is distributed under CC-BY-SA 4.0 license} 
 +> \stopnarrower 
 +>  
 +> \vfill 
 +>  
 +> \vskip -\baselineskip 
 +>  
 +> \stopalignment 
 +>  
 +13349a13365,13367 
 +>  
 +>  
 +
 </code> </code>
  
Line 47: Line 103:
 <code> <code>
 gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dFirstPage=1 -dLastPage=1 -sOutputFile=./predek.pdf ./byrne_context.pdf gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dFirstPage=1 -dLastPage=1 -sOutputFile=./predek.pdf ./byrne_context.pdf
-gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dFirstPage=274 -dLastPage=274 -sOutputFile=./zadek.pdf ./byrne_context.pdf+gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dFirstPage=276 -dLastPage=276 -sOutputFile=./zadek.pdf ./byrne_context.pdf
 </code> </code>
  
Line 53: Line 109:
  
 The result should look like this: The result should look like this:
 +
 +{{:project:texlements:obalka.png?400|}}
  
 ===== Extending the format ====== ===== Extending the format ======
Line 93: Line 151:
 </code> </code>
  
 +Edit the generated tex file (move the marked lines to the new end of document) and compile it into PDF.
 +
 +===== Done =====
 +
 +Now you are done, you have separate booklet and content with the proper page facing and alternating margins ready for print and book assembly line.
  
 +Feel free to download the version suitable for book: {{ :project:texlements:obalka.pdf|booklet}} and {{ :project:texlements:byrne_obsah2.pdf |content}}.
  
project/texlements/start.txt · Last modified: 2021/11/26 16:09 by sachy