This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to

Problem #508


Added by over 3 years ago. Updated over 3 years ago.

Status: Closed Start Date: 28-10-2009
Priority: Normal Due date:
Assigned to: - % Done:


Category: -- chủ đề khác: gói bất kỳ
Target version: 2009_help
Resolution: Fixed
Votes: 0/0


Xin chào các anh,

Để gõ tiếng Việt trong môi trường listings, em đã định nghĩa lại môi trường lstlisting như sau :



!Tầm bậy tầm bạ à á tà!

Báo lỗi :

! TeX capacity exceeded, sorry [grouping levels=255].
\begin ...1\endcsname }}\@ignorefalse \begingroup
\@endpefalse \[email protected]
l.9 \begin{lstlisting}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
Here is how much of TeX's memory you used:
2618 strings out of 495286
34971 string characters out of 3180386
135427 words of memory out of 3000000
5822 multiletter control sequences out of 15000+200000
4910 words of font info for 16 fonts, out of 3000000 for 9000
14 hyphenation exceptions out of 8191
258i,0n,76p,264b,2038s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.

Xin nhờ giúp đỡ !


Updated by anhhk over 3 years ago

    Do you want a snake to eat its tail?

    You can't use "Foobar" to define "Foobar". Try \newenvironment{foobar}{\begin{YourListing}}{\end{YourListing}} instead.

    PS: I can't type Vietnamese here :D

    Updated by over 3 years ago

    • Category set to -- chủ đề khác: gói bất kỳ
    • Status changed from New to Closed
    • Target version set to 2009_help
    • % Done changed from 0 to 100
    • Resolution set to Fixed