ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?
Date: Fri, 03 Jul 2009 09:14:01 +0200	[thread overview]
Message-ID: <4A4DAFB9.9090102@elvenkind.com> (raw)
In-Reply-To: <fe8d59da0907030005o65634e4cub4a911535b2b61df@mail.gmail.com>



luigi scarso wrote:
> 
> 
> On Fri, Jul 3, 2009 at 8:56 AM, Taco Hoekwater <taco@elvenkind.com
> <mailto:taco@elvenkind.com>> wrote:
> 
>     Mojca Miklavec wrote:
> 
> 
>             Line Number
> 
>         I don't know of any way, but TeX sometimes complains on errors and
>         outputs the line number along.
> 
> 
>     There is \inputlineno in TeX, so  \the\inputlineno or the lua
>     equivalent \ctxlua{tex.inputlineno} will work.
> 
> The problem is exactly locate the error in source .
> Sometimes the errorline  of the log are in someway imprecise , ie. "the
> errors is (are)
> around here " .

Yeah, that can't be helped (unless you don't do multi-line paragraphs
nor macros)

Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-07-03  7:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-01 18:18 ivo welch
2009-07-01 18:40 ` Hans Hagen
2009-07-02 21:52 ` Mojca Miklavec
2009-07-03  6:56   ` Taco Hoekwater
2009-07-03  7:05     ` luigi scarso
2009-07-03  7:14       ` Taco Hoekwater [this message]
2009-07-03  7:30         ` luigi scarso
2009-07-03  7:33           ` Taco Hoekwater
2009-07-03  7:44             ` luigi scarso
2009-07-03  7:47               ` Taco Hoekwater
2009-07-03  7:51                 ` luigi scarso
2009-07-03  8:06                   ` Taco Hoekwater
2009-07-03  8:13                     ` luigi scarso
2009-07-03  8:18                       ` Taco Hoekwater
2009-07-03  8:24                         ` luigi scarso

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=4A4DAFB9.9090102@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).