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

Provide predefined template type #247

Open
ayan-b opened this issue Mar 3, 2019 · 3 comments
Open

Provide predefined template type #247

ayan-b opened this issue Mar 3, 2019 · 3 comments

Comments

@ayan-b
Copy link
Member

ayan-b commented Mar 3, 2019

Since moban supports user-defined template type, we can provide users with some predefined template types. The most obvious one being latex. Needs discussion on the possible syntax.

@chfw chfw closed this as completed Mar 3, 2019
@chfw chfw reopened this Mar 3, 2019
@ayan-b
Copy link
Member Author

ayan-b commented Mar 3, 2019

What do you think about the syntax?

@chfw
Copy link
Member

chfw commented Mar 4, 2019

This issue could be by-product of the resolution of #126

Imagine #126 be implemented, moban python package should then include a list of yaml files which provides custom template definitions, etc. One of them could be latex definition. I would think it will looks no different to its current form:

latex.yaml

configuration:
  template_types:
    latex:
      ..
      (ayan-b, could you fill these blanks)
      ..

Then, in user's moban file:

overrides:
   latex.yaml: configuration

@ayan-b
Copy link
Member Author

ayan-b commented Mar 4, 2019

Yup, this is a good idea. I am assigning that issue to myself.

@ayan-b ayan-b changed the title Provide predefines template type Provide predefined template type Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants