Control: tags -1 - patch On 23.05.2024 22:18, Bjarni Ingi Gislason wrote:
On Thu, May 23, 2024 at 09:32:32AM +0200, Preuße, Hilmar wrote:On 23.05.2024 00:24, Bjarni Ingi Gislason wrote:
Hello Bjarni,
here are some notes and editorial fixes for the manual. The patch is in the attachment.Unfortunately the patch not match to the manual page from TL204 [1]. Could you adapt to that version? Thanks!
The file I get with 'wget2 ...' is a Doc file.
No, it is not a doc file, but the HTML file representing the web page:hille@rasppi2:~ $ wget2 https://github.com/debian-tex/texlive-bin/blob/master_tl_2024/texk/mendexk/mendex.1 [0] Downloading 'https://github.com/debian-tex/texlive-bin/blob/master_tl_2024/texk/mendexk/mendex.1' ...
Saving 'mendex.1.1'HTTP response 200 [https://github.com/debian-tex/texlive-bin/blob/master_tl_2024/texk/mendexk/mendex.1]
hille@rasppi2:~ $ file mendex.1.1mendex.1.1: HTML document, Unicode text, UTF-8 text, with very long lines (1616)
If I copy it from the page with 'firefox' I get the man page when I use the'raw' choice.
When downloading the raw manual page for TL2024 and trying to apply your patch it does not apply.
hille@rasppi2:~ $ wget2 "https://raw.githubusercontent.com/debian-tex/texlive-bin/master_tl_2024/texk/mendexk/mendex.1" [0] Downloading 'https://raw.githubusercontent.com/debian-tex/texlive-bin/master_tl_2024/texk/mendexk/mendex.1' ...
Saving 'mendex.1'HTTP response 200 [https://raw.githubusercontent.com/debian-tex/texlive-bin/master_tl_2024/texk/mendexk/mendex.1] hille@rasppi2:~ $ wget2 -O mendex.1.diff "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1071647;filename=mendex.1.diff;msg=5" [0] Downloading 'https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1071647;filename=mendex.1.diff;msg=5' ...
Saving 'mendex.1.diff'HTTP response 200 [https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1071647;filename=mendex.1.diff;msg=5]
hille@rasppi2:~ $ patch < mendex.1.diff (Stripping trailing CRs from patch; use --binary to disable.) patching file mendex.1 Hunk #13 FAILED at 459. Hunk #15 FAILED at 510. Hunk #16 succeeded at 556 with fuzz 2. 2 out of 17 hunks FAILED -- saving rejects to file mendex.1.rej
What do you get if you use the option '--dry-run' for 'patch' or the diagnostics from it?
See above. Many thanks for your help! I remove the patch tag for now. Hilmar -- sigfault
OpenPGP_signature.asc
Description: OpenPGP digital signature