Skip to Content.
Sympa Menu

texmacs-users - Re: Modify document style "tmbook"

Subject: mailing-list for TeXmacs Users

List archive

Re: Modify document style "tmbook"


Chronological Thread 
  • From: TeXmacs <address@hidden>
  • To: address@hidden
  • Subject: Re: Modify document style "tmbook"
  • Date: Tue, 3 Mar 2020 08:35:09 +0100

Dear Nicolas,

One general thing that you may do is the following:
select the tmbook style and do Focus -> Tmbook -> Edit style.

If you are interested in modifying the way page breaks are inserted
for chapter titles, then you should look for all chapter-related macros;
you will notice that there is a dedicated section for this in
the style file tmbook.ts. In particular, you may spot the tag 'new-dpage*',
which inserts a 'double page before'. You may check this by placing
your cursor behind the tag and looking for the contextual help
using Focus -> (New double page before) Describe.

Replacing 'new-dpage*' by 'new-page*' will only insert simple page breaks.
Removing the tag altogether will suppress page breaks before new chapters.

Best wishes, --Joris




On Thu, Feb 27, 2020 at 03:22:33PM +0100, wrote:
> Dear Texmacs users,
>
> I'd like to write in a document style similar to the one used in the
> Texmacs user manual of 2013 (
> https://hal.archives-ouvertes.fr/hal-00785535/document).
>
> The most similar style I found was "tmbook" (when you select
> Document/Style/Livre/Texmacs/tmbook).
> However, this style adds blank pages that you cannot suppress after the
> title (3 blank pages), and even after the "Table of Contents", "List of
> figures" etc...
>
> Do you have a solution to edit pre-existing Texmacs styles in general, and
> suppress those automatic page inserts ?
> For example, the user manual of 2013 does not feature blank pages but has
> all the other characteristics of the "tmbook" style : maybe I could edit it
> ?
>
> I have tried to understand how you are supposed to edit source files, but I
> never managed to make anything work... (I think that this article
> <http://www.texmacs.org/tmdoc/devel/style/design/style-example.en.html> was
> supposed to help, but I did not mannage to save any source document I
> edited or created without having errors poping in).
>
> I would like to give my warmest thanks to the Texmacs software and all the
> dedicated community,
> Thank you very much.
> Nicolas C.



Archive powered by MHonArc 2.6.19.

Top of Page