emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: "Lucas V. R." <lvreis.mail@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Fix date in org-latex--format-spec
Date: Thu, 20 Oct 2022 04:37:01 +0000	[thread overview]
Message-ID: <87pmen9klu.fsf@localhost> (raw)
In-Reply-To: <CAMBZ5ZD=qtARq4_JVP5VE8+C97vqo_dV6N+WxH-qBFci9C3e7A@mail.gmail.com>

"Lucas V. R." <lvreis.mail@gmail.com> writes:

> This is my first time posting here. Sorry in advance if I did something
> wrong.
> I tried customizing org-latex-title-command with a "%D" placeholder but the
> LaTeX was not compiling since this placeholder was being replaced by the
> string
>
> ((latex-fragment (:value \today :begin 1 :end 7 :post-blank 0 :parent #0)))
>
> I could not find this in previous issues and the code in the main branch
> still reproduced this error. The problem seems to be a missing call to
> org-export-data in the function org-latex--format-spec. Perhaps it is not
> necessary but I'm attaching the one-line patch that fixed things for me.
> From ddeaa68f540173a27bc0fddd6f8957b5e6af7ffe Mon Sep 17 00:00:00 2001
> From: "Lucas V. R" <lvr@s-viva.xyz>
> Date: Tue, 22 Feb 2022 14:46:45 -0300
> Subject: [PATCH] ox-latex: date should not be a property list

Applied onto main with amendments to the commit message.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a7a579d06acc048c259893839c304f2ef56eab45

Thanks for your contribution!
You will now be listed at https://orgmode.org/worg/contributors.html

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


      reply	other threads:[~2022-10-20  4:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 18:05 [PATCH] Fix date in org-latex--format-spec Lucas V. R.
2022-10-20  4:37 ` Ihor Radchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmen9klu.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=lvreis.mail@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).