Skip to content
Snippets Groups Projects
Commit 88a4bf05 authored by Jerome Lelong's avatar Jerome Lelong
Browse files

Associate extension in extraExts to latex langId

This is required to enable the recipe mechanism
parent f2f7b567
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,7 @@ function getOutDir(texPath?: string): string {
*/
function getLangId(filename: string): string | undefined {
const ext = path.extname(filename).toLocaleLowerCase()
if (ext === '.tex') {
if (ext === '.tex' || extraTeXExts.includes(ext)) {
return 'latex'
} else if (lw.constant.PWEAVE_EXT.includes(ext)) {
return 'pweave'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment