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, > . It is available on most distributions, > including Debian, Fedora and Red Hat. > > The command to check the document is `qpdf --check `. This com

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

2024-07-08 Thread Jeffrey Walton
On Mon, Jul 8, 2024 at 5:56 PM Ceppo wrote: > > 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: h

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 > identifies > as such, bu

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

2024-07-08 Thread Ceppo
On Wed, Jul 03, 2024 at 11:15:51AM GMT, Henning Follmann wrote: > On Wed, Jul 03, 2024 at 01:06:56PM +, Ceppo wrote: > > A requirement of any solution is that it doesn't rely on non-DFSG-compliant > > software, including online conversion tools. > > Please looks at this thread at StackExchange.

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 > > its instructions, thus o

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
On Wed, Jul 03, 2024 at 10:52:06PM GMT, y...@vienna.at wrote: > Well, that is my way: Thanks for providing your script. I tried it with one tweak: > latex .../Nix.tex  .../Nix.dvi > dvips -o Nix.ps Nix.pdf ^^^ I guess here you meant Nix.dvi... > ps2pdf ... Nix.ps ... Ni

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 veraPDF at least agrees

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

2024-07-04 Thread Richard
The first bit is just a warning, not an error. Of course, you could check what has changed in v9.11 that makes this not recommended anymore. Maybe they already handle it internally when you set -dPDFACompatibilityPolicy=1 and the old setting can interfere. But when the output of the validator doesn

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
On 04/07/2024 04:49, Greg Marks wrote: $gs -dQUIET -dUseCIEColor -sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -dPDFACompatibilityPolicy=1 -dCompressFonts=true -dSubsetFonts=true -sFONTPATH=/usr/share/fonts/ -o new.pdf old.pdf [...] The object number and generation number shall be sep

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 different version, you'll have to

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
> > 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 you want is there, it just needs to be used. Thunderbird can defin

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 convert a PDF generate

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

2024-07-03 Thread Richard
>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 Now, for just random PDFs, this is a bit more tricky, but you can do

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 maybe is > not enough. W

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 > identifies > as s

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 > > its > > instructions,

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 upload form th

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 > identifies > as s

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 pdfinfo reliable