You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Thomas Fischer (JIRA)" <ji...@apache.org> on 2010/05/16 13:18:44 UTC

[jira] Created: (PDFBOX-727) The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.

The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.
----------------------------------------------------------------------------------------------------------------

                 Key: PDFBOX-727
                 URL: https://issues.apache.org/jira/browse/PDFBOX-727
             Project: PDFBox
          Issue Type: Bug
          Components: Text extraction
    Affects Versions: 1.1.0
         Environment: Mac OS X 10.6.3, using org.apache.pdfbox.ExtractText -encoding UTF-8
            Reporter: Thomas Fischer


In otherwise (more or less) correctly recognised text there appear remnants of TeX commands, e.g.
parenleftbigparenleftbigparenleftbig
Aσ̇,τ − σ
parenrightbigparenrightbigparenrightbig
+
parenleftbigparenleftbigparenleftbig
ξ̇,η − ξ
parenrightbigparenrightbigparenrightbig
that are not visible in any PDF viewer nor present if text is copied from there (tested: Acrobat Reades 9.3.2 and Preview 5.0.2).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-727) The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.

Posted by "Thomas Fischer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fischer updated PDFBOX-727:
----------------------------------

    Attachment: 359.pdf
                359.txt

A PDF file showing this behaviour and the text extracted from there using PDFBox 1.1.0 with org.apache.pdfbox.ExtractText -encoding UTF-8.

> The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-727
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-727
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.1.0
>         Environment: Mac OS X 10.6.3, using org.apache.pdfbox.ExtractText -encoding UTF-8
>            Reporter: Thomas Fischer
>         Attachments: 359.pdf, 359.txt
>
>
> In otherwise (more or less) correctly recognised text there appear remnants of TeX commands, e.g.
> parenleftbigparenleftbigparenleftbig
> Aσ̇,τ − σ
> parenrightbigparenrightbigparenrightbig
> +
> parenleftbigparenleftbigparenleftbig
> ξ̇,η − ξ
> parenrightbigparenrightbigparenrightbig
> that are not visible in any PDF viewer nor present if text is copied from there (tested: Acrobat Reades 9.3.2 and Preview 5.0.2).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PDFBOX-727) The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868012#action_12868012 ] 

Andreas Lehmkühler commented on PDFBOX-727:
-------------------------------------------

Most of the wrong text is gone with solving PDFBOX-534. There are only "arrowrighttophalf" and "arrowhookleft" left for which I can't find any unicode mapping. I've attached the extracted text including the fix

> The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-727
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-727
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.1.0
>         Environment: Mac OS X 10.6.3, using org.apache.pdfbox.ExtractText -encoding UTF-8
>            Reporter: Thomas Fischer
>         Attachments: 359.pdf, 359.txt, 359_r944875.txt
>
>
> In otherwise (more or less) correctly recognised text there appear remnants of TeX commands, e.g.
> parenleftbigparenleftbigparenleftbig
> Aσ̇,τ − σ
> parenrightbigparenrightbigparenrightbig
> +
> parenleftbigparenleftbigparenleftbig
> ξ̇,η − ξ
> parenrightbigparenrightbigparenrightbig
> that are not visible in any PDF viewer nor present if text is copied from there (tested: Acrobat Reades 9.3.2 and Preview 5.0.2).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PDFBOX-727) The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-727:
--------------------------------------

    Attachment: 359_r944875.txt

> The extracted text of a PDF document created using TeX contains remnants of TeX commands like \parenleftbig etc.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-727
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-727
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.1.0
>         Environment: Mac OS X 10.6.3, using org.apache.pdfbox.ExtractText -encoding UTF-8
>            Reporter: Thomas Fischer
>         Attachments: 359.pdf, 359.txt, 359_r944875.txt
>
>
> In otherwise (more or less) correctly recognised text there appear remnants of TeX commands, e.g.
> parenleftbigparenleftbigparenleftbig
> Aσ̇,τ − σ
> parenrightbigparenrightbigparenrightbig
> +
> parenleftbigparenleftbigparenleftbig
> ξ̇,η − ξ
> parenrightbigparenrightbigparenrightbig
> that are not visible in any PDF viewer nor present if text is copied from there (tested: Acrobat Reades 9.3.2 and Preview 5.0.2).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.