Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Changing the book style

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Changing the book style


Chronological Thread 
  • From: Christian Brædstrup <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Changing the book style
  • Date: Wed, 24 Jun 2009 17:39:48 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZLke0YYRHLbhxFhYRTyz8pcm3TSXrHJdjoIfqt1/66hOwxfpK5asNH7LmPcX8/9aWe WCOsGqPDRSAYVghcT4ozWQvb/H7DzdJ+3Swa7vA2VXETGRQ+Kqdo79HnhSyqYHNkWc70 Er7gk4PHqIl8EfaUAQ+PiGNEFHUMQgOiSwWt8=

Hi,

Thanks for the help but I can't really get it to work.
The folders in .TeXmacs where empty, so I have copyed the files I need from the /usr/share/texmacs/texmacs folder. I have made a new style called my-book.tm and linked to my-header-book.tm, my-title-book.tm and my-section-book.tm. Then (I think) I have removed all the code new page code but it don't work. I have done it all inside texmacs.
I can't find the render-table-of-contents and render-bibliography.

My doc-make-title lookes like this:
  <assign|doc-make-title|<\macro|body>
    <no-indent><assign|page-this-header|><assign|page-this-footer|><vspace|0.25pag>

    <doc-title-block|<font-magnify|1.414|<arg|body>>>

    <assign|page-this-header|><assign|page-this-footer|><vspace|0.15pag>

    <surround|<hflush>>
  </macro>>

  <assign|doc-abstract|<\macro|body>
    <surround|<no-indent>||<chapter*|<abstract-text>>>

    <surround||<hflush>|<arg|body>>
  </macro>>

Cheers,
Christian

On Tue, Jun 23, 2009 at 11:38 PM, Robert Ramsay Lamar <address@hidden> wrote:
Christian,

In case it is not obvious, these blank pages are probably being inserted to ensure that when the document is printed double-sided, tables of contents, bibliographies, and chapters all start on an odd page (right-hand leaf when holding the book open).  This would be desirable if you are printing things double-sided, but if your printout is single-sided, of course, it just wastes paper.

I have not investigated document styles at all, but if I were trying to solve your problem, that is the place I would start.  In LaTeX, a document class may be provided with parameters such as 'twopage' to control this sort of thing, but I do not know if that is even possible with TeXmacs document styles.

I hope this helps you in the right direction.  Good luck!

Robert


Christian Brædstrup wrote:
Hi,

I am new to TexMacs (started using it about two months ago) and I have run in to some problems that I hope someone can help me with.
I am writing a document in the book style. This makes the document look just I want it to but it also inserts a blank page after the title page, after the table of content and before the bibliography. How do I remove these pages? I have tried changing the title-book.ts file but it didn't change the layout when i export to PDF.

Cheers,
Christian Brædstrup





Archive powered by MHonArc 2.6.19.

Top of Page