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

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 > > gi

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 pdfinf

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

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 > > i

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

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

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

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

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,

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

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

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

2024-07-03 Thread Max Nikulin
proper separators. Perhaps LaTeX documents require some tuning (metadata blocks, etc.). If you use pdflatex then I would try lualatex.

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

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,

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

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

2024-07-03 Thread Richard
dinky font. There are plenty of old farts trying > to read this list. > > > Can ghostscript convert a PDF generated by pdflatex to ePub or mobi? > > Calibre made a mess, especially of tables. E-mailing it to my Kindle > account with "convert" in the subject line made

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

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
a PDF generated by pdflatex to ePub or mobi? Calibre made a mess, especially of tables. E-mailing it to my Kindle account with "convert" in the subject line made a mess. Tools to convert LaTeX to html in the hope of ultimately getting to ePub or mobi utterly failed, so I don't know whether they

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

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.

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

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

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
Actually, magika does tell you quite well what you need to know. .yjf could be something comparable to a JPEG, .kfx seems to be very similar to a BMP image. .meta seems to be just a JSON text file. .mf could be too, but at least it will be a text file. The rest is unknown binary data you'll

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 help

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

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
ks the .kfx file is a mobipocket, but can't open it. It doesn't know what the .yjf or .yjr files are. 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).

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

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

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

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

