This one is better ""This is a standalone macro and it cannot be used inline"
On 21 May 2013 09:15, Belkhiria Hamza Yazid <[email protected]>wrote: > Hi, > > it actually works with text > > but when i try to add some macros in the columns it does not work in all > cases > > i tried the 'Include Macro' and the PDF viewer Macro > > pdfviewer worked fine and went to second column as expected > > when i add include Macro in the first column, the container macro effect > disappears > > Thanks > > > > > On 21 May 2013 08:21, Vincent Massol <[email protected]> wrote: > >> >> On May 21, 2013, at 9:18 AM, Vincent Massol <[email protected]> wrote: >> >> > >> > On May 21, 2013, at 9:05 AM, Vincent Massol <[email protected]> wrote: >> > >> >> >> >> On May 21, 2013, at 9:04 AM, Vincent Massol <[email protected]> >> wrote: >> >> >> >>> >> >>> On May 21, 2013, at 9:01 AM, Vincent Massol <[email protected]> >> wrote: >> >>> >> >>>> Hi, >> >>>> >> >>>> I've added this FAQ which I hope explains your issue: >> >>>> >> http://www.xwiki.org/xwiki/bin/view/FAQ/Why+do+I+get+a+%22Not+an+inline%22+macro+error >> >>>> >> >>>> I'm also trying to improve the error message you got. Would the >> following text have been more useful: >> >>>> "This macro generates standalone content. As a consequence you need >> to have 2 new lines separating your macro from the content before and after >> it." >> >>>> ? >> >>> >> >>> Actually maybe this is better: >> >>> >> >>> "This macro generates standalone content. As a consequence you need >> to have 2 newline characters (a.k.a line breaks) separating your macro from >> the content before and after it." >> > >> > This is not fully correct. It's valid for XWiki Syntax 2.0+ for not >> necessarily true for other syntaxes…. >> > >> > Thus I'm proposing: >> > >> > "This macro generates standalone content. As a consequence you need to >> make sure to use a syntax that separates your macro from the content before >> and after it so that it's on a line by itself. For example in XWiki Syntax >> 2.0+ this means having 2 newline characters (a.k.a line breaks) separating >> your macro from the content before and after it." >> > >> > Thanks >> > -Vincent >> > >> >>> >> >>> WDYT? >> >> >> >> hmm actually the problem might be that you didn't click on the error >> message… >> >> What about also changing that text from: >> >> "Not an inline macro" >> >> to: >> >> "This is a standalone macro and it cannot be used inline" >> >> I find it slightly better. >> >> Thanks >> -Vincent >> >> >> >> >> Thanks >> >> -Vincent >> >> >> >>> Thanks >> >>> -Vincent >> >>> >> >>>> Thanks >> >>>> -Vincent >> >>>> >> >>>> On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid < >> [email protected]> wrote: >> >>>> >> >>>>> it generated an error about " inline" >> >>>>> >> >>>>> >> >>>>> On 19 May 2013 21:57, Arnaud bourree <[email protected]> >> wrote: >> >>>>> >> >>>>>> Content of 1st ((( ... ))) section will be in 1st column and 2nd >> ((( ... >> >>>>>> ))) in 2nd column etc. >> >>>>>> >> >>>>>> Arnaud. >> >>>>>> >> >>>>>> >> >>>>>> 2013/5/19 Belkhiria Hamza Yazid <[email protected]> >> >>>>>> >> >>>>>>> Hi, >> >>>>>>> >> >>>>>>> i just tried the container Macro with Columns option >> >>>>>>> >> >>>>>>> {{container layoutStyle="columns"}} >> >>>>>>> (((first column))) >> >>>>>>> (((second column))) >> >>>>>>> {{/container}} >> >>>>>>> >> >>>>>>> >> >>>>>>> it definitely cut the page in two, but i am having difficulties >> to find >> >>>>>> out >> >>>>>>> how to implement content in the first column and how to go to >> second >> >>>>>> column >> >>>>>>> >> >>>>>>> Thanks >> >>>>>>> >> >> >> > >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > *BHY* > -- *BHY* _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
