Hi Alain

Sending this file works fine for me.  We are going to have to
work with you on narrowing down the source of the problem.

Could you file a bug report at
  https://gitlab.com/emacs-vm/vm

so we can track the work??

Mark

[email protected] <[email protected]> writes:
> 
> Hello.
> 
> I am using
> 
> VM version is: 8.3.x
> 
> GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43,
> cairo version 1.18.2) of 2025-03-13
> 
> with Fedora 41:
> 
> Linux frac 6.14.5-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 2 14:06:21
> UTC 2025 x86_64 GNU/Linux
> 
> I have a tex file, 'file.tex', which I compile twice with pdflatex,
> resulting in 'file.pdf'.
> 
> If I send that pdf file as a VM attachment to my university email address,
> it arrives corrupted (whether after fetching it with fetchmail and reading
> it with VM, or directly accessing it from the university webmail GUI).
> Same if I send it as a VM attachment to my gmail address.
> 
> Neither evince nor okular can open it (evince says it's damaged).  xpdf can
> open it, though, and properly displays most of it, but some parts are
> incorrect (see below).
> 
> Encapsulating the pdf file within a tar file allows to send the file
> without corruption, so in the attached tar file, I put
> 
> file.tex,
> file.pdf,
> file_sent_from_VM.pdf
> 
> the last one being the file sent as attachment with VM and which is
> corrupted.
> 
> I also directly attach 'file.pdf'.  I contend that, for you, it will be
> identical to 'file_sent_from_VM.pdf' -- hence corrupted.
> 
> Looking at the content of the corrupted file with xpdf, I can see 2
> instances of corruption (there might be others).  One is at point 17 (there
> is a similar one at point 23), p. 3, where there is
> 
>    le produit de a par b ne s’écrit pas a ∗ b
> 
> which becomes, in the corrupted file
> 
>    le produit de a par b ne s’écrit pas a   b
> 
> NB: I have tried to create a minimal example but am sorry that I could not
> succeed (not in a reasonable time anyway, as performing a single test is
> rather time consuming).  For example, although the bug survived removing
> the lines starting by '%' (most comments) in the tex file, it did not
> survive after I further removed the blank lines; all other attempts at
> further reducing the tex file failed.
> 
> 
> I hope someone can figure it out!
> 
> Thanks in advance,
> 
> Alain
> 
> x[DELETED ATTACHMENT file.tar, Untyped binary data]
> x[DELETED ATTACHMENT file.pdf, PDF]
> 
> -- 
> EOST (École et Observatoire des Sciences de la Terre) 
> ITE (Institut Terre & Environnement) | [email protected]
> 5 rue René Descartes                 | Phone: +33 (0)3 68 85 50 44 
> F-67084 Strasbourg Cedex, France     | bureau 110, ancien bât.

Reply via email to