Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-04 Thread Angel M Alganza via ntg-context

On Tue, Oct 04, 2022 at 01:59:45PM +0200, Henning Hraban Ramm via ntg-context 
wrote:


How do you send the files “directly” to the printer? Copy to lpt queue?


In my case, as I explained in my original email, I plug in a USB drive
into the printer USB port, and I pick up the file to print from the
printer software on a touch screen.  I guess this qualifies as sendig te
file directly to the printer queue?

Cheers,
Ángel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-03 Thread Angel M Alganza via ntg-context

On Mon, Oct 03, 2022 at 07:17:10PM +0200, Leah Neukirchen via ntg-context wrote:


When I print this "directly" (i.e. sending the raw PDF to the printer)
on a Ricoh MP3053 or on a Samsung CLP-680DW, I just get an empty page.


I believe that is the exact same problem I have and that I described a
few days ago in my email with subject "Missing letters and numbers in
printout".  I have some grids on my document, which gets printed out,
but nothing else does.


The PDFs render fine on every PDF reader I could find.


Same here.


PDFs generated directly from Context MKIV from TeXLive 2022 using
LuaTeX 1.5 render fine on these printers.
I've also printed PDFs from pdfTeX in the past fine.


Same here.


Any ideas what I should try to help debug this?


I was told that this is the default now, that isn't going to change, and
that I could always use LuaTeX instead.  I could also use LaTeX, I
guess, but I'd rather keep using ConTeXt at least while my old 32 bits
OpenBSD installation works.

Cheers,
Ángel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Missing letters and numbers in printout

2022-09-29 Thread Angel M Alganza via ntg-context

On Wed, Sep 28, 2022 at 03:59:07PM +0200, Hans Hagen via ntg-context wrote:


changed to have 'context file.txt' to compile using luatex instead of
LuaMetaTeX?

top line:

% engine=luatex


Thank you, I'll add that to my source files from now on.


but lmtx is and will stay as default


To bad the default won't work as spected (it did before or, at least
with Texlive distribution,) sometimes, for some people or for some of
their files.


