-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from deogracia/first-step
First step
- Loading branch information
Showing
9 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_space = true | ||
max_line_length = 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
!/ouput/.gitkeep | ||
/output/ | ||
*.aux | ||
*.log | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM alpine:3.11.3 | ||
|
||
RUN apk update && \ | ||
apk add --no-cache texlive-full | ||
|
||
WORKDIR /latex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
# latex | ||
my LaTeX docker image | ||
|
||
Use it to create your document from LaTeX | ||
|
||
# Usage | ||
|
||
``` | ||
docker run -v "$(pwd)/:/latex" --user "$(id -u):$(id -g)" docker.pkg.github.com/deogracia/latex/latex xelatex /latex/doc.tex -output-directory=/latex/output | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
\documentclass{article} | ||
|
||
\usepackage[american]{babel} | ||
\usepackage{blindtext} | ||
|
||
\begin{document} | ||
|
||
\blindmathpaper | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
version: "3.7" | ||
|
||
services: | ||
sut: | ||
build: . | ||
command: test.sh | ||
volumes: | ||
- ./test.sh:/usr/local/bin/test.sh | ||
- ./:/latex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
file: | ||
/latex/output/doc.pdf: | ||
exists: true | ||
mode: "0644" | ||
filetype: file | ||
contains: [] | ||
/usr/bin/lualatex: | ||
exists: true | ||
mode: "0777" | ||
size: 6 | ||
owner: root | ||
group: root | ||
linked-to: luatex | ||
filetype: symlink | ||
contains: [] | ||
/usr/bin/pdflatex: | ||
exists: true | ||
mode: "0777" | ||
size: 6 | ||
owner: root | ||
group: root | ||
linked-to: pdftex | ||
filetype: symlink | ||
contains: [] | ||
/usr/bin/xelatex: | ||
exists: true | ||
mode: "0777" | ||
size: 5 | ||
owner: root | ||
group: root | ||
linked-to: xetex | ||
filetype: symlink | ||
contains: [] | ||
package: | ||
texlive-full: | ||
installed: true | ||
versions: | ||
- 20190410-r6 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env sh | ||
|
||
apk update; apk add curl | ||
|
||
curl -fsSL https://goss.rocks/install | sh | ||
|
||
|
||
cd /latex/output && \ | ||
xelatex /latex/doc.tex && \ | ||
cd /latex && \ | ||
goss validate |