Skip navigation
Currently Being Moderated

MML and FM10

Nov 20, 2012 2:25 AM

Tags: #mml

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 ------

<!DefineTag :p>
<:p>this is a test paragraph.

<:p>extension .txt is not recognised as MML
  • Currently Being Moderated
    Nov 20, 2012 8:49 AM   in reply to Niels Grundtvig Nielsen

    Hi Niels,


    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 >



    <title>Chapter title

    <h1>Heading 1

    <p>paragraph text

    <p>more paragraph text

    <p>another paragraph

    <p>yet another

    <h2>Heading 2

    <p>another paragraph

    <p>The End

    <bib>some text

    Mark as:
  • Currently Being Moderated
    Nov 21, 2012 8:48 AM   in reply to Niels Grundtvig Nielsen



    I just tried your sample verbatim and it worked with no problems (so it's not the colons).


    Could be the line endings. What editor do you use? Is there a return at the end of the last line (that sometimes trips things up)?



    Mark as:
  • Currently Being Moderated
    Nov 22, 2012 7:58 AM   in reply to Niels Grundtvig Nielsen

    Try using just ASCII or ANSI modes in your editor.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points