(btw, you don't run the latest greatest)


No, alas I do not.  Could you please point me to where I could download
the latest greatest for 32bits OpenBSD from.  I remember a discussion a
few months ago to eliminated 32bits OpenBSD if nobody used it, where I
asked to keep publising it if it was possible.  I don't know if it has
finally been removed or not, but I can't find it anywhere.

Cheers,
Ángel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Angel M Alganza via ntg-context

On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via ntg-context wrote:


In that case, run "context --luatex --generate" first and then "context
--luatex a6lua.tex".

This would give you a pure LuaTeX-compiled PDF document.

I think that this PDF document will be fine with your printer.


It was.  I printed it this morning without any problem.  Thank you!

If compiling with --luatex option seem to have more chances to produce a
complete product, shouldn't it be convenient for this option to be the
default?  I would expect 'context file.tex' to work "out of the box" and
produce a correct and complete PDF output.  Would it be possible to have
that changed?  Or is there maybe any other potentially undesirable side
effect?

Also, I guess that can be configured somehow so, what would need to be
changed to have 'context file.txt' to compile using luatex instead of
LuaMetaTeX?

Thank you!

Cheers,
Ángel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Missing letters and numbers in printout

2022-09-27 Thread Angel M Alganza via ntg-context

On Tue, Sep 27, 2022 at 04:03:06PM +0200, Pablo Rodriguez via ntg-context wrote:


Producer:   LuaMetaTeX-2.09

No, this was compiled with LuaMetaTeX.


It looks so obvious now, but it didn't (to me) before.  :-)


In that case, run "context --luatex --generate" first and then
"context --luatex a6lua.tex".


Excellent, thank you!


This would give you a pure LuaTeX-compiled PDF document.
I think that this PDF document will be fine with your printer.


I'll let you know tomorrow, when I'll try printing it out on the rebel printer.

Thanks!
Ángel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context

On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote:


mtxrun --script pdf --info oeps.pdf


$ mtxrun --script pdf --info a6.pdf
mtx-pdf | filename  > a6.pdf
mtx-pdf | pdf version   > 1.7
mtx-pdf | major version > 1
mtx-pdf | minor version > 7
mtx-pdf | number of pages   > 1
mtx-pdf | title > a6
mtx-pdf | creator   > LuaMetaTeX 2.09 20220429 + ConTeXt LMTX 
2022.05.11 11:36
mtx-pdf | producer  > LuaMetaTeX-2.09
mtx-pdf | author> 
mtx-pdf | creation date > D:20220920071929+02'00'
mtx-pdf | modification date > D:20220920071929+02'00'
mtx-pdf | cropbox   > pages: 1-1, width: 841.889758, height: 
595.27559


mtxrun --script pdf --fonts oeps.pdf


$ mtxrun --script pdf --fonts a6.pdf
mtx-pdf | id   basefont   encoding  subtype   
unicode characters
mtx-pdf | 
mtx-pdf | Fm1.F1   KBVQDT+LMRoman8-Regularno encoding   Type0 no vector   , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l m n o p q r s t u v x y z Á á é í ñ ó ú

mtx-pdf | Fm1.F2   PISBZT+LMRoman6-Regularno encoding   Type0 
no vector   M a d e i l n
mtx-pdf | Fm2.F1   KBVQDT+LMRoman8-Regularno encoding   Type0 
no vector   , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l 
m n o p q r s t u v x y z Á á é í ñ ó ú
mtx-pdf | Fm3.F1   KBVQDT+LMRoman8-Regularno encoding   Type0 
no vector   , - A B C D F G H I J K L M N O P R S T V Z a b c d e f g h i j k l 
m n o p q r s t u v x y z Á á é í ñ ó ú
mtx-pdf | Fm4.F3   VGDDRM+LMRoman12-Regular   no encoding   Type0 
no vector   0 2 3
mtx-pdf | Fm4.F4   BBBAHN+LMMono8-Regular no encoding   Type0 
no vector   0 1 2 3 4 5 6 7 8 9 A D F J M N O S a b c e g h i l m n o p r s t u 
v y
mtx-pdf |

Does that help?

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context

On Mon, Sep 26, 2022 at 07:10:40PM +0200, Pablo Rodriguez via ntg-context wrote:


BTW, is TeX Gyre Heros the font with missing chars in the printed
version of your PDF document?


It doesn't seem to be that:

$ pdffonts a6.pdf
name type  encoding emb sub 
uni object ID
 -  --- --- 
--- -
KBVQDT+LMRoman8-Regular  CID Type 0C   Identity-H   yes yes 
yes  2  0
PISBZT+LMRoman6-Regular  CID Type 0C   Identity-H   yes yes 
yes  3  0
VGDDRM+LMRoman12-Regular CID Type 0C   Identity-H   yes yes 
yes  9  0
BBBAHN+LMMono8-Regular   CID Type 0C   Identity-H   yes yes 
yes 10  0


There might be a workaround (or a way of testing this), compiling the
PDF document with LuaTeX instead of with LuaMetaTeX.


It seems it is compiled with LuaTeX:

$ pdfinfo a6.pdf
Title:  a6
Creator:LuaMetaTeX 2.09 20220429 + ConTeXt LMTX 2022.05.11 11:36
Producer:   LuaMetaTeX-2.09
CreationDate:   Tue Sep 20 07:19:29 2022 CEST
ModDate:Tue Sep 20 07:19:29 2022 CEST
Tagged: no
UserProperties: no
Suspects:   no
Form:   none
JavaScript: no
Pages:  1
Encrypted:  no
Page size:  595.276 x 841.89 pts (A4)
Page rot:   0
File size:  25630 bytes
Optimized:  no
PDF version:1.7


If you compile it invoking "context source.tex", use "context --luatex
source.tex".


When I try that I get:

$ context --luatex a6lua.tex 
mtx-context | redirect luametatex -> luatex: luatex --luaonly "/mnt/tex/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex a6lua.tex --redirected

mtxrun  | unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua'


But the way to know for sure which tools generated your PDF document and
whether fonts are embedded, "pdfinfo your-file.pdf" and "pdffonts
your-file.pdf" are your friends.


I didn't know any of the poppler-utils, thank you!


Otherwise, the only option about your documents is guessing.


I guess.  :-)

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context

