From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Louis Subject: The name attribute is obsolete. Consider putting an id attribute Date: Sat, 18 Mar 2017 16:04:28 +0300 Message-ID: <20170318130428.GA1940@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpE6w-0004JC-C6 for emacs-orgmode@gnu.org; Sat, 18 Mar 2017 09:09:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpE6t-00030l-6v for emacs-orgmode@gnu.org; Sat, 18 Mar 2017 09:09:34 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:52897) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpE6s-0002o0-VT for emacs-orgmode@gnu.org; Sat, 18 Mar 2017 09:09:31 -0400 Content-Disposition: inline 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 Hello, I am exporting Org to Markdown, and when used with:

What is GNU CLISP?

then the validator https://validator.w3.org/ is telling: Warning: The name attribute is obsolete. Consider putting an id attribute on the nearest container instead. >From line 382, column 23; to line 382, column 49 GNU CLISP? Subject: Re: The name attribute is obsolete. Consider putting an id attribute Date: Sun, 19 Mar 2017 10:26:45 +0100 Message-ID: <87lgs139d6.fsf@nicolasgoaziou.fr> References: <20170318130428.GA1940@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpX6y-0007Mv-S4 for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 05:26:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpX6v-0000Gl-Ks for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 05:26:52 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60122) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpX6v-0000Gf-ED for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 05:26:49 -0400 In-Reply-To: <20170318130428.GA1940@protected.rcdrun.com> (Jean Louis's message of "Sat, 18 Mar 2017 16:04:28 +0300") 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: Jean Louis Cc: emacs-orgmode@gnu.org Hello, Jean Louis writes: > I am exporting Org to Markdown, and when used with: > > > >

What is GNU CLISP?

