Skip to content

Commit

Permalink
internationalization
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidDoukhan committed Jul 21, 2023
1 parent 1c733ff commit e791d6d
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
env:
# Edit here with the names of your latex file and directory (can use ".")
DIR: .
FILE: david_doukhan_extended_cv
FILE: david_doukhan_extended_cv_en
steps:
- name: Set up Git repository
uses: actions/checkout@v3
Expand Down
13 changes: 9 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
NAME=david_doukhan_extended_cv

all:
latexmk -pdf ${NAME}.tex
all: fr en

fr: ${NAME}_fr.tex
latexmk -pdf ${NAME}_fr.tex

en: ${NAME}_en.tex
latexmk -pdf ${NAME}_en.tex

clean:
rm -f ${NAME}.pdf ${NAME}.aux ${NAME}.bbl ${NAME}.bcf ${NAME}.fdb_latexmk ${NAME}.fls ${NAME}.log ${NAME}.out ${NAME}.run.xml ${NAME}.blg ${NAME}.toc *\~
rm -f ${NAME}*.aux ${NAME}*.bbl ${NAME}*.bcf ${NAME}*.fdb_latexmk ${NAME}*.fls ${NAME}*.log ${NAME}*.out ${NAME}*.run.xml ${NAME}*.blg ${NAME}*.toc *\~

distclean: clean
rm -f ${NAME}.pdf
rm -f ${NAME}*.pdf
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ I'm a researcher working at French National Institute of Audiovisual (INA).
This repository contains my CV including an hopefully exhaustive list of publications.

The PDF document is accessible here :
https://daviddoukhan.github.io/david_doukhan_detailled_cv/david_doukhan_extended_cv.pdf
https://daviddoukhan.github.io/david_doukhan_detailled_cv/david_doukhan_extended_cv_en.pdf

## CREDITS
The template of the CV is provided in project autoCV : a clean CV LaTex template with GitHub Action that compiles and publishes new changes
Expand Down
28 changes: 16 additions & 12 deletions david_doukhan_extended_cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
%%%% DEBUG COMMAND
%%%%\listfiles

\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}

%----------------------------------------------------------------------------------------
% FONT
Expand Down Expand Up @@ -326,18 +324,24 @@ \subsection{Scientific Animation}
%----------------------------------------------------------------------------------------
% PUBLICATIONS
%----------------------------------------------------------------------------------------
\section{Publications and Research Dissemination}

\section{\PubSec}

\begin{refsection}[david_doukhan_ina.bib,david_doukhan_older.bib,david_doukhan_itw.bib,david_doukhan_unpublished]
\nocite{*}
\printbibliography[type=article, check=nokeyword, heading=subbibliography, title={Peer-reviewed journal papers}, resetnumbers=true]
\printbibliography[type=inproceedings, check=nokeyword, heading=subbibliography, title={Peer-reviewed conference proceedings}, resetnumbers=true]
\printbibliography[type=inproceedings, keyword={abstract}, heading=subbibliography, title={Peer-reviewed abstract papers}, resetnumbers=true]
\printbibliography[type=thesis, heading=subbibliography, title={PhD Thesis}, resetnumbers=true]
\printbibliography[type=report, heading=subbibliography, title={Governmental and non-governmental reports (contributions)}, resetnumbers=true]
\printbibliography[type=article, heading=subbibliography, keyword={general}, title={General audience and science popularization articles}, resetnumbers=true]
\printbibliography[type=inproceedings, keyword={invit}, heading=subbibliography, title={Invited Speaker (non exhaustive list)}, resetnumbers=true]
\printbibliography[type=inproceedings, keyword={publicaudition}, heading=subbibliography, title={Public auditions and scientific expertise}, resetnumbers=true]
\printbibliography[keyword={itw}, heading=subbibliography, title={Interventions and interviews in general audience media (press, audiovisual, pure players)}, resetnumbers=true]
\printbibliography[type=article, check=nokeyword, heading=subbibliography, title={\PubJournal}, resetnumbers=true]
\printbibliography[type=inproceedings, check=nokeyword, heading=subbibliography, title={\PubConf}, resetnumbers=true]
\printbibliography[type=inproceedings, keyword={abstract}, heading=subbibliography, title={\PubAbstract}, resetnumbers=true]
\printbibliography[type=thesis, heading=subbibliography, title={\PubPhd}, resetnumbers=true]


\section{\DiffSec}
\printbibliography[type=report, heading=subbibliography, title={\DiffContribRep}, resetnumbers=true]
\printbibliography[type=article, heading=subbibliography, keyword={general}, title={\DiffGeneral}, resetnumbers=true]
\printbibliography[type=inproceedings, keyword={invit}, heading=subbibliography, title={\DiffInvit}, resetnumbers=true]
\printbibliography[type=inproceedings, keyword={publicaudition}, heading=subbibliography, title={\DiffPublic}, resetnumbers=true]
\printbibliography[keyword={itw}, heading=subbibliography, title={\DiffItw}, resetnumbers=true]

\end{refsection}

%----------------------------------------------------------------------------------------
Expand Down
25 changes: 25 additions & 0 deletions david_doukhan_extended_cv_en.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{versions}

\includeversion{en}

%%% PUBLICATIONS

\newcommand{\PubSec}{Peer-reviewed publications}
\newcommand{\PubJournal}{Internation journals}
\newcommand{\PubConf}{Conference Proceedings}
\newcommand{\PubAbstract}{Abstract Paper}
\newcommand{\PubPhd}{PhD Thesis}


%%% Diffusion de la recherche
\newcommand{\DiffSec}{Research Dissemination}
\newcommand{\DiffContribRep}{Contribution to Governmental and non-governmental reports}
\newcommand{\DiffGeneral}{General audience and science popularization articles}
\newcommand{\DiffInvit}{Invited Speaker (non exhaustive list)}
\newcommand{\DiffPublic}{Public auditions and scientific expertise}
\newcommand{\DiffItw}{Interventions and interviews in general audience media (press, audiovisual, pure players)}


\input{david_doukhan_extended_cv.tex}
26 changes: 26 additions & 0 deletions david_doukhan_extended_cv_fr.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{versions}

\includeversion{fr}

\usepackage[francais]{babel}

%%% PUBLICATIONS

\newcommand{\PubSec}{Publications Scientifiques évaluées par des pairs}
\newcommand{\PubJournal}{Revues Internationales}
\newcommand{\PubConf}{Actes de conférence}
\newcommand{\PubAbstract}{Soumission sur résumé}
\newcommand{\PubPhd}{Manuscrit de thèse}


%%% Diffusion de la recherche
\newcommand{\DiffSec}{Diffusion de la Recherche}
\newcommand{\DiffContribRep}{Contribution à des rapports gouvernementaux et non gouvernementaux}
\newcommand{\DiffGeneral}{Articles grand public et vulgarisation scientifique}
\newcommand{\DiffInvit}{Conférencier Invité (liste non exhaustive)}
\newcommand{\DiffPublic}{Auditions publiques et expertise scientifique}
\newcommand{\DiffItw}{Interventions médiatiques et interviews}

\input{david_doukhan_extended_cv.tex}

0 comments on commit e791d6d

Please sign in to comment.