I'm trying to generate a single pdf file out of doxygen documentation.
I run doxygen and then in latex folder I run the make file. The making process runs for a moment and then halts with this message:
[23]
! Package inputenc Error: Invalid UTF-8 byte "93.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.194 \end{DoxyParams}
?
I checked similare questions here and here but they didn't solve my problem.
I tried adding \UseRawInputEncoding at the beginning of refman.tex file, I tried to use utf8x instead of utf8 but this didn't solve my problem.
Any suggestions how to fix this problem?
UPDATE
I'm using Doxygen 1.8.16 and working on Windows 7 (64 bit machine). For latex I'm using MikTex 2.9.7219
I think this question belongs here because the problem is produced when trying to "compile" the latex source file.
Regarding the MWE, I think it is difficult to include it here because this file is autotically generated by doxygen and it has over 200 lines, therefore I'm not sure how to make a minimal working example out of it.
UPDATE II
Well, I'm not sure if this is what @albert means. But following is the Makefile used by Doxygen to export a pdf file out of latex file.
LATEX_CMD=pdflatex
all: refman.pdf
pdf: refman.pdf
refman.pdf: clean refman.tex
$(LATEX_CMD) refman
makeindex refman.idx
$(LATEX_CMD) refman
latex_count=8 ; \
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
do \
echo "Rerunning latex...." ;\
$(LATEX_CMD) refman ;\
latex_count=`expr $$latex_count - 1` ;\
done
makeindex refman.idx
$(LATEX_CMD) refman
clean:
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
Makefile, I've included it in my question. Is this what you mean? – Salahuddin Ahmed Oct 22 '19 at 10:12