* Org-mode: Quotation amrks not recognised as Quotes element; and wht can I do to increase org-mode support in pandoc
@ 2020-11-21 19:13 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <38143dd8-a1f2-4ff7-bf82-55c2896ecc4an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2020-11-21 19:13 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1318 bytes --]
I have noticed, that `org-mode` reader doesnt recognise double quotes. For
string: `"quotes"` produces native escaped string `Str "\"quotes\""`. Is
that intended feature? What can be done, or what can I do, to improve org
reader to recognise them?
Another thing that surprised me, explicitly mentioned in manual, that
`#+LANGUAGE` is not supported; `#+LANG` should be used. Can this be
improved too? Or, at least, can those options be used both together (that
would most probably take away the need to explicitly support `#+LANG`).
Motivation: I am writing most of my texts in different language than
english. I am relying on `lua-filters` to change quotation marks in text
per language setting, but since those are not recognised in org-mode, I
cant do that.
If this is not feature, but a bug, let me know and I repost that at
repo-issues (I guess this is more probably a bug).
Regards, Tomas
--
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/38143dd8-a1f2-4ff7-bf82-55c2896ecc4an%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 1675 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Org-mode: Quotation amrks not recognised as Quotes element; and wht can I do to increase org-mode support in pandoc
[not found] ` <38143dd8-a1f2-4ff7-bf82-55c2896ecc4an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-11-21 21:03 ` John MacFarlane
[not found] ` <m25z5yfmng.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2020-11-21 21:03 UTC (permalink / raw)
To: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, pandoc-discuss
You just need to enable the smart extension:
pandoc -f org+smart
"krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <krulis.tomas.tk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
> I have noticed, that `org-mode` reader doesnt recognise double quotes. For
> string: `"quotes"` produces native escaped string `Str "\"quotes\""`. Is
> that intended feature? What can be done, or what can I do, to improve org
> reader to recognise them?
> Another thing that surprised me, explicitly mentioned in manual, that
> `#+LANGUAGE` is not supported; `#+LANG` should be used. Can this be
> improved too? Or, at least, can those options be used both together (that
> would most probably take away the need to explicitly support `#+LANG`).
>
> Motivation: I am writing most of my texts in different language than
> english. I am relying on `lua-filters` to change quotation marks in text
> per language setting, but since those are not recognised in org-mode, I
> cant do that.
>
> If this is not feature, but a bug, let me know and I repost that at
> repo-issues (I guess this is more probably a bug).
>
> Regards, Tomas
>
> --
> 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/38143dd8-a1f2-4ff7-bf82-55c2896ecc4an%40googlegroups.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Org-mode: Quotation amrks not recognised as Quotes element; and wht can I do to increase org-mode support in pandoc
[not found] ` <m25z5yfmng.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2020-11-21 21:33 ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <5a9aee50-9534-483a-867e-f41383359252n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2020-11-21 21:33 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 2472 bytes --]
Thank you very much, I must have missed that in manual.
What is the situation in `org-mode` with options `#+LANGUAGE` and `#+LANG`?
Are there plans to improve on current state (`#+LANGUAGE` is not supported)
or is it not worth considering (if both `#+LANG` and `#+LANGUAGE` can be
set without any problems)?
Dne sobota 21. listopadu 2020 v 22:03:33 UTC+1 uživatel John MacFarlane
napsal:
>
> You just need to enable the smart extension:
>
> pandoc -f org+smart
>
> "krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>
> > I have noticed, that `org-mode` reader doesnt recognise double quotes.
> For
> > string: `"quotes"` produces native escaped string `Str "\"quotes\""`. Is
> > that intended feature? What can be done, or what can I do, to improve
> org
> > reader to recognise them?
> > Another thing that surprised me, explicitly mentioned in manual, that
> > `#+LANGUAGE` is not supported; `#+LANG` should be used. Can this be
> > improved too? Or, at least, can those options be used both together
> (that
> > would most probably take away the need to explicitly support `#+LANG`).
> >
> > Motivation: I am writing most of my texts in different language than
> > english. I am relying on `lua-filters` to change quotation marks in text
> > per language setting, but since those are not recognised in org-mode, I
> > cant do that.
> >
> > If this is not feature, but a bug, let me know and I repost that at
> > repo-issues (I guess this is more probably a bug).
> >
> > Regards, Tomas
> >
> > --
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/38143dd8-a1f2-4ff7-bf82-55c2896ecc4an%40googlegroups.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/5a9aee50-9534-483a-867e-f41383359252n%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3639 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Org-mode: Quotation amrks not recognised as Quotes element; and wht can I do to increase org-mode support in pandoc
[not found] ` <5a9aee50-9534-483a-867e-f41383359252n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-11-22 11:16 ` Albert Krewinkel
0 siblings, 0 replies; 4+ messages in thread
From: Albert Krewinkel @ 2020-11-22 11:16 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes:
> What is the situation in `org-mode` with options `#+LANGUAGE` and `#+LANG`?
> Are there plans to improve on current state (`#+LANGUAGE` is not supported)
> or is it not worth considering (if both `#+LANG` and `#+LANGUAGE` can be
> set without any problems)?
Pandoc should support `#+LANGUAGE`. It's currently unimplemented simply
because I didn't have time yet to look into the way Emacs handles the
parameter. Seems like it's a two or four letter language code, so it
should be straight forward to implement.
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-11-22 11:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 19:13 Org-mode: Quotation amrks not recognised as Quotes element; and wht can I do to increase org-mode support in pandoc krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <38143dd8-a1f2-4ff7-bf82-55c2896ecc4an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-21 21:03 ` John MacFarlane
[not found] ` <m25z5yfmng.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-21 21:33 ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
[not found] ` <5a9aee50-9534-483a-867e-f41383359252n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-22 11:16 ` Albert Krewinkel
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).