Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] How to: Unbreakable space? and Section format?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] How to: Unbreakable space? and Section format?


Chronological Thread 
  • From: Enrique Perez-Terron <address@hidden>
  • To: Javier Arántegui Jiménez <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] How to: Unbreakable space? and Section format?
  • Date: 21 Oct 2003 12:24:47 +0200
  • Organization:

On Mon, 2003-10-20 at 09:36, Javier Arántegui Jiménez wrote:
> Hello,
>
> I have two simple questions:
>
> a) How can I insert an unbreakable space? I have a number with its unit (7
> m)
> at the end of a line and want them together.

Joris van der Hoeven answered this one just a few days ago, M-/ after
the space. This feature was broken in some development versions, fixed
since 1.0.2.3.
>
> b) I want to change the format of the Sections. I want them in Red and in
> Helvetica. I can change them one by one but it must be a more efficient way
> to do it.
>
> Please, when answering keep in mind that I don't know anything about LaTex
> or
> Scheme.

I don't know this one. Presumably you should customize the style, or
write your own style files. There is something about this in the
documentation, Help->Style->Writing Your Own Styles, but it is grossly
incomplete. If you are using the document style book, load book.ts
(File->Load... /usr/share/TeXmacs/styles/book.ts; omitting the path as
the help doc suggests did not work for me.) In the message field at the
bottom of the window you will see a list of (sub-)styles invoked by
book.ts. Search for them and load them in turn, e.g.,
/usr/share/TeXmacs/Packages/common-base.ts, and notice what styles and
packages they invoke. Once you arrive at files with some real macro
definitions you will have to begin searching and guessing where the
section attributes are defined which you want to change...

Another approach, I guess you could look at your own .tm file in emacs
to determine the keywords to search for among the .ts files. Look at the
sections that you have changed manually, and compare with the sections
you have not changed. Do `find /usr/share/TeXmacs -name \*.ts | xargs
grep -l whatever'.

> Thank you in advance,

I have noticed that you have got no answer that I could see in the list,
and your first question having been answered just two days earlier or so
could have something to do with that. However, I think your second
question merits some comments from those who know something. Perhaps
you will get some hints if you offer to improve the help docs on this
point, even if only with a few examples, it would probably be very
useful.
>
> Javier

Regards, Enrique




Archive powered by MHonArc 2.6.19.

Top of Page