I have a Finnish format file for TeX.

Can I make TeX use the custom format while processing the file? Looking at tex -help, it looks like starting the file like: %&../fin/Finnish.fmt should work, but nothing changes.

I can make it work with tex -fmt=../fin/Finnish.fmt, but I'd like to have this as part of my TeX document.

  • The standard format names (tex, latex, etc.) really should not change: you would probably be best defining say mytex as a wrapper, which will be OS-dependent. – Joseph Wright Aug 29 '16 at 18:54
  • I made my own finnish format with hyphenation and finnish characters. For my own use. Doing tex -help states: If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file, use it. Else use NAME.fmt', where NAME is the program invocation name, most commonly tex'. It would be clean if the document states the format to use. But I see your point also. – Hannu Rouhiainen Aug 29 '16 at 20:00
  • Try omitting the extension: %&.../fin/Finnish. – Dan Aug 29 '16 at 21:15
  • try placing finnish.fmt somewhere where your TeX engine can find it (location depends on implementation), and simply use %&finnish in your document. – texnezio Aug 31 '16 at 22:58
  • I am on debian linux, what could be the location to place the Finnish.fmt to? Is it the same location as Tex.fmt – Hannu Rouhiainen Sep 2 '16 at 22:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.