On Mon, Sep 26, 2022 at 04:54:31PM +0200, Hans Hagen via ntg-context wrote:

i assume that you use mkiv or lmtx in which case fonts are embedded in 


I guess I'm using LMTX, but I don't know how to tell for sure, since
I downloaded the installer from 


https://wiki.contextgarden.net/Installation

for Linux and a previous version for OpenBSD 32bits as well
(unfortunately there isn't one now anymore) and install it from it.


the pdf file ... does the viewer show the file ok?


I thought I should have said that as soon as I pressed "y" (send in Mutt
:-) on my original email.  Yes, MuPDF shows the complete file without
any problem, all letters and numbers are there, as well as in the
printout I got from printing from a coworker computer (Devuan) to their
printer.

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


[NTG-context] Missing letters and numbers in printout

2022-09-26 Thread Angel M Alganza via ntg-context

Hello,

I have a document that includes some grids (drawn with \grid) as well as
alphanumeric information (letters and numbers) which contents (the info,
not the grids) I modify every year and then print it out.  I've been
using it without any problem for a few (maybe 4 or 5) years but, this
time, only the grid showed up on the printout, but none of the letters
or numbers would, using the same printer I used every time before.  I
always copy the PDF file into a USB stick that I bring to the
(departamental) printer, plug it in the printer and directly print from it.

I tried printing the same file (from the same USB drive) into a
different printer, this time connected to a computer, and sending the
file from it, which worked just fine.  My guess is that the first
printer in missing the font the document uses, whereas the second
printer received the font from the computer (Devuan Linux), which has
the appropriate font.  Could that be correct?

In all previous ocasions I used the version of ConTeXt included in
Texlive on Devuan, but a few months ago I decided to install ConTeXt
using the official distribution instead.  Could that explain the change
in behaviour I'm seeing?  Could it be that the previous versions I used
somehow embeded the fonts into the PDF file but the current one doesn't?
And, if that's really the case, how could I force the font to be
included into the PDF file?  I remember I read something like that a
very long time ago (probably about LaTeX, not ConTeXt), but I haven't
found how to do it now in a few searches on the documentation.

Thak you for any help or advice.

Cheers,
Ángel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context

Hi Pablo,

On Thu, Jun 30, 2022 at 04:15:10PM +0200, Pablo Rodriguez via ntg-context wrote:


I’m not sure whether I’m totally missing your point,
but I think this is a way that might achieve what you want:


No, you aren't, and it almost does it, except when the fixed width
column is other than the first one, I'm afraid.

¡Muchas gracias!
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context

Hi again,

On Thu, Jun 30, 2022 at 12:12:07PM +0200, Henning Hraban Ramm via ntg-context 
wrote:

I can stay with “natural tables” (and “tabulate” for easy cases), but 
the auto-stretching of rows or whole tables _is_ missing.


I'm going back, too, I think.

Unfortunately, this is a situation like in LaTeX: We have a choice of 
table “packages”, but none of them covers my most common use cases.


Same here.
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context

Hi again, Hans,

On Thu, Jun 30, 2022 at 10:26:58AM +0200, Hans Hagen via ntg-context wrote:


How about the auto row height?  That'd be the only thing I'm missing.
we don't have it for the vertical direction ... you can remind me 
later this year (to see if it is doable)


Ah, OK.  Thank you!  :-)

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context

On Thu, Jun 30, 2022 at 09:36:07AM +0200, Hans Hagen via ntg-context wrote:

