all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "unrecognized header" error in AUCTEX
@ 2003-05-01  5:12 wang yin
  0 siblings, 0 replies; only message in thread
From: wang yin @ 2003-05-01  5:12 UTC (permalink / raw)


I don't know if it's proper to ask questions about AUCTEX here. But I
think here may be many people using it.

I'm a Chinese. I need CJK package to convert Chinese characters. So
after \begin{document}, I must

\begin{CJK}{GBK}{song}

to start Chinese convertion. 

So my must change TeX-header-end and TeX-trailer-start. And my
document outline looks like this:


\documentclass{article} \usepackage{CJK}

\begin{document} \begin{CJK}{GBK}{song} % End-Of-Header

.......... Chinese contents here ..........


% Start-Of-Trailer \end{CJK} \end{document}

% Local Variables: 
% TeX-header-end: "^% End-Of-Header" 
%TeX-trailer-start: "^% Start-Of-Trailer" 
% TeX-parse-self: t 
%TeX-auto-save: t 
% End:


Other schemes can't work if I LaTeX a region. Because
\begin{CJK}{GBK}{song} 
must be put in the _region_.tex header before LaTeX.

But if I C-c C-s to enter a section for the first time I got the
error: unrecognized header.

If I type a \begin{section} manually. I can use C-c C-s to enter new
sections. I don't know why.

What's more, if I C-c C-s to start a section of the article class and
press M-TAB, section headers that are not in article class "part",
"chapter" ... are all in the completion.

Can anyone help me?


-- 
Wang Yin
DA Lab, Tsinghua University,
100084
Beijing China

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-01  5:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-01  5:12 "unrecognized header" error in AUCTEX wang yin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.