ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xan <dxpublica@telefonica.net>
To: luigi scarso <luigi.scarso@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Off-topic: Convert PDF to (Con/La)TeX
Date: Wed, 15 May 2013 18:14:34 +0200	[thread overview]
Message-ID: <5193B46A.4010400@telefonica.net> (raw)
In-Reply-To: <CAG5iGsBQu_8DLZ+wK--5M5ApePNoFXmuoA2b26fZTpo=6S9FQw@mail.gmail.com>


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

Al 13/05/13 09:55, En/na luigi scarso ha escrit:
>
>
>
> On Sun, May 12, 2013 at 4:32 PM, Xan <dxpublica@telefonica.net 
> <mailto:dxpublica@telefonica.net>> wrote:
>
>     Hi,
>
>     I just want to know if there is any tool to convert a pdf
>     (generated by latex or context) to latex source or context source
>     file. Does anyone have got an experience on that?
>
>     I'm thinking about two alternatives:
>     * libraries for reading like podofo and custom script for passing
>     pdf context (text) to context commands
>     * pass pdf to jpg, and apply
>     http://detexify.kirelabs.org/classify.html for passing to tex symbols.
>
>     For me it's vital to pass mathematical symbols like (\int) to tex
>     symbol and not like utf-8 symbols.
>
>     Thanks  a lot,
>     Xan.
>
>
> Have you seen the mudraw program of mupdf
> http://www.mupdf.com/
> ?
> It has a -t switch that outputs txt  and a -tt and -ttt switches that 
> output xml.
>
> -- 
> luigi
Thank you for answering and sorry for delay. I will check it, but I 
suspect that if I have

  $$\int_{i=1}^{\infty} x^2$$

in one latex document and it generates pdf, then mupdf -t of that 
document does not generate that formula, else "S i=1 x²".


Thanks,
Xan.

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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2013-05-15 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-12 14:32 Xan
2013-05-13  7:55 ` luigi scarso
2013-05-15 16:14   ` Xan [this message]
2013-05-15 16:18     ` luigi scarso

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=5193B46A.4010400@telefonica.net \
    --to=dxpublica@telefonica.net \
    --cc=luigi.scarso@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).