• Latex

    From [via djgpp@delorie.com]" @21:1/5 to All on Sat Mar 20 19:59:21 2021
    Date: Sat, 20 Mar 2021 18:45:56 +0100
    From: Tomas By <tomas@basun.net>

    So... I am getting errors apparently having to do with long file names
    (am using doslfn). Is this supposed to work? Did I make some mistake
    when unzipping something?

    I don't know. How did you unzip the archives, exactly? was doslfn
    active when you did? Do you have LFN=y in DJGPP.ENV?

    I tried manually renaming using "move", but that did not work either.

    Are you able to _create_ a file with a long name?

    Another Freedos problem perhaps?

    Sorry, I know nothing about FreeDOS.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tomas By@21:1/5 to djgpp@delorie.com] on Sat Mar 20 18:45:56 2021
    Hi again after a year,

    So... I am getting errors apparently having to do with long file names
    (am using doslfn). Is this supposed to work? Did I make some mistake
    when unzipping something?

    I tried manually renaming using "move", but that did not work either.

    Another Freedos problem perhaps?

    /Tomas


    On Mon, 13 Jan 2020 17:25:11 +0100, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:
    Date: Mon, 13 Jan 2020 14:21:45 +0100
    From: Tomas By <tomas@basun.net>

    I'm a bit surprised I cannot find this in the FAQ list, but what is
    the best way to run Latex using DJGPP?

    See v2apps/tex/. The file TeX.README there should tell you enough to
    get started.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tomas By@21:1/5 to djgpp@delorie.com] on Sat Mar 20 19:09:00 2021
    On Sat, 20 Mar 2021 18:59:21 +0100, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:
    How did you unzip the archives, exactly?

    Not sure, and it is hard to tell what happened since the Freedos "dir"
    command does not show long file names.


    was doslfn active when you did? Do you have LFN=y in DJGPP.ENV?

    yes; yes


    Are you able to _create_ a file with a long name?

    Well, I tried "mv" also, and "ls" shows the long name, but Latex still
    reports that file as not found.

    (Now I realise that I have not run "mktexlsr" after the renaming, so I
    have to try that also.)


    Sorry, I know nothing about FreeDOS.

    But are Latex packages with names longer than eigth chars (before the
    dot) actually known to work, in any DOS environment?

    /Tomas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tomas By@21:1/5 to Tomas By on Sat Mar 20 19:15:37 2021
    On Sat, 20 Mar 2021 19:09:00 +0100, Tomas By wrote:
    On Sat, 20 Mar 2021 18:59:21 +0100, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:
    How did you unzip the archives, exactly?

    Not sure


    Apparently I used "Info-zip 6.00". The unzip32.exe from the DJGPP web
    site is "Info-zip 5.50" unless I am mistaken.

    But the renaming with "mv" seems to have worked, as I am getting a
    different error.

    So what must have happened is that the "move" command dropped the long
    names? I did "move" some .sty and .bst files from packages from CTAN.

    /Tomas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to All on Sat Mar 20 20:22:40 2021
    Date: Sat, 20 Mar 2021 19:15:37 +0100
    From: Tomas By <tomas@basun.net>

    But the renaming with "mv" seems to have worked, as I am getting a
    different error.

    So what must have happened is that the "move" command dropped the long
    names?

    Probably, I don't think DOS commands necessarily support long file
    names.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to All on Sat Mar 20 20:21:01 2021
    Date: Sat, 20 Mar 2021 19:09:00 +0100
    From: Tomas By <tomas@basun.net>

    On Sat, 20 Mar 2021 18:59:21 +0100, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:
    How did you unzip the archives, exactly?

    Not sure, and it is hard to tell what happened since the Freedos "dir" command does not show long file names.

    But if 'ls' shows long file names, it means unzip went well.

    (Now I realise that I have not run "mktexlsr" after the renaming, so I
    have to try that also.)

    This is indeed necessary.

    Sorry, I know nothing about FreeDOS.

    But are Latex packages with names longer than eigth chars (before the
    dot) actually known to work, in any DOS environment?

    Yes, I'm quite sure of it. But you must ensure consistency: if the
    files were unzipped with long file names, TeX must also run with long
    file names enabled, and vice versa.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rod Pemberton@21:1/5 to Tomas By on Sun Mar 21 01:48:56 2021
    On Sat, 20 Mar 2021 19:09:00 +0100
    Tomas By <tomas@basun.net> wrote:

    On Sat, 20 Mar 2021 18:59:21 +0100, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:

    How did you unzip the archives, exactly?

    Not sure, and it is hard to tell what happened since the Freedos "dir" command does not show long file names.


    Odi's LFN Tools has LFN versions of dir, copy, mkdir, rmdir, ren, cd,
    del, etc i.e., LDIR LCD LCHK LDEL LREN LCOPY LMD LRD. These should
    allow you to see and correct the LFNs, or at least find out what is
    wrong so you can fix it. IIRC, these do not need DOSLFN to work.

    Odi's LFN Tools are now hosted on Sourceforge. The "current" version
    is 1.79 (circa 2006). lfn-1.79.zip has source. lfn-1.79-en.zip has
    English binaries. It appears that they also provide German binaries.

    Anyway, they're worth a look:

    v1.79 source & binaries https://sourceforge.net/projects/lfntools/files/lfntools/1.79/

    Sourceforge hosted page
    https://sourceforge.net/projects/lfntools/files/

    Odi's LFN tools original page (obsolete)
    https://www.odi.ch/prog/lfn/index.php

    --
    Countries that won't talk to Biden: North Korea, China, Russia, Iran.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)