From: BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Glossary Filter for MD2Tex
Date: Tue, 18 Oct 2022 20:42:39 +0200 [thread overview]
Message-ID: <CADAJKhBVNnb9LTK5jvnDZbhqbP--BFzgc3fQgw2Lw4VBZ-fH7A@mail.gmail.com> (raw)
In-Reply-To: <3307993F-F813-405F-BFEC-F17FAF27BEA5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2212 bytes --]
Den tis 18 okt. 2022 17:36Bernardo C.D.A. Vasconcelos <
bernardovasconcelos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:
> > As for translating the filter note that Lua can't really handle UTF-8.
> > There is some rudimentary support for converting codepoint number ↔
> > UTF-8
> > byte sequences and for iterating through a string of bytes
> > representing
> > UTF-8 encoded characters but no concept of chars as opposed to bytes.
> > This
> > may become a show stopper if you need to manipulate strings containing
> > UTF-8 text.
>
>
> Thanks, @BPJ, for the explanation. Apparently, Lua 5.3 onwards includes
> UTF-8 support. Have you seen it? E.g.
>
> https://q-syshelp.qsc.com/Content/Control_Scripting/Lua_5.3_Reference_Manual/Standard_Libraries/4_-_Basic_UTF-8_Support.htm
Yes, that is what I meant. It's very very basic. Notably pattern matching
is still entirely byte oriented, except for the pattern `utf8.charpattern`
which will match the bytes of any UTF-8 character. Pandoc adds some UTF-8
oriented functions, notably case changing functions, in the `pandoc.text`
library, but that is all.
>
>
>
> > For Ancient Greek you want grc as the language tag.
> >
>
> Indeed it is (and that is generally what I use), but ἀγαθός is
> just Polytonic Greek, which is not the same as Ancient Greek.
>
> --
> 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/3307993F-F813-405F-BFEC-F17FAF27BEA5%40gmail.com
> .
>
--
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/CADAJKhBVNnb9LTK5jvnDZbhqbP--BFzgc3fQgw2Lw4VBZ-fH7A%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 3564 bytes --]
prev parent reply other threads:[~2022-10-18 18:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 18:25 Bernardo C. D. A. Vasconcelos
[not found] ` <88a14108-f2e4-40d0-a98e-5c6f84b8ff41n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-10-17 18:38 ` BPJ
[not found] ` <CADAJKhCVT-PNRsSgr5hU7Zzwaq3fN+CF3SGA5mTLrc2As+R6rw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-10-18 15:36 ` Bernardo C.D.A. Vasconcelos
[not found] ` <3307993F-F813-405F-BFEC-F17FAF27BEA5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-18 16:34 ` Bastien DUMONT
2022-10-18 17:16 ` Bernardo C.D.A. Vasconcelos
[not found] ` <7072522D-F2FE-4BAC-A575-93426852FCFB-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-18 17:34 ` Bastien DUMONT
2022-10-18 21:43 ` Bernardo C.D.A. Vasconcelos
[not found] ` <D4CB4B20-A1D5-49C8-BA96-2E37BA4FB779-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-18 22:06 ` Bastien DUMONT
2022-10-19 19:50 ` Bernardo C.D.A. Vasconcelos
[not found] ` <B93B3CA7-A461-4056-929D-592B578B184F-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-19 21:28 ` Bastien DUMONT
2022-10-19 22:43 ` Bernardo C.D.A. Vasconcelos
[not found] ` <272DFB73-CD83-4A77-B2C5-CCF1AF7B6BF6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2022-10-20 7:16 ` Bastien DUMONT
2022-10-18 18:42 ` BPJ [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADAJKhBVNnb9LTK5jvnDZbhqbP--BFzgc3fQgw2Lw4VBZ-fH7A@mail.gmail.com \
--to=melroch-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).