emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Randby <srandby@gmail.com>
To: emacs-orgmode@gnu.org
Subject: LaTeX fragment preview weirdness
Date: Wed, 2 Jun 2021 12:53:52 -0400	[thread overview]
Message-ID: <49a9e4a9-8787-6951-6c98-062426fb5202@gmail.com> (raw)

First, I'm using Emacs 27.2 and Org 9.4.6.

I have the following code in an Org file:

#+latex_header: \hypersetup{pdfauthor={Author},pdftitle={Title},pdfsubject={Subject},pdfkeywords={keyword},pdfproducer={Emacs Org},pdfcreator={pdflatex}}
#+latex_header: \hypersetup{colorlinks=true,urlcolor=blue,linkcolor=black}

The above lines are in a section at the end of my document.

When I do C-c C-x C-l in a section (or with a fragment at point), the following appears above every  fragment that is previewed:

pdfauthor=Author,pdftitle=Title,pdfsubject=Subject,pdfkeywords=keyword,pdfproducer=Emacs Org,pdfcreator=pdflatex colorlinks=true,urlcolor=blue,linkcolor=black

Here is a sample section from my Org file:

--BEGIN--

* Distance Formula

Let $d$ be the distance between $(x_{1}, y_{1})$ and $(x_{2}, y_{2})$.
\[
d=\sqrt{\left(x_{1}-x_{2}\right)^{2}+\left(y_{1}-y_{2}\right)^{2}}
\]

--END--

Scott Randby


             reply	other threads:[~2021-06-02 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-02 16:53 Scott Randby [this message]
2021-06-02 17:28 ` LaTeX fragment preview weirdness Nick Dokos
2021-06-02 18:19   ` Scott Randby
2021-06-03 19:54     ` Scott Randby

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=49a9e4a9-8787-6951-6c98-062426fb5202@gmail.com \
    --to=srandby@gmail.com \
    --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).