Skip to content

Commit

Permalink
Naming convention updated - spaces removed from file names
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsramek committed Jul 22, 2019
1 parent a7b8c23 commit 7ea8a0a
Show file tree
Hide file tree
Showing 21 changed files with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This repository contains the sources in various formats of the second edition of

Any pull request will be authorized only by the copyright holders of the individual contributions.

> **NOTE**: **_if you see this note you are working on the master branch_** please always work on the bugfix branch and make a pull request from there, so that the original version is untouched until we merge all the changes. On your local filesystem, you can do
> **NOTE**: **_if you see this note you are working on the master branch_** please always work on the bugfix branch and make a pull request from there, so that the original version is untouched until we merge all the changes. On your local filesystem, you can do
> git -b bugfix
> git branch --set-upstream-to=origin/bugfix bugfix
Expand Down Expand Up @@ -109,22 +109,22 @@ end
The individual files are named according to the following convention:

```
10 - Intro.markdown
20 - History.markdown
50 - Belgium.markdown
50 - China.markdown
50 - ...
90 - Authors.markdown
10-Intro.markdown
20-History.markdown
50-Belgium.markdown
50-China.markdown
50-...
90-Authors.markdown
```

The position of the chapters Intro, History and Authors is predetermined and the country chapters can simply be added as `50 - $country_name.markdown` and they will be generated in the right order without the need to manually keep track of the order in a separate file. This also leaves space to introduce new groups of chapters before or after, as well.
The position of the chapters Intro, History and Authors is predetermined and the country chapters can simply be added as `50-$country_name.markdown` and they will be generated in the right order without the need to manually keep track of the order in a separate file. This also leaves space to introduce new groups of chapters before or after, as well.

The file `sorting.meta` is therefore no longer needed.
The file `sorting.meta` is therefore no longer needed.

## Generating the PDF

Generating a full-book PDF now works by running (requires pandoc 2.0 or later):

```
pandoc --number-sections --pdf-engine=xelatex -s -f markdown_strict+footnotes+auto_identifiers+implicit_header_references+header_attributes+smart src/*markdown -o IFOSSLB.pdf
```
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7ea8a0a

Please sign in to comment.