From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: exporter for latex g-brief - extending \begin{document} Date: Wed, 5 Mar 2014 01:21:32 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bacc8a6b7863904f3d1005d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKzaZ-0004EA-BE for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 19:21:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKzaY-0003BX-70 for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 19:21:35 -0500 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:33402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKzaX-0003BQ-Ue for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 19:21:34 -0500 Received: by mail-we0-f182.google.com with SMTP id p61so330567wes.27 for ; Tue, 04 Mar 2014 16:21:32 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode list --047d7bacc8a6b7863904f3d1005d Content-Type: text/plain; charset=ISO-8859-1 Hi Im using a latex class called g-brief to create formal german letters (see e.g. http://vimpy.org/wp/archives/47) and I'm trying to add an exporter to org-mode. my problem is that I need to enclose the text within \begin{document} \begin{g-brief} ... here comes text \end{g-brief} \end{document} so any customization possibilities to nest the document within begin/end{g-brief} (before I try patching the org-mode.el) Does it help to upgrade, my org-version is 7.7 Thanks Rolf --047d7bacc8a6b7863904f3d1005d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

Im= using a latex class called g-brief to create formal german letters (see e.= g. http://vimpy.org/wp/archives= /47) and I'm trying to add an exporter to org-mode.

my problem is that I need to enclose the text within

\begin{document}
\begin{g-brief}

...= here comes text

\end{g-brief}
\end{document}

so any customization possibilities to nest the document within be= gin/end{g-brief} (before I try patching the org-mode.el)

Does = it help to upgrade, my org-version is 7.7

Thanks
=A0Rolf
--047d7bacc8a6b7863904f3d1005d-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: exporter for latex g-brief - extending \begin{document} Date: Wed, 05 Mar 2014 09:34:51 +0100 Message-ID: <87k3c96o2c.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL7GM-0008Qi-4w for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 03:33:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WL7GF-0005e5-Nl for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 03:33:14 -0500 Received: from plane.gmane.org ([80.91.229.3]:58344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WL7GF-0005dz-HV for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 03:33:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WL7GD-0000oC-ML for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 09:33:05 +0100 Received: from ip-pool-129.iue.it ([192.167.90.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2014 09:33:05 +0100 Received: from rasmus by ip-pool-129.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2014 09:33:05 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org LanX writes: > Hi > > Im using a latex class called g-brief to create formal german letters (see > e.g. http://vimpy.org/wp/archives/47) and I'm trying to add an exporter to > org-mode. Have you tried ox-koma-letter.el? > my problem is that I need to enclose the text within > > \begin{document} > \begin{g-brief} > > ... here comes text > > \end{g-brief} > \end{document} #+TITLE: title #+BEGIN_g-brief ... here comes text #+END_g-brief > so any customization possibilities to nest the document within > begin/end{g-brief} (before I try patching the org-mode.el) > > Does it help to upgrade, my org-version is 7.7 Yes. Hope it helps, Rasmus -- Slowly unravels in a ball of yarn and the devil collects it From mboxrd@z Thu Jan 1 00:00:00 1970 From: LanX Subject: Re: exporter for latex g-brief - extending \begin{document} Date: Wed, 5 Mar 2014 16:57:10 +0100 Message-ID: References: <87k3c96o2c.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0c106d3d6ac04f3de12a9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLEC1-0001WV-7D for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 10:57:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLEC0-0004lc-55 for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 10:57:13 -0500 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:50621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLEBz-0004lV-Tm for emacs-orgmode@gnu.org; Wed, 05 Mar 2014 10:57:12 -0500 Received: by mail-wg0-f46.google.com with SMTP id z12so1484262wgg.17 for ; Wed, 05 Mar 2014 07:57:11 -0800 (PST) In-Reply-To: <87k3c96o2c.fsf@gmx.us> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: Emacs-orgmode list --047d7bf0c106d3d6ac04f3de12a9 Content-Type: text/plain; charset=ISO-8859-1 Hi Rasmus Have you tried ox-koma-letter.el? > > not yet, I just started recently switching back to latex and g-brief did what I needed for a formal german letter and I just need it once per month so far. > #+TITLE: title > > #+BEGIN_g-brief > ... here comes text > #+END_g-brief > OK thanks, I take it as indication that the exporter can't be configured to do this implicitely... Yes. > > could you please be more specific? ... Oh I see... http://orgmode.org/worg/exporters/koma-letter-export.html "depends on the following org-mode version 8.0 or greater" cheers Rolf --047d7bf0c106d3d6ac04f3de12a9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Rasmus



not y= et, I just started recently switching back to latex and g-brief did what I = needed for a formal german letter and I just need it once per month so far.=
=A0
#+TITLE: title

#+BEGIN_g-brief
... here comes text
#+END_g-brief

OK thanks, I take it as i= ndication that the exporter can't be configured to do this implicitely.= ..
=A0

Yes.


could you please be more specific?
=

...

=A0=A0 "depends on the following org-= mode version 8.0 or greater"


cheers
=A0 Rolf
--047d7bf0c106d3d6ac04f3de12a9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: exporter for latex g-brief - extending \begin{document} Date: Mon, 10 Mar 2014 14:29:57 +0100 Message-ID: <877g82p4fe.fsf@gmx.us> References: <87k3c96o2c.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN0Fw-0006K5-Vt for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 09:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN0Fq-0004q5-TS for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 09:28:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:43181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN0Fq-0004oW-GZ for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 09:28:30 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WN0Fl-0003aD-8w for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 14:28:25 +0100 Received: from 109.201.154.157 ([109.201.154.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2014 14:28:25 +0100 Received: from rasmus by 109.201.154.157 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2014 14:28:25 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org LanX, LanX writes: > Have you tried ox-koma-letter.el? >> >> > not yet, I just started recently switching back to latex and g-brief did > what I needed for a formal german letter and I just need it once per month > so far. KOMA-Script has build in support for DIM. >> #+TITLE: title >> >> #+BEGIN_g-brief >> ... here comes text >> #+END_g-brief >> > > OK thanks, I take it as indication that the exporter can't be configured to > do this implicitely... Sure, you can make a derived class, use a filter or something else. Ox-koma-letter is an example of a derived class for letters. There is also a letter exporter using groff as backend. Note that the special heading keywords (see the wiki) are not compatible across the two exporters. > could you please be more specific? It's a new and in all dimension superior export engine. On this list we'll generally assume you're using a recent version of Org. Currently, this implies a version ≥ 8. Hope it helps, Rasmus -- This space is left intentionally blank