all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ox-bibtex: Customization of HTML heading
@ 2014-04-07  7:44 Julian Gehring
  2014-04-17 15:26 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Julian Gehring @ 2014-04-07  7:44 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Nicolas Goaziou

Hi,

Would it be reasonable to have an additional option for customizing the
HTML heading of the reference section for ox-bibtex?  By default, a
'<h2>References</h2>' gets inserted in the HTML file.  I would suggest
to include an option for omitting the heading complete (and letting the
user define the context in which it occurs).  Optionally, one could also
think about an option for changing the heading text, instead of
hardcoding it.  Any thoughts regarding this?

Best wishes
Julian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ox-bibtex: Customization of HTML heading
  2014-04-07  7:44 ox-bibtex: Customization of HTML heading Julian Gehring
@ 2014-04-17 15:26 ` Bastien
  2014-04-20  9:30   ` [PATCH] German localization of sections (was: Re: ox-bibtex: Customization of HTML heading) Julian Gehring
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2014-04-17 15:26 UTC (permalink / raw)
  To: Julian Gehring; +Cc: Nicolas Goaziou, emacs-orgmode

Hi Julian,

Julian Gehring <julian.gehring@gmail.com> writes:

> Would it be reasonable to have an additional option for customizing the
> HTML heading of the reference section for ox-bibtex?

Yes -- I added the word "References" to `org-export-dictionary',
and ox-bibtex.el is now using it.

Can you provide a patch to translate it into german?

Thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] German localization of sections (was: Re: ox-bibtex: Customization of HTML heading)
  2014-04-17 15:26 ` Bastien
@ 2014-04-20  9:30   ` Julian Gehring
  2014-04-20  9:37     ` [PATCH] German localization of sections Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Julian Gehring @ 2014-04-20  9:30 UTC (permalink / raw)
  To: Bastien; +Cc: Nicolas Goaziou, emacs-orgmode

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

Hi Batien,

Thank you for extending this!

I have attached the patch for translating the section heading into German.

Best wishes
Julian


On 17.04.2014 17:26, Bastien wrote:
> Hi Julian,
>
> Julian Gehring <julian.gehring@gmail.com> writes:
>
>> Would it be reasonable to have an additional option for customizing the
>> HTML heading of the reference section for ox-bibtex?
>
> Yes -- I added the word "References" to `org-export-dictionary',
> and ox-bibtex.el is now using it.
>
> Can you provide a patch to translate it into german?
>
> Thanks!
>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-ox.el-German-localization-of-References-section.patch --]
[-- Type: text/x-patch; name="0001-ox.el-German-localization-of-References-section.patch", Size: 805 bytes --]

From c4d4ef97f7a61703936386fc446307686a96d89b Mon Sep 17 00:00:00 2001
From: Julian Gehring <julian.gehring@gmail.com>
Date: Sun, 20 Apr 2014 10:48:07 +0200
Subject: [PATCH] ox.el: German localization of 'References' section

* lisp/ox.el: Add German localization of the 'References' section

Suggested by Batien Guerry
---
 lisp/ox.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/ox.el b/lisp/ox.el
index 35f4972..7c6a96d 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5488,6 +5488,7 @@ them."
      ("zh-CN" :html "&#20195;&#30721;%d&nbsp;" :utf-8 "代码%d "))
     ("References"
      ("fr" :ascii "References" :default "Références"))
+     ("de" :default "Quellen"))
     ("See section %s"
      ("da" :default "jævnfør afsnit %s")
      ("de" :default "siehe Abschnitt %s")
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] German localization of sections
  2014-04-20  9:30   ` [PATCH] German localization of sections (was: Re: ox-bibtex: Customization of HTML heading) Julian Gehring
@ 2014-04-20  9:37     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2014-04-20  9:37 UTC (permalink / raw)
  To: Julian Gehring; +Cc: emacs-orgmode, Nicolas Goaziou

Hi Julian,

Julian Gehring <julian.gehring@gmail.com> writes:

> I have attached the patch for translating the section heading into
> German.

Applied, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-20  9:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07  7:44 ox-bibtex: Customization of HTML heading Julian Gehring
2014-04-17 15:26 ` Bastien
2014-04-20  9:30   ` [PATCH] German localization of sections (was: Re: ox-bibtex: Customization of HTML heading) Julian Gehring
2014-04-20  9:37     ` [PATCH] German localization of sections Bastien

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.