Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-25 Thread David Wright
It was insurance, lest I needed to use comma delimiters. Also, other people may have different tools, by choice or availability. > I am sure there should be ready to use tools that extract tables from > PDF and from aligned text. Out of curiosity I tried to create a small > python script to

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-23 Thread Max Nikulin
s both pdftotext and xpdf rely on poppler to do the work. The poppler library is a fork of xpdf. It is used by evince, okular, and some other PDF viewers. Since that time xpdf upstream and poppler codebase have been diverged significantly. Upstream xpdf has got GUI based on QT. Debian has the

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-23 Thread Greg
On 2025-02-23, Max Nikulin wrote: > > I am sure there should be ready to use tools that extract tables from > PDF and from aligned text. Out of curiosity I tried to create a small > python script to process text you attached earlier. It does not try to For previously created p

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-23 Thread Max Nikulin
p;/' -e 's/^ \+//' -e 's/ \+/\t/g' /tmp/es-7.txt is not perfect, but should be acceptable. I am sure there should be ready to use tools that extract tables from PDF and from aligned text. Out of curiosity I tried to create a small python script to process text you at

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-22 Thread David Wright
On Fri 21 Feb 2025 at 17:13:17 (-0500), Cindy Sue Causey wrote: > On Fri, 2025-02-21 at 21:20 +, debian-u...@howorth.org.uk wrote: > > For me, FF opens a normal web page and tries to download a PDF file as > > well. Cheeky thing! For both the 2006 and 2021 pages. I can't be

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-22 Thread songbird
fxkl4...@protonmail.com wrote: > in discussions about pdf utilities i've don't recall atril being mentioned > it's become my goto viewer perhaps because it is normally a part of the MATE desktop? i've been using it for years and so far no major issues that i&#x

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-22 Thread Greg
On 2025-02-21, David Wright wrote: >> > >> > I get: >> > >> > Access Denied >> > You don't have permission to access >> > "http://www.fns.usda.gov/cnpp/thrifty-food-plan-2006"; on this server. >> > Reference #18.dd831002.1740148075.35e89c97 >> > >> > https://errors.edgesuite.net/18.dd831002.174

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread tomas
On Fri, Feb 21, 2025 at 03:59:55PM -0600, David Wright wrote: > On Fri 21 Feb 2025 at 21:20:45 (+), debian-u...@howorth.org.uk wrote: [...] > > > I get: > > > > > > Access Denied > > > You don't have permission to access > > > "http://www.fns.usda.gov/cnpp/thrifty-food-plan-2006"; on this se

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread fxkl47BF
in discussions about pdf utilities i've don't recall atril being mentioned it's become my goto viewer

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread Cindy Sue Causey
n this > > server. > > Reference #18.dd831002.1740148075.35e89c97 > > > > https://errors.edgesuite.net/18.dd831002.1740148075.35e89c97 > > Wacky! > > For me, FF opens a normal web page and tries to download a PDF file as > well. Cheeky thing! For both the 200

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread David Wright
06"; on this server. > > Reference #18.dd831002.1740148075.35e89c97 > > > > https://errors.edgesuite.net/18.dd831002.1740148075.35e89c97 Perhaps it depends on browser settings (and which browser), or perhaps on where you are (your timezone is unknown), or perhaps on yo

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread David Wright
regions. Sometimes it is convenient since this > strategy does not depend on order of objects inside PDF files. Yes, xpdf is my goto PDF viewer, and I should have mentioned that in the post. > Other PDF viewers allows to conveniently select contiguous spans of > text, e.g. end of so

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread debian-user
gt; You don't have permission to access > "http://www.fns.usda.gov/cnpp/thrifty-food-plan-2006"; on this server. > Reference #18.dd831002.1740148075.35e89c97 > > https://errors.edgesuite.net/18.dd831002.1740148075.35e89c97 Wacky! For me, FF opens a normal web page and tries

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-21 Thread Greg
On 2025-02-21, David Wright wrote: > >> > > [1] https://www.fns.usda.gov/cnpp/thrifty-food-plan-2006 >> > > Table ES-1. Thrifty Food Plan market baskets, quantities of food >> > >purchased for a week, by age-gender group, 2006 > > I don't read PDFs /in/ the browser: it downloads it i

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread Max Nikulin
PDF files. Other PDF viewers allows to conveniently select contiguous spans of text, e.g. end of some line and beginning of next one. Unfortunately enough PDF files have pieces of text put in almost random order. At least in Firefox selection may work in a quite peculiar way skipping some

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread David Wright
On Thu 20 Feb 2025 at 13:52:06 (-0600), Richard Owlett wrote: > On 2/20/25 11:20 AM, debian-u...@howorth.org.uk wrote: > > Richard Owlett wrote: > > > I wish to extract CSV formatted data from a PDF document. [1] > > > Page ES-7 has a weekly grocery list for males g

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread Richard Owlett
On 2/20/25 11:20 AM, debian-u...@howorth.org.uk wrote: Richard Owlett wrote: I wish to extract CSV formatted data from a PDF document. [1] Page ES-7 has a weekly grocery list for males grouped by age. I need only the first and last columns. Can someone point me in a suitable direction? TIA

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread Hans
Am Donnerstag, 20. Februar 2025, 15:08:27 CET schrieb Richard Owlett: > I wish to extract CSV formatted data from a PDF document. [1] > Page ES-7 has a weekly grocery list for males grouped by age. > I need only the first and last columns. > > Can someone point me in a sui

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread debian-user
Richard Owlett wrote: > I wish to extract CSV formatted data from a PDF document. [1] > Page ES-7 has a weekly grocery list for males grouped by age. > I need only the first and last columns. > > Can someone point me in a suitable direction? > > TIA > > [1] ht

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread John Hasler
Try pdftotext. -- John Hasler j...@sugarbit.com Elmwood, WI USA

