[xwiki-users] how to write content in Container Macro
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 -- *BHY*
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc. Arnaud. 2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
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
-- *BHY* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
it generated an error about " inline" On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc.
Arnaud.
2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
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
-- *BHY* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
You should have blank line before and after macro Le 19 mai 2013 22:59, "Belkhiria Hamza Yazid" <yoshipepperoni@gmail.com> a écrit : it generated an error about " inline" On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... )...
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+m... 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." ? Thanks -Vincent On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid <yoshipepperoni@gmail.com> wrote:
it generated an error about " inline"
On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc.
Arnaud.
2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
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
-- *BHY* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On May 21, 2013, at 9:01 AM, Vincent Massol <vincent@massol.net> 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+m...
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." WDYT? Thanks -Vincent
Thanks -Vincent
On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid <yoshipepperoni@gmail.com> wrote:
it generated an error about " inline"
On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc.
Arnaud.
2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
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
-- *BHY* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- *BHY* _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On May 21, 2013, at 9:04 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:01 AM, Vincent Massol <vincent@massol.net> 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+m...
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."
WDYT?
hmm actually the problem might be that you didn't click on the error message… Thanks -Vincent
Thanks -Vincent
Thanks -Vincent
On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid <yoshipepperoni@gmail.com> wrote:
it generated an error about " inline"
On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc.
Arnaud.
2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
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
On May 21, 2013, at 9:05 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:04 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:01 AM, Vincent Massol <vincent@massol.net> 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+m...
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…
Thanks -Vincent
Thanks -Vincent
Thanks -Vincent
On May 19, 2013, at 10:59 PM, Belkhiria Hamza Yazid <yoshipepperoni@gmail.com> wrote:
it generated an error about " inline"
On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc.
Arnaud.
2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
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
On May 21, 2013, at 9:18 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:05 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:04 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:01 AM, Vincent Massol <vincent@massol.net> 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+m...
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 <yoshipepperoni@gmail.com> wrote:
it generated an error about " inline"
On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com> wrote:
Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... ))) in 2nd column etc.
Arnaud.
2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>
> 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 >
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 <vincent@massol.net> wrote:
On May 21, 2013, at 9:18 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:05 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:04 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:01 AM, Vincent Massol <vincent@massol.net>
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+m...
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 <
yoshipepperoni@gmail.com> wrote:
it generated an error about " inline"
On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com>
wrote:
> Content of 1st ((( ... ))) section will be in 1st column and 2nd
((( ...
> ))) in 2nd column etc. > > Arnaud. > > > 2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com> > >> 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
This one is better ""This is a standalone macro and it cannot be used inline" On 21 May 2013 09:15, Belkhiria Hamza Yazid <yoshipepperoni@gmail.com>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 <vincent@massol.net> wrote:
On May 21, 2013, at 9:18 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:05 AM, Vincent Massol <vincent@massol.net> wrote:
On May 21, 2013, at 9:04 AM, Vincent Massol <vincent@massol.net>
wrote:
On May 21, 2013, at 9:01 AM, Vincent Massol <vincent@massol.net>
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+m...
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 <
yoshipepperoni@gmail.com> wrote:
> it generated an error about " inline" > > > On 19 May 2013 21:57, Arnaud bourree <arnaud.bourree@gmail.com>
wrote:
> >> Content of 1st ((( ... ))) section will be in 1st column and 2nd ((( ... >> ))) in 2nd column etc. >> >> Arnaud. >> >> >> 2013/5/19 Belkhiria Hamza Yazid <yoshipepperoni@gmail.com> >> >>> 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- *BHY*
-- *BHY*
participants (3)
-
Arnaud bourree -
Belkhiria Hamza Yazid -
Vincent Massol