all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Fred Krogh <fkrogh@mathalacarte.com>
To: help-gnu-emacs@gnu.org
Subject: Re: LaTeX/Emacs problem
Date: Thu, 10 Jan 2013 14:20:26 -0800	[thread overview]
Message-ID: <kcner6$edo$1@speranza.aioe.org> (raw)
In-Reply-To: mailman.16860.1357575910.855.help-gnu-emacs@gnu.org

On 01/07/2013 08:25 AM, Fred Krogh wrote:
> On 01/06/2013 11:48 PM, Pierre Lorenzon wrote:
>>
>> Hi,
>>
>> I encountered similar problems but not everytime ! With certain
>> files errors cannot be detected and with other ones not. It
>> sometimes depent on the place LaTeX is started from i.e. from
>> the master file or not. In fact I have not completely
>> identified the circumstances for which error finding
>> fail. Anyway I suspect that your problem is an auctex problem
>> and that you'd try to post on the auctex mailing list. If you
>> might determine more precisely when error finding fails it
>> might maybey help to determine where this bad behavior comes
>> from.
>
> This sounds like what I'm seeing now.
>
> First of all, all the commands I've entered dealing with things like
> fmtutil-sys were run as root.
>
> I have one short file that worked when run as root, but not as my usual
> user.  A longer tex file never works.
>
> I uninstalled auctex, and things worked as one might expect without
> auctex.  The program tended to run to completion with an error message.
> (I was simply inserting a command like \xxx.)
>
> I then reinstalled auctex, and the short tex file worked very nicely
> with my usual user, and as root.  The long tex file (the kind I care
> about) worked with neither.
>
> More sleuthing, and the long tex file works if I comment out
> \usepackage{hyperref}
>
> So that is looking like the real culprit.  Heiko Oberdiek is the
> maintainer of hyperref and if this email should reach him perhaps he
> will have some ideas.  For his information I've added my original message.
> =======
> A long time ago when I ran latex from inside emacs, if there were errors
> it would point me to the place with the error (maybe after <cntrl c
> `>?). For the last few years, when there was an error, I had to type
> <cntrl c `> that gave me a line number, I then had to kill that window
> to get back to my latex buffer, go to that line and fix the problem. Now
> another step backwards. After <cntrl c `> all I get now is " Error
> occurred after last TeX file closed". The only choice at this point
> seems to be running latex in a separate terminal window. I'd be
> interested if anyone else is having these sorts of problems, suggestions
> for tracking down the problem, or if you have it working perhaps your
> .emacs.el file?  I'm running TeXLive on a gentoo linux system.  Many
> thanks.
>
>
>
I have had a little correspondence with Heiko Oberdiek 
(heiko.oberdiek@googlemail.com).  He is not an emacs user, but has said 
"If you get an answer that suggests an improvement in hyperref, let
me know."  I guess if anything is going to happen with this issue, it is 
up to someone who understands emacs well enough to illustrate the 
problem without actually using emacs.  He would be willing to take a 
look if the problem can be expressed in a way that does not involve 
emacs.  Here is an example

\documentclass{article}
%\usepackage{hyperref}
\begin{document}
\Nothing to see here folks.
\end{document}

Run latex from inside emacs and this will flag the "\Nothing" and 
position the cursor on that line.  Remove the % at the start of the 
second line, delete the *TeX Help buffer, do the same, and you will get 
"Error occured after last TeX file closed" and nothing else.





  parent reply	other threads:[~2013-01-10 22:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-06 21:52 LaTeX/Emacs problem Fred Krogh
2013-01-06 22:41 ` Peter Dyballa
     [not found] ` <mailman.16824.1357512118.855.help-gnu-emacs@gnu.org>
2013-01-06 23:15   ` Fred Krogh
2013-01-07  0:20     ` Peter Dyballa
2013-01-07  5:58       ` Fred Krogh
2013-01-07  6:11       ` Fred Krogh
2013-01-07  6:15       ` Fred Krogh
2013-01-07  7:48         ` Pierre Lorenzon
2013-01-07 10:09         ` Peter Dyballa
     [not found]         ` <mailman.16844.1357545139.855.help-gnu-emacs@gnu.org>
2013-01-07 16:25           ` Fred Krogh
2013-01-07 17:27             ` Peter Dyballa
     [not found]           ` <mailman.16860.1357575910.855.help-gnu-emacs@gnu.org>
2013-01-10 22:20             ` Fred Krogh [this message]
2013-01-10 23:13               ` Peter Dyballa
2013-01-11  4:24                 ` Pierre Lorenzon

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='kcner6$edo$1@speranza.aioe.org' \
    --to=fkrogh@mathalacarte.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.