Re: Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread mick.crane
On 2025-02-20 14:08, Richard Owlett wrote: I wish to extract CSV formatted data from a PDF document. [1] Page ES-7 has a weekly grocery list for males grouped by age. I need only the first and last columns. Can someone point me in a suitable direction? TIA [1] https://www.fns.usda.gov/cnpp

Alternative to Debian Repository - extract CSV formatted data from PDF

2025-02-20 Thread Richard Owlett
I wish to extract CSV formatted data from a PDF document. [1] Page ES-7 has a weekly grocery list for males grouped by age. I need only the first and last columns. Can someone point me in a suitable direction? TIA [1] https://www.fns.usda.gov/cnpp/thrifty-food-plan-2006 Table ES-1. Thrifty

Re: Converting UTF-8 email text to PDF

2025-02-14 Thread Linux-Fan
Loris Bennett writes: Hi, I am using Emacs' Gnus to display a buffer containing an email. I want to convert this email to a PDF file. [...] Does anyone have a better suggestion? If you can get your e-mail in .eml format, you could use a tool specifically targeted at converting e-

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Ralph Katz
On 2/13/25 03:32, Loris Bennett wrote: Hi, I am using Emacs' Gnus to display a buffer containing an email. I want to convert this email to a PDF file. If I save the mail to a file I get: $ file einladung.txt einladung.txt: news or mail, Unicode text, UTF-8 text Does anyone h

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Richmond
On 13/02/2025 10:32, Loris Bennett wrote: > Hi, > > I am using Emacs' Gnus to display a buffer containing an email. > I want to convert this email to a PDF file. > > You can print the file into a pdf from a web browser. Put file:/// into the location bar and navigate to t

Re: Converting UTF-8 email text to PDF (addendum)

