Page 1 of 1

[LH3864] Can't change file extension when compiling to plain text

Posted: Mon Dec 02, 2019 11:05 am
by cktai
I want to compile my entire draft to a plain text file with the extension .tex, but I cannot seem to find the option to do that. Am I overlooking something?

The only option there seems to be is the mmd>latex option but that completely messes up my Latex code.

Re: Can't change file extension when compiling to plain text

Posted: Mon Dec 02, 2019 5:29 pm
by AmberV
At the moment that isn't possible, the .txt extension is hard-coded. There should be a way of doing this in the future though: if you edit a plain-text compile format, you'll find an extension field up in the top-right corner. Once that is hooked up, it should start working, so you might as well fill it out.

Re: Can't change file extension when compiling to plain text

Posted: Mon Dec 02, 2019 6:42 pm
by devinganger
Stupid question, but it is possible to hook up a wrapper script that takes the .txt file and renames it to the desired ending?

Re: Can't change file extension when compiling to plain text

Posted: Mon Dec 02, 2019 6:43 pm
by cktai
AmberV wrote:At the moment that isn't possible, the .txt extension is hard-coded. There should be a way of doing this in the future though: if you edit a plain-text compile format, you'll find an extension field up in the top-right corner. Once that is hooked up, it should start working, so you might as well fill it out.


Ah thank you for this answer! I had indeed noticed that field, but when I entered the .tex extension, nothing changed. Good to know this will be a future feature.

Re: Can't change file extension when compiling to plain text

Posted: Wed Dec 04, 2019 11:34 pm
by tiho_d
This has been implemented and will be available in the next update.

Re: Can't change file extension when compiling to plain text

Posted: Mon Dec 16, 2019 9:30 am
by cktai
tiho_d wrote:This has been implemented and will be available in the next update.


I just tried it out with a .tex extension, but it does not seem to work right yet. The file it put out was test.tex.txt instead of test.tex

Re: [LH3864] Can't change file extension when compiling to plain text

Posted: Thu Dec 19, 2019 10:30 pm
by thePhilosoraptor
Thanks. This has been filed.

Re: [LH3864] Can't change file extension when compiling to plain text

Posted: Thu Jan 30, 2020 10:55 am
by cktai
It seems to work as intended now. Thanks!