Skip to content

DarkBuffalo/ox-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OX-TIME

img/header.png


INSTALLATION

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"))

PREREQUISITES

Linux

Texlive
sudo apt install texlive texlive-extra texlive-fonts-extra
  • Latex package

USAGE

C-c C-e T o
Export as PDF and Open

CONFIGURATION

To configure the export we use the metadata of the org file

Metadata

#+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

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:

Example

* 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 |

CONTRIBUTING

  1. Fork it (https://github.com/DarkBuffalo/ox-time/fork)
  2. Create your feature branch (`git checkout -b feature/fooBar`)
  3. Commit your changes (`git commit -am ‘Add some fooBar’`)
  4. Push to the branch (`git push origin feature/fooBar`)
  5. Create a new Pull Request

LICENSE

GPLv3.

THANKS

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published