If you use use-package
, you can do the below instead:
(use-package ox-report
:load-path "~/Dropbox/emacs/lib/ox-notes"
:custom
(ox-time-tel "0000000000")
(ox-time-mail "[email protected]")
(ox-time-logo "~/yourpathto/logo.png")
(ox-time-company-name "My big company")
(ox-time-company-adress "My postal adress"))
If you use Doom Emacs :
(package! ox-report
:recipe (:host github :repo "DarkBuffalo/ox-report")
:custom
(ox-time-tel "0000000000")
(ox-time-mail "[email protected]")
(ox-time-logo "~/yourpathto/logo.png")
(ox-time-company-name "My big company")
(ox-time-company-adress "My postal adress"))
- Texlive
sudo apt install texlive texlive-extra texlive-fonts-extra
- Latex package
C-c C-e T o
- Export as PDF and Open
To configure the export we use the metadata of the org file
#+title: Transfert domaine 1 -> domaine 2
#+author: Matt
#+options: toc:nil
#+COMP: DELTA
#+CLIENT: TARTANPION
#+CONTACT: Mireille TONLOTO
#+LOGO: ./../logoDelta.png
#+FACT: 2018-0019
#+TEL: 0700000000
#+EMAIL: [email protected]
or use subtree
if you want to export only a subtree, just use the PROPERTIES
drawer and put EXPORT_
in front of each key.
Example:
:PROPERTIES:
:EXPORT_TITLE: Transfert domaine 1 -> domaine 2
:EXPORT_COMP: Delta
:EXPORT_CLIENT: TARTANPION
:EXPORT_CONTACT: Mireille TONLOTO
:EXPORT_LOGO: ./../logoDelta.png
:EXPORT_FACT: 2018-0019
:EXPORT_TEL: 0700000000
:EXPORT_EMAIL: [email protected]
:EXPORT_FILE_NAME: HORODOTAGE
:END:
* Transfert de domaine 1 à domaine 2
:PROPERTIES:
:EXPORT_TITLE: Transfert domaine 1 -> domaine 2
:EXPORT_COMP: Delta
:EXPORT_CLIENT: TARTANPION
:EXPORT_CONTACT: Mireille TONLOTO
:EXPORT_LOGO: ./../logoDelta.png
:EXPORT_FACT: 2018-0019
:EXPORT_TEL: 0700000000
:EXPORT_EMAIL: [email protected]
:EXPORT_FILE_NAME: HORODOTAGE
:END:
#+latex_header: \usepackage{tabularx}
#+ATTR_LATEX: :align Xrr :width \textwidth :environment tabularx
#+LATEX: \rowcolors[] {2}{white}{tablecolor2} \renewcommand{\arraystretch}{2}
#+BEGIN: clocktable :scope subtree :maxlevel 5
#+CAPTION: Horodatage sommaire à [2020-11-24 mar. 20:53]
#+ATTR_LATEX: :align Xrr :width \textwidth :environment tabularx
| En-tête | Durée | |
|---------------------------------------------+--------+------|
| *Durée totale* | *8:16* | |
|---------------------------------------------+--------+------|
| Transfert de domaine 1 à domaine 2 | 8:16 | |
| \_ Mis à jour de Wordpress et des... | | 0:18 |
| \_ Sauvegarde des sites | | 0:11 |
| \_ Transfert par FTP, Mis a jour BDD et... | | 7:47 |
#+END:
** Mis à jour de Wordpress et des extensions :noexport:
:LOGBOOK:
CLOCK: [2020-11-19 jeu. 18:18]--[2020-11-19 jeu. 18:36] => 0:18
:END:
** Sauvegarde des sites :noexport:
:LOGBOOK:
CLOCK: [2020-11-19 jeu. 18:36]--[2020-11-19 jeu. 18:47] => 0:11
:END:
** Transfert par FTP, Mis a jour BDD et réparation de la mise en page :noexport:
:LOGBOOK:
CLOCK: [2020-11-23 lun. 08:28]--[2020-11-23 lun. 16:15] => 7:47
:END:
** Détails technique
*** Connexion à la base de donnée
| Serveur | Utilisateur | Pass |
|-----------------+-------------+----------|
| patate.mysql.db | patate | potatoes |
- Fork it (https://github.com/DarkBuffalo/ox-time/fork)
- Create your feature branch (`git checkout -b feature/fooBar`)
- Commit your changes (`git commit -am ‘Add some fooBar’`)
- Push to the branch (`git push origin feature/fooBar`)
- Create a new Pull Request
GPLv3.
- Elie Roux https://github.com/eroux/latex-yait for the latex template.