<div dir="ltr">Thanks Zdenek. The zwpagelayout package fixes the problem. However, I am using background package heavily and without supporting it will requires a lot of changes in my book. <br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Nov 10, 2013 at 8:27 PM, Zdenek Wagner <span dir="ltr"><<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2013/11/10 Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>>:<br>
<div class="im">> 2013/11/10 Fahad Al-Saidi <<a href="mailto:fahad.alsaidi@gmail.com">fahad.alsaidi@gmail.com</a>>:<br>
>> Dear Zdenek,<br>
>><br>
>> Have you succeed to port my example? last time I did it the layout was a<br>
>> mess.<br>
>><br>
</div>I forgot to write that I want to make my packages useful. If you have<br>
a prblem with any of my packages, write a bug report to me with a test<br>
file. I am not always fast but I will always try to fix it. The bugs<br>
can be fixed only if people report them.<br>
<div class="HOEnZb"><div class="h5"><br>
> Some time ago zwpagelayout had problems with some packages depending<br>
> on the order in which they were loaded. These problems have been fixed<br>
> but now I will have to fix the xcolor issue. I have an idea how to do<br>
> it. I am not sure whether the crop marks will always be correct if the<br>
> main direction is RTL. I will look at it soon.<br>
><br>
>> Regards,<br>
>> Fahad<br>
>><br>
>><br>
>> On Sun, Nov 10, 2013 at 7:46 PM, Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com">zdenek.wagner@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> 2013/11/10 Mike Maxwell <<a href="mailto:maxwell@umiacs.umd.edu">maxwell@umiacs.umd.edu</a>>:<br>
>>> > On 11/10/2013 8:17 AM, Zdenek Wagner wrote:<br>
>>> >><br>
>>> >> ...<br>
>>> >><br>
>>> >> ...<br>
>>> ><br>
>>> Of course, I know DocBook and dblatex but my book needs very different<br>
>>> markup not provided DocBook. Customization will take more time than<br>
>>> writing a new scheme from scratch.<br>
>>> ><br>
>>> > You probably had special requirements for your XML source, but just in<br>
>>> > case:<br>
>>> > We've used DocBook XML for a number of grammars, augmenting the DocBook<br>
>>> > schema with a few special constructs needed for grammatical description.<br>
>>> > The DocBook XML is converted to XeLaTeX by an open source program called<br>
>>> > dblatex (<a href="http://dblatex.sourceforge.net" target="_blank">http://dblatex.sourceforge.net</a>), with a few tweaks for our<br>
>>> > extra<br>
>>> > grammatical constructs. Like your book, we have non-roman scripts (both<br>
>>> > left-to-right and right-to-left) interspersed into the main (English)<br>
>>> > text.<br>
>>> > --<br>
>>> >         Mike Maxwell<br>
>>> >         <a href="mailto:maxwell@umiacs.umd.edu">maxwell@umiacs.umd.edu</a><br>
>>> >         "My definition of an interesting universe is<br>
>>> >         one that has the capacity to study itself."<br>
>>> >         --Stephen Eastmond<br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --------------------------------------------------<br>
>>> > Subscriptions, Archive, and List information, etc.:<br>
>>> >  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Zdeněk Wagner<br>
>>> <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
>>> <a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
>>><br>
>>><br>
>>><br>
>>> --------------------------------------------------<br>
>>> Subscriptions, Archive, and List information, etc.:<br>
>>>   <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> my blog<br>
>><br>
>> <a href="http://fahadalsaidi.blogspot.com" target="_blank">http://fahadalsaidi.blogspot.com</a><br>
>><br>
>><br>
>><br>
>> --------------------------------------------------<br>
>> Subscriptions, Archive, and List information, etc.:<br>
>>   <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Zdeněk Wagner<br>
> <a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
> <a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
<br>
<br>
--<br>
Zdeněk Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>my blog<br><br><a href="http://fahadalsaidi.blogspot.com">http://fahadalsaidi.blogspot.com</a>
</div>