From e791d6d276a5e18d1b88f8d8f79b0c2b87da7f00 Mon Sep 17 00:00:00 2001 From: David Doukhan Date: Fri, 21 Jul 2023 13:27:36 +0200 Subject: [PATCH] internationalization --- .github/workflows/build.yml | 2 +- Makefile | 13 +++++++++---- README.md | 2 +- david_doukhan_extended_cv.tex | 28 ++++++++++++++++------------ david_doukhan_extended_cv_en.tex | 25 +++++++++++++++++++++++++ david_doukhan_extended_cv_fr.tex | 26 ++++++++++++++++++++++++++ 6 files changed, 78 insertions(+), 18 deletions(-) create mode 100644 david_doukhan_extended_cv_en.tex create mode 100644 david_doukhan_extended_cv_fr.tex diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02331b3..1029ed6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/Makefile b/Makefile index 2d6e577..cf5baaf 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 10aad31..d483ab9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/david_doukhan_extended_cv.tex b/david_doukhan_extended_cv.tex index 54dca5c..873ecf2 100644 --- a/david_doukhan_extended_cv.tex +++ b/david_doukhan_extended_cv.tex @@ -30,8 +30,6 @@ %%%% DEBUG COMMAND %%%%\listfiles -\documentclass[a4paper,12pt]{article} -\usepackage[utf8]{inputenc} %---------------------------------------------------------------------------------------- % FONT @@ -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} %---------------------------------------------------------------------------------------- diff --git a/david_doukhan_extended_cv_en.tex b/david_doukhan_extended_cv_en.tex new file mode 100644 index 0000000..970b36f --- /dev/null +++ b/david_doukhan_extended_cv_en.tex @@ -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} diff --git a/david_doukhan_extended_cv_fr.tex b/david_doukhan_extended_cv_fr.tex new file mode 100644 index 0000000..7185875 --- /dev/null +++ b/david_doukhan_extended_cv_fr.tex @@ -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}