auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] displaying line numbers > 9999 in TeX Error Overview


From: jfbu
Subject: Re: [AUCTeX] displaying line numbers > 9999 in TeX Error Overview
Date: Tue, 2 May 2017 21:52:44 +0200

Le 2 mai 2017 à 20:56, jfbu <address@hidden> a écrit :

>> Not super-easy, but yes, it's possible with a few Elisp lines:
>> 
>> --8<---------------cut here---------------start------------->8---
>> (add-hook
>> 'TeX-error-overview-mode-hook
>> (lambda ()
>>  (setq tabulated-list-format [("File" 25 nil)
>>               ("Line" 5 nil :right-align t)
>>               ("Type" 7 nil)
>>               ("Message" 0 nil)]
>>    tabulated-list-padding 1
>>    tabulated-list-entries TeX-error-overview-list-entries)
>>  (tabulated-list-init-header)
>>  (tabulated-list-print)))
>> --8<---------------cut here---------------end--------------->8---
>> 
>> You can set the width of each column by adjusting the number after the
>> column name.
> 
as proof of concept: (xelatex log)

 blender_manual.tex        94102 Error   Unable to load picture or PDF file 
'render_freestyle_svg-export_pallet.svg'.
 blender_manual.tex        94603 Error   Unable to load picture or PDF file 
'multiview_workflow_6.gif'.
 blender_manual.tex        94603 Error   Package graphics Error: Division by 0.
 blender_manual.tex        94603 Error   Unable to load picture or PDF file 
'multiview_workflow_6.gif'.

I almost needed ("Line" 6 nil :right-align t), phew !

JF




reply via email to

[Prev in Thread] Current Thread [Next in Thread]