auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] modified


From: Tassilo Horn
Subject: Re: [AUCTeX-devel] modified
Date: Fri, 16 Sep 2016 19:53:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Uwe Brauer <address@hidden> writes:

Hi Uwe,

>    > Well, and the problem is:
>    >> address@hidden to ‘invisible’ so that the «^» and «_» in
>    >> +sub and superscripts are not displayed.
>
>    > Huh?  @font-latex-fontify-script{}?  I guess that's not what you wanted
>    > but rather @code{font-latex-fontify-script} or something alike.
> Yes, but the problem are also the « »? I mean 

Yes, probably.  So use @code{^} and @code{_} which will probably work.

>    > Please compile the docs before submitting anew.  I think @previewlatex{}
>    > is also no existing TeXInfo macro (but I might be wrong).
>
> That was defined earlier.  So I presumed it exists. 

You are right.

>    >> +Lastly, @AUCTeX{} with GNU Emacs 25 or later can display certain math
>    >> +macros using Unicode characters. That's called prettification. XEmacs
>    >> +user should either switch to GNU Emacs 25 or use the x-symbol package
>    >> +which provides a similar feature. Prettification is pretty lightweight
>    >> +and reasonable robust, however it only provides a limited WYSIWYG 
> feature,
>    >> +compared to @previewlatex{} a subsystem of @AUCTeX{}, see
>    >> address@hidden,,Introduction,preview-latex,The @previewlatex{} Manual}, 
> which
>    >> +let LaTeX generate images that are displayed in your buffer. It is
>    >> +extremely accurate but sometimes fragile with some packages. Note 
> please
>    >> +that you can use prettification and preview-latex together. 
>
>    > Another nitpick.  In general, we use the convention having two spaces
>    > after a sentence ending in a dot and the next sencence so that
>    > `forward-sentence' and friends work right with the default value of
>    > `sentence-end-double-space'.  So please do that as well.
>
> Oh! Why is this? I use fill-paragraph a lot, so it might be that is
> deletes the double space. Any idea how to configure fill-paragraph in
> texi mode?

Well, `fill-paragraph' deletes the double spaces if
`sentence-end-double-space' is set to nil which apparently you seem to
have.  So set it to t just for the time you edit the auctex.texi file.

>    > Did you actually test using both preview and prettify together? I
>    > guessed that you can do that without testing it. So before writing
>    > something like that in the docs, please verify that it really
>    > works.
>
> Yes I did. Works nicely. 

Great, that's good news!

> In short: 
>
>     -  do you want me to delete the « »? 

I want you to successfully compile the texi file before submitting a doc
patch.  So if texinfo doesn't like the « » which is highly likely,
replace it with a texinfo construct (probably @code{}) which works.

>     -  what shall I do with my fill-paragraph function?

See above.

Bye,
Tassilo




reply via email to

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