Changes

Jump to navigation Jump to search
7 bytes removed ,  13:57, 16 October 2022
no edit summary
2. Use <code>textadept.exe</code> from the extracted folder to start Textadept.
= Setup of '''Textadept''' =
All default user settings for Textadept have to be saved in the file <code>init.lua</code>. There are two of them, of which you should edit only one:
* If you plan to use LaTeX and ConTeXt, you might want to use different file extensions for each format. For example <code>*.tex</code> for LaTeX and <code>*.cxd</code> for ConTeXt documents. In that case you only have to bind your new ConTeXt extension to Textadept's ConTeXt lexer, since <code>.tex</code> files are automatically recognized as LaTeX documents:
textadept.file_types.extensions.cxd = 'context'
** When linking files within ConTeXt documents without adding an extension though, ConTeXt will expect those files to have the ending <code>*.tex</code>, i.e. you will have to work with filenames and extensions when using a format other than <code>*.tex</code>, which on the other hand should not be seen as a disadvantage.
2. Restart Textadept to reload <code>init.lua</code>.
194

edits

Navigation menu