From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiha Subject: Re: Questions about exporting: subtitle, level formating, custom highlight markers error Date: Mon, 27 Jul 2015 15:55:19 +0200 Message-ID: <55B63847.5050101@laposte.net> References: <55B4DAEC.7030805@laposte.net> <87egjugfry.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------020402000406010104020606" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJiqy-0007sM-Sq for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 09:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJiqu-0006a4-PR for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 09:54:04 -0400 Received: from smtpoutz25.laposte.net ([194.117.213.100]:36174 helo=smtp.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJiqu-0006Zl-9S for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 09:54:00 -0400 Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout013 (Postfix) with ESMTP id F132CF59B2 for ; Mon, 27 Jul 2015 15:53:57 +0200 (CEST) Received: from lpn-prd-vrin003 (unknown [10.128.63.4]) by lpn-prd-vrout013 (Postfix) with ESMTP id EC9BFF5883 for ; Mon, 27 Jul 2015 15:53:57 +0200 (CEST) Received: from lpn-prd-vrin003 (localhost [127.0.0.1]) by lpn-prd-vrin003 (Postfix) with ESMTP id DC23648CBF3 for ; Mon, 27 Jul 2015 15:53:57 +0200 (CEST) Received: from [192.168.1.12] (ptr-178-51-34-107.dyn.mobistar.be [178.51.34.107]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lpn-prd-vrin003 (Postfix) with ESMTPSA id 72CA748CBE4 for ; Mon, 27 Jul 2015 15:53:56 +0200 (CEST) In-Reply-To: <87egjugfry.fsf@ucl.ac.uk> 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 This is a multi-part message in MIME format. --------------020402000406010104020606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Thanks Rasmus and Eric! 1) subtitle > The git version has a #+subtitle keyword. See the git version of the > manual for supported backends (most). Where the git install instructions say "you should edit local.mk to=20 point to the appropriate install location", how do I find out where this=20 is? Sorry, not used to using git :/ Is it possible to install the git version alongside the stable one, and=20 choose which to use for each session? 2) level formating > For LaTeX export, this will not work (AFAIK) as LaTeX only supports 4 o= r > so levels of headings. Just tested: yes, 5 levels. At the 6th it treats them as list items.=20 Well, it may be sufficient - I put '9' to leave some room. > Depends on the backend. With latex you could use setkomafont (of > KOMA-Script) and with html you could use css. > If you want this kind of control, you should ensure that the LaTeX uses > the scrartcl (koma-script) article class which is highly > configurable. However, you will have to do the LaTeX configuration > yourself directly using #+latex: and #+latex_header: org directives in > your org document. > > For HTML export, you will need to define the appropriate CSS > specifications to achieve the stair case effect. I have no idea how > this would be done... Right, I'll have a look at koma-script. Would there be a=20 tutorial/example somewhere for how to do this from Org? And perhaps this can take care of the subtitle issue, too, within the=20 stable Org version? 3) Custom highlight markers error > No idea about this. It could be a bug anywhere. > Could you maybe post a small example file? I have no idea what you are > describing unfortunately. I retrieved what I did, from here=20 :=20 "You can re-define the characters for emphasizing via Options->Customize=20 Emacs->Specific Option then input org-emphasis-alist." Then I added an item to the list for using the interpunct character =B7,=20 resulting in [INS] [DEL] List: Marker character: * Choice: [Value Menu] Font-lock-face: (sample) bold [ ] verbatim [INS] [DEL] List: Marker character: / Choice: [Value Menu] Font-lock-face: (sample) italic [ ] verbatim [INS] [DEL] List: Marker character: _ Choice: [Value Menu] Font-lock-face: (sample) underline [ ] verbatim [INS] [DEL] List: Marker character: =3D Choice: [Value Menu] Font-lock-face: (sample) org-verbatim [X] verbatim [INS] [DEL] List: Marker character: ~ Choice: [Value Menu] Font-lock-face: (sample) org-code [X] verbatim [INS] [DEL] List: Marker character: + Choice: [Value Menu] Face property list: [INS] [DEL] Key: :strike-through Value: t [INS] [ ] verbatim *[INS] [DEL] List: ** ** Marker character: =B7 ** ** Choice: [Value Menu] Font-lock-face: (sample) highlight ** ** [X] verbatim* Then when I write something like =B7this=B7 in my text, it is highlighted= =20 with a yellow background, within Org. But upon exporting I get the error=20 mentioned. It does not appear to be due to some interaction with other=20 stuff in my document, because the error occurs even for a minimal=20 document that has only =B7test=B7 in it. So, a bug as Rasmus suggests, or a matter of configuration? cheers --------------020402000406010104020606 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Thanks Rasmus and Eric!

