pdflatex 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Dockerfile +2 -6
- data/lib/pdflatex.rb +4 -3
- data/lib/pdflatex/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a05c520748d7c7ee7d8a4bb26227c1c30cb9ee7bcbf9e7393d47aff109046504
|
4
|
+
data.tar.gz: c04b1ba0f7f61fa7b25c0b293080c1e80fd4c5b4a0a0eedbe46c6150eae13be9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eba6e416467563470eedc8a81953d340d1847e8267f33cf0fe500837b650ab75b22f0ae7870ec787502de08cada4824f49f4bace6d8f4b48a7cc59bdc57bc50c
|
7
|
+
data.tar.gz: 4241094d2121b12ae026c2cf5da858b32b31745385a2a456066e5911525f63e579700fe9eeb1f55b394199d0a106f013b4b76ac3bd21cb55edeafdce946ceaaa
|
data/Dockerfile
CHANGED
@@ -3,12 +3,8 @@ FROM ubuntu:16.04
|
|
3
3
|
RUN apt-get -y update && \
|
4
4
|
apt-get install -y texlive-latex-base texlive-latex-recommended texlive-lang-german latexmk
|
5
5
|
|
6
|
-
|
6
|
+
WORKDIR /pdflatex
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
WORKDIR /home/latex
|
11
|
-
|
12
|
-
VOLUME /home/latex/out
|
8
|
+
VOLUME /pdflatex/out
|
13
9
|
|
14
10
|
CMD latexmk -outdir=out -pdf compile.tex
|
data/lib/pdflatex.rb
CHANGED
@@ -13,9 +13,10 @@ module Pdflatex
|
|
13
13
|
cmd = <<-CMD.gsub(/\s+/, ' ')
|
14
14
|
docker run
|
15
15
|
--rm
|
16
|
-
-
|
17
|
-
-v #{
|
18
|
-
|
16
|
+
--user $(id -u)
|
17
|
+
-v #{path_to_latex_file}:/pdflatex/#{latex_file_name}
|
18
|
+
-v #{expanded_output_path}:/pdflatex/out
|
19
|
+
swissdrg/pdflatex:ride
|
19
20
|
latexmk -outdir=out -pdf #{latex_file_name}
|
20
21
|
CMD
|
21
22
|
|
data/lib/pdflatex/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdflatex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Urs Gerber
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
95
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.6
|
96
|
+
rubygems_version: 2.7.6
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: Gem to render PDFs from tex files
|