Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Использование окружения macro #9

Open
LSinev opened this issue Jan 22, 2017 · 2 comments
Open

Использование окружения macro #9

LSinev opened this issue Jan 22, 2017 · 2 comments

Comments

@LSinev
Copy link
Collaborator

LSinev commented Jan 22, 2017

Если

% \DescribeFunction{emphasize}
% Declare function to emphasize last string in stack.
% \changes{v0.8}{10 Aug 2003}{macro \cs{BibEmph} added}
%    \begin{macrocode}
FUNCTION {emphasize}
{ duplicate$ empty$
    { pop$ "" }
    { "\BibEmph{" swap$ * "}" * }
  if$
}

%    \end{macrocode}

окружить кодом вида

%\begin{macro}{\examplemacro}
.
.
.
%\end{macro}

то содержимое \changes будет вписано в историю изменений в конце как examplemacro: macro \cs{BibEmph} added.

@kia999
Copy link
Owner

kia999 commented Jan 22, 2017

М.б., \examplemacro -> \BibEmph ?

@LSinev
Copy link
Collaborator Author

LSinev commented Jan 24, 2017

У меня в \texmf-dist\doc\latex\dtxtut лежит pdf, описывающий, что будет. Поэтому, скорее в данном примере нужно \examplemacro -> emphasize.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants