Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Kaushal Modi
Thank you guys. With your help, I came up with this solution and it works great! I tested it with all 4 combinations (author=nil/non-nil and date=nil/non-nil). # #+AUTHOR: #+AUTHOR: Kaushal Modi # #+DATE: #+DATE: {{{time(%b %e %Y\, %a)}}} ;; Customize the HTML postamble (defun

Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Kaushal Modi
Hi Robert, Thanks for the reply. > how about using a postamble function instead of html-postamble-format Does it mean that I need to look into modifying the org-html--build-pre/postamble function? If so, I will start looking into it but it will take a while as it full of elisp that I have

Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Robert H. Klein
Hi, Kaushal Modi wrote: > Hi, > > I have the org-html-postamble-format set to the below: > > (setq org-html-postamble-format > `(("en" > ,(concat "Exported using " > ;; "%c" is replaced with >

Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Nick Dokos
Kaushal Modi writes: > Hi Robert, > > Thanks for the reply. > >> how about using a postamble function instead of html-postamble-format > > Does it mean that I need to look into modifying the > org-html--build-pre/postamble function? > No, Robert is talking about the

Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Robert H. Klein
Hi Kaushal, > Thanks for the reply. > > > how about using a postamble function instead of > > html-postamble-format > > Does it mean that I need to look into modifying the > org-html--build-pre/postamble function? > > If so, I will start looking into it but it will take a while as it > full

[O] Conditionally formatting org-html-postamble-format

2016-01-26 Thread Kaushal Modi
Hi, I have the org-html-postamble-format set to the below: (setq org-html-postamble-format `(("en" ,(concat "Exported using " ;; "%c" is replaced with `org-html-creator-string' ;; Emacs (Org mode