Skip to content

The arguments to a parametrized directive are not recognized with --agda after one use #63

@carlostome

Description

@carlostome

Compiling the following code,

\documentclass{article}
%include lhs2TeX.fmt
%include lhs2TeX.sty
%include polycode.fmt

%{
%format abs (a) = "\mathopen{|}" a "\mathclose{|}"

\begin{document}
\begin{code}
  abs(1) = abs(2)
\end{code}
\end{document}
%}

with lhs2TeX --poly produces the expected result, |1| = |2|, whereas lhs2TeX --agda does not recognize the argument to the second use of abs producing |1| = |.| (2) .

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions