emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Srinivas <sp_us@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: article-class.org (org-article) - bugs/discrepancies
Date: Sat, 21 May 2011 14:08:18 -1000	[thread overview]
Message-ID: <m1wrhjfvgt.fsf@tsdye.com> (raw)
In-Reply-To: <loom.20110521T195417-636@post.gmane.org> (Srinivas's message of "Sat, 21 May 2011 18:20:31 +0000 (UTC)")

Srinivas <sp_us@yahoo.com> writes:

> Tom,
>
> The org-article class is very helpful. Thank you.
>
> I have 2 issues with the class. 
>
> Issue #1
>
> I tried to generate the org-article.cls from the article-class.org
>  at https://github.com/tsdye/org-article/blob/master/article-class.org.
>
> The following line in the article-class.org needs to be modified:
>
> from:  #+begin_src emacs-lisp :var table=gantttest
> to: #+begin_src emacs-lisp :var table=gantttesttable
>
> Issue #2:
>
> I was trying to pass some options to hyperref so that the PDF file metadata 
> gets populated with orgmode macros but unable to do so effectively.
>
> I tried the following:
>
> #+LaTeX_CLASS_OPTIONS: 
> [koma,letterpaper,captions=tableheading,charter,10pt,listings-
> sv,microtype,paralist,bookmarksopen=true,colorlinks=true,linkcolor=blue,
> urlcolor=blue,bookmarksnumbered=true,pdftitle=
> {{{title}}},pdfauthor={{{author}}},pdfkeywords={{{keywords}}},pdfsubject=
> {{{description}}},pdfproducer=orgmode,secnums,oneside]
>
> This produces a PDF but whitespace in AUTHOR, KEYWORDS, TITLE and DESCRIPTION 
> are not preserved.
>
> If I try to do something like pdfauthor={{{{author}}}}, then PDF is not 
> generated correctly (a PDF file is produced but output is garbled). The extra 
> set of braces is not handled.
>
> Do you have any suggestions on how to pass parameters to hyperref using the 
> macro features of orgmode?
>
> - Srinivas
>
>

Aloha Srinivas,

I don't have suggestions on how to pass parameters to hyperref using the
macro features of org-mode.  It isn't something I've tried to do.
Sorry.

I don't think org-article.cls was a good idea.  I learned a lot cobbling
it together, but in the end I wasn't able to keep the class general and
add all the packages that the org-mode crowd might expect.  An
org-article.cls that implements a specific style is a good idea, IMO,
and my unsupported org-article.cls might serve as a useful starting
point for someone.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

      reply	other threads:[~2011-05-22  0:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-21 18:20 article-class.org (org-article) - bugs/discrepancies Srinivas
2011-05-22  0:08 ` Thomas S. Dye [this message]

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=m1wrhjfvgt.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sp_us@yahoo.com \
    /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).