emacs-orgmode
[Top][All Lists]
Advanced

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

Re: Removing horizontal space in latex fragments


From: Nicolas Goaziou
Subject: Re: Removing horizontal space in latex fragments
Date: Sat, 14 Dec 2019 15:57:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

Matt Huszagh <address@hidden> writes:

> Thanks for the reply Eric. The thing I like about the newlines is that the
> generated tex files are slightly easier to read. However, this is really
> minor. I've created 2 separate patches: one keeping the newlines and the
> other without. I'm happy to defer to you or anyone else in regard to which
> is preferable.

So, has anyone settled on which one to apply?

> +    ;; remove tex \par at end of snippet to avoid trailing
> +    ;; whitespace

  Remove TeX \par at end of... trailing space.

> +    (if (string= (substring string -1 nil) "\n")

Minor nitpick: 

  (if (string-suffix-p string "\n") ...)

is slightly less low-level.

Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

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