From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Huszagh Subject: Re: Removing horizontal space in latex fragments Date: Thu, 5 Dec 2019 23:42:22 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000005986b7059904309d" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:58552) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idEbr-0007Oh-1D for emacs-orgmode@gnu.org; Fri, 06 Dec 2019 09:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idEbp-0002OF-Sw for emacs-orgmode@gnu.org; Fri, 06 Dec 2019 09:29:30 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:43319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1idEbp-0002H3-E1 for emacs-orgmode@gnu.org; Fri, 06 Dec 2019 09:29:29 -0500 Received: by mail-lf1-x135.google.com with SMTP id 9so5401224lfq.10 for ; Fri, 06 Dec 2019 06:29:29 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: "emacs-orgmode@gnu.org" --0000000000005986b7059904309d Content-Type: multipart/alternative; boundary="0000000000005986b4059904309b" --0000000000005986b4059904309b Content-Type: text/plain; charset="UTF-8" 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. On Thu, Dec 5, 2019 at 2:24 PM Fraga, Eric wrote: > On Thursday, 5 Dec 2019 at 11:03, Matt Huszagh wrote: > > Is anyone else interested in this modification? Should I submit it as a > > patch? > > I think so. And I am not sure all those \n's are necessary. Without > them, you can probably also remove many of the %s. > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3 > --0000000000005986b4059904309b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the reply Eric. The thing I like about the newl= ines 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 els= e in regard to which is preferable.

On Thu, Dec 5, 2019 at 2:24 PM Fraga= , Eric <e.fraga@ucl.ac.uk> w= rote:
On Thursda= y,=C2=A0 5 Dec 2019 at 11:03, Matt Huszagh wrote:
> Is anyone else interested in this modification? Should I submit it as = a
> patch?

I think so.=C2=A0 And I am not sure all those \n's are necessary.=C2=A0= Without
them, you can probably also remove many of the %s.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-544-gd215c3
--0000000000005986b4059904309b-- --0000000000005986b7059904309d Content-Type: application/octet-stream; name="remove-newlines.patch" Content-Disposition: attachment; filename="remove-newlines.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k3tuble20 RnJvbSBiYWY5ODEyY2IwNTBjODA0ZDRkMTJiZjNlMjgxOWJkNGE1OTg3NzIyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXR0IEh1c3phZ2ggPGh1c3phZ2htYXR0QGdtYWlsLmNvbT4K RGF0ZTogVGh1LCA1IERlYyAyMDE5IDIzOjE2OjM5IC0wODAwClN1YmplY3Q6IFtQQVRDSF0gb3Jn LmVsOiBSZW1vdmUgbGVhZGluZy90cmFpbGluZyB3aGl0ZXNwYWNlIGZyb20gbGF0ZXgKIGZyYWdt ZW50CgoqIGxpc3Avb3JnLmVsIChvcmctY3JlYXRlLWZvcm11bGEtaW1hZ2UpOiBFbnN1cmUgdXNl ciBpbnB1dCBlbmRzCndpdGggYSAlIGNoYXJhY3RlciB0byByZW1vdmUgdHJhaWxpbmcgd2hpdGVz cGFjZS4gQWxzbywgcmVtb3ZlC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lY29sb3J7Ymd9XG4iCi0JICAgICAgIlxu e1xcY29sb3J7Zmd9XG4iCisJICAgICAgIlxcZGVmaW5lY29sb3J7Zmd9e3JnYn17IiBmZyAifSIK KwkgICAgICAiXFxkZWZpbmVjb2xvcntiZ317cmdifXsiIGJnICJ9IgorCSAgICAgICJcXHBhZ2Vj b2xvcntiZ30iCisJICAgICAgIntcXGNvbG9ye2ZnfVxuIgogCSAgICAgIHN0cmluZwogCSAgICAg ICJcbn1cbiIKIAkgICAgICAiXG5cXGVuZHtkb2N1bWVudH1cbiIpKQotLSAKMi4yNC4wCgo= --0000000000005986b7059904309d Content-Type: application/octet-stream; name="keep-newlines.patch" Content-Disposition: attachment; filename="keep-newlines.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k3tubpup1 RnJvbSBiZGI5M2ExM2E0M2Q5MGFkNmU2NjQ0OTc5NzExMWU4MzZhNjdhMjE5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXR0IEh1c3phZ2ggPGh1c3phZ2htYXR0QGdtYWlsLmNvbT4K RGF0ZTogVGh1LCA1IERlYyAyMDE5IDIzOjI1OjMyIC0wODAwClN1YmplY3Q6IFtQQVRDSF0gb3Jn LmVsOiBSZW1vdmUgbGVhZGluZy90cmFpbGluZyB3aGl0ZXNwYWNlIGZyb20gbGF0ZXgKIGZyYWdt ZW50CgoqIGxpc3Avb3JnLmVsIChvcmctY3JlYXRlLWZvcm11bGEtaW1hZ2UpOiBFbnN1cmUgdXNl ciBpbnB1dCBlbmRzCndpdGggYSAlIGNoYXJhY3RlciB0byByZW1vdmUgdHJhaWxpbmcgd2hpdGVz cGFjZS4gQWxzbywgYWRkICUKY2hhcmFjdGVycyBiZXR3ZWVuIG1hY3JvcyBhbmQgbmV3bGluZXMg cHVyZWx5IHZpc3VhbC4KLS0tCiBsaXNwL29yZy5lbCB8IDExICsrKysrKysrLS0tCiAxIGZpbGUg Y2hhbmdlZCwgOCBpbnNlc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difXsiIGJnICJ9JVxuIgorCSAgICAgICJcblxc cGFnZWNvbG9ye2JnfSVcbiIKIAkgICAgICAiXG57XFxjb2xvcntmZ31cbiIKIAkgICAgICBzdHJp bmcKIAkgICAgICAiXG59XG4iCi0tIAoyLjI0LjAKCg== --0000000000005986b7059904309d--