Skip to content

Commit

Permalink
auto-instala pacotes #184
Browse files Browse the repository at this point in the history
  • Loading branch information
cauachagas committed Jun 25, 2019
1 parent 602ecb0 commit 43ec800
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/instalador.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ if [ "$codename" = "xenial" ]; then
microtype \
pdfpages \
textcase \
xcolor
xcolor \
texliveonfly \
psnfss
tlmgr option -- autobackup 0
else
$dry wget -qO- "https://yihui.name/gh/tinytex/tools/install-unx.sh" \| sh
Expand All @@ -104,7 +106,9 @@ if [ "$codename" = "xenial" ]; then
microtype \
pdfpages \
textcase \
xcolor
xcolor \
texliveonfly \
psnfss
$dry tlmgr option -- autobackup 0
fi

Expand Down
1 change: 1 addition & 0 deletions lib/limarka/conversor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def convert()
def compila
Dir.chdir(options[:output_dir]) do
basename = File.basename(texto_tex_file, '.tex')
system "python ~/.TinyTeX/texmf-dist/scripts/texliveonfly/texliveonfly.py --compiler=xelatex #{basename}", :out=>'xxx-latexmk-std.txt', :err=>'xxx-latexmk-erros.txt'
system "latexmk --quiet --xelatex -f #{basename}", :out=>'xxx-latexmk-std.txt', :err=>'xxx-latexmk-erros.txt'
if (usa_pdftotext) then
system "pdftotext -enc UTF-8 #{basename}.pdf"
Expand Down

0 comments on commit 43ec800

Please sign in to comment.