mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] font-base-size woes


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] font-base-size woes
  • Date: Sun, 16 Mar 2008 10:21:47 +0100

On Sat, Mar 15, 2008 at 09:33:29PM -0400, K B wrote:
> Hey Joris,
>
> Thanks for the response. I actually tried that too, and it almost
> works, except for one quirk. I like to create files with "texmacs
> newfile.tm &" rather than just creating a blank file with "texmacs &"
> and then saving it. This scenario seems to pick up only the "texmacs
> &" case, not the case of "texmacs newfile.tm &"

There is no way to know that you just created a new file.
Nevertheless you can test
1) whether the buffer-tree is trivial (match? (buffer-tree) '(document ""))
2) whether your variable is already set (init-has? "font-base-size")

Best wishes, Joris



Archive powered by MHonArc 2.6.19.

Top of page