Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Typo, added Compatibility to Orgmode PDF export with better margin control #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

observer
Copy link

Hey there,

as I am currently starting my thesis, I took a look at the template and made some additions. This pull request containsnthe following:

  1. Fixed a typo in the sty file: TeX Gyre Heros was misspelled

  2. Added Compatibility for Orgmode export using Emacs, most changes are relatied to this:

  • A settings.org setupfile was added
  • An example Orgmode File has also been added: orgmode_isw_template.org, together with the resulting tex and pdf files.

As Orgmode Compatibility also requires some setup on the Emacs side of things, I've added the necessary configuration snippets for Doom Emacs to the example file. See the Doom Emacs Documentation on how to install it and set it up. There might be additional system dependencies you also need to take care of for the export to work:

  • texlive
  • xelatex
  • python-pygments for colored source code

Why Orgmode?
There are a bunch of reasons, e.g. readability and the fact that org files are rendered on many Platforms such as Github, Gitlab or the fact that it can be exported into a myriad of other file formats.

After setting up Doom Emacs according to the instructions in the example file, it can be opened and exported to PDF using C-c C-e l p (which is the Emacs way of saying press Ctrl-c Ctrl-e l p ) or M-x org-latex-export-to-pdf (which means Press Alt x and then enter org-latex-export-to-pdf into the prompt). This export still causes errors, however they are related to the already existing example files which are inluded in the back of the example of the file, so I didn't take a closer look there.

Added better Margin Control in the settings.org file. This allows for more finegrained control of the margins in case wider code blocks, figues or tables are used. Examples are in that file as well.

Apart from fixing the TeX Gyre Heros typo, all the changes I've made are contained to the Orgmode files.

@observer
Copy link
Author

  • Added support for a new empty document type generic.
  • Added support for compiling bibtex type code blocks from orgmode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant