M. Heck,

I've got it working! Thanks for your help!

For the record, bellow is the command that I used. As shown bellow, in
order to *check *the* allow page breaks box, *you have to change the type
to "Framed", and not "Boxed".

command-sequence box-insert Boxed; char-backward; inset-modify box Box
*Framed* position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox
0 use_makebox 0 width "100col%" special "none" height "1in" height_special
"totalheight" thickness "0pt" separation "3pt" shadowsize "4pt" framecolor
"black" backgroundcolor "none"; char-forward;

Cheers,

On Wed, Jun 22, 2016 at 4:03 PM, Richard Heck <rgh...@lyx.org> wrote:

> On 06/22/2016 02:59 PM, Jonathan Horton wrote:
>
> M. Heck,
>
> Alright, it sort of works. I tried the following command:
>
> command-sequence box-insert Boxed; char-backward; inset-modify box Box 
> *position
> "t" *hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0
> width "100col%" special "none" height "1in" height_special "totalheight"
> thickness "0pt" separation "3pt" shadowsize "4pt" framecolor "black"
> backgroundcolor "none";
>
> But I get the error:
> D:\LyXGit\LyX22\src\Lexer.cpp (934): Missing 'position'-tag in
> InsetBoxParams::read. Got t instead. Line: 0
>
>
> You're missing an argument, after "Box", for the type of Box. In this
> case, I think it should be "Boxed". So you want:
>
> command-sequence box-insert Boxed; char-backward; inset-modify box Box
> Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0
> use_makebox 0 width "100col%" special "none" height "1in" height_special
> "totalheight" thickness "0pt" separation "3pt" shadowsize "4pt" framecolor
> "black" backgroundcolor "none";
>
> Richard
>
> PS I never use boxes, so I'm pretty clueless about how they work.
>
>


-- 
-* Jonathan Horton*

Reply via email to