2024-06-26 Thread Van Snyder
On Tue, 2024-06-25 at 13:26 +, Curt wrote: > 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.

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 "convert&

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

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. They accept only

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
First weapon of choice when trying to convert document formats would be pandoc. Have a look at it, it can handle quite a lot of formats. Other than that, there are guides like this [1], but it looks to me that you should just stick to LaTeX, as it's the best solution for typesetting, especially

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 based

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 in. I

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-20 Thread Thomas Schmitt
Hi, Max Nikulin wrote: > I admit "dithering" may be incorrect term, [...] > Consider 2 squares having size of 2.5×2.5 pixels. Non-even sizes and fuzzy > lines variants: > █████ > ██████ > ████ ██ >██ ██ >█████ > Second variant might have sense if an

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-20 Thread Max Nikulin
On 20/03/2024 01:51, Thomas Schmitt wrote: Max Nikulin wrote: When vector graphics, that does not match device resolution, is rasterized, the result is either non-even sizes of similar elements or fuzzy lines due to dithering. Nitpicking: "Dithering" in raster graphics is emulation of color

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-19 Thread Thomas Schmitt
Hi, Max Nikulin wrote: > When vector graphics, that does not match device resolution, is rasterized, > the result is either non-even sizes of similar elements or fuzzy lines due > to dithering. Nitpicking: "Dithering" in raster graphics is emulation of color resolution at the expense of space

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-19 Thread Max Nikulin
would let me choose how many dots per module the printer puts onto the label. When a code is generated you can look at it and count its modules. The next step is simple math. You have resolution, dots per module and number of modules, so you can get size and rerun LaTeX. When I zoom in o

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-14 Thread jeremy ardley
On 14/3/24 17:47, jeremy ardley wrote: For reference on a 203 DPI (8 dots per mm) printer, a GS1-128 barcode takes up 12 modules per character. The minimum size of a module is 1 pixel so 1 character is 12 pixels wide or 1.2mm on a 203 dpi printer. Assuming a 40 character barcode at 1 pixel

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-14 Thread jeremy ardley
to pixel registration, the latex CUPS route is very unlikely to work well. It's working great here since years. Barcodes are no problem, only qr codes can't be scanned. This surprises me greatly. 2D codes have very large features compared to barcodes. They should be relatively immune to pixel

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-13 Thread hw
ow you to print a list from a > spreadsheet or text file. That isn't very useful. > > > It is possible to use document generation tools like latex and printing > > > systems like CUPS to print a label, but pixel registration will be poor. > > Why? The manufacturer pro

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-13 Thread Max Nikulin
On 13/03/2024 02:50, jeremy ardley wrote: Getting back to pixel registration, the latex CUPS route is very unlikely to work well. TeX with MetaFont fonts worked well with low resolution dot matrix printers. Rasterized fonts may be generated for specified resolution. It should be still

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-13 Thread Florent Rougon
mely* low. Typical printer dots are so small that you can't realistically expect paper placement to have good enough precision to align both grids (say, 1/4 of the printer dot size). This is, I believe, what Jeremy meant when he wrote earlier in this thread: > Getting back to pixel registratio

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-13 Thread Florent Rougon
hw wrote: >> That is quite likely: the pst- prefix means this is PSTricks, which is >> an oldish way of doing vector graphics with LaTeX. I tend to avoid >> PSTricks these days as it is generally awkward to use in PDF contexts, >> although there are various workarounds t

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-12 Thread hw
On Mon, 2024-03-11 at 23:45 +0700, Max Nikulin wrote: > On 11/03/2024 08:06, hw wrote: > > On Sun, 2024-03-10 at 09:50 +0700, Max Nikulin wrote: > > > On 10/03/2024 04:41, hw wrote: > > > > \psbarcode{textblah foo}{height=0.6 width=0.6 eclevel=L}{qrcode} > > > > > > > > That works for 600dpi

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-12 Thread hw
e package uses vector graphics? > > That is quite likely: the pst- prefix means this is PSTricks, which is > an oldish way of doing vector graphics with LaTeX. I tend to avoid > PSTricks these days as it is generally awkward to use in PDF contexts, > although there are various workarounds that

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-12 Thread jeremy ardley
generation tools like latex and printing systems like CUPS to print a label, but pixel registration will be poor. Why? The manufacturer provided a CPUS printer driver without which printing wouldn't be possible at all. Most custom barcodes programs run on windows and don't use CUPS. Manufacturers can

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-12 Thread hw
ode on any thermal printer, the printer > manufacturer will supply an application that generate the codes and > prints them independently of the host printing system. These codes will > scan perfectly. Even if they did that, it would be totally useless because it won't be able to

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-11 Thread Max Nikulin
On 11/03/2024 08:06, hw wrote: On Sun, 2024-03-10 at 09:50 +0700, Max Nikulin wrote: On 10/03/2024 04:41, hw wrote: \psbarcode{textblah foo}{height=0.6 width=0.6 eclevel=L}{qrcode} That works for 600dpi laser printers. When you print the QR-code with a 300dpi label printer you can't reliably

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-11 Thread Florent Rougon
sh way of doing vector graphics with LaTeX. I tend to avoid PSTricks these days as it is generally awkward to use in PDF contexts, although there are various workarounds that often allow to do so. The ubiquitous, powerful and modern way to do vector graphics in LaTeX is PGF/TiKZ[1], h

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-10 Thread jeremy ardley
. It is possible to use document generation tools like latex and printing systems like CUPS to print a label, but pixel registration will be poor. The only practical option for this route is to print the code BIG

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-10 Thread hw
On Sun, 2024-03-10 at 09:50 +0700, Max Nikulin wrote: > On 10/03/2024 04:41, hw wrote: > > \psbarcode{textblah foo}{height=0.6 width=0.6 eclevel=L}{qrcode} > > > > That works for 600dpi laser printers. When you print the QR-code with > > a 300dpi label printer you can't reliably scan it, not

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-10 Thread hw
On Sun, 2024-03-10 at 07:56 +0800, jeremy ardley wrote: > On 10/3/24 05:41, hw wrote: > > The QR-codes are sharp and easily scanable when printed in 600dpi. > > With the label printer you can't really tell if they're sharp or not. > > As  mentioned in my previous post, thermal label printers are

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-10 Thread hw
On Sun, 2024-03-10 at 10:21 +0700, Max Nikulin wrote: > On 10/03/2024 03:48, jeremy ardley wrote: > > > > Standard thermal label printers are 203DPI (8 dots per mm). > > Thanks, this number suits better to my expectation. I just trusted hw > earlier. I should clarify: The printer the OP

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-10 Thread jeremy ardley
On 10/3/24 15:39, Max Nikulin wrote: From your earlier message I count approximately 1000px for 5in (125 mm) barcode. If it is 1:1 to ~200dpi then it is incompatible with 300dpi printers, so it may be a reason why your proposal to the post office was rejected. If it is 500 black or white

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 10/03/2024 10:51, jeremy ardley wrote: I have far less problems with the QR code (in my case data_matrix code) than with the barcode. The pixel elements of the QR code are much larger than the lines in a barcode so there is much less chance for pixel ambiguity. From your earlier message

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread jeremy ardley
On 10/3/24 11:21, Max Nikulin wrote: Is the QR image a raster one? I am unsure concerning its printer dots per QR pixel ratio. Let's take e.g. 4 as a value inconvenient for direct scaling from 300dpi to 203dpi. I expect that upscaling it by 3 and downscaling the result by 4 with disabled

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 10/03/2024 03:48, jeremy ardley wrote: Standard thermal label printers are 203DPI (8 dots per mm). Thanks, this number suits better to my expectation. I just trusted hw earlier. I have asked the postal service to generate labels at 203dpi which will print just fine at 600 dpi and so

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
On 10/03/2024 04:41, hw wrote: \psbarcode{textblah foo}{height=0.6 width=0.6 eclevel=L}{qrcode} That works for 600dpi laser printers. When you print the QR-code with a 300dpi label printer you can't reliably scan it, not even when you make the QR-code 1x1" in size. Perhaps that's not a

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread jeremy ardley
On 10/3/24 05:41, hw wrote: The QR-codes are sharp and easily scanable when printed in 600dpi. With the label printer you can't really tell if they're sharp or not. As  mentioned in my previous post, thermal label printers are 203dpi, *not the 300 that the OP quoted.* you can read the OP

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread hw
ter with resolution at > least 600 dpi. Each QR code pixel has still 4x4 printer dots in the > case of 300dpi, so when image is properly aligned, printer quality > is not an issue. Yes, the QR-codes printed on a 600dpi laser printer are fine. > > There is no source image other than whateve

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread jeremy ardley
On 10/3/24 00:20, Max Nikulin wrote: Looking at a QR code likely having ~75 pixels per inch I find it unreasonably small for delivery labels. I am in doubts if its redundancy is high enough to reliably recognize it if it would be scratched during delivery. Another limitation may be

Re: printing QR-codes on labels with 300dpi label printers with LaTeX

2024-03-09 Thread Max Nikulin
ligned, printer quality is not an issue. There is no source image other than whatever LaTeX creates. I can specify the size of the QR-code. Other than that, how do you apply scaling? I am unsure what particular QR code generator do you use and what is the format of QR codes. Is it raster or

printing QR-codes on labels with 300dpi label printers with LaTeX (was: libbusiness-us-usps-webtools-perl and USPS Ground Advantage shipping)

2024-03-09 Thread hw
labels are probably big enough ...) There is no source image other than whatever LaTeX creates. I can specify the size of the QR-code. Other than that, how do you apply scaling? signature.asc Description: This is a digitally signed message part

Re: LaTex Unicode entry issues

2023-08-27 Thread Max Nikulin
On 27/08/2023 10:23, David wrote: On Sun, 2023-08-27 at 10:16 +0700, Max Nikulin wrote: On 26/08/2023 19:08, Haines Brown wrote: \documentclass[12pt]{article} % \usepackage[utf8]{inputenc} % \usepackage[T1]{fontenc} % \usepackage[greek,english]{babel} % to make Greek charactes available It

Re: LaTex Unicode entry issues

2023-08-26 Thread David
lmost certainly unnecessary. No need for any of it, just insert --- for an em dash and -- for an en dash with numbers. > > If I paste an upper case Omega % Ω > > into a LaTeX file and run pdflatex on it I am told the character is > > not > > set up for LaTeX. \$ albatross tel

Re: LaTex Unicode entry issues

2023-08-26 Thread Max Nikulin
is incorrect and almost certainly unnecessary. If I paste an upper case Omega % Ω into a LaTeX file and run pdflatex on it I am told the character is not set up for LaTeX. \$ albatross tells me it is available in the DejaVu Sans font which I have installed. It is sour, but in general even

Re: LaTex Unicode entry issues

2023-08-26 Thread Eduardo M KALINOWSKI
On 26/08/2023 09:08, Haines Brown wrote: The question is: if my system has access to a character in that it can be pasted, why cannot LaTeX do so as well. Because TeX dates from before Unicode was even being discussed, and does not use the libraries for handling Unicode that the other

Re: LaTex Unicode entry issues

2023-08-26 Thread Haines Brown
On Fri, Aug 25, 2023 at 09:53:23PM +0700, Max Nikulin wrote: > On 25/08/2023 03:24, Haines Brown wrote: > > Now it returns the error: "not set up for use with LaTeX." What does > > this error imply? > > > > This code works to produce an astrisk: > >

Re: LaTex Unicode entry issues

2023-08-26 Thread debian-user
Charles Kroeger wrote: > I just have a really large list of UTF-8 characters and if I need one > I copy it and zap it in. I suppose this is not cool but, chacun a son > gout. > > a fun site if you want to write someone in UTF-8 runes. > >

Re: LaTex Unicode entry issues

2023-08-26 Thread Charles Kroeger
I just have a really large list of UTF-8 characters and if I need one I copy it and zap it in. I suppose this is not cool but, chacun a son gout. a fun site if you want to write someone in UTF-8 runes. https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt ⅩⅩⅥ - Ⅷ - ⅯⅯⅩⅩⅢ -- ☢ ➛ ☠ ➛ ♺

