From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32216 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: RE: listAttributes not working Date: Tue, 21 Feb 2023 14:41:05 -0500 Message-ID: <001401d9462c$70b47400$521d5c00$@blinksoft.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0015_01D94602.87DFA480" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13366"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCM7D66H7ULRBVN42SPQMGQEK6RKOJI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 21 20:41:14 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ua1-f64.google.com ([209.85.222.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pUYVl-0003HY-4M for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 21 Feb 2023 20:41:13 +0100 Original-Received: by mail-ua1-f64.google.com with SMTP id c19-20020ab06ed3000000b0068b9f3e0a2dsf2931750uav.6 for ; Tue, 21 Feb 2023 11:41:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677008472; cv=pass; d=google.com; s=arc-20160816; b=K0fuzzfnn0NQsnuifiMG+sOiFjcIpIkwmb8CINPUMVq6NwhkVL+LsMd6lHM6Y16IxJ VBUqJv0ij9KBSdptkKVhHvg9Wc6NJk0QvSvLBhSs70NH/NN6NY/IPaOpithq+XKHCbFU d1jV6i7+Ml2W23h2LFexV9pNRAqd+Iklg2W7oyGMzf1+NOGSPhD1OmpGYeELj7zkSImN o7CldfNPBkHubvgpKqaCs75bqzSILrNn8CINMUIlA8NmSApRBI7nPI6ZH2vdH6e7dBMY HIZfsLPJY5lJehHz2bVmcFM3z6pkqSSgtX8lj7Yr2itcz9IV2+1W781gKA5jdBjotMRQ yXsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:content-language :thread-index:mime-version:message-id:date:subject:to:from:sender :dkim-signature; bh=4nhZ3FfmcdbSr184zppiwVTikIrLZf7weqUHNR9LVVY=; b=EO/pOxiR7WXFyZX4F7mOtHPgUBds1uF1um9wuX3nlJubCyUy/71ptbt8LlA7ijXjJx JYafYldzdGtDIDHDU/qClFHBNgFzcoTgGSMsI7FfQoyXelY8eY13U+mU2kCco2FB+179 SYnOJLuBm4QoX1KQwCcNcwBMALtbzVWfTcEet4/aqvbkFPT6DVAoE78RvrEbMeh3J1QG 3B9KFSwN0oYyMbfnmVrt+IPh+bEhynJbWI6g6iYpRekQ/jONtUJrgvd2EeiqUmCdboB1 g24kaHj9VZPx1arlnQwY7vA+ksE6VU8M2Vb+WINlxTs4qC2CP/F3zn8c8BTNWAO1KQU1 yFiA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@blinksoft-com.20210112.gappssmtp.com header.s=20210112 header.b=ESyGJ214; spf=neutral (google.com: 2607:f8b0:4864:20::82a is neither permitted nor denied by best guess record for domain of kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org) smtp.mailfrom=kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1677008472; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender :content-language:thread-index:mime-version:message-id:date:subject :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=4nhZ3FfmcdbSr184zppiwVTikIrLZf7weqUHNR9LVVY=; b=A4wCYZmmBpKgFbZJnmgItsoxpQxcZ9RG2yLmoNTW3hu9dn58JXe9sLYwWiXWe48m3y HM7OTotSi3bnEVFcbx/aNcrdAYqc2EF69ViPGWscoKELqvz5sOMFMdpUYH0gMxzzpnac b13irhVY+aJ7rPJGzTyavnC/yuZdf6VWLiYadK5Ilcu+PMeOPPdYTU5g2VQL6nJgfFKf 1rfDnwaY8hhgc52x/c+Iu9XW2BP5jMyHO/zlVWldeuoqd9f0MHlTOQFpjRq/8L22A92z o1sdIsE92kNEhksEfWzSKvwbTtej8oqhlOjCDlDEnFzqvAkd6BiM0ywoi2XZu6b9xl0s u/ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677008472; 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-authentication-results:x-original-sender :content-language:thread-index:mime-version:message-id:date:subject :to:from:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=4nhZ3FfmcdbSr184zppiwVTikIrLZf7weqUHNR9LVVY=; b=uGOoN/j2XUoOXpSyxAlf9h6DgEseEsKgcNIQBiK85LvG9wU9wHTyAG+nnTh0BWRH8o 4gNmoacCuS/Aq0XFaaiGdAAkFlQRPAPHjV1L2UhT1EVozFvuZFfRrTTa5q37PWufXPZI DentJWar89QqgAfagKRDfQwlgmivWX2LdJewdBmpA48JBZz5vRhg/liKj7JRfbZE8EsH tv0/a3eHbtp/B1FhYc0XsX9F7pHVDR+PocP76kJdPua1hr1SDSWk0br4WsWoBypWB6fe OUcnaZEDpXOSSSoNrLQhAeJr4 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKXeOoeECxJXiU0YGWeLPE6h0EiqKr+2LXl51HMx+GWJBSIalh9m d5Ext6ZvjJ63HqfeD6fo0i8= X-Google-Smtp-Source: AK7set9F75NReUMwXTZnAAde9c38dhR3hT+IsUv4d4CJu2Umn9e/+HkWz0MeFEfezez7eWS3jmS9+g== X-Received: by 2002:a67:2443:0:b0:3f1:5e87:e293 with SMTP id k64-20020a672443000000b003f15e87e293mr1843528vsk.79.1677008471963; Tue, 21 Feb 2023 11:41:11 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac5:cdbb:0:b0:401:b071:757 with SMTP id l27-20020ac5cdbb000000b00401b0710757ls1081469vka.8.-pod-prod-gmail; Tue, 21 Feb 2023 11:41:09 -0800 (PST) X-Received: by 2002:a1f:fc48:0:b0:3e1:ddd1:843b with SMTP id a69-20020a1ffc48000000b003e1ddd1843bmr4953326vki.15.1677008469385; Tue, 21 Feb 2023 11:41:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677008469; cv=none; d=google.com; s=arc-20160816; b=eF8JSDWcbCqDC+SRQA/bMA7MBBQowlOhrehvTrRLTI5eXbEnQbiZCQX6QeYtkdp3cR OpXUErLCvC7pgewT/HXW0kaeGPdEmq6jCizuOqQU5S3g6fQgdG5/aPwF+dOYAGv0YyxB 5ZHubHNTloeABN2fYOh+YxsQ6WyaJTXbfOSijtVRezWw4OZoOq8gW5eQ8uRj7a0NPudp oh/fQ494VEVFirXz/KvOQRxbhEvKgZN9Qcb3erMJycg0uidhPLpXyCgVsnGqxEcNzc9H ThFqWmrbutBIr3jVWN6i3bHYcQDVrfurjGxQBChdSwjvyfi9o3RPPCmYhdoc/fmmlID8 yehQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:thread-index:mime-version:message-id:date:subject :to:from:dkim-signature; bh=pydSNoVPQKEK3JObP1mLh9EbkYEkYfvuUG+ro0wtvZc=; b=G08yeIFobFuDq0aYEyvle7/STfZu+rSQ+aNGvOtrzl7ReaM6fmuxq8xJz59qDkW/C9 stKSN3VsYCxI4ysh2+3qVZcwraAuLeV1htIzdK2hiF28SCn14lJmpqPHI5R2IOz7IBdk 4pX+WlaQqf35np38fC/KkB1IVDWfd0xgK0f0Hd44l6PVWFS2yU6EKLfGeG2dC2vu22sR LQJsL3KYiEV7wvq9gVahj0K3NRgpn9lqxhSrNR5Y/lHZk1teNgUBLUvAkynzk2/QjJS0 BURGTXp3/00JweLvG049wLiGCVT38Ga1V34P16Vk/cfzEYgVYtEcT8nVoX9OPGLsUXuv Z+6g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@blinksoft-com.20210112.gappssmtp.com header.s=20210112 header.b=ESyGJ214; spf=neutral (google.com: 2607:f8b0:4864:20::82a is neither permitted nor denied by best guess record for domain of kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org) smtp.mailfrom=kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org Original-Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com. [2607:f8b0:4864:20::82a]) by gmr-mx.google.com with ESMTPS id e10-20020a056122040a00b0040173c302ecsi432593vkd.3.2023.02.21.11.41.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Feb 2023 11:41:09 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:4864:20::82a is neither permitted nor denied by best guess record for domain of kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org) client-ip=2607:f8b0:4864:20::82a; Original-Received: by mail-qt1-x82a.google.com with SMTP id ay9so5368269qtb.9 for ; Tue, 21 Feb 2023 11:41:09 -0800 (PST) X-Received: by 2002:ac8:5b89:0:b0:3b8:938e:73b3 with SMTP id a9-20020ac85b89000000b003b8938e73b3mr10039350qta.45.1677008468322; Tue, 21 Feb 2023 11:41:08 -0800 (PST) Original-Received: from Darkstar (cpe-98-157-222-174.ma.res.rr.com. [98.157.222.174]) by smtp.gmail.com with ESMTPSA id 15-20020ac856ef000000b003bb764fe4ffsm1610876qtu.3.2023.02.21.11.41.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Feb 2023 11:41:07 -0800 (PST) X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdlGK+Vy+dmfmn4KRWeipThFYf8hDg== Content-Language: en-us X-Original-Sender: kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@blinksoft-com.20210112.gappssmtp.com header.s=20210112 header.b=ESyGJ214; spf=neutral (google.com: 2607:f8b0:4864:20::82a is neither permitted nor denied by best guess record for domain of kperry-rhKcP+tiLR7by3iVrkZq2A@public.gmane.org) smtp.mailfrom=kperry-rhKcP+tiLR7by3iVrkZq2A@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:32216 Archived-At: This is a multipart message in MIME format. ------=_NextPart_000_0015_01D94602.87DFA480 Content-Type: text/plain; charset="UTF-8" Ok I figured it out. I can't find this anywhere and the sample.lua doesn't show it. I first tried changing the orderedList function to: Function orderedList(items,listAttributes) I did that as a guess. Then it errored and told me listAttributes was a number. When I tried to log it as an attribute list. . I then guess that the number would be the start. So I changed the function to: Function orderedList (items,start,style) Then I was able to use the start and style. So if anyone else is trying to figure this out and finding the documents very lacking The above function definition correctly gets the items, start value, and style. Maybe the sample.lua should be changed. Ken -- 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/001401d9462c%2470b47400%24521d5c00%24%40blinksoft.com. ------=_NextPart_000_0015_01D94602.87DFA480 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

 

Ok I figur= ed it out.  I can’t find this anywhere and the sample.lua doesn&= #8217;t show it.  I first tried changing the orderedList function to:<= o:p>

 

Function orderedList(items,listAttributes)

 

I did that as a guess. = Then it errored and told me listAttributes was a number. When I tried to l= og it as an attribute list. .  I then guess that the number would be t= he start.  So I changed the function to:

Function orderedList (items,start,style)

 

Then I was able to use the= start and style. 

 

So if anyone else is trying to figure this out a= nd finding the documents very lacking The above function definition correct= ly gets the items, start value, and style.  Maybe the sample.lua shoul= d be changed.

 

Ken

 

 

--
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/ms= gid/pandoc-discuss/001401d9462c%2470b47400%24521d5c00%24%40blinksoft.com.
------=_NextPart_000_0015_01D94602.87DFA480--