From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32600 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ThomasH Newsgroups: gmane.text.pandoc Subject: auto_identifiers in asciidoc output Date: Sun, 14 May 2023 04:40:27 -0700 (PDT) Message-ID: <864059a2-0536-4fd5-9599-cb15e6947eafn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_26706_233220588.1684064427850" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19345"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCOJJAXZ7EPBBLERQORQMGQEKJTAGPY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun May 14 13:40:31 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f55.google.com ([209.85.160.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pyA5X-0004w5-80 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 14 May 2023 13:40:31 +0200 Original-Received: by mail-oa1-f55.google.com with SMTP id 586e51a60fabf-192486192fbsf7382081fac.1 for ; Sun, 14 May 2023 04:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1684064430; x=1686656430; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=tysWQlPE3uM0xmxr2L6OWF2a032C099mSieOipYkIpE=; b=SOKZEjHBA+ILk02uGO8yleBw4kGc4sGDwTOIsWWWKY/6YWAdrZfj+DiJl7vIxKN6EZ dCWxoHvl3hA4WduVnyu7B7nqcmWlRrE57uRsSz10JKKSoRQcjBOZdhXibLKMkEZ5okvz adw6fLw5s31fB+iz95AMV9OU4eYmaixsX6xOaVGEPWv74jScOaQHQask6jqD0R9z+5q7 6JJY16313hDiVj7XhQnFDjJhJmozEBTCcKBiMHOc6E05fmObXlRocQ0UriKTHoHyvVxN zWVK5tKG0XTXU+LaPVnSaYWnrD/jaHNiif/PELR9nc26f7ZQmEzjEZlHhuelsijWJGQC 56gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684064430; x=1686656430; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=tysWQlPE3uM0xmxr2L6OWF2a032C099mSieOipYkIpE=; b=luYz2mX3a7mxao5fY4E35kFAhTSzlnNlrTW87u+IlYsy9CiHlTcqEPe0TTUSgpEWHK w4GYzkD/c25nY5SGukkWWZ2IFGDRO3T/3u3Aphmg0uZ1kPqItGYEyokn7FBXdctnNnKk 5eYgPuWAXNmwJHErvZfmhY7HK1NDTBCMWZaFQoo+5T+TFCtu3j5EoxV1k4i9hmh8Jod6 neKMMFhlO1jZAuZH2XibguXPKRFoSVZDe8ZczYCva5SI0qKJr0ODs7F8TAGdT6Td3SKd gcqsSqPdH0YTmA1dNMRnZeRrVgHfTQgnqZOhCpX2RoQ/5EzD8tBQfGj8o2eoO/Q0nRpX +AsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684064430; x=1686656430; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=tysWQlPE3uM0xmxr2L6OWF2a032C099mSieOipYkIpE=; b=GOx3bkcpv4jMmSm9a2XasATKAzPkV3NqHZvicSBIC7HuEcZhJp206BpWkY3Knnp4S7 Z/VBlUv4MvvZ7MgpclY5Y9VgC8Uu5yi6l7lJM3lawI/HbsQ4wHvgroEfBRqzAL9lvJBk PJ8GvougSh0qfFOdiX10pACabAH5QP5RZ6TzFbUN45L2giZMm8n5r00QNauaXzJYgd+v rCHoBmTvQ+Ej1DPHIiHC4GS5ehKccEoBYfVPV1a/bw8T0am5AEnZiwR9UC5miqWBjcd2 03nkNFp2R9dtakBElFTW3XFmls7iTxH9iba9YqvsCWuEd07n9FKoQ6LfIM2Xs9bV7Ijd Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDzAwgOVPZvE/RUDcrWQ1VReiKF3Wp2+3H+c6TjNmHfU7Kb8G+HK NIZ1bbZCwzuYIGrDEjnGOGo= X-Google-Smtp-Source: ACHHUZ4D4WQ05wpnMXdsdgsXDzB4XkkkaQwLDAfLlaYXI/7jNbAuQwKANlfsd7O+U6lFAz/m78xlWA== X-Received: by 2002:a05:6870:471e:b0:196:74ca:42f5 with SMTP id b30-20020a056870471e00b0019674ca42f5mr3101891oaq.1.1684064430194; Sun, 14 May 2023 04:40:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:d990:b0:18f:9d2:8d6b with SMTP id gn16-20020a056870d99000b0018f09d28d6bls1799963oab.7.-pod-prod-gmail; Sun, 14 May 2023 04:40:28 -0700 (PDT) X-Received: by 2002:a05:6870:7d05:b0:192:ab56:ccc9 with SMTP id os5-20020a0568707d0500b00192ab56ccc9mr11284565oab.1.1684064428347; Sun, 14 May 2023 04:40:28 -0700 (PDT) X-Original-Sender: therch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32600 Archived-At: ------=_Part_26706_233220588.1684064427850 Content-Type: multipart/alternative; boundary="----=_Part_26707_887439979.1684064427850" ------=_Part_26707_887439979.1684064427850 Content-Type: text/plain; charset="UTF-8" I have a strange phenomenon: I'm translating from html to asciidoc, and would like to have auto_identifiers with headers in the output. The html reader seems to enable auto_identifiers by default, as I can see those when I choose native as the output format (and don't assume 'native' will add them by itself). In the asciidoc output though, the identifiers are only retained when I have an image as part of the header. I tried several alternative headers, and the identifiers only show in the output when the header contains an image. Luckily, I can force consistent auto identifiers for all headings when using `-t asciidoc-auto_identifiers` on the command line (but mind the `-auto_...` instead of `+auto_...` to enable it!). But without that, why would the asciidoc writer automatically output the auto identifiers only for headers with an image? Is there some kind of complexity metrics involved? Thanks, T. -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/864059a2-0536-4fd5-9599-cb15e6947eafn%40googlegroups.com. ------=_Part_26707_887439979.1684064427850 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a strange phenomenon:

I'm translatin= g from html to asciidoc, and would like to have auto_identifiers with heade= rs in the output.

The html reader seems to enable auto_identifiers by default, as I can see=20 those when I choose native as the output format (and don't assume=20 'native' will add them by itself).

In the=20 asciidoc output though, the identifiers are only retained when I have an image as part of the header. I tried several alternative headers, and=20 the identifiers only show in the output when the header contains an=20 image.

Luckily, I can force consistent auto=20 identifiers for all headings when using `-t asciidoc-auto_identifiers`=20 on the command line (but mind the `-auto_...` instead of `+auto_...` to=20 enable it!). But without that, why would the asciidoc writer=20 automatically output the auto identifiers only for headers with an=20 image? Is there some kind of complexity metrics involved?

<= /div>
Thanks, T.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/864059a2-0536-4fd5-9599-cb15e6947eafn%40googlegroups.= com.
------=_Part_26707_887439979.1684064427850-- ------=_Part_26706_233220588.1684064427850--