From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Subject: Re: Feature request: "Figure #:" in labels of listings Date: Mon, 22 Aug 2016 09:33:42 -0400 Message-ID: References: <092e6a31-51b1-8bb8-d8bc-3e1da66764da@gmail.com> <87bn0uujfg.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t2LqdkgXMN6NQiU9ekkFXpmVoLdKHwdBm" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbpMZ-00044w-Rw for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 09:34:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbpMV-0008U1-M8 for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 09:34:02 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:54551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbpMV-0008TU-Cg for emacs-orgmode@gnu.org; Mon, 22 Aug 2016 09:33:59 -0400 Received: from [18.189.127.88] ([18.189.127.88]) by mrelayeu.kundenserver.de (mreue103) with ESMTPSA (Nemesis) id 0M7VWZ-1bGQIV3gU3-00xLjb for ; Mon, 22 Aug 2016 15:33:57 +0200 In-Reply-To: <87bn0uujfg.fsf@saiph.selenimh> 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --t2LqdkgXMN6NQiU9ekkFXpmVoLdKHwdBm Content-Type: multipart/mixed; boundary="OsEqncOm8N7DTwlgjxv1635X2r0gaOe4O" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-orgmode@gnu.org Message-ID: Subject: Re: Feature request: "Figure #:" in labels of listings References: <092e6a31-51b1-8bb8-d8bc-3e1da66764da@gmail.com> <87bn0uujfg.fsf@saiph.selenimh> In-Reply-To: <87bn0uujfg.fsf@saiph.selenimh> --OsEqncOm8N7DTwlgjxv1635X2r0gaOe4O Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-08-15 11:43, Nicolas Goaziou wrote: > Hello, > > [...] > > I agreed we can add it unconditionally, using (org-html--translate > "Listing %d:" info). Neat, thanks! > What class do you suggest for the listing number, " class=3D\"listing-number\">"?=20 Sounds good :)=20 > If so, should `org-html-style-default' be modified? Maybe? It currently doesn't mention the related "figure-number" class, so= it doesn't really need to mention "listing-number" class IMO; for backwa= rds compatibility, though, we could consider adding=20 .listing-number { display: none; } to it. I don't like this option too much, since it might create confusion= in the future (I'd wonder why such a default =E2=80=94 visible figure nu= mbers, but hidden listing numbers =E2=80=94 was chosen). It might be bett= er to add this snippet to the NEWS file if users want to revert to the ol= d behaviour.=20 Cheers, Cl=C3=A9ment. --OsEqncOm8N7DTwlgjxv1635X2r0gaOe4O-- --t2LqdkgXMN6NQiU9ekkFXpmVoLdKHwdBm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXuv9DAAoJEPqg+cTm90wjyMEP/0/Wq/oxCv3Xlb46OyIL31o9 dN/3rkan57LZQo20RBwhxzemtYrmdvCnwGvJ039l3fNNSNyJCjjNhe07v7RP/eSt yiNZgORnVrIGj+K5FnMU6EZ8mLoieKmOs04/ZFrd7Z2rtcKeAHfPtE6VCMmbxRI3 gqXS84CRC2G3q/MTOGtpi9lscCLVMsds0Dyc20aURaMTXQI4nTI7ru/WDgX7hhCY 4+LCWnokXfKGTrUMZ4HKWZdCDiPVOkGAJi5XMovf9FdcvGzAT1nKtGviLUhbKdmk lcdby3zV+PtQUosotCKaXfGr2a6rHaIX99raeZVwu730YwQWnVjEP5ln2XRN3ZEm Eqb1TWayNxsQoxODz8J7zV9C2XKaOGB1nwD3z62tafnZdyg0iOnFLTvepua/UEbi RjhConnWSnjvO5d/edDgw3THagoE/fNtrVYmPc7o2ivAeGO2o4iedmO5mKF0Glpu Y3p0StGZOr8iws/Aqic66uKhu4YHq2z/PsZ4+m0gHGNhswZHFqAYHAcDywkvNdHF jORkVLAocGyPtKyJldQW+npPhcfWIrxE500NSCuZWj+CXtGYXOJLkevlU6XeU3xK pE+HCTtqNm6kqA0Fvb9zlEBG1ero+91aOJoqjTeOPek0EwfXpzMgh8O/pe5Ace6s 9N5QVtb9G9Gg4gu5Td6H =9oJE -----END PGP SIGNATURE----- --t2LqdkgXMN6NQiU9ekkFXpmVoLdKHwdBm--