bugGNU troff - Bugs: bug #52524, contrib/mom/examples: Some...

 
 

bug #52524: contrib/mom/examples: Some mom-files are encoded in UTF-8

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Mon 27 Nov 2017 12:52:46 AM UTC  
 
Category:  Macro - mom Severity:  2 - Minor
Item Group:  Documentation Status:  Fixed
Privacy:  Public Assigned to:  Peter Schaffter <PTPi>
Open/Closed:  Closed Planned Release:  1.22.4

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 19 Feb 2018 06:17:35 PM UTC, comment #5: 

Fixed in commit 6675f5c6 Feb 17 15:28:30 2018 -0500.

Ingo Schwarze <schwarze>
Project Member
Sat 17 Feb 2018 06:05:49 PM UTC, comment #4: 

Correction to what I wrote: mom example files are, in fact, processed during the build.  I responded too quickly last night and was thinking only of how the independent mom.tar.gz archives are set up.

Peter Schaffter <PTPi>
Project MemberIn charge of this item.
Sat 17 Feb 2018 04:29:44 AM UTC, comment #3: 

Hi Peter,

your plan sounds great, thanks for checking.

I'm not very surprised that preconv(1) is usually able to detect the encoding heuristically, the preconv(1) manual page says as much below "Coding Tags".  Whether the guessing works or not may depend on a lot of things though, including the operating system, which locales it supports, whether uchardet is compiled in, and whatnot.  So, better safe than sorry...  :)

Ingo Schwarze <schwarze>
Project Member
Sat 17 Feb 2018 03:04:33 AM UTC, comment #2: 

Yes, typsetting.mom also requires -k.  I'll fix that in README.txt. There are no reports that the absence of Coding Tags causes the files to process incorrectly, but in the spirit of crossing i's and dotting t's, I'll add them anyway.  And you're right, the files are installed without processing.

Peter Schaffter <PTPi>
Project MemberIn charge of this item.
Sat 17 Feb 2018 01:09:23 AM UTC, comment #1: 

I'm not completely sure this report is valid; the file README.txt instructs the user to give the -k option to pdfmom(1) for letter.mom and mon_premier_doc.mom - maybe it should for typesetting.mom, too?  Maybe the files should also contain explicit Coding Tags as documented in the preconv(1) manual page?  I'm not sure, but probably Peter can figure that out without any effort.

I don't see any indication that these files are processed during the build.  It seems they are merely installed, without any processing.

Ingo Schwarze <schwarze>
Project Member
Mon 27 Nov 2017 12:52:46 AM UTC, original submission:  

   Some files in "contrib/mom/examples" contain French encoded in UTF-8
and are processed by "groff".

  The authors should correct their mistakes.

Author File

Bertrand Garrigues mon_premier_doc.mom

Peter Schaffter typesetting.mom

Peter Schaffter letter.mom

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by PTPi (Posted a comment)
  • -email is unavailable- added by schwarze (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-19 schwarze StatusNone => Fixed
        Open/ClosedOpen => Closed
        Planned ReleaseNone => 1.22.4
    2018-02-17 schwarze CategoryNone => Macro - mom
        Severity3 - Normal => 2 - Minor
        Assigned toNone => PTPi

    Back to the top


    Powered by Savane 3.5