This is not Markdown syntax. You should check the part of your process responsible for turning Markdown into HTML. For the record, by default, Org uses "id" instead of "name" when it generates HTML. See `org-html-allow-name-attribute-in-anchors'. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Louis Subject: Re: The name attribute is obsolete. Consider putting an id attribute Date: Sun, 19 Mar 2017 14:54:40 +0300 Message-ID: <20170319115440.GD17180@protected.rcdrun.com> References: <20170318130428.GA1940@protected.rcdrun.com> <87lgs139d6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpZdy-00084o-C4 for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 08:09:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpZdv-0001uw-5r for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 08:09:06 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:60211) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpZdu-0001sZ-Tj for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 08:09:03 -0400 Content-Disposition: inline In-Reply-To: <87lgs139d6.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org On Sun, Mar 19, 2017 at 10:26:45AM +0100, Nicolas Goaziou wrote: > Hello, > > Jean Louis writes: > > > I am exporting Org to Markdown, and when used with: > > > > > > > >

What is GNU CLISP?

> > This is not Markdown syntax. You should check the part of your process > responsible for turning Markdown into HTML. > > For the record, by default, Org uses "id" instead of "name" when it > generates HTML. See `org-html-allow-name-attribute-in-anchors'. Here below is the org file, and if I process it with: emacs tmp/test.org --batch -f org-mode -f org-md-export-to-markdown Then I get the file, where I can see the following line: # What is GNU CLISP? And the option org-html-allow-name-attribute-in-anchors is off, and I am not sure if it influences markdown export at all. Do you know how to turn name= off in org-md-export-to-markdown ? Jean -------------- org file below ------------ #+TITLE: GNU CLISP is an ANSI Common Lisp Implementation * What is GNU CLISP? [[http://www.lisp.org][Common Lisp]] is a high-level, general-purpose, object-oriented, dynamic, functional programming language. [[http://clisp.org][GNU CLISP]] is a Common Lisp implementation by [[http://www.haible.de/bruno/][Bruno Haible]], then of Karlsruhe University, and [[http://www.faculty.iu-bremen.de/mstoll/][Michael Stoll]], then of Munich University, both in Germany. It implements the language described in the [[http://www.lispworks.com/documentation/HyperSpec/Front/][ANSI Common Lisp standard]] with many extensions. * What is LISP? LISP is a list-processing programming language, a flexible functional programing language that manipulates symbols in the form of lists. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: The name attribute is obsolete. Consider putting an id attribute Date: Sun, 19 Mar 2017 14:06:55 +0100 Message-ID: <87h92p8lg0.fsf@nicolasgoaziou.fr> References: <20170318130428.GA1940@protected.rcdrun.com> <87lgs139d6.fsf@nicolasgoaziou.fr> <20170319115440.GD17180@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpaXz-0006yO-3s for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:06:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpaXy-0000e6-5b for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:06:59 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:37256) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpaXy-0000d0-06 for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:06:58 -0400 In-Reply-To: <20170319115440.GD17180@protected.rcdrun.com> (Jean Louis's message of "Sun, 19 Mar 2017 14:54:40 +0300") 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: Jean Louis Cc: emacs-orgmode@gnu.org Hello, Jean Louis writes: > Here below is the org file, and if I process it with: > emacs tmp/test.org --batch -f org-mode -f org-md-export-to-markdown > > Then I get the file, where I can see the following line: > # What is GNU CLISP? I cannot reproduce it. Are you using latest Org? Did you try without your personal config? > And the option org-html-allow-name-attribute-in-anchors is off, and I > am not sure if it influences markdown export at all. It does. Markdown back-end is built on top of HTML back-end (e.g., to translate tables). Regards, -- Nicolas Goaziou 0x80A93738 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Louis Subject: Re: The name attribute is obsolete. Consider putting an id attribute Date: Sun, 19 Mar 2017 16:12:29 +0300 Message-ID: <20170319131229.GA19685@protected.rcdrun.com> References: <20170318130428.GA1940@protected.rcdrun.com> <87lgs139d6.fsf@nicolasgoaziou.fr> <20170319115440.GD17180@protected.rcdrun.com> <87h92p8lg0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpagt-0008Bt-H2 for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpagq-0000f8-AF for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:16:11 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:42947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpagq-0008QD-26 for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:16:08 -0400 Content-Disposition: inline In-Reply-To: <87h92p8lg0.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org On Sun, Mar 19, 2017 at 02:06:55PM +0100, Nicolas Goaziou wrote: > Hello, > > Jean Louis writes: > > > Here below is the org file, and if I process it with: > > emacs tmp/test.org --batch -f org-mode -f org-md-export-to-markdown > > > > Then I get the file, where I can see the following line: > > # What is GNU CLISP? > > I cannot reproduce it. Are you using latest Org? Did you try without > your personal config? > > > And the option org-html-allow-name-attribute-in-anchors is off, and I > > am not sure if it influences markdown export at all. > > It does. Markdown back-end is built on top of HTML back-end (e.g., to > translate tables). I am using this Org version: Version: 20170105.1723, and I am using GNU Emacs from "GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2016-12-07" Option org-html-allow-name-attribute-in-anchors is nil. Even if I run with the -Q, I get same result, and that is without personal config: emacs -Q tmp/test.org --batch -f org-mode -f org-md-export-to-markdown where I can see in test.md, the following line: # What is GNU CLISP? Any clues? Jean From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: The name attribute is obsolete. Consider putting an id attribute Date: Sun, 19 Mar 2017 14:25:15 +0100 Message-ID: <87a88h8klg.fsf@nicolasgoaziou.fr> References: <20170318130428.GA1940@protected.rcdrun.com> <87lgs139d6.fsf@nicolasgoaziou.fr> <20170319115440.GD17180@protected.rcdrun.com> <87h92p8lg0.fsf@nicolasgoaziou.fr> <20170319131229.GA19685@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpapo-0000ri-6r for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:25:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpapn-0004PV-FO for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:25:24 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:56273) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpapn-0004PK-AC for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 09:25:23 -0400 In-Reply-To: <20170319131229.GA19685@protected.rcdrun.com> (Jean Louis's message of "Sun, 19 Mar 2017 16:12:29 +0300") 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: Jean Louis Cc: emacs-orgmode@gnu.org Hello, Jean Louis writes: > I am using this Org version: Version: 20170105.1723, and I am using > GNU Emacs from "GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, X > toolkit, Xaw3d scroll bars) of 2016-12-07" You may have a mixed installation. > Even if I run with the -Q, I get same result, and that is without > personal config: > emacs -Q tmp/test.org --batch -f org-mode -f org-md-export-to-markdown This will load Org 8.2. You need a bare config to load latest Org. > Any clues? You could try to update Org. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Louis Subject: Re: The name attribute is obsolete. Consider putting an id attribute Date: Sun, 19 Mar 2017 17:13:04 +0300 Message-ID: <20170319141304.GA20152@protected.rcdrun.com> References: <20170318130428.GA1940@protected.rcdrun.com> <87lgs139d6.fsf@nicolasgoaziou.fr> <20170319115440.GD17180@protected.rcdrun.com> <87h92p8lg0.fsf@nicolasgoaziou.fr> <20170319131229.GA19685@protected.rcdrun.com> <87a88h8klg.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpbd4-0000rg-0G for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 10:16:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpbd0-0002QJ-RW for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 10:16:17 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:50491) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpbd0-0002PC-JU for emacs-orgmode@gnu.org; Sun, 19 Mar 2017 10:16:14 -0400 Content-Disposition: inline In-Reply-To: <87a88h8klg.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org On Sun, Mar 19, 2017 at 02:25:15PM +0100, Nicolas Goaziou wrote: > You may have a mixed installation. > > > Even if I run with the -Q, I get same result, and that is without > > personal config: > > emacs -Q tmp/test.org --batch -f org-mode -f org-md-export-to-markdown > > This will load Org 8.2. You need a bare config to load latest Org. > > > Any clues? > > You could try to update Org. I have now upgraded Org, to 9.5, latest version. When I do C-e, m-M or m-m, I have the correct HTML output without name="" tag. And after more searching, I found that this line is working well now: emacs -l ~/.emacs.d/elpa/org-20170210/org-autoloads.el tmp/test.org --batch -f org-mode -f org-md-export-to-markdown So it is solved for me, and I understood how to use latest version. Thank you. Jean Louis