Skip to content

Commit

Permalink
migrating
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Sep 16, 2024
1 parent 60caadf commit 65da143
Show file tree
Hide file tree
Showing 24 changed files with 396 additions and 293 deletions.
Binary file added _support/latex/.DS_Store
Binary file not shown.
Binary file added _support/latex/CreativeCommons-BYNOCND.pdf
Binary file not shown.
7 changes: 0 additions & 7 deletions _support/latex/ReadMe.txt

This file was deleted.

2 changes: 1 addition & 1 deletion _support/latex/common.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\pagelayout{\paperbackpage}
\pagelayout{\bodpage}

\usepackage{_support/latex/sbabook/pharo-titlepage}

Expand Down
33 changes: 0 additions & 33 deletions _support/latex/ensure-dependencies-2017.sh

This file was deleted.

33 changes: 0 additions & 33 deletions _support/latex/ensure-dependencies-2018.sh

This file was deleted.

32 changes: 0 additions & 32 deletions _support/latex/ensure-dependencies-2019.sh

This file was deleted.

32 changes: 0 additions & 32 deletions _support/latex/ensure-deps.sh

This file was deleted.

109 changes: 109 additions & 0 deletions _support/latex/sbabook/.drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
---
kind: pipeline
type: docker
name: TeXlive

steps:
- name: build
image: texlive/texlive
commands:
- tlmgr option repository https://ctan.gutenberg-asso.fr/systems/texlive/tlnet
- tlmgr update --self --all
- latexmk sbabook
- latexmk sbabook.bod
- latexmk sbabook.spiral

- name: build log
image: alpine
commands:
- cat sbabook.log
- cat sbabook.bod.log
- cat sbabook.spiral.log
when:
status: [failure, success]

---
kind: pipeline
type: docker
name: minimal TeXlive

steps:
- name: build
image: texlive/texlive:latest-minimal
pull: always
commands:
- tlmgr option repository https://ctan.gutenberg-asso.fr/systems/texlive/tlnet
- tlmgr update --self --all
- tlmgr install latex-bin latexmk
- xargs tlmgr install < texlive.deps
- tlmgr path add
- latexmk sbabook
- latexmk sbabook.bod
- latexmk sbabook.spiral

- name: build log
image: alpine
commands:
- cat sbabook.log
- cat sbabook.bod.log
- cat sbabook.spiral.log
when:
status: [failure, success]

---
kind: pipeline
type: docker
name: Ubuntu + TeXlive 2023

environment:
TEXLIVE_RELEASE: 2023

steps:
- name: build
image: ubuntu
commands:
- apt update && apt install -y curl perl
- export PATH=$HOME/texlive/bin/x86_64-linux:$HOME/texlive/bin/aarch64-linux:$PATH
- ./ci/install-texlive
- xargs tlmgr install < texlive-2023.deps
- latexmk sbabook
- latexmk sbabook.bod
- latexmk sbabook.spiral

- name: build log
image: alpine
commands:
- cat sbabook.log
- cat sbabook.bod.log
- cat sbabook.spiral.log
when:
status: [failure, success]

---
kind: pipeline
type: docker
name: Ubuntu + TeXlive rolling

environment:
TEXLIVE_RELEASE: rolling

steps:
- name: build
image: ubuntu
commands:
- apt update && apt install -y curl perl
- export PATH=$HOME/texlive/bin/x86_64-linux:$HOME/texlive/bin/aarch64-linux:$PATH
- ./ci/install-texlive
- xargs tlmgr install < texlive.deps
- latexmk sbabook
- latexmk sbabook.bod
- latexmk sbabook.spiral

- name: build log
image: alpine
commands:
- cat sbabook.log
- cat sbabook.bod.log
- cat sbabook.spiral.log
when:
status: [failure, success]
8 changes: 4 additions & 4 deletions _support/latex/sbabook/.gitrepo
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
;
[subrepo]
remote = https://github.com/cdlm/sbabook.git
branch = master
commit = 54f06af35d7f6c65e2f129d73a0fbe94f2b92b61
parent = 9e2fd7b389d48ea63923c4c23d4ee762cda02a0f
branch = v0.2.8
commit = ffabafecf60c20d856b706f9377595a45be7704f
parent = 45207449de0cce8a515afcfe358fabf185a14d30
method = merge
cmdver = 0.4.0
cmdver = 0.4.6
27 changes: 0 additions & 27 deletions _support/latex/sbabook/.travis.yml

This file was deleted.

5 changes: 2 additions & 3 deletions _support/latex/sbabook/README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ SBAbook — A LaTeX class for technical books
This is a set of layout, typography, and markup definitions for LaTeX books based on the [memoir][] document class.
It is intended for use by [Square Bracket Associates (SBA)][sba], and heavily customized in this direction — by this I mean it's made to setup specific semantic markup and typographic style, rather than to be flexible.

[![Build Status](https://travis-ci.org/cdlm/sbabook.svg?branch=master)](https://travis-ci.org/cdlm/sbabook)
[![Flattr this git repo](https://button.flattr.com/flattr-badge-large.png)](https://flattr.com/submit/auto?url=https%3A%2F%2Fgithub.com%2Fcdlm%2Fsbabook)
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/cdlm/donate "Donate using Liberapay")


## Usage (nearly there)

The preamble is limited to the minimum:
Here is the minimal preamble:

```latex
\documentclass{sbabook}
Expand Down
Loading

0 comments on commit 65da143

Please sign in to comment.