Aetf / xjtuthesis

使用 LaTeX 排版学位论文!适用于西安交通大学学生
LaTeX Project Public License v1.3c
200 stars 53 forks source link

the problem of invalid character? #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.setup TeX Live on windows using DVD iso. start the TeXworks and open 
doctor.tex in example.
2.remove % before truefront
3.choose XeLaTeX and click on the compile botton.

What is the expected output? What do you see instead?
there is an error:

Package hyperref Warning: Option `pdfpagelabels' has already been used,
(hyperref)                setting the option has no effect on input line 137.

(d:/texlive/2011/texmf-dist/tex/latex/titlesec/block.tss)
! Text line contains an invalid character.
l.755 ^^@
         ^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^^@^...

? 

What version of the product are you using? On what operating system?
TeX Live 2011

Please provide any additional information below.

Original issue reported on code.google.com by chinesen...@gmail.com on 28 Mar 2012 at 4:16

GoogleCodeExporter commented 9 years ago
sorry, forgot to say, i'm using windows7

Original comment by chinesen...@gmail.com on 28 Mar 2012 at 4:17

GoogleCodeExporter commented 9 years ago
Sorry, I can't reproduce this issue, on a Simp-Chinese Windows 7 box, with 
TeXLive 2011 installed and steps you mentioned above. I'm using xjtuthesis 
0.4.2, from the download page.

To make it easier to probe into this:

1. Do the Chinese characters in the bachelor.tex file and xjtuthesis.cls file 
look reasonable in TeXWorks the editor?
2. What tool are you using for uncompressing the .zip archive?
3. Could you please check the encodings (UTF8, ANSI, GBK, ...) of the source, 
using tools like Notepad++ or alternates? They should be in UTF8 encoding, 
without BOM. 
4. Try to build the source files in the unittest directory, and report the 
results please.

Thank you for reporting.

Original comment by multiple1902 on 28 Mar 2012 at 4:48

GoogleCodeExporter commented 9 years ago
Possible workaround: try the command-lines listed in 
https://code.google.com/p/xjtuthesis/wiki/zhcnHowToCompile

Original comment by multiple1902 on 2 Apr 2012 at 8:53