emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giuseppe Lipari <giulipari@gmail.com>
To: Timothy <tecosaur@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: publishing does not work anymore
Date: Fri, 7 May 2021 15:25:38 +0200	[thread overview]
Message-ID: <CABHo5SCyRgYPt60hacUpRx+D+3TrUJNX16XmCyBM+YnYe2EkvA@mail.gmail.com> (raw)
In-Reply-To: <878s4rl2hj.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]

Thanks to both ! (I am puzzled at why it worked before, since I did not
change my configuration file between updates ... maybe a more robust
parser?)

The error condition is solved now, the php file is generated. However, the
final string <?php ...?> is not in the file. I tried both:

#+begin_example
       :body-only t
       :html-postamble t
       :html-postamble-format "<?php include 'signature.php'; ?>"
#+end_example

and

#+begin_example
       :body-only t
       :html-postamble t
       :html-postamble-format '((en "<?php include 'signature.php'; ?>"))
#+end_example

but no luck.
What I want to do is to just append the string '<?php ...?>' at the end of
the file, maybe there is a simpler and more idiomatic way of doing it?

Thanks again for your help,

Giuseppe Lipari
CRIStAL,
Université de Lille


Le ven. 7 mai 2021 à 04:08, Timothy <tecosaur@gmail.com> a écrit :

>
> Nick Dokos <ndokos@gmail.com> writes:
> >>       :body-only t
> >>       :html-postamble: t
> >>       :html-postamble-format : "<?php include 'signature.php'; ?>"
> >
> > This last one seems wrong: the extra space before the colon should
> probably not be there.
> > And I'm not sure whethe the colon after the last two properties should
> be there at all.
>
> It shouldn't be, it should be:
> #+begin_example
>        :body-only t
>        :html-postamble t
>        :html-postamble-format "<?php include 'signature.php'; ?>"
> #+end_example
>
> Though the last line may need to be
> #+begin_example
>        :html-postamble-format '((en "<?php include 'signature.php'; ?>"))
> #+end_example
> or similar.
>
> --
> Timothy
>
>

[-- Attachment #2: Type: text/html, Size: 3704 bytes --]

      reply	other threads:[~2021-05-07 13:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06 11:53 publishing does not work anymore Giuseppe Lipari
2021-05-06 20:58 ` Nick Dokos
2021-05-07  2:08   ` Timothy
2021-05-07 13:25     ` Giuseppe Lipari [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=CABHo5SCyRgYPt60hacUpRx+D+3TrUJNX16XmCyBM+YnYe2EkvA@mail.gmail.com \
    --to=giulipari@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    --cc=tecosaur@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).