[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tei2dvi
"BT" == Boris Tobotras writes:
 >> \def\note{(\ignorespaces}
 >> \def\endnote{\unskip)}
 >> \begin{note} abc \end{note}
 BT> 	Так работает. А вот так -- нет:
 BT> 	\begin{note}
	
 BT> 	abc
 BT> 	\end{note}
 BT> 	А речь именно об этом.
Можно сделать так:
\makeatletter
\def\note{\begingroup\endlinechar`\ (\ignorespaces}
\def\endnote{\unskip)\endgroup}
\makeatother
\begin{note}
abc
\end{note}
При этом, правда, параграфы внутри note не будут создаваться, т.е.
\begin{note}
abc
def
\end{note}
приведет к (abc def). Может, так и нужно? Внутри note может быть
несколько параграфов? В принципе, я думаю, что средствами TeX'а можно
сделать, чтобы игнорировался только первый и последний параграфы.
	Best regards, -- Vladimir.
-- 
All men are mortal.  Socrates was mortal.  Therefore, all men are Socrates.
		-- Woody Allen
- Follow-Ups:
- Re: Tei2dvi
- From: "Alexey L. Vyskubov" <alexey@alv.stud.pu.ru>