Re: LaTeX, long line, and synctex.

2023-05-11 Thread Tassilo Horn
Hongyi Zhao  writes:

>> When working with AUCTeX, if I have long-lines in LaTeX file, then
>> the SyncTeX positioning will not so accurate. How to tackle this
>> problem?
>
> It seems that the only feasible way is to use `M-q ( fill-paragraph )`
> to do the trick.

Right, I think synctex is line-based, i.e., it only says the
corresponding position is foobar.tex, line 929 but doesn't say which
column.

Bye,
Tassilo



Re: LaTeX, long line, and synctex.

2023-05-10 Thread Hongyi Zhao
On Thu, May 11, 2023 at 10:54 AM Hongyi Zhao  wrote:
>
> Hi here,
>
> When working with AUCTeX, if I have long-lines in LaTeX file, then the
> SyncTeX positioning will not so accurate. How to tackle this problem?

It seems that the only feasible way is to use `M-q ( fill-paragraph )`
to do the trick.

Regards,
Zhao



LaTeX, long line, and synctex.

2023-05-10 Thread Hongyi Zhao
Hi here,

When working with AUCTeX, if I have long-lines in LaTeX file, then the
SyncTeX positioning will not so accurate. How to tackle this problem?

Regards,
Zhao
-- 
Assoc. Prof. Hongsheng Zhao 
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province