Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Graphics problems

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Graphics problems


Chronological Thread 
  • From: Henri Lesourd <address@hidden>
  • To: Thomas Hoffmann <address@hidden>
  • Cc: TeXmacs user list <address@hidden>
  • Subject: Re: [TeXmacs] Graphics problems
  • Date: Thu, 14 Sep 2006 09:25:44 +0200

Thomas Hoffmann wrote:

I tried to include some simple graphics into a document and ran into
some problems:

1) Using the internal "draw image" function I could not find a way to
reproducibly move element (filled polygons, e.g.) from "foreground" to
"background" and vice versa.


Put the cursor above the graphical object (in such a way that
it becomes selected, i.e. with blue dots or squares showing
the control points), then use Home, End, PgUp, PgDwn to move
across layers (this feature is gonna to be extended, but currently,
one can already use it for changing the z-level of the objects).

Cf. The yellow line in the example file attached to this email.


As the documentation for the drawing
functions is rather sparse, I finally gave up.


One can have a look at
http://www.ags.uni-sb.de/~henri/texmacs/aTeXmacsGraphicsTutorial.pdf

for a more extended documentation (although not complete) about
the graphical editor of TeXmacs (this is only a tutorial). Docs
about this is to be improved over the next months.


2) Then I started xfig (3.2.4), created a little image, saved it and
tried to load it into TeXmacs. All I get is a red question mark. I can
then create a preview file: still the red question mark. Export to pdf:
red question mark again. So I have to convert the fig file externally to
eps to get a picture. (Ironically, every other image format as gif, eps,
jpg works).


To my knowledge, indeed, one cannot directly include fig files
inside TeXmacs documents.
<TeXmacs|1.0.6.6>

<style|generic>

<\body>

<with|gr-mode|<tuple|edit|line>|gr-frame|<tuple|scale|1cm|<tuple|0.5gw|0.5gh>>|gr-geometry|<tuple|geometry|1par|0.6par>|gr-line-width|50ln|gr-color|#e0e0ff|<graphics|<with|line-width|50ln|<line|<point|-6.38438|4.33635>|<point|-6.53254|-4.19387>>>|<with|color|grey|line-width|50ln|<line|<point|-5.51654|-4.42671>|<point|-5.07203|4.18819>>>|<with|color|red|line-width|50ln|<line|<point|-4.5217|-4.21504>|<point|-3.92903|4.16702>>>|<with|color|blue|line-width|50ln|fill-color|blue|<line|<point|-2.70135|4.01885>|<point|-3.23052|-4.42671>>>|<with|color|yellow|line-width|50ln|fill-color|blue|<line|<point|-7.63322|3.55318>|<point|7.45872|-2.73336>>>|<with|color|green|line-width|50ln|fill-color|green|<line|<point|-0.499999|-4.21504>|<point|-0.0766636|3.76485>>>|<with|color|orange|line-width|50ln|fill-color|green|<line|<point|1.278021|-4.13037>|<point|1.23568|3.76485>>>|<with|color|magenta|line-width|50ln|fill-color|green|<line|<point|2.548017|-3.58003>|<point|2.71736|3.78602>>>|<with|color|brown|line-width|50ln|fill-color|green|<line|<point|4.24137|3.70135>|<point|3.92386|-3.58003>>>|<with|color|pink|line-width|50ln|fill-color|green|<line|<point|5.78655|3.59552>|<point|5.36321|-3.51653>>>|<with|color|#e0e0ff|line-width|50ln|<line|<point|-7.88722|-0.214513>|<point|7.45872|-0.278013>>>>>
</body>

<\initial>
<\collection>
<associate|page-type|letter>
<associate|preamble|false>
</collection>
</initial>


Archive powered by MHonArc 2.6.19.

Top of Page