Re: [RFC GIT PULL] Make choices of paper size and layout orthogonal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 31, 2020 at 11:56:57PM +0900, Akira Yokosawa wrote:
> The following changes since commit 32aff715700d62502624d4dc6468b9fa354c791b:
> 
>   SMPdesign: Drag matmul.{c,sh} kicking and screaming into shape (2020-03-29 11:24:02 -0700)
> 
> are available in the Git repository at:
> 
>   https://github.com/akiyks/perfbook.git tags/for-paul-2020.03.31a
> 
> for you to fetch changes up to 39cb8ba9cf5629f93d1fdbf5dd8204cc6f9f077b:
> 
>   Let paper size be orthogonal to 1c/2c layout variations (2020-03-31 19:14:40 +0900)
> 
> ----------------------------------------------------------------
> Hi Paul,
> 
> This pull request consists of the following.
> 
> Commits 1/10 and 2/10 adds target for a4paper via an environment variable
> PERFBOOK_PAPER.
> Commit 3/10 does similar tweaks for hard-cover-book paper size.
> 
> Commits 4/10 -- 6/10 are minor typo fixes. Narrow spaces in front of
> percent symbols are for consistency with the Style Guide.
> 
> Commit 7/10 is the change on my todo list to enable framed Quick Quiz
> on release tags.
> 
> Commit 8/10 is an improvement of dependency to tag addition/removal.
> 
> Commit 9/10 is an improvement of the torelease script. The added arguments
> can be used to specify a secondary git repository for testing/contingency.
> 
> Commit 10/10 is what I came up with the organization of make target
> variations.
> My idea here is to make it possible for us to choose any combination of
> choices of paper size and layout options.
> 
> By this change, when you set PERFBOOK_PAPER=A4, a "make" or "make 2c" will
> generate perfbook.pdf of a4paper, a "make 1c" will generate perfbook-1c.pdf
> of the same paper size, and so on. Default paper size is US letterpaper.
> so as long as you are concerned, "make" and "make 1c" won't change their
> behavior.
> 
> For hard cover books, setting PERFBOOK_PAPER=HB and doing a "make" will
> generate perfbook.pdf of the custom paper size for "hb".
> 
> You can still build perfbook-lt.pdf, perfbook-hb.pdf, or perfbook-a4.pdf
> regardless of the setting of PERFBOOK_PAPER.
> 
> Note that the rename of perfbook.tex to perfbook-lt.tex, which is tracked
> in the git repository.
> 
> "make help" will show only the "2c" and "1c" builds with a note on the
> variable PERFBOOK_PAPER.
> 
> Doesn't this approach sound reasonable to you? 

It does, thank you!

Queued and pushed, and thank you for (among the other things) making
perfbook compatible with the metric system!  ;-)

							Thanx, Paul

> Any feedback is more than welcome!
> 
>         Thanks, Akira
> --
> Akira Yokosawa (10):
>       Add target for A4 paper
>       Makefile: Add PERFBOOK_PAPER=A4 support
>       Makefile: Add PERFBOOK_PAPER=HB support
>       Makefile: Fix typo in recipe of msnt
>       SMPdesign: Fix trivial typo
>       Put narrow space in front of percent symbol
>       Enable framed Quick Quizzes on release tags
>       Makefile: Let autodate.tex depend on tag status
>       utilities/torelease: Make sure new tag is pushed
>       Let paper size be orthogonal to 1c/2c layout variations
> 
>  .gitignore                      |   2 +
>  Makefile                        | 110 ++++++++++++++++++++++++++++------------
>  SMPdesign/SMPdesign.tex         |   2 +-
>  debugging/debugging.tex         |  16 +++---
>  perfbook.tex => perfbook-lt.tex |  96 +++++++++++++++++++++--------------
>  toolsoftrade/toolsoftrade.tex   |   2 +-
>  utilities/autodate.sh           |   7 ++-
>  utilities/torelease.sh          |  20 ++++++--
>  8 files changed, 171 insertions(+), 84 deletions(-)
>  rename perfbook.tex => perfbook-lt.tex (94%)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux