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

include-files: add a "inline" options #229

Open
loicreynier opened this issue May 12, 2022 · 0 comments
Open

include-files: add a "inline" options #229

loicreynier opened this issue May 12, 2022 · 0 comments

Comments

@loicreynier
Copy link
Contributor

loicreynier commented May 12, 2022

The include-files creates a new paragraph for each included file. This is great when including files such as documents parts but one may need to includes files without creating a new paragraph.

I personaly use mainly the filter to include equations in LaTeX document, which should not be written in a new paragraph to prevent an indent after the equation. I would like to produce

... in the following equation

f(x) = sin(x)

where x is ...

instead of

... in the following equation

f(x) = sin(x)

____ where x is ...

using

... in the following equation
```{.include}
equations.tex
```
where x is ...

It is a matter of taste but I think an option like {.include inline=1} could be usefull in other cases. I don't know enough about the API to know if such a feature could be implemented without making too many changes to the filter code/behaviour.

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