Getting back up to speed, and hoping to use MML to move a lot of content into a new document – something I've been doing off and on since FM 7. Have things changed in 10 that I need to know about?
I've already noticed that as the first line no longer seems sufficient for FM to recognise the filetype: seems that the extension now has to be .mml as well. More serious, even a tiny source file [content below] with one style tag and two lines of content is triggering the inscrutable "Filter encountered an error and could not complete …" message.
I'll check it later today with FM 9 Hints and tips welcome! I just hope the answer will not be something obvious I've forgotten ;-}
--- source ------
<MML> <!DefineTag :p> <:p>this is a test paragraph.
<:p>extension .txt is not recognised as MML
I think it migh be your use of the colon in the tag definition.
The following works for me:
<!DefineTag title >
<!DefineTag h1 >
<!DefineTag h2 >
<!DefineTag p >
<!DefineTag bib >
<p>more paragraph text
Hello, Arnis – nice to be back! I know IDD makes my life very difficult if I use colons in tags, but I've been using them from FM 5.5 up till 9 without any problems. And in fact, I had the same idea here: makes no difference. Even more confusing, an MML file I'd prepared on another machine (with colons in the tags) loaded perfectly. Couldn't be something really obscure like line ends, could it?
Good morning, Arnis – for the files that don't work, I've used Notepad++ set to produce UTF-8 and CR/LF line endings. For the file that did work … I'll have to check when I'm back at home. I'll keep you posted.
Great tip – solves both questions, too: no special requirement to use .mml as the extension. There's an empty desk across from me if you want to spend less time typing answers to my questions N