Re: Issues with japanese support
Ralf Angeli <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
* Ralf Angeli (2005-02-15) writes: >>> 4) Is it sufficient to search for \cj or are there other character >>> categories which have to be treated the same way? >>> >> At least, it is sufficient for Japanese and not sufficient for >> Chinese and Korean. But I am not a native of Chinese or Korea, >> so that I can't say space should be gotten rid of when filling >> in Chinese and Korean like in Japanese. >> >> May be \c| is sufficient, but its document says: >> >> (category-docstring ?|) >> => While filling, we can break a line at this character. >> >> That is not equal that no space should be removed. >> Please negatives of Chinese and Korean give us advices. > > Hm, I just looked at the code doing this newline squashing in CVS > Emacs and Emacs 21.3: [...] > Why don't we just stick this into `LaTeX-fill-region-as-para-do'? We > could even cut out the whole `(if (fboundp 'fill-delete-newlines) ...' > construct and put it into a new `LaTeX-fill-delete-newlines' function > which would make `LaTeX-fill-region-as-para-do' more readable. Sigh. XEmacs. AFAICS it doesn't provide the ?| category. Can anybody confirm this? In their `fill-region-as-paragraph' they do the newline squashing with the help of `word-across-newline' which evaluates to "\\(\\cj\\|\\cc\\|\\ct\\)". Maybe it is sufficient to use this with your solution? Do multi-line regexps work in XEmacs? -- Ralf