Hi Dr Eberhard, You save my day with this excellent answer ! Do you know why this problem happens? Best regards, Alain
Le 18 févr. 2022 à 06:05, Dr Eberhard W Lisse via TextMate email@example.com a écrit :
I have no idea at all, but could it perhaps be the below?
2022-02-18 00:53 , Alain Matthes via TextMate wrote:
Hi, With Monterey on a Macbook Air (M1) when I try to insert a template, I get the following error: /Users/ego/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/Ruby/command.rb:423:in `template_text': uninitialized constant OSX (NameError) from /Users/ego/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/Ruby/command.rb:430:in `insert_template' from LaTeX Template:9 Is there a way around this? Alain
On 2022-01-05 14:50 , rbenit68 wrote:
#187 https://github.com/textmate/latex.tmbundle/issues/187 |Please include the following line inside command.rb import section: require ENV['TM_SUPPORT_PATH'] + '/lib/osx/plist' otherwise the OSX variable cannot be set and the template selector will not trigger. |