From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Volpi Subject: Org publishing questions: 1) JavaScript, 2) html page title Date: Fri, 26 Apr 2019 14:39:00 +0000 (UTC) Message-ID: <1337950734.956444.1556289540328@mail.yahoo.com> References: <1337950734.956444.1556289540328.ref@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_956443_875007589.1556289540328" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hK20a-0004d2-AU for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 10:39:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hK20Y-0001lc-DI for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 10:39:24 -0400 Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:46775) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hK20V-0001fy-Dq for emacs-orgmode@gnu.org; Fri, 26 Apr 2019 10:39:20 -0400 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" To: emacs-orgmode@gnu.org ------=_Part_956443_875007589.1556289540328 Content-Type: multipart/alternative; boundary="----=_Part_956442_995226169.1556289540116" ------=_Part_956442_995226169.1556289540116 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am using org-mode publishing to generate html files from org files. The attached example mostly works. The resulting html file is published at https://wolf-test.netlify.com/f1.ht= ml I am using Emacs 26.1 with Evil Spacemacs 0.200.13 and org-mode version 1.9= .1=20 I have the following questions about Org publishing: 1) Org publishing generates unused JavaScript functions: line 42 CodeHighlightOn(elem, id) line 52 CodeHighlightOff(elem, id) Is there a way to publish the pages without generating any JavaScript? 2) Org publishing generates a page title which looks like this: How to make it like this?: file name 3) Various org-publishing options are listed in org-mode manual "13.1.5 Option= s for the exporters" . What are the left and right columns for? Where is the documentation that explains how to use the options? For example, "title" is listed but I can't figure out how to use them: =E2=80=98:with-title=E2=80=99=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 =E2=80=98org-export-with-title=E2=80=99 org-export-with-title is in the Emacs help as a variable but it doesn't say= how to use it. ------=_Part_956442_995226169.1556289540116 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= I am using org-mode publishing to generate html files from org = files.
The attached example mostly works.
The resulting html file is publis= hed at https://wolf-test.netlify.com/f1.html
<= span>I am using Emacs 26.1 with Evil Spacemacs 0.200.13 and org-mode = version 1.9.1

I have the = following questions about Org publishing:

1)Org publishing generates unused JavaScript functions:
line 42 CodeHighlightOn(elem, id)
line 52 CodeHighl= ightOff(elem, id)
Is there a way = to publish the pages without generating any JavaScript?

2)
Org pu= blishing generates a page title which looks like this:
<title>&lrm;</title>
How to make it like this?:
<titl= e>file name</title>

= 3)
Various org-publishing options are listed in org-mode manual "13.1.5 O= ptions for the exporters" .
What are the left and right columns for?
Where is th= e documentation that explains how to use the options?
For example, "titl= e" is listed but I can't figure out how to use them:

=E2=80=98:with-title=E2=80=99      =        =E2=80=98org-export-with-title=E2=80= =99

org-export-with-title is = in the Emacs help as a variable but it doesn't say how to use it.

------=_Part_956442_995226169.1556289540116-- ------=_Part_956443_875007589.1556289540328 Content-Type: text/x-emacs-lisp Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="org-publish-project-alist.el" Content-ID: KHJlcXVpcmUgJ294LXB1Ymxpc2gpICAgIDtDLXggQy1lIHRvIGxvYWQgb3gtcHVibGlzaAoKKHNl dHEgb3JnLXB1Ymxpc2gtcHJvamVjdC1hbGlzdAogICAgICAnKAooIm9yZy1zb3VyY2UiICAgICAg ICAgICAgICAgICAgICA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sZSAiZjEiICAgICAgICAgICAgICAgICAgICAgO2ZhaWwsIHRoaXMgaGFk IG5vIGVmZmVjdAogOmh0bWwtaGVhZC1pbmNsdWRlLWRlZmF1bHQtc3R5bGUgbmlsIDtuaWwgcGFz cywgZGlkIG5vdCBnZW5lcmF0ZSAxNjAtbGluZXMgb2YgY29tbWVudGVkIHN0eWxlCiA6aHRtbC1w b3N0YW1ibGUgbmlsICAgICAgICAgICAgICAgICAgO25pbCBwYXNzLCBkaWQgbm90IGdlbmVyYXRl IHBvc3RhbWJsZQogKQoKKCJvcmctc3RhdGljIgogOmJhc2UtZGlyZWN0b3J5ICJ+L0RvY3VtZW50 cy9kZXZlbG9wZXIvZWRpdG9ycy9lbWFjcy9vcmctcHVibGlzaC9vcmcvIgogOmJhc2UtZXh0ZW5z aW9uICJjc3NcXHxqc1xcfHBuZ1xcfGpwZ1xcfGdpZlxcfHBkZlxcfG1wM1xcfG9nZ1xcfHN3ZiIK IDpwdWJsaXNoaW5nLWRpcmVjdG9yeSAifi9Eb2N1bWVudHMvZGV2ZWxvcGVyL2VkaXRvcnMvZW1h Y3Mvb3JnLXB1Ymxpc2gvaHRtbC8iCiA6cHVibGlzaGluZy1mdW5jdGlvbiBvcmctcHVibGlzaC1h dHRhY2htZW50CiApCgooIm9yZyIgOmNvbXBvbmVudHMgKCJvcmctc291cmNlIiAib3JnLXN0YXRp YyIpKQogICAgICApKSAgICAgICAgICAgICAgICAgO0MteCBDLWUgYW5kIHJlcGVhdCBhZnRlciBl dmVyeSBjaGFuZ2UgdG8gb3JnLXB1Ymxpc2gtcHJvamVjdC1hbGlzdAogICAgICAgICAgICAgICAg ICAgICAgICAgO3RvIHB1Ymxpc2g6IFNQQyB1IFNQQyBTUEMgb3JnLXB1Ymxpc2gsIG9yZwo= ------=_Part_956443_875007589.1556289540328 Content-Type: application/vnd.lotus-organizer Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="f1.org" Content-ID: <6f2a444f-a858-ad1f-5604-ba6a72844823@yahoo.com> KiBoMQoqKiBoMgp0ZXN0IHNlY3Rpb24gaDIgYm9keQo= ------=_Part_956443_875007589.1556289540328--