forked from mirrors/org-cv
construct the exports
This commit is contained in:
parent
4177c66859
commit
f60778e5d7
1 changed files with 35 additions and 6 deletions
41
readme.org
41
readme.org
|
@ -80,6 +80,16 @@ properties defining the span of the event, as =LOCATION= and =EMPLOYER=.
|
||||||
:EMPLOYER: The employer
|
:EMPLOYER: The employer
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
|
I write about awesome stuff I do.
|
||||||
|
,** Other job
|
||||||
|
:PROPERTIES:
|
||||||
|
:CV_ENV: cventry
|
||||||
|
:FROM: <2013-09-01>
|
||||||
|
:TO: <2014-08-07>
|
||||||
|
:LOCATION: my city, your country
|
||||||
|
:EMPLOYER: The other employer
|
||||||
|
:END:
|
||||||
|
|
||||||
I write about awesome stuff I do.
|
I write about awesome stuff I do.
|
||||||
|
|
||||||
,* Other stuff I do
|
,* Other stuff I do
|
||||||
|
@ -96,13 +106,19 @@ Feel free to use any or even your personal fork for your desired use case.
|
||||||
|
|
||||||
To configure the export for moderncv you need the addition options in your
|
To configure the export for moderncv you need the addition options in your
|
||||||
org file.
|
org file.
|
||||||
#+BEGIN_SRC org
|
#+BEGIN_SRC org :tangle moderncv.org
|
||||||
# CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'
|
# CV theme - options include: 'casual' (default), 'classic', 'oldstyle' and 'banking'
|
||||||
,#+CVSTYLE: banking
|
,#+CVSTYLE: banking
|
||||||
# CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
|
# CV color - options include: 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
|
||||||
,#+CVCOLOR: green
|
,#+CVCOLOR: green
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
# Next block is to generate exports
|
||||||
|
#+BEGIN_SRC org :exports none :tangle moderncv.org
|
||||||
|
#+include: basic_cv.org
|
||||||
|
#+include: sideactivities.org
|
||||||
|
#+include: workcontent.org
|
||||||
|
#+END_SRC
|
||||||
When exporting you can call the following function to get the latex file.
|
When exporting you can call the following function to get the latex file.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(org-export-to-file 'moderncv "moderncv.tex")
|
(org-export-to-file 'moderncv "moderncv.tex")
|
||||||
|
@ -123,15 +139,19 @@ sections branch.
|
||||||
The style of this CV is more involved and you need some configuration in
|
The style of this CV is more involved and you need some configuration in
|
||||||
your org file to get it to work. First define the margins, the large margin
|
your org file to get it to work. First define the margins, the large margin
|
||||||
to the right is to allow for a second column.
|
to the right is to allow for a second column.
|
||||||
#+BEGIN_SRC org
|
#+BEGIN_SRC org :tangle altacv.org
|
||||||
,#+LATEX_HEADER: \geometry{left=1cm,right=9cm,marginparwidth=6.8cm,marginparsep=1.2cm,top=1.25cm,bottom=1.25cm}
|
,#+LATEX_HEADER: \geometry{left=1cm,right=9cm,marginparwidth=6.8cm,marginparsep=1.2cm,top=1.25cm,bottom=1.25cm}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
# Next block is to generate exports
|
||||||
|
#+BEGIN_SRC org :exports none :tangle altacv.org
|
||||||
|
#+include: basic_cv.org
|
||||||
|
#+END_SRC
|
||||||
Content on the right column has the same structure of a org file, but you
|
Content on the right column has the same structure of a org file, but you
|
||||||
need to enclose it in the =\marginpar{}= command as shown next.
|
need to enclose it in the =\marginpar{}= command as shown next.
|
||||||
|
#+BEGIN_SRC org :tangle altacv.org
|
||||||
#+BEGIN_SRC org
|
|
||||||
,#+latex: \marginpar{
|
,#+latex: \marginpar{
|
||||||
|
#+END_SRC
|
||||||
|
#+BEGIN_SRC org :tangle sideactivities.org
|
||||||
,* Main Interests
|
,* Main Interests
|
||||||
- Free/Libre and Open Source Software (FLOSS)
|
- Free/Libre and Open Source Software (FLOSS)
|
||||||
- Free food
|
- Free food
|
||||||
|
@ -151,9 +171,18 @@ need to enclose it in the =\marginpar{}= command as shown next.
|
||||||
- *German* Fluent
|
- *German* Fluent
|
||||||
- *Spanish* Native
|
- *Spanish* Native
|
||||||
- *French* Intermediate
|
- *French* Intermediate
|
||||||
|
#+END_SRC
|
||||||
|
# Next block is to generate exports
|
||||||
|
#+BEGIN_SRC org :exports none :tangle altacv.org
|
||||||
|
#+include: sideactivities.org
|
||||||
|
#+END_SRC
|
||||||
|
#+BEGIN_SRC org :tangle altacv.org
|
||||||
,#+latex: }
|
,#+latex: }
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
# Next block is to generate exports
|
||||||
|
#+BEGIN_SRC org :exports none :tangle altacv.org
|
||||||
|
#+include: workcontent.org
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Update readme
|
* Update readme
|
||||||
** TODO examples [0/2]
|
** TODO examples [0/2]
|
||||||
|
|
Loading…
Reference in a new issue