Skip to content

Export your org file to minutes report PDF file

License

Notifications You must be signed in to change notification settings

neuhalje/ox-report

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OX-REPORT

https://melpa.org/packages/ox-report-badge.svg

img/header.png


INSTALLATION

Now available in MELPA! Install with package-install.

If you use use-package, you can do the below instead:

(use-package ox-report)

If you use Doom Emacs

(package! ox-report)

PREREQUISITES

Linux

Texlive
sudo apt install texlive texlive-extra texlive-fonts-extra
  • Latex package
    • montserrat
    • titling
    • enumitem
    • snotez
    • pgfopts
    • pgf
    • marginnote
    • xpatch
    • mparhack
    • titlesec
    • tocloft ??
    • tcolorbox
    • environ
    • trimspaces
    • ncctools
    • lastpage
    • wrapfig
    • amsmath
    • capt-of
    • bigfoot
    • babel

USAGE

C-c C-e r o
Export as PDF and Open
C-c C-e C-s r o
Export as PDF and open (subtree only)
C-c C-e r m
Export to PDF and attach to mail

img/choice.png

CONFIGURATION

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

standard

#+title:Readme ox-report
#+author: Matthias David
#+options: toc:nil

With toc

#+options: toc:1

img/toc.png

Place and date of the meeting

#+where:Zoom
#+when: 20/2/2021

or

#+ou:Zoom
#+quand: 20/2/2021

Project concerning the meeting

#+project: ox-minutes

or

#+projet: ox-minutes

Absent, present or excused

it is necessary to separate the names by commas for a good formatting

#+absent: C. Robert,T. tartanpion
#+present: K. Soulet,I. Payet
#+excuse:Sophie Fonsec,Karine Soulet

if there is no absentee and / or no apologized absentee, it suffices to delete the corresponding line.

Language

#+language: fr

or

#+language: en

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_DATE: 01/01/2020
:EXPORT_OU: la
:EXPORT_PRESENT: Mireille tonlonto, Legros Robert
:EXPORT_INITIATEUR: Karl os
:EXPORT_PROJET: Secret project
:EXPORT_DURE: 2H
:END:

Use Yasnippet

# -*- mode: snippet -*-
# name: report
# uuid:
# key: report
# condition: t
# --
#+title: ${1:Titre}
#+author: ${2:Auteur}
#+options: toc:nil
#+where: ${3:Ou}
#+when: ${4:Date}
#+present: ${5:Sophie Fonsec}
#+initiator: ${6:Matthias DAVID}
#+project: ${7:Secret project}
#+duration: ${8:2H}
#+logo: logo.png

or

# -*- mode: snippet -*-
# name: report
# uuid:
# key: report
# condition: t
# --
#+title: ${1:Titre}
#+author: ${2:Auteur}
#+options: toc:nil
#+ou: ${3:Ou}
#+quand: ${4:Date}
#+present: ${5:Sophie Fonsec}
#+initiateur: ${6:Matthias DAVID}
#+projet: ${7:Secret project}
#+dure: ${8:2H}
#+logo: logo.png

CHANGELOG

v0.3

Features

  • ADD: export to pdf and attach on mail

v0.2

Features

  • CHG: Typography (font montserrat)
  • CHG: Template to article (simplified)
  • ADD: English language
  • ADD: Possibility to put and choose a logo

v0.1 <08.2020>

Features

  • ADD:Layout like ‘Tufte’
  • ADD:two columns toc
  • ADD:margin notes replace footnote
  • ADD:table as possible on notes
  • ADD:timebox
  • ADD:fullpage margin

CONTRIBUTING

  1. Fork it (https://github.com/DarkBuffalo/ox-report/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

Export your org file to minutes report PDF file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%