From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: org-mode to latex, again! Date: Tue, 31 Mar 2015 11:26:44 +0100 Message-ID: <87ego5a2e3.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YctNM-00013c-0Z for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 06:26:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YctNH-0003Ez-HV for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 06:26:27 -0400 Received: from avasout05.plus.net ([84.93.230.250]:37810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YctNH-0003EL-C7 for emacs-orgmode@gnu.org; Tue, 31 Mar 2015 06:26:23 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I am attempting again to write a latex document with org-mode. The org-mode part is no problem, but the latex part is awkward. This is the first few line of my org-mode document - =2D-8<---------------cut here---------------start------------->8--- #+TITLE: The history of custard pies. #+AUTHOR: Sharon Kimble #+EMAIL: boudiccas@skimble.plus.com #+DATE: 01-04-2015 #+LATEX: \usepackage{~/texmf/tex/latex/commonstuff/mysty} # #+Latex_Class: mysty #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en * Blargh =2D-8<---------------cut here---------------end--------------->8--- The latex file "mysty" is actually "mysty.sty" and contains all the latex files that I want to use, but it doesn't appear to be loading, and I can't see why? My idea of having *all* the latex packages in one file is so that I hope to be able to have it in its own directory and then symlink it to each projects main org-mode file so that I would have a known working setup, right from the start! The first few lines of "mysty.sty" are =2D-8<---------------cut here---------------start------------->8--- \NeedsTeXFormat{LaTeX2e} \ProvidesClass{mysty}[31-03-2015] \RequirePackage[l2tabu,orthodox]{nag} \RequirePackage{fixltx2e} \documentclass[a4paper,12pt]{article} % \documentclass[a4paper,12pt]{book} % \documentclass[a4paper,12pt]{report}=20 % \documentclass[a4paper,12pt]{memoir} NO % \documentclass[a4paper,12pt]{scrbook} %%\documentclass[a4paper,12pt]{scrreprt} \usepackage{morewrites} \usepackage{tocloft} \usepackage[stretch=3D10]{microtype} \setlength\parindent{0pt} % sets indent to zero \setlength{\parskip}{5pt} % changes vertical space between paragraphs \setcounter{tocdepth}{1} =2D-8<---------------cut here---------------end--------------->8--- Any ideas please? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk my git repo =3D https://bitbucket.org/boudiccas/dots TGmeds =3D http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.7, emacs 24.4.1.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVGnZkAAoJEDaBgBkK+INb0jgP/i58CHfHAzDJAQ732/M9t+1S ogVxHRbdmZpWJvfeIdt7fWb1JUWVKV+M+6Gjbj9igXLV5JqTmFrstfLySRlp3fg1 8tHufSMmA1jtNTcKgqBl7SXp7S87owiVOGhdVv/akzEHwD6eE2Sa8I9UAglD4JUL QQNKUg4Uqw5oMNMlh3OhUV3/qHyE08YOtRoE15i+pzb8hp1N6ftOiCxW33imIQ96 UULsWbbUIn1taT1nLLQDytBeEgPAlHmg2XYQ9PMykhYwzJv8P6ym6GxqLkn6AZD/ A58aF+lRqQzVYw/pjTvAKG1T4G8bq4/dUlCqTs4lS4UAUDCxLh7G3vwFvSWAV1qB bagODFRPuR5v7YaJnVe5CERBJsfC2AiV2v7MCurY6HouvuPnn7WMcWQey68yTk6d 3Gx3GxjEOcg4VdzBBLlV/cS/eGnc15y2Gqt7lwN1nUhetJoWzFF08mT6nDOTyFSO iu5sSKZR9jhLQk/+Nl6lr3s9tnr2qwPfuscD64hGgQxJBTmyohuyBa/B/m31+U01 6R2QOAtzZ5Mtj4aYG1R5fURXJ8nXrPQGwf+pQfjgdh2AEuR2zEgsL72FspyQgPct fIiC/Ix8wzUaeo3E2hxjSt7JxS2+Xj+FGirnV3VbZtkJbCiwGJHbJOC8U6Puj09+ DLF3zlxrfrvRZFoPTwOI =izor -----END PGP SIGNATURE----- --=-=-=--