[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] (no subject)
From: |
Takesi Ayanokoji |
Subject: |
Re: [help-texinfo] (no subject) |
Date: |
Tue, 4 Oct 2016 20:52:39 +0900 |
I tried few patterns and I found funny behavior of TexInfo's tools.
For Prerequisite,
1) I tried out original emacs distributions texinfo(English version)
to see only check for feature of @setfilename.
2) In emacs distribution's $(distdir)/doc/Emacs/Makefile,
some of commanline specifies -o(--output option), but I want to
check only @setfilename, so I omit -o option from commandline.
3) I modified only @setfilename from ../../emacs to ../../emacs-ja
>From a conclusion,
I guess texi2dvi family (texi2pdf, texi2ps) only see the filename.
And I guess makeinfo --html don't work correctly when @setfilename
includes relative path.
Here is the execution log
#
# start here
#
### I only modified @setfilename line. ###
$ head -4 emacs.texi
\input texinfo @c -*- coding: utf-8 -*-
@setfilename ../../info/emacs-ja
@settitle GNU Emacs Manual
### Make info file and it works as expected. ###
$ makeinfo --force --enable-encoding -I . --no-split emacs.texi
$ ls -l ../../info/
合計 2360
-rw-r--r-- 1 hiden hiden 2414105 10月 4 20:07 emacs-ja
### Make dvi and pdf files###
$ TEXINPUTS=".:../misc:$TEXINPUTS" \
> MAKEINFO="makeinfo --force --enable-encoding -I ." \
> texi2dvi emacs.texi
... (texi2dvi's output messages) ...
### But it didn't produce emacs-ja.dvi ###
### It Is seems like only detect texi's filename ###
$ make mostlyclean
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
*.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
$ ls -a ../../info/
. .. emacs-ja
$ ls -l *.dvi
-rw-r--r-- 1 hiden hiden 3538752 10月 4 20:13 emacs.dvi
### Make dvi file###
$ TEXINPUTS=".:../misc:$TEXINPUTS" \
> MAKEINFO="makeinfo --force --enable-encoding -I ." \
> texi2pdf emacs.texi
$ make mostlyclean
rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
*.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
$ ls -a ../../info/
. .. emacs-ja
$ ls -l *.pdf
-rw-r--r-- 1 hiden hiden 2528996 10月 4 20:18 emacs.pdf
### At last, make html and this befavior is strange. ###
$ makeinfo --force --enable-encoding -I . --no-split --html emacs.texi
### ls *.html files but not found. ###
$ ls -l *.html
ls: cannot access '*.html': No such file or directory
$ ls -l ../../info/*.html
ls: cannot access '../../info/*.html': No such file or directory
### So, I find. ###
$ find /usr/local/src/emacs-24.5 -type f -name \*.html
/usr/local/src/emacs-24.5/doc/..html
/usr/local/src/emacs-24.5/leim/MISC-DIC/CTLau-b5.html
/usr/local/src/emacs-24.5/leim/MISC-DIC/CTLau.html
/usr/local/src/emacs-24.5/admin/unidata/copyright.html
/usr/local/src/emacs-24.5/nextstep/Cocoa/Emacs.base/Contents/Resources/Credits.html
### I find the file. It was generated the file which name starts '.'. ###
$ ls -l /usr/local/src/emacs-24.5/doc/..html
-rw-r--r-- 1 hiden hiden 4084383 10月 4 20:24
/usr/local/src/emacs-24.5/doc/..html
#
# ends here.
#
By the way, japanese translated texi can't converrt to pdf by using
makeinfo nor texi2pdf.
I generate translated pdf by bellow commands.
$ TEX=ptex texi2dvi -c emacs.texi
$ dvipdfmx emacs.dvi
Here, ptex and dvipdfmx are distributed by TexLive packages.
Regards.
- [help-texinfo] (no subject), Takesi Ayanokoji, 2016/10/03
- Re: [help-texinfo] (no subject), Gavin Smith, 2016/10/03
- Re: [help-texinfo] (no subject), Eli Zaretskii, 2016/10/04
- Re: [help-texinfo] (no subject), Takesi Ayanokoji, 2016/10/04
- Re: [help-texinfo] (no subject), Eli Zaretskii, 2016/10/04
- Re: [help-texinfo] (no subject),
Takesi Ayanokoji <=
- Re: [help-texinfo] (no subject), Gavin Smith, 2016/10/04
- Re: [help-texinfo] (no subject), Eli Zaretskii, 2016/10/04
- Re: [help-texinfo] (no subject), Takesi Ayanokoji, 2016/10/04
- Re: [help-texinfo] (no subject), Masamichi Hosoda, 2016/10/05
- Re: [help-texinfo] (no subject), Takesi Ayanokoji, 2016/10/05
Re: [help-texinfo] how to distribute translated manuals?, Benno Schulenberg, 2016/10/04
Re: [help-texinfo] how to distribute translated manuals?, Benno Schulenberg, 2016/10/05