emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kevin Brubeck Unhammer <p.ixiemotion@gmail.com>
To: R.M.Krug@gmail.com
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: synctex!! ...syncorg?
Date: Tue, 31 Aug 2010 16:30:18 +0200	[thread overview]
Message-ID: <AANLkTinj8eOHf1sxJiY7ZYS87eLmyFadOq_F_JpCHgV5@mail.gmail.com> (raw)
In-Reply-To: <4C7CD6DF.1020303@gmail.com>

2010/8/31 Rainer M Krug <r.m.krug@gmail.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 31/08/10 12:10, Kevin Brubeck Unhammer wrote:
>> Hi,
>>
>> I just discovered synctex, which lets you shift-click a point in a pdf
>> in Okular and find yourself back in the tex-file at the point that
>> corresponds with that point in the pdf =D
>
> Now on Linux? That's great. I only knew that it worked on a mac. Could
> you (possibly off list?) provide some details (where I can find it (I am
> using Ubuntu), how I can use it, ...)

As I got several off-list questions about where to get synctex on
GNU/Linux, I might as well reply on-list ;-)

I'm running Arch Linux with TeX Live 2009.16776, and the only thing I
had to do to get synctex working was run pdflatex like this:

	pdflatex -synctex=1 foo.tex

You should also get the same effect by adding

        \synctex=1

to the preamble, or something like

        #+LaTeX_HEADER: \synctex=1

in your org-mode file. As for Ubuntu, if the TeX Live distribution
there is up-to-date (synctex was added in TeX Live 2008), I believe it
should work without any configuration necessary.

Note: if you were previously using the "pdfsync" package, you may have
to remove it from the preamble, also there was talk on the Ling-TeX
list of some programs not being able to handle file names with spaces
in them.


best regards,
Kevin Brubeck Unhammer

  reply	other threads:[~2010-08-31 14:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-31 10:10 synctex!! ...syncorg? Kevin Brubeck Unhammer
2010-08-31 10:18 ` Rainer M Krug
2010-08-31 14:30   ` Kevin Brubeck Unhammer [this message]
2010-09-02 14:35 ` Bastien
2010-09-02 19:50   ` Kevin Brubeck Unhammer

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=AANLkTinj8eOHf1sxJiY7ZYS87eLmyFadOq_F_JpCHgV5@mail.gmail.com \
    --to=p.ixiemotion@gmail.com \
    --cc=R.M.Krug@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).