public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* how to define new math operators
@ 2015-02-13  9:51 a
       [not found] ` <20150213095133.GA9756-dCSEUW4fKOzX2ankykz9Ww@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: a @ 2015-02-13  9:51 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

What would be the best way to define new mathoperators in pandoc
for example

sech - hyperbolic secant

and so on in such a way that they show up as functions in latex-pdf
and docx?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to define new math operators
       [not found] ` <20150213095133.GA9756-dCSEUW4fKOzX2ankykz9Ww@public.gmane.org>
@ 2015-02-13 10:07   ` Matthew Pickering
       [not found]     ` <CALuQ0m9U1vjj0n-AN5F-a3o-1CnidX9HRFNAb8phXirBT0d0Vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Matthew Pickering @ 2015-02-13 10:07 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

What is your input format? Markdown?

On Fri, Feb 13, 2015 at 9:51 AM, a <schleija-vj2UJld5H2Nn68oJJulU0Q@public.gmane.org> wrote:
> What would be the best way to define new mathoperators in pandoc
> for example
>
> sech - hyperbolic secant
>
> and so on in such a way that they show up as functions in latex-pdf
> and docx?
>
> --
> 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/20150213095133.GA9756%40aschoff.itb.pri.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to define new math operators
       [not found]     ` <CALuQ0m9U1vjj0n-AN5F-a3o-1CnidX9HRFNAb8phXirBT0d0Vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-02-13 10:15       ` a
       [not found]         ` <20150213101506.GA10669-dCSEUW4fKOzX2ankykz9Ww@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: a @ 2015-02-13 10:15 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Yes, starting with markdown from which pdfs, docx and sometimes
epubs are created.


On Fri, Feb 13, 2015 at 10:07:30AM +0000, Matthew Pickering wrote:
> What is your input format? Markdown?
> 
> On Fri, Feb 13, 2015 at 9:51 AM, a <schleija-vj2UJld5H2Nn68oJJulU0Q@public.gmane.org> wrote:
> > What would be the best way to define new mathoperators in pandoc
> > for example
> >
> > sech - hyperbolic secant
> >
> > and so on in such a way that they show up as functions in latex-pdf
> > and docx?
> >
> > --
> > 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/20150213095133.GA9756%40aschoff.itb.pri.
> > For more options, visit 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/CALuQ0m9U1vjj0n-AN5F-a3o-1CnidX9HRFNAb8phXirBT0d0Vg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to define new math operators
       [not found]         ` <20150213101506.GA10669-dCSEUW4fKOzX2ankykz9Ww@public.gmane.org>
@ 2015-02-16  9:14           ` a
  0 siblings, 0 replies; 4+ messages in thread
From: a @ 2015-02-16  9:14 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


One possible solution would be to use something comparable to amstex's
DecalareMathOperator. But that is not available in pandoc. Or is there
a way to make it available. Intestingliy just wraping a \text or
\mathrm around the word "sech" has no affect in docx, the font is
still itallic. Any idea why that might be?


On Fri, Feb 13, 2015 at 11:15:12AM +0100, a wrote:
> Yes, starting with markdown from which pdfs, docx and sometimes
> epubs are created.
> 
> 
> On Fri, Feb 13, 2015 at 10:07:30AM +0000, Matthew Pickering wrote:
> > What is your input format? Markdown?
> > 
> > On Fri, Feb 13, 2015 at 9:51 AM, a <schleija-vj2UJld5H2Nn68oJJulU0Q@public.gmane.org> wrote:
> > > What would be the best way to define new mathoperators in pandoc
> > > for example
> > >
> > > sech - hyperbolic secant
> > >
> > > and so on in such a way that they show up as functions in latex-pdf
> > > and docx?
> > >
> > > --
> > > 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/20150213095133.GA9756%40aschoff.itb.pri.
> > > For more options, visit 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/CALuQ0m9U1vjj0n-AN5F-a3o-1CnidX9HRFNAb8phXirBT0d0Vg%40mail.gmail.com.
> > For more options, visit 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/20150213101506.GA10669%40aschoff.itb.pri.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-16  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-13  9:51 how to define new math operators a
     [not found] ` <20150213095133.GA9756-dCSEUW4fKOzX2ankykz9Ww@public.gmane.org>
2015-02-13 10:07   ` Matthew Pickering
     [not found]     ` <CALuQ0m9U1vjj0n-AN5F-a3o-1CnidX9HRFNAb8phXirBT0d0Vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-13 10:15       ` a
     [not found]         ` <20150213101506.GA10669-dCSEUW4fKOzX2ankykz9Ww@public.gmane.org>
2015-02-16  9:14           ` a

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).