1) subtitle
The git version has a #+subtitle keyword.  See the git version of the
manual for supported backends (most).

Where the git install instructions say "you should edit local.mk to point to the appropriate install location", how do I find out where this is? Sorry, not used to using git :/

Is it possible to install the git version alongside the stable one, and choose which to use for each session?

2) level formating
For LaTeX export, this will not work (AFAIK) as LaTeX only supports 4 or
so levels of headings.
Just tested: yes, 5 levels. At the 6th it treats them as list items. Well, it may be sufficient - I put '9' to leave some room.

Depends on the backend.  With latex you could use setkomafont (of
KOMA-Script) and with html you could use css.
If you want this kind of control, you should ensure that the LaTeX uses
the scrartcl (koma-script) article class which is highly
configurable.  However, you will have to do the LaTeX configuration
yourself directly using #+latex: and #+latex_header: org directives in
your org document.

For HTML export, you will need to define the appropriate CSS
specifications to achieve the stair case effect.  I have no idea how
this would be done...
Right, I'll have a look at koma-script. Would there be a tutorial/example somewhere for how to do this from Org?

And perhaps this can take care of the subtitle issue, too, within the stable Org version?

3) Custom highlight markers error
No idea about this.  It could be a bug anywhere.
Could you maybe post a small example file?  I have no idea what you are
describing unfortunately.
I retrieved what I did, from here: "You can re-define the characters for emphasizing via Options->Customize Emacs->Specific Option then input org-emphasis-alist."

Then I added an item to the list for using the interpunct character ·, resulting in

[INS] [DEL] List:                                                                                                                                   &nb sp;       
            Marker character: *                                                                                                                             
            Choice: [Value Menu] Font-lock-face: (sample) bold                                                                                              
            [ ] verbatim                                                                                                                                     
[INS] [DEL] List:                                                                                                                                   &nb sp;       
            Marker character: /                                                                                                                             
            Choice: [Value Menu] Font-lock-face: (sample) italic                                                                                            
            [ ] verbatim                                                                                                                                     
[INS] [DEL] List:                                                                                                                                   &nb sp;       
            Marker character: _                                                                                                                             
            Choice: [Value Menu] Font-lock-face: (sample) underline                                                                                         
            [ ] verbatim                                                                                                                                     
[INS] [DEL] List:                                                                                                                                   &nb sp;       
            Marker character: =                                                                                                                             
            Choice: [Value Menu] Font-lock-face: (sample) org-verbatim                                                                                      
            [X] verbatim                                                                                                                                     
[INS] [DEL] List:                                                                                                                                   &nb sp;       
            Marker character: ~                                                                                                                             
            Choice: [Value Menu] Font-lock-face: (sample) org-code                                                                                          
            [X] verbatim                                                                                                                                     
[INS] [DEL] List:                                                                                                                                   &nb sp;       
            Marker character: +                                                                                                                             
            Choice: [Value Menu] Face property list:                                                                                                        
                        [INS] [DEL] Key: :strike-through                                                                                                    
                        Value: t                                                                                                                            
            [INS]                                                                                                                                   &nb sp;       
            [ ] verbatim                                                                                                                                     
[INS] [DEL] List:                                                                                                                                   & nbsp;       
            Marker character: ·                                                                                                                             
            Choice: [Value Menu] Font-lock-face: (sample) highlight                                                                                         
            [X] verbatim

Then when I write something like ·this· in my text, it is highlighted with a yellow background, within Org. But upon exporting I get the error mentioned. It does not appear to be due to some interaction with other stuff in my document, because the error occurs even for a minimal document that has only

·test·

in it. So, a bug as Rasmus suggests, or a matter of configuration?

cheers
--------------020402000406010104020606--