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

Scoped macros / defs for imported files #8

Open
dhasenan opened this issue Jul 7, 2020 · 0 comments
Open

Scoped macros / defs for imported files #8

dhasenan opened this issue Jul 7, 2020 · 0 comments

Comments

@dhasenan
Copy link
Owner

dhasenan commented Jul 7, 2020

foo.sub:

\macro{foo, ―\content}
\macro{bar, hello!}
\include{bar.sub}
\chapter{}
\foo{hi}

bar.sub:

\macro{foo, +++\content}
\chapter{}
\foo(bye}

\bar

This should be equivalent to:

\chapter{}
+++bye

hello!
\chapter{}
― hi
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

1 participant