2025-02-13 Thread Hans
I got this information from here: https://askubuntu.com/questions/27097/how-to-print-a-regular-file-to-pdf-from-command-line[1] where are shown other ways, too. Best Hans [1] https://askubuntu.com/questions/27097/how-to-print-a-regular-file-to-pdf-from-command-line

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Hans
Hi Loris, you wrote > $ file einladung.txt > einladung.txt: news or mail, Unicode text, UTF-8 text So you already have a simple textfile. Did you try the following? enscript einladung.txt -o - | ps2pdf - einladung.pdf Please note, "enscript" is a package which can easily be installed witrh ap

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Loris Bennett
Hans writes: > Easiest way for me: Just print into a file. The result is a pdf-file. How do you do that from Emacs? > However, do not know, if your printer driver can do this, but I suppose, most > printer drivers are able to it. > > Best > > Hans > > Am Donnerstag,

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Loris Bennett
> > Maybe you can find it in repos. 'paps' is indeed available for bookworm, which is what I have. However, I ended up installing the 'printing' package for Emacs, which allowed me to print from Emacs to a PostScript file, which I could then convert to PDF via 'ps2pdf'. But thanks for the suggestion anyway. -- This signature is currently under constuction.

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Rand Pritelrohm
On 2025-02-13 11:32:09, Loris Bennett wrote: > Hi, > [snip] > > Does anyone have a better suggestion? > [snip] Hello, I use with success 'paps' https://github.com/dov/paps Maybe you can find it in repos. Regards, Rand

Re: Converting UTF-8 email text to PDF

2025-02-13 Thread Hans
Easiest way for me: Just print into a file. The result is a pdf-file. However, do not know, if your printer driver can do this, but I suppose, most printer drivers are able to it. Best Hans Am Donnerstag, 13. Februar 2025, 11:32:09 CET schrieb Loris Bennett: > Hi, > > I am using Em

Converting UTF-8 email text to PDF

2025-02-13 Thread Loris Bennett
Hi, I am using Emacs' Gnus to display a buffer containing an email. I want to convert this email to a PDF file. If I save the mail to a file I get: $ file einladung.txt einladung.txt: news or mail, Unicode text, UTF-8 text I have tried the following approaches to converting to PD

Re: asciidoctor-pdf

2024-10-26 Thread Jeffrey Walton
On Sat, Oct 26, 2024 at 2:13 PM Tom Browder wrote: > > I am running Debian 11 and trying to run asciidoctor and > asciidoctor-pdf with no luck so far. > > I run it with this bash script: > > asciidoctor -r asciidoctor-pdf -b pdf \ > -a pdf-theme=binder \ > -a

Re: asciidoctor-pdf

2024-10-26 Thread Jeffrey Walton
On Sat, Oct 26, 2024 at 2:13 PM Tom Browder wrote: > > I am running Debian 11 and trying to run asciidoctor and > asciidoctor-pdf with no luck so far. > > I run it with this bash script: > > asciidoctor -r asciidoctor-pdf -b pdf \ > -a pdf-theme=binder \ > -a

Re: asciidoctor-pdf

2024-10-26 Thread Tom Browder
On Sat, Oct 26, 2024 at 11:05 wrote: > On Sat, Oct 26, 2024 at 10:06:10AM -0500, Tom Browder wrote: > > I am running Debian 11 and trying to run asciidoctor and > > asciidoctor-pdf with no luck so far. > > [...] > > > `block (2 levels) in parse!' > >

Re: asciidoctor-pdf

2024-10-26 Thread tomas
On Sat, Oct 26, 2024 at 10:06:10AM -0500, Tom Browder wrote: > I am running Debian 11 and trying to run asciidoctor and > asciidoctor-pdf with no luck so far. [...] > `block (2 levels) in parse!' > /usr/lib/ruby/vendor_ruby/asciidoctor/cli/options.rb:87:in `encode': > &

asciidoctor-pdf

2024-10-26 Thread Tom Browder
I am running Debian 11 and trying to run asciidoctor and asciidoctor-pdf with no luck so far. I run it with this bash script: asciidoctor -r asciidoctor-pdf -b pdf \ -a pdf-theme=binder \ -a pdf-themesdir=./data/themes \ -a document_name=”Raku Guide” \ -o rakuguide-binder.pdf rakuguide

Re: Needed tool for vision-impaired - was [Re: PDF Editor for Debian]

2024-08-08 Thread Richard Owlett
On 06/24/2024 12:29 PM, Nicolas George wrote: Karen Lewellen (12024-06-24): Good afternoon. I am providing another option that might help here. robobraille, www.robobraille.org Provides services, free of charge, that will convert pdf files to a number of different formats, including .html

TARDY response -- [Re: Needed tool for vision-impaired - was [Re: PDF Editor for Debian]]

2024-08-07 Thread Richard Owlett
On 06/24/2024 12:22 PM, Karen Lewellen wrote: Good afternoon. I am providing another option that might help here. robobraille, www.robobraille.org Provides services, free of charge, that will convert pdf files  to a number of different formats, including .html They provide audio, mobi, and

Re: PDF editor

2024-08-07 Thread coreyh
On 2024-08-07 09:27, Arbol One wrote: Anyone knows about a PDF editor for Debian? do you mean CLI or windows tool for PDF editor? -- corey hickman

Re: PDF editor

2024-08-06 Thread David Wright
On Tue 06 Aug 2024 at 21:27:00 (-0400), Arbol One wrote: > Anyone knows about a PDF editor for Debian? Perhaps you could summarise what you learnt, and what you feel you didn't learn, from the thread that you opened here six weeks ago. https://lists.debian.org/debian-user/2024/06/msg00

PDF editor

2024-08-06 Thread Arbol One
Anyone knows about a PDF editor for Debian? -- */ArbolOne.ca/* Using Fire Fox and Thunderbird. ArbolOne is composed of students and volunteers dedicated to providing free services to charitable organizations. ArbolOne on Java Development is in progress [ í ]

Re: [SOLVED] Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-10 Thread Max Nikulin
On 10/07/2024 15:37, Ceppo wrote: but I couldn't build a working gs command. [...] [1]: https://github.com/qpdf/qpdf/issues/85 There is a link to gs arguments

[SOLVED] Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-10 Thread Ceppo
On Mon, Jul 08, 2024 at 05:20:57PM GMT, Jeffrey Walton wrote: > The pdf-linter I use to verify a pdf document is qpdf, > <https://github.com/qpdf/qpdf>. It is available on most distributions, > including Debian, Fedora and Red Hat. > > The command to check the document is `

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Jeffrey Walton
nd > something more about ghostscript. Have a look at <https://stackoverflow.com/q/1659147>. It discusses some of the finer points of PDF/A conversion in the comments, like color spaces. Jeff

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Jeffrey Walton
On Wed, Jul 3, 2024 at 12:13 PM Ceppo wrote: > > I wrote a report with LaTeX, and afterwards discovered it must be > PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed > its > instructions, thus obtaining a file that should be PDF/A and pdfinfo &g

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Ceppo
is thread at StackExchange. I found that to be very > helpful. > https://tex.stackexchange.com/questions/130201/pdf-a-with-hyperref-on-tex-live-2013/136653#136653 > > Please let me know how it works out for you. Hello. Thanks for pointing to the thread, but the solution isn't suita

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Ceppo
On Wed, Jul 03, 2024 at 03:36:17PM GMT, to...@tuxteam.de wrote: > On Wed, Jul 03, 2024 at 01:06:56PM +, Ceppo wrote: > > I wrote a report with LaTeX, and afterwards discovered it must be > > PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed > &

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Ceppo
On Wed, Jul 03, 2024 at 06:38:51PM GMT, Richard wrote: > From LaTeX, this is quite simple, there's a package for that - as for pretty > much everything in the LaTeX world. Googling for just like 10 sec could have > given you this great guide: https://webpages.tuni.fi/latex/pdfa-guide.pdf I did my

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Ceppo
f ... Nix.ps ... Nix.pdf > chmod 755 script > All works since many many years absolutly perfect, nothing else ever was is > needed However, the resulting PDF is not recognized as PDF/A by veraPDF. Have you tested it with something else? -- Ceppo signature.asc Description: PGP signature

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-08 Thread Ceppo
On Wed, Jul 03, 2024 at 10:18:01AM GMT, Sarunas Burdulis wrote: > pdfinfo probably only reads metadata, but does not do any PDF/A compliance > validation. > > VeraPDF seems to work for validation (https://verapdf.org/software/). I don't know about pdfinfo, but it looks like

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-04 Thread Richard
en bother inspecting the result, this will be irrelevant. After all, the only reason PDF/A exists is for archiving reasons. It pretty much just throws out all the proprietary clutter from the PDF standard. The important thing is that fonts are embedded to always be able to display them correctly, and

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread jeremy ardley
On 4/7/24 11:10, Stefan Monnier wrote: This might qualify as a bug in your MUA (it can make sense to require a small font for some parts of the message, but it seems this style applies to the whole message, which makes no sense), tho maybe it's due to some particularity of your configuration, o

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Stefan Monnier
Hi Richard, I don't see any problem because I'm reading this mailing-list from a MUA that's mostly text-only and doesn't try to use variable-size fonts, but looking at the HTML you send I see: > style="font-family:arial,helvetica,sans-serif;font-size:small"> repeated several times. I have no i

small font (was: Re: Creating PDF/A from LaTeX source and from existing PDF)

2024-07-03 Thread Max Nikulin
I am in doubts what is more rude: On 04/07/2024 04:02, Richard wrote: Please stop using such a dinky font. There are plenty of old farts trying to read this list. - writing this before an attempt to hijack the thread using an already discussed question, Tell that to your mail progra

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Max Nikulin
separated by a single white-space character. The generation number [...] The stream keyword shall be followed either by a CARRIAGE RETURN I expect that pdftk and qpdf have their own serializers. I have no idea if they can transform a file to a PDF/A compliant document, but they might use

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Greg Marks
> Now, for just random PDFs, this is a bit more tricky, but you can do so > with ghostscript. Now, this sadly doesn't have such a great guide, but > something like this should do the trick, though that's only PDF/A-1 for all > I can tell. If your contractor needs a differen

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Richard
Well, guess what, I haven't done anything to change the way messages look. The only settings I ever change is how they are displayed to me. And never has anyone ever had an issue with that, in many years. Probably because other people are just not using unusable software. And quite frankly, punishi

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Greg Wooledge
On Wed, Jul 03, 2024 at 23:02:16 +0200, Richard wrote: > > > > Please stop using such a dinky font. There are plenty of old farts trying > > to read this list. > > Tell that to your mail program. If it chooses to show you the mail that > way, don't blame me. Everything needed to display it any way

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Richard
DL, if I'm not mistaken - to be able to handle Microsoft's rubbish XPS format and convert that to a proper PDF. So who knows? Instead of going on other people's nerves with an unsolvable issue, put those questions into the search machine of your choice. Maybe it will be more compe

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Van Snyder
On Wed, 2024-07-03 at 15:31 -0400, e...@gmx.us wrote: > On 7/3/24 15:20, Van Snyder wrote: > > On Wed, 2024-07-03 at 18:38 +0200, Richard wrote: > > > For anything further, you'll have to research yourself as > > > ghostscript > > > is very complex but used by many people. > > > > Please stop usin

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread eben
On 7/3/24 15:20, Van Snyder wrote: On Wed, 2024-07-03 at 18:38 +0200, Richard wrote: For anything further, you'll have to research yourself as ghostscript is very complex but used by many people. Please stop using such a dinky font. That's what ctrl-shift-+ is for.

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Van Snyder
On Wed, 2024-07-03 at 18:38 +0200, Richard wrote: > For anything further, you'll have to research yourself as ghostscript > is very complex but used by many people. Please stop using such a dinky font. There are plenty of old farts trying to read this list. Can ghostscript co

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Richard
u can do so with ghostscript. Now, this sadly doesn't have such a great guide, but something like this should do the trick, though that's only PDF/A-1 for all I can tell. If your contractor needs a different version, you'll have to adapt it: gs -dQUIET -dUseCIEColor -sProcessColorMo

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread tomas
On Wed, Jul 03, 2024 at 11:05:59AM -0400, Henning Follmann wrote: > On Wed, Jul 03, 2024 at 03:36:17PM +0200, to...@tuxteam.de wrote: [...] > > Uh-oh. We set the standards, but won't tell you what they are. > > But they did! They say PDF/A. But you have a point that this m

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Henning Follmann
On Wed, Jul 03, 2024 at 01:06:56PM +, Ceppo wrote: > I wrote a report with LaTeX, and afterwards discovered it must be > PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed > its > instructions, thus obtaining a file that should be PDF/A and pdfinfo

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Henning Follmann
On Wed, Jul 03, 2024 at 03:36:17PM +0200, to...@tuxteam.de wrote: > On Wed, Jul 03, 2024 at 01:06:56PM +, Ceppo wrote: > > I wrote a report with LaTeX, and afterwards discovered it must be > > PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed >

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Sarunas Burdulis
On 7/3/24 09:06, Ceppo wrote: I wrote a report with LaTeX, and afterwards discovered it must be PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed its instructions, thus obtaining a file that should be PDF/A and pdfinfo identifies as such, but my employer's u

Re: Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread tomas
On Wed, Jul 03, 2024 at 01:06:56PM +, Ceppo wrote: > I wrote a report with LaTeX, and afterwards discovered it must be > PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed > its > instructions, thus obtaining a file that should be PDF/A and pdfinfo

Creating PDF/A from LaTeX source and from existing PDF

2024-07-03 Thread Ceppo
I wrote a report with LaTeX, and afterwards discovered it must be PDF/A-compliant - which wasn't. I found the pdfx LaTeX package and followed its instructions, thus obtaining a file that should be PDF/A and pdfinfo identifies as such, but my employer's upload form thinks isn't. Is p

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-28 Thread Richard
If that isn't a start, I don't know what is. The JSON file can potentially give an idea about what the other files do. Am Fr., 28. Juni 2024 um 03:33 Uhr schrieb Van Snyder < van.sny...@sbcglobal.net>: > *.kfx, *.yjr and *.yjf are all "data". *.mf is "JSON". >

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-28 Thread Richard
own binary data > (unknown) [Low-confidence model best-guess: BMP image data (image), > score=89] > > So except for one file, it's still a mystery what e-mailing a PDF to a > Kindle reader with "convert" (without quotes) in the subject actually > produces. The Kindle

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Max Nikulin
On 28/06/2024 01:38, Van Snyder wrote: So, back to trying to find a competent PDF -to- ePub or PDF -to- mobi converter (I haven't yet tried texmate to create a mobi or ePub from the LaTeX). If you seek a solution that allows to get result in a single click then the following would not

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Van Snyder
On Thu, 2024-06-27 at 22:22 +0200, Richard wrote: > I didn't miss that. "file" will always tell you something, I doubt > there can be any situation where it will just give you an empty > output. You because it can get specific, it will tell you if > something is a text file or binary format it what

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Richard
I didn't miss that. "file" will always tell you something, I doubt there can be any situation where it will just give you an empty output. You because it can get specific, it will tell you if something is a text file or binary format it whatever. So what's the output? On Thu, Jun 27, 2024, 19:33

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Van Snyder
: Intel 80386 COFF (executable), score=76] Whence-Energy- 2_YI5JSRVWOVJ5MO6EWC57GJKTBZLXXI23.sdr/AssetDownloadMetadata.meta: JSON document (code) Whence-Energy-2_YI5JSRVWOVJ5MO6EWC57GJKTBZLXXI23.kfx: Unknown binary data (unknown) [Low-confidence model best-guess: BMP image data (image), score=89] So

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Curt
On 2024-06-27, Richard wrote: > > Have you completely lost it? You should leave this and any other mailing > lists before you are being sued and kicked out for what you write. And > trust me, this message of yours is more than enough reason for that. > I'm confident I'll be sued for your rudeness

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Richard
Have you completely lost it? You should leave this and any other mailing lists before you are being sued and kicked out for what you write. And trust me, this message of yours is more than enough reason for that. Am Do., 27. Juni 2024 um 15:56 Uhr schrieb Curt : > On 2024-06-26, Van Snyder wrote

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Curt
On 2024-06-26, Van Snyder wrote: > > I downloaded everything with the same base name as I sent -- a file and > a directory. LibreOffice can't read any of it. Calibre can't read any > of it, either in the download or in the mounted Kindle. "file" has no > idea what any of the files are. > This is

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread eben
On 6/27/24 04:02, Richard wrote: Am Do., 27. Juni 2024 um 06:33 Uhr schrieb Van Snyder < van.sny...@sbcglobal.net>: "file" has no idea what any of the files are. > Otherwise, what exactly does "file" or better "file -i" say? I think you missed that.

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-27 Thread Richard
You could try if Googles ML model "magika" can do a better job (available via pypi). Otherwise, what exactly does "file" or better "file -i" say? Worst case, you could open the files in a hex editor and google the first few bits. Chances are the format uses "magic bits", so the first few bits in he

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-26 Thread Van Snyder
it. > > > > All I know is if I send a pdf file to my Kindle with the word > "convert" > in the subject line (without the quotes), the file is converted to > the > Kindle format. I gleaned this *astuce* sometime, somewhere, that has > since been forgotten

Re: PDF Editor for Debian

2024-06-26 Thread Richard
qpdf is good for e.g. removing any password protection - given you know the password. But I kinda doubt that's what's meant with editor. And quite frankly, you can do most of what qpdf does more comfortably with tools like PDFSam or PDF Arranger. The latter even lets you crop pages or

Re: PDF Editor for Debian

2024-06-26 Thread Franco Martelli
On 24/06/24 at 00:50, Arbol One wrote: Hello. Is there a PDF editor that would work with Debian 12? Time ago I used Qpdf to delete some pages in a .pdf, for a quick description: ~$ apt show qpdf in the manual there are some command examples, I used these command to edit a pdf: - To

Re: PDF Editor for Debian

2024-06-25 Thread tomas
On Tue, Jun 25, 2024 at 08:01:26PM +0200, Detlef Vollmann wrote: > On Mon, 24 Jun 2024 04:26:47 -0400 > Timothy M Butterworth wrote: > > > I use Master PDF Editor. It works great. > > https://code-industry.net/free-pdf-editor/ > > It looks nice. > But being a close

Re: PDF Editor for Debian

2024-06-25 Thread Detlef Vollmann
On Mon, 24 Jun 2024 04:26:47 -0400 Timothy M Butterworth wrote: > I use Master PDF Editor. It works great. > https://code-industry.net/free-pdf-editor/ It looks nice. But being a closed source SW from Russia I'd be careful to run it outside of an isolated VM (which is actually tr

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-25 Thread Curt
On 2024-06-24, Van Snyder wrote: > > I composed a book in LaTeX because I wanted the equations to be set > correctly -- and because I've been using LaTeX for decades and am most > comfortable using it. > All I know is if I send a pdf file to my Kindle with the word "con

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Van Snyder
On Tue, 2024-06-25 at 08:59 +1000, David wrote: > On Mon, 2024-06-24 at 22:42 +, Russell L. Harris wrote: > > tex4ht may be of use to you.  I love the package. > That's what Texmaker employs to translate LaTeX to HTML. It couldn't find the tfm file for the fonts that Amazon recommended. pdflat

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread David
On Mon, 2024-06-24 at 22:42 +, Russell L. Harris wrote: > tex4ht may be of use to you.  I love the package. That's what Texmaker employs to translate LaTeX to HTML. Cheers!

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Russell L. Harris
tex4ht may be of use to you. I love the package. RLH

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Van Snyder
On Tue, 2024-06-25 at 04:55 +0800, Bret Busby wrote: > Why not simply publish it as a PDF file? It's available on Amazon in print-on-demand (paperback or hardback) which I did indeed publish as PDF. But Amazon doesn't let you upload a PDF to be published for Kindle readers. The

Re: ePub or mobi from LaTeX or PDF?

2024-06-24 Thread Van Snyder
On Mon, 2024-06-24 at 20:15 +, Michael Kjörling wrote: > On 24 Jun 2024 13:01 -0700, from van.sny...@sbcglobal.net (Van > Snyder): > > How do I create an ePub (or mobi) from LaTeX or PDF? > > Since epub is basically a zip archive of HTML, CSS and image files > plus a sma

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Richard
rough a boat load of programs just to get a png? If ePub/mobi don't support svg, just create the PDF from LaTeX and convert e.g. on GUI with Inkscape or on CLI with ImageMagick). But for a book, I kinda doubt any of these solutions would be feasible. The chance of lots of issues is just too big

Re: ePub or mobi from LaTeX or PDF?

2024-06-24 Thread David
On Mon, 2024-06-24 at 20:15 +, Michael Kjörling wrote: > On 24 Jun 2024 13:01 -0700, from [van.sny...@sbcglobal.net](mailto:van.sny...@sbcglobal.net) (Van Snyder): > > > How do I create an ePub (or mobi) from LaTeX or PDF? > > > Since epub is basically a zip archive o

Re: ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Bret Busby
On 25/6/24 04:01, Van Snyder wrote: I composed a book in LaTeX because I wanted the equations to be set correctly -- and because I've been using LaTeX for decades and am most comfortable using it. How do I create an ePub (or mobi) from LaTeX or PDF? I tried latex2ebook, which is bas

Re: ePub or mobi from LaTeX or PDF?

2024-06-24 Thread Michael Kjörling
On 24 Jun 2024 13:01 -0700, from van.sny...@sbcglobal.net (Van Snyder): > How do I create an ePub (or mobi) from LaTeX or PDF? Since epub is basically a zip archive of HTML, CSS and image files plus a small amount of metadata, I would start by looking for something to convert LaTeX to modern H

ePub or mobi from LaTeX or PDF? (was PDF editors)

2024-06-24 Thread Van Snyder
I composed a book in LaTeX because I wanted the equations to be set correctly -- and because I've been using LaTeX for decades and am most comfortable using it. How do I create an ePub (or mobi) from LaTeX or PDF? I tried latex2ebook, which is based on latex2html. It crashes a few pages i

Re: Needed tool for vision-impaired - was [Re: PDF Editor for Debian]

2024-06-24 Thread Richard
t for caching, vastly limiting zoom capabilities. So you'll have to dig into dconf to change that. What you are looking for is ways to reflow text, but as a fixed layout format, PDFs are just not meant for that. Not even the PDF/UA standard [1] does require this, it only lays the ground rules

Re: Needed tool for vision-impaired - was [Re: PDF Editor for Debian]

2024-06-24 Thread Nicolas George
Karen Lewellen (12024-06-24): > Good afternoon. > I am providing another option that might help here. > robobraille, > > www.robobraille.org > Provides services, free of charge, that will convert pdf files to a number > of different formats, including .html > They

Re: Needed tool for vision-impaired - was [Re: PDF Editor for Debian]

2024-06-24 Thread Karen Lewellen
Good afternoon. I am providing another option that might help here. robobraille, www.robobraille.org Provides services, free of charge, that will convert pdf files to a number of different formats, including .html They provide audio, mobi, and convert epub files too..but I digress. As a test

  1   2   3   4   5   6   7   8   9   10   >