This commit is contained in:
parent
b27bda9fa6
commit
d02a9d9eac
28
.drone.yml
Normal file
28
.drone.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: compose
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: amd64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: compose CV
|
||||||
|
image: pandoc/latex:2.14.2
|
||||||
|
commands:
|
||||||
|
- apk add --no-cache make ttf-linux-libertine
|
||||||
|
- wget -O /tmp/FantasqueSansMono-Normal.tar.gz https://github.com/belluzj/fantasque-sans/releases/download/v1.8.0/FantasqueSansMono-Normal.tar.gz
|
||||||
|
- mkdir /usr/share/fonts/fantasque-sans-mono
|
||||||
|
- tar xf /tmp/FantasqueSansMono-Normal.tar.gz -C /usr/share/fonts/fantasque-sans-mono OTF/ TTF/ --strip-component=1
|
||||||
|
- tlmgr install curve
|
||||||
|
- xelatex cv.tex
|
||||||
|
- xelatex cv.tex
|
||||||
|
- mkdir dist
|
||||||
|
- mv cv.pdf dist/
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- cron
|
||||||
|
- push
|
||||||
|
- tag
|
4
cv.tex
4
cv.tex
@ -6,8 +6,8 @@
|
|||||||
\usepackage[a4paper,nohead,nofoot,hmargin=0.9cm,vmargin=0.8cm]{geometry}
|
\usepackage[a4paper,nohead,nofoot,hmargin=0.9cm,vmargin=0.8cm]{geometry}
|
||||||
\usepackage{unicode-math}
|
\usepackage{unicode-math}
|
||||||
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
|
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
|
||||||
\setmainfont[]{Linux Libertine O}
|
\setmainfont[]{Linux Libertine}
|
||||||
\setsansfont[]{Linux Biolinum O}
|
\setsansfont[]{Linux Biolinum}
|
||||||
\setmonofont[Mapping=tex-ansi]{FantasqueSansMono-Regular}
|
\setmonofont[Mapping=tex-ansi]{FantasqueSansMono-Regular}
|
||||||
|
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
|
Loading…
Reference in New Issue
Block a user