のねのBlog

パソコンやソフト開発で起きた問題など書きます。よろしくお願いします。

doxygen USE_PDFLATEX

doxygen>make

USE_PDFLATEXを有効にしたとき、以下のエラーになった。

! Package inputenc Error: Unicode char 繝ゥ (U+30E9)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...

l.38 繝ゥ
        繝・ヱ繝シ逕ィ讒矩菴
?

qiita.com

USE_PDFLATEXなしのときの、make.bat

set Dir_Old=%cd%
cd /D %~dp0

del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf

platex -kanji=utf8 refman.tex
echo ----
makeindex refman.idx
setlocal enabledelayedexpansion
set count=8
:repeat
set content=X
for /F "tokens=*" %%T in ( 'findstr /C:"Rerun LaTeX" refman.log' ) do set content="%%~T"
if !content! == X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun to get cross-references right" refman.log' ) do set content="%%~T"
if !content! == X goto :skip
set /a count-=1
if !count! EQU 0 goto :skip

echo ----
platex -kanji=utf8 refman.tex
goto :repeat
:skip
endlocal
makeindex refman.idx
platex -kanji=utf8 refman.tex
dvips -o refman.ps refman.dvi
gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=refman.pdf -c save pop -f refman.ps
set Dir_Old=%cd%
cd /D %~dp0

del /s /f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf

pdflatex refman
echo ----
makeindex refman.idx
echo ----
pdflatex refman

setlocal enabledelayedexpansion
set count=8
:repeat
set content=X
for /F "tokens=*" %%T in ( 'findstr /C:"Rerun LaTeX" refman.log' ) do set content="%%~T"
if !content! == X for /F "tokens=*" %%T in ( 'findstr /C:"Rerun to get cross-references right" refman.log' ) do set content="%%~T"
if !content! == X goto :skip
set /a count-=1
if !count! EQU 0 goto :skip

echo ----
pdflatex refman
goto :repeat
:skip
endlocal
makeindex refman.idx
pdflatex refman
cd /D %Dir_Old%
set Dir_Old=

USE_PDFLATEXのチェックがあると、platexが動かないでpdflatexが動く
ので、USE_PDFLATEXのチェックは外したほうがいいのか。