Re: LaTex Unicode entry issues

2023-08-25 Thread Max Nikulin
On 25/08/2023 03:24, Haines Brown wrote: Now it returns the error: "not set up for use with LaTeX." What does this error imply? This code works to produce an astrisk: \char"002A A complete minimal example of LaTeX document may describe better what are you tryin

Re: LaTeX Unicode entry issues

2023-08-25 Thread Michel Verdier
On 2023-08-24, Haines Brown wrote: > I'm necessarily working with a pdfLaTeX document. You mean LaTeX document compiled with pdflatex ? > My TexLive runs in emacs and automatically changes " to ``. This makes > it annoying to enter Unicode, for I have to paste it from t

Re: LaTex Unicode entry issues

2023-08-24 Thread tomas
On Fri, Aug 25, 2023 at 06:23:00AM +0200, to...@tuxteam.de wrote: [...] > Here [1] [...] Gah. The ref: [1] https://tex.stackexchange.com/questions/377613/solve-unicode-char-is-not-set-up-for-use-with-latex-without-special-handling-o -- t signature.asc Description: PGP signature

Re: LaTex Unicode entry issues

2023-08-24 Thread tomas
On Thu, Aug 24, 2023 at 04:24:06PM -0400, Haines Brown wrote: > I'm necessarily working with a pdfLaTeX document. > > I seem to recall from long ago that I could enter Unicode > in this way: > > 002B > > Now it returns the error: "not set up for use with La

Re: LaTex Unicode entry issues

2023-08-24 Thread David
On Thu, 2023-08-24 at 16:24 -0400, Haines Brown wrote: > I'm necessarily  working with a pdfLaTeX document. > > I seem to recall from long ago that I could enter Unicode  > in this way: > >   002B > > Now it returns the error: "not set up for use with LaTeX.&q

LaTex Unicode entry issues

2023-08-24 Thread Haines Brown
I'm necessarily working with a pdfLaTeX document. I seem to recall from long ago that I could enter Unicode in this way: 002B Now it returns the error: "not set up for use with LaTeX." What does this error imply? This code works to produce an astrisk: \char"

Re: Chemfig Latex compile program

2021-10-11 Thread lina
Hi Jerome, Hi Curt, Thanks for the input, I changed the \setdoublesep{0.2 em} % 'Bond Spacing' \setatomsep{1.45 em}% 'Fixed Length' \setbondoffset{0.1 em} % 'Margin Width' \newcommand{\bondwidth}{0.08 em} % 'Line Width' \setbondstyle{line width = \bondwidth} \setcrambond{2pt}{}{} to

Re: Chemfig Latex compile program

2021-10-08 Thread Curt
On 2021-10-08, lina wrote: > > *l.24 \setdoublesep {0.2 em} % 'Bond Spacing'* > > I'm reading that the '\setdoublesep' macro is obsolete and has been replaced by '\setchemfig{}'. Maybe this has something to do with the error being thrown.

Re: Chemfig Latex compile program

2021-10-08 Thread Jerome BENOIT
Hello Lina, can you provide a more minimal sample that reproduce the error ? Best wishes, Jerome On 08/10/2021 15:59, lina wrote: Hi, When I updated the system, the following .tex code does not work, it shows the error likes this: (/usr/share/texlive/texmf-dist/tex/latex/chemformula

Chemfig Latex compile program

2021-10-08 Thread lina
Hi, When I updated the system, the following .tex code does not work, it shows the error likes this: (/usr/share/texlive/texmf-dist/tex/latex/chemformula/chemformula.sty (/usr/share/texlive/texmf-dist/tex/latex/l3packages/xfrac/xfrac.sty (/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty

Re: LaTeX - Newer REVTEX on Debian ?

2021-07-04 Thread Jerome BENOIT
Hello, my guess was that the bbl must be updated. Namely, compose with apsrev4-2.bst (or one among the others). I would check which one is actually used in the aux or blg file, and I would check which one is actually pickup with kpsewhich(1). For instance, you can try from a terminal: kpsewhich

Re: LaTeX - Newer REVTEX on Debian ?

2021-07-03 Thread Robbi Nespu
I not sure how to update bst. Could you show me how? -- Robbi Nespu D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA https://robbinespu.gitlab.io | https://mstdn.social/@robbinespu

  1   2   3   4   5   6   7   8   9   10   >