* List items with custom markers in LaTeX
@ 2017-08-24 18:06 David Sanson
[not found] ` <00380dc8-ab11-44b7-bb1f-c9d37c182629-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: David Sanson @ 2017-08-24 18:06 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1219 bytes --]
Does anyone have a filter or some other trick for producing lists with
custom markers? For example, I'd like to transform something like this:
P1. All men are mortal.
P2. Socrates is a man.
C. Socrates is mortal.
into an itemized list like this:
\begin{itemize}
\item[P1]
All men are mortal.
\item[P2]
Socrates is a man.
\item[C]
Scorates is mortal.
\end{itemize}
The best solution I've come up with is to format the list as a definition
list, convert it to LaTeX, and replace the definition environment with the
itemize environment. I suppose I could instead redefine the definition list
environment, but that seems a bit heavy-handed.
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/00380dc8-ab11-44b7-bb1f-c9d37c182629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1823 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: List items with custom markers in LaTeX
[not found] ` <00380dc8-ab11-44b7-bb1f-c9d37c182629-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-08-24 18:26 ` John MACFARLANE
[not found] ` <20170824182601.GB74011-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: John MACFARLANE @ 2017-08-24 18:26 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
I'd use a definition list, myself.
I wonder if it would make sense to generalize example lists
so that you could specify the marker instead of letting
it be determined automatically?
Then you could do
(@=P1). All men are mortal.
(@=P2). Socrates is a man.
(@=C). Socrates is mortal.
And then refer back later to premise (@P2).
+++ David Sanson [Aug 24 17 11:06 ]:
> Does anyone have a filter or some other trick for producing lists with
> custom markers? For example, I'd like to transform something like this:
> P1. All men are mortal.
> P2. Socrates is a man.
> C. Socrates is mortal.
> into an itemized list like this:
> \begin{itemize}
> \item[P1]
> All men are mortal.
> \item[P2]
> Socrates is a man.
> \item[C]
> Scorates is mortal.
> \end{itemize}
> The best solution I've come up with is to format the list as a
> definition list, convert it to LaTeX, and replace the definition
> environment with the itemize environment. I suppose I could instead
> redefine the definition list environment, but that seems a bit
> heavy-handed.
>
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/pandoc-discuss/00380dc8-ab11-44b7-
> bb1f-c9d37c182629%40googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 3. https://groups.google.com/d/msgid/pandoc-discuss/00380dc8-ab11-44b7-bb1f-c9d37c182629-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: List items with custom markers in LaTeX
[not found] ` <20170824182601.GB74011-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
@ 2017-08-29 15:40 ` David Sanson
[not found] ` <c89be225-fd55-410f-abd3-7c5f2108d061-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: David Sanson @ 2017-08-29 15:40 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 1078 bytes --]
I would use such a feature a fair bit. So it has my vote!
On Thursday, August 24, 2017 at 1:26:11 PM UTC-5, John MacFarlane wrote:
>
> I'd use a definition list, myself.
>
> I wonder if it would make sense to generalize example lists
> so that you could specify the marker instead of letting
> it be determined automatically?
>
> Then you could do
>
> (@=P1). All men are mortal.
> (@=P2). Socrates is a man.
> (@=C). Socrates is mortal.
>
> And then refer back later to premise (@P2).
>
>
>
>
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c89be225-fd55-410f-abd3-7c5f2108d061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1678 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: List items with custom markers in LaTeX
[not found] ` <c89be225-fd55-410f-abd3-7c5f2108d061-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-08-29 16:14 ` John MacFarlane
[not found] ` <20170829161423.GA63436-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2017-08-29 16:14 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Maybe someone should put an enhancement request on the
github tracker. We could consider alternative syntaxes,
too, like
(@ P1)
(@:P1)
(@[P1])
+++ David Sanson [Aug 29 17 08:40 ]:
> I would use such a feature a fair bit. So it has my vote!
> On Thursday, August 24, 2017 at 1:26:11 PM UTC-5, John MacFarlane
> wrote:
>
> I'd use a definition list, myself.
> I wonder if it would make sense to generalize example lists
> so that you could specify the marker instead of letting
> it be determined automatically?
> Then you could do
> (@=P1). All men are mortal.
> (@=P2). Socrates is a man.
> (@=C). Socrates is mortal.
> And then refer back later to premise (@P2).
>
> --
> 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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To post to this group, send email to
> [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/pandoc-discuss/c89be225-fd55-410f-
> abd3-7c5f2108d061%40googlegroups.com.
> For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
> 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 2. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> 3. https://groups.google.com/d/msgid/pandoc-discuss/c89be225-fd55-410f-abd3-7c5f2108d061-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> 4. https://groups.google.com/d/optout
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: List items with custom markers in LaTeX
[not found] ` <20170829161423.GA63436-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
@ 2017-09-10 21:41 ` David Sanson
0 siblings, 0 replies; 5+ messages in thread
From: David Sanson @ 2017-09-10 21:41 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 2593 bytes --]
Feature request posted: https://github.com/jgm/pandoc/issues/3912
On Tuesday, August 29, 2017 at 11:14:32 AM UTC-5, John MacFarlane wrote:
>
> Maybe someone should put an enhancement request on the
> github tracker. We could consider alternative syntaxes,
> too, like
>
> (@ P1)
> (@:P1)
> (@[P1])
>
>
> +++ David Sanson [Aug 29 17 08:40 ]:
> > I would use such a feature a fair bit. So it has my vote!
> > On Thursday, August 24, 2017 at 1:26:11 PM UTC-5, John MacFarlane
> > wrote:
> >
> > I'd use a definition list, myself.
> > I wonder if it would make sense to generalize example lists
> > so that you could specify the marker instead of letting
> > it be determined automatically?
> > Then you could do
> > (@=P1). All men are mortal.
> > (@=P2). Socrates is a man.
> > (@=C). Socrates is mortal.
> > And then refer back later to premise (@P2).
> >
> > --
> > 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 [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To post to this group, send email to
> > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>.
> > To view this discussion on the web visit
> > [3]
> https://groups.google.com/d/msgid/pandoc-discuss/c89be225-fd55-410f-
> > abd3-7c5f2108d061%40googlegroups.com.
> > For more options, visit [4]https://groups.google.com/d/optout.
> >
> >References
> >
> > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <javascript:>
> > 3.
> https://groups.google.com/d/msgid/pandoc-discuss/c89be225-fd55-410f-abd3-7c5f2108d061-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
> > 4. https://groups.google.com/d/optout
>
>
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/8a49a489-1389-4dc4-8ae7-7dd70b450e31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 5997 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-09-10 21:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-24 18:06 List items with custom markers in LaTeX David Sanson
[not found] ` <00380dc8-ab11-44b7-bb1f-c9d37c182629-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-24 18:26 ` John MACFARLANE
[not found] ` <20170824182601.GB74011-nFAEphtLEs/fysO+viCLMa55KtNWUUjk@public.gmane.org>
2017-08-29 15:40 ` David Sanson
[not found] ` <c89be225-fd55-410f-abd3-7c5f2108d061-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-29 16:14 ` John MacFarlane
[not found] ` <20170829161423.GA63436-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2017-09-10 21:41 ` David Sanson
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).