Hello Vincent,
so it should work fine. I also see
in ConfluenceWikiScanner.splitMacroParams() the code to split the
parameters.
Nope, it failed.
What worked is to read a parameter or make it an {html} macro though:
- {jsmath:f=\\frac\{x\}\{x+3\}}
- {html}\( \frac{x+3}{x} \){html}
The first, however, is a plague to use because of th eneed to escape all
curly brackets.
Note: It's still interesting to me to make macros
work well in the
confluence syntax so if you want to continue on that path I'm happy to
help as I can.
is it useful to document it somewhere? where?
That's easy enough to keep it in Confluence for now.
Now I'd recommend that once you have a page in
Confluence syntax
inside XWiki, you convert it to XWiki Syntax 2.1 and then you won't
have any problem in using any wiki macro or the WYSIWYG editor and all
features of XWiki in general.
Good point. I'll keep that in mind as the next
step.
> BTW do you know that we have a Confluence
importer? :)
I know it but the confluence I import from is a version 3 and
apparently, confluence version 4 and 5 cannot import xml exports of
version 3. This importer seems to be focussed on version 5 which is the
latest and it's good this way.
I wonder if such importers should not stay at the level of scripting
code which others hack.
My little solution works just for me and that's fine this way... and
probably improters will be this way for a long time.
Paul