You're joking right? SInce when can one not set up something in some 
context subsystem? Why would I make a table mechanism with no presets?


I see! :-)

It's just more symbolic than in natural tables (which is better 
performance wise). I'm pretty sure it's mentioned in some manual.


I didn't see it in the wiki and I thought it didn't exist.

How about the auto row height?  That'd be the only thing I'm missing.

Thanks so much.
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context

Hi Henning,

On Thu, Jun 30, 2022 at 09:02:28AM +0200, Henning Hraban Ramm via ntg-context 
wrote:

They’re also tedious, because you can’t setup rows/columns in advance 
(like \setupTABLE) – or did that change?


I'm afraid you're right.

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Angel M Alganza via ntg-context

Hello, Hans,

On Thu, Jun 30, 2022 at 08:16:53AM +0200, Hans Hagen via ntg-context wrote:


\startxtable[option=stretch]
  \startxrow
  \startxcell[width=3cm,option=fixed] one \stopxcell


Thank you very much, that does part of the trick (the column width).
Is there a way to do the same for the row height, please?

I never looked at xtables, since the wiki says they're used for tables
that need to span several pages, which I don't need.

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Auto width and height on table cells

2022-06-29 Thread Angel M Alganza via ntg-context

Hello,

I want some tables to occupy 100% of \textwidth and \textheight and for
all columns to be the same width except one or two that I want to
specify and for all rows to be the same height except for one or two,
that I want to specify as well.. 


For the moment, I'm doing it "manually", calculating column width as

  (\textwidth - width of fixed columns) / # rest of columns

and row height as

  (\textheight - height of fixed rows) / # rest of rows

I'm getting the result that I want, but it's a bit tedious.

Is it possible to have ConTeXt do all those calculations for me?
I haven't been able to figure it out from the manuals and the wiki.

Thank you in advance.

Regards,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenBSD install

2022-05-13 Thread Angel M Alganza via ntg-context

Hi again,

On Fri, May 13, 2022 at 09:39:06AM +0200, Mojca Miklavec wrote:


Are you able to (log in and) edit wiki pages yourself?
I can of course edit this now, but this can be community effort. I
will surely forget to update the page in 6 months when the next
OpenBSD version gets released.


I could create an account to do that.  I suppose there is no problem in
doing so, and, of course, I'd gladly update the links for the next
release in 6 months (I see you have already done that for the 32bits
also, thank you!).

I think a good solution instead of linking to all individual
files, could be to link to the official download page once:

http://www.pragma-ade.com/install.htm


So you plan to keep using the 32-bit binaries for OpenBSD?


I am, yes.  I am migrating almost all 32bit boxes both at work and at
home to Haiku and OpenBSD, since Linux is getting more and more resource
demanding day by day (even Devuan, which can be configured to be very
lightweight).  I would really appreciate if you kept providing them.

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] OpenBSD install

2022-05-13 Thread Angel M Alganza via ntg-context

Hello again,

On Fri, May 13, 2022 at 08:10:02AM +0200, Angel M Alganza via ntg-context wrote:


There isn't a link to download LMTX for OpenBSD 7.1 at
https://wiki.contextgarden.net/Installation.


Sorry about the noise.  I just found the official download page at
Pragma, where the links for both, the 32bits and 42bits installation
scripts for OpenBSD 7.1 work just fine.

http://www.pragma-ade.com/install.htm

Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] OpenBSD install

2022-05-13 Thread Angel M Alganza via ntg-context

Hello,

I've just started upgrading some systems to OpenBSD 7.1 (released last
month) and found out there isn't a link to download LMTX for OpenBSD 7.1
at https://wiki.contextgarden.net/Installation.

I then thought I'd try to see if the previous versions (for 6.9 or 6.8)
would work on 7.1, but it turned out that all four links (for both
32bits and 64bits) won't work.  FreeBSD and Linux links work fine,

Any help for me to get the installation scripts for OpenBSD 7.1, please?

Thank you in advance.
Cheers,
Ángel
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___