From: David Masterson <dsmasterson@icloud.com>
To: Robert Klein <roklein@roklein.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Adding a resume.cls to Org ?
Date: Fri, 24 Jan 2025 14:30:36 -0800 [thread overview]
Message-ID: <87r04rzvxv.fsf@icloud.com> (raw)
In-Reply-To: <20250124104730.5e39648e@pcedv2.poly.mpip-mainz.mpg.de> (Robert Klein's message of "Fri, 24 Jan 2025 10:47:30 +0100")
Robert Klein <roklein@roklein.de> writes:
> On Thu, 23 Jan 2025 18:47:23 -0800
> David Masterson <dsmasterson@icloud.com> wrote:
>
>> Anyone have a writeup on adding a simple resume.cls to Org?
>
> You mean something like
>
> (setq roklein/org-latex-class/scrartcl
This is the name of a variable? With slashes in the name?!? Didn't
know that...
> ;; note: ~\\\\ resolves to ~\\ which is a forced space
> ;; plus a line break. Otherwise the following text (even
> ;; if there is an empty line) would be on the same line
> ;; as the paragraph title.
Not sure I get this...
> '("scrartcl"
Is this actually the cls file? Where is the cls file located?
> "\\documentclass[11pt]{scrartcl}"
This is defining the documentclass or loading the existing
documentclass?
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}~\\par" . "\\paragraph*{%s}~\\par")
> ("\\subparagraph{%s}~\\par" . "\\subparagraph*{%s}~\\par")))
1. The cls file defines the "\\section*" (etc) references, right?
2. Must all cls files have definitions for this hierarchy?
3. What do I look for in the cls file to identify the start of one of
these definitions? (I think I can read it after I know where to start
reading.)
4. What is "~\\par" ?
> (use-package ox-latex
> :after org
> :config
> (setq org-latex-default-class "scrartcl"
> ;; more stuff...
> (add-to-list 'org-latex-classes roklein/org-latex-class/scrartcl)
> ;; more stuff
> )
This I get.
Thanks for the help.
--
David Masterson
next prev parent reply other threads:[~2025-01-25 6:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-24 2:47 Adding a resume.cls to Org ? David Masterson
2025-01-24 9:47 ` Robert Klein
2025-01-24 22:30 ` David Masterson [this message]
2025-01-25 19:13 ` Robert Klein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r04rzvxv.fsf@icloud.com \
--to=dsmasterson@icloud.com \
--cc=emacs-orgmode@gnu.org \
--cc=roklein@roklein.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).