public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Problem When Transcribing Greek HTML Letters to LaTex
@ 2019-04-11 23:08 totyped-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <4160d0dd-940f-405e-9ecb-0f1eca421b14-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: totyped-Re5JQEeQqe8AvxtiuMwx3w @ 2019-04-11 23:08 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1216 bytes --]

I have also posted this issue on stackoverflow 
: https://stackoverflow.com/q/55642183/6114310

I have the following HTML string:
    s = "I have : <i><λv<sub>1</sub>,w> + <v<sub>2</sub>,w></i>"

Now, I would like to convert it to LaTex. To do so, I am using 
[pypandoc][1]. 

    import pypandoc
    text = pypandoc.convert_text(s,'latex', format = "html", extra_args = 
['--wrap=preserve'] )
    text

I get:
    I have : \emph{1,w\textgreater{} + 2,w\textgreater{}}\r\n

Which in human-readable LaTex become:

[image: Capture.JPG]


[![enter image description here][2]][2]

**Anyone knows how to fix it ?** 

-- 
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/4160d0dd-940f-405e-9ecb-0f1eca421b14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2069 bytes --]

[-- Attachment #2: Capture.JPG --]
[-- Type: image/jpeg, Size: 1715 bytes --]

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

end of thread, other threads:[~2019-04-12 20:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-11 23:08 Problem When Transcribing Greek HTML Letters to LaTex totyped-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <4160d0dd-940f-405e-9ecb-0f1eca421b14-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-12  0:04   ` John MacFarlane
     [not found]     ` <yh480k8swgxf5n.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-12  3:27       ` totyped-Re5JQEeQqe8AvxtiuMwx3w
     [not found]         ` <885bafeb-28cc-4f7f-ad1f-f7708ed8fb4d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-12  4:54           ` John MacFarlane
     [not found]             ` <m2y34fvn5t.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-12 13:56               ` totyped-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                 ` <7711d138-8d66-44bb-bc74-d3102bfe30d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-12 14:41                   ` John MacFarlane
     [not found]                     ` <m2sgunb81m.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-12 18:14                       ` totyped-Re5JQEeQqe8AvxtiuMwx3w
2019-04-12 20:38                   ` Kolen Cheung
2019-04-12 12:28           ` Joseph Reagle
2019-04-12 20:31   ` Kolen Cheung

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