mineo / yatemplate

File templates for Emacs with YASnippet
https://github.com/mineo/yatemplate
GNU General Public License v3.0
70 stars 11 forks source link

Multiple templates not distinguishable by regex #33

Open liar666 opened 1 year ago

liar666 commented 1 year ago

Hi,

Sorry it's more of a question than an issue, but I could not find any info in the docs & the web.

I have 2 templates for .tex files: one for scientific articles, one for beamer presentation.

The thing is I do not have a pattern to name my .tex files according to the content (article/beamer), so I cannot differentiate the template insertion based on the file name.

So my question : is there a mean to ask the user which template to insert, when a new .tex is created. Or any other solution?