emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Mikhail Titov" <mlt@gmx.us>
To: 'Bastien' <bzg@altern.org>
Cc: 'Org mailing list' <emacs-orgmode@gnu.org>
Subject: RE: How to reuse page keywords for LaTeX with pdfkeywords and hyperref package?
Date: Tue, 22 Mar 2011 11:53:42 -0500	[thread overview]
Message-ID: <000f01cbe8b1$b6744640$235cd2c0$@gmx.us> (raw)
In-Reply-To: <87ipvbxyzl.fsf@gnu.org>

Bastien:

Thank you! I understand that it is not possible right now through simple settings. However hyperref is getting added to packages alist at some point. Is there a way to dereference org-export-page-keywords let's say in my custom LaTeX class definition in my dot emacs file or even in source code. Or is the problem in that that variable is not defined that time?

Mikhail

-----Original Message-----
From: Bastien Guerry [mailto:bastienguerry@googlemail.com] On Behalf Of Bastien
Sent: Tuesday, March 22, 2011 4:54 AM
To: Mikhail Titov
Cc: 'Org mailing list'
Subject: Re: [O] How to reuse page keywords for LaTeX with pdfkeywords and hyperref package?

Hi Mikhail,

"Mikhail Titov" <mlt@gmx.us> writes:

> I would like to be able to have same keywords for both HTML and PDF 
> output. I was a bit surprised that it is not there yet. I’m not a lisp 
> user:( Could someone suggest what needs to be done to use 
> org-export-page-keywords to set the value of pdfkeywords option of 
> hyperref LaTeX package?

This is not possible right now.  You can do it manually by removing hyperref from the `org-export-latex-default-packages-alist' variable, and by adding such a header in your org file:

#+LATEX_HEADER: \usepackage[dvips, bookmarks, colorlinks=false,
   pdftitle={An example PDF file from LaTeX}, pdfauthor={Diego Santa
   Cruz}, pdfsubject={From LaTeX to PDF}, pdfkeywords={PDF, LaTeX,
    hyperlinks, hyperref}]{hyperref} 

But your request makes sense, I might implement it someday.

Best,

--
 Bastien

  reply	other threads:[~2011-03-22 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-21 23:54 How to reuse page keywords for LaTeX with pdfkeywords and hyperref package? Mikhail Titov
2011-03-22  9:53 ` Bastien
2011-03-22 16:53   ` Mikhail Titov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-08-27 17:15 Mikhail Titov
2011-10-22  9:08 ` Bastien
2011-11-12  0:52   ` Mikhail Titov
2011-10-22  9:09 ` Bastien

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='000f01cbe8b1$b6744640$235cd2c0$@gmx.us' \
    --to=mlt@gmx.us \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).