Skip to content

Commit

Permalink
Merge pull request #1 from m1k1o/m1k1o-patch-1
Browse files Browse the repository at this point in the history
Update entrypoint.sh
  • Loading branch information
m1k1o authored May 5, 2020
2 parents 63c6ef3 + 253dc57 commit f252757
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ RUN apt-get update -q && apt-get install -qy \
texlive \
lmodern

WORKDIR /project
VOLUME /project

COPY entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /bin/pdf_create

ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "pdf_create" ]
5 changes: 3 additions & 2 deletions Dockerfile.full
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ RUN apt-get update -q && apt-get install -qy \
texlive-full \
lmodern

WORKDIR /project
VOLUME /project

COPY entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /bin/pdf_create

ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "pdf_create" ]
5 changes: 3 additions & 2 deletions Dockerfile.iso690
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ WORKDIR /root/texmf/tex/latex

RUN git clone https://github.com/michal-h21/biblatex-iso690

WORKDIR /project
VOLUME /project

COPY entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /bin/pdf_create

ENTRYPOINT [ "/entrypoint.sh" ]
ENTRYPOINT [ "pdf_create" ]
12 changes: 6 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
cd /project

USAGE="$(basename "$0") [-h] [-i index] [-o index] [-s] [-b] [-c]
Expand All @@ -23,7 +22,7 @@ where:
-c, --clear
Clear all temporary files.
(c) 2019 by m1k1o"
(c) 2019-2020 by m1k1o"

INPUT="index"
POSITIONAL=()
Expand Down Expand Up @@ -102,11 +101,12 @@ then
runbiber &&

# Then run LaTeX again, which will include the BBL.
runlatex &&

# Then run LaTeX again to make any updates corresponding to including the possibly massive BBL.
runlatex
fi

fi &&

# Then run LaTeX again to make any updates corresponding to including the possibly massive BBL.
runlatex

# Clean files generated by
if [[ "$CLEAR" == "true" ]]
Expand Down

0 comments on commit f252757

Please sign in to comment.