mailing-list for TeXmacs Users

Text archives Help


Re: Quick questions from a new user


Chronological Thread 
  • From: address@hidden
  • To: address@hidden
  • Subject: Re: Quick questions from a new user
  • Date: Tue, 3 Dec 2002 14:54:58 +0100

On Thu, May 30, 2002 at 06:51:52PM -0400, Kevin Ellwood wrote:
>
> I just started using texmacs amd I think it is great! However, I have
> tried to read the help files and the tutorial and I can't seem to figure
> out how to scale an eps image that I include as a figure. The
> documentation says that you can do it.

First of all, sorry for the late reply.

I just answered that question in another mail, but I will restate the basics
here:

Parameters 2 and 3 of the postscript element (which you can modify by
backspacing into an image) can be

-- factors of the form "*2", "/3" or "*4/5"

-- lengths like "3cm", "128px" or "0.8par"

If one of these two parameters is ommitted, the image is scaled with a
preserved aspect ratio. If both parameters are non-empty the image can
be scaled with an arbitrary aspect ratio.

Parameters 4 to 7 are length which specify how cropping most be done,
relative to the the bottom left corner of the image.

You can find more about lengths on the Wiki:

http://alqua.com/tmresources/how%20to%20use%20length%20units


> By looking at the menus, it seems that "insert->special->resize object"
> has something to do with it but it doesn't seem to be working.
> Ultimately, I would just like to scale the eps image by some fraction.


Then you should use something like:

<postscript|figure.ps|/3|||||>

Resize object has nothing to do with this. It is used to change the
bounds of a typeset box. Is is used to typeset list items.

> Another question is related to bibtex and texmacs. It seems the
> environment variable BIBINPUTS is ignore when generating the
> bibliography. To this point, I have been copying my *.bib files into
> the directory where I am working with texmacs documents. Is there a
> file in the .TeXmacs directory where I can set environment variables?

Dunno... can someone help?

> The last question is related to page size. I have set the page size to
> "letter" but when I print preview with ghostscript the page size is A4.
> I have looked into the *.tm file with a text editor and letter is being
> used as the page size. I also looked at the postscript file generated
> by texmacs and the pagesize is set to A4. Is there an additional page
> size configuration that I have to set for printing and can I set the
> default for texmacs to letter size?

You have to set the printer page size in the menu
"Edit->Preferences->Printer->Paper type". That menu will be moved in a
new "File->Page setup" menu.

Joris: maybe this setting should be ignored when printing to a file
(aka. exporting to PostScript). What do you think?

--
David Allouche | GNU TeXmacs -- Writing is a pleasure
Free software engineer | http://www.texmacs.org
http://ddaa.net | http://alqua.com/tmresources
address@hidden | address@hidden
TeXmacs is NOT a LaTeX front-end and is unrelated to emacs.



  • Re: Quick questions from a new user, david, 12/03/2002

Archive powered by MHonArc 2.6.19.

Top of page