Fix indent of authorarchive.sty and add latexindent config

This commit is contained in:
Oliver Kopp 2018-01-29 07:30:46 +01:00
parent 80abbd6d79
commit b690fdc5fe
5 changed files with 155 additions and 111 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.yaml]
indent_size = 4

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
llncs.cls
*.bak?
# Created by https://www.gitignore.io/api/tex,macos,windows

View File

@ -9,6 +9,7 @@
* [Boolean Switches](#boolean-switches)
* [Key/Value Options](#keyvalue-options)
- [Embedding Bibliography Entries](#embedding-bibliography-entries)
- [Development](#development)
- [Alternative Packages](#alternative-packages)
- [License](#license)
@ -80,6 +81,11 @@ In case any of these file exist in the current directory, it gets embedded in th
You can generate these files by using [JabRef's export functionalities](https://help.jabref.org/en/#importexport).
## Development
You can fix the indent of `authorarchive.sty` by using [latexindent](https://ctan.org/pkg/latexindent) as follows:
latexindent -l -s -sl -w authorarchive.sty
## Alternative Packages
The package [coverpage](https://ctan.org/pkg/coverpage) prepends a separate PDF page before the first page of the paper.
That page contains the bibliographic information as BibTeX entry.
@ -90,7 +96,6 @@ The package [llncsconf](https://github.com/adbrucker/llncsconf) is a light-weigh
It supports [LNCS](http://www.springer.com/de/it-informatik/lncs) only.
In comparison to `authorarchive`, it provides support for the additional publication states "intended-to-submit" and "submitted", but no QR code and links to the author's archive URL.
## License
If not otherwise stated, all sub-projects are dual-licensed under a
2-clause BSD-style license and/or the LPPL version 1 or any later

28
localSettings.yaml Normal file
View File

@ -0,0 +1,28 @@
indentPreamble: 1
defaultIndent: ' '
maxNumberOfBackUps: 9
modifyLineBreaks:
preserveBlankLines: 1
condenseMultipleBlankLinesInto: 0
oneSentencePerLine:
manipulateSentences: 1
removeSentenceLineBreaks: 0
sentencesFollow:
par: 1
blankLine: 1
fullStop: 1
exclamationMark: 1
questionMark: 1
rightBrace: 1
commentOnPreviousLine: 1
other: 0
sentencesBeginWith:
A-Z: 1
a-z: 0
other: 0
sentencesEndWith:
basicFullStop: 0
betterFullStop: 1
exclamationMark: 1
questionMark: 1
other: '(?:\.\)(?!\h*[a-z]))|(?:(?<!(?:(?:e\.g)|(?:i\.e)|(?:etc))))\.(?!(?:[a-z]|[A-Z]|\-|\,|\.|[0-9]))'