ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: Re: Can't get texmfstart to work
Date: Fri, 21 Jul 2006 01:51:53 +0100	[thread overview]
Message-ID: <E1G3jFB-0004iL-00@skye.ra.phy.cam.ac.uk> (raw)
In-Reply-To: Your message of "Thu, 20 Jul 2006 23:32:00 +0200." <44BFF650.6040209@wxs.nl>

> >  file:line:error style messages enabled.
> >   
> i've never seen that one

It's very useful.  Here's a sample run of pdftex with that option,
which makes the error output match the format that most language
compilers use (e.g. gcc).

So you can run tex in an Emacs *compilation* buffer (with M-x
compile<CR>) and Emacs can parse all the errors (C-x `) and take you
to them one by one.

  $ pdftex --file-line-error-style -interaction nonstopmode c
  This is pdfeTeXk, Version 3.141592-1.30.6-2.2 (Web2C 7.5.5)
   file:line:error style messages enabled.
  entering extended mode
  (./c.tex
  ./c.tex:4: Undefined control sequence.
  l.4 \abc

  [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] )
  (see the transcript file for additional
  information)</usr/share/texmf-tetex/fon
  ts/type1/bluesky/cm/cmr10.pfb>
  Output written on c.pdf (1 page, 5134 bytes).
  Transcript written on c.log.

-Sanjoy

`Never underestimate the evil of which men of power are capable.'
         --Bertrand Russell, _War Crimes in Vietnam_, chapter 1.

  reply	other threads:[~2006-07-21  0:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 19:45 The Wizard
2006-07-20 21:32 ` Hans Hagen
2006-07-21  0:51   ` Sanjoy Mahajan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-20  1:06 The Wizard
2006-07-20  8:17 ` Taco Hoekwater

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=E1G3jFB-0004iL-00@skye.ra.phy.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --cc=ntg-context@ntg.nl \
    /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.
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 NNTP newsgroup(s).