Category Archives: Tips

JabRef and LyX

JabRef can send bibliographical reference to LyX by just pressing a button. For this, put in LyX Preferences > Paths > "LyXServer pipe" the line

$HOME/.lyx/lyxpipe,

save and reconfigure LyX.

Then from JabRef select any reference (which has a Bibtexkey), press the LyX button, et voila! Of course, it is assumed, that you have inserted a BibTeX database in the file (or in a master file of the file).

This is for Linux. For other systems, pls check the respective variable definitions.

Assigning Functions to Useless Keys in FVWM

  1. Execute xev and press the not assigned useless key.
  2. Read the keysym in the terminal.
  3. Open /usr/include/X11/keysymdef.h and find the keysym.
  4. Read at same line the name of the key XK_the_name.
  5. Put in .fvwm2rc the line "Key the_name A N Exec exec an_application_you_like".
  6. Restart fvwm.

Enjoy the comfort!

xfig with LaTeX fonts

This is for me, to remember:

First solution:

  1. Put in the LaTeX document:
    \usepackage{color}
  2. Start xfig with

    xfig -specialtext -latexfonts -startlatexFont default
  3. Put the text you want in LaTeX code
  4. Save and export als "LaTeX picture"
  5. Input from the LaTeX document with
    \input exported.latex

Result: Some slopes will not be exact and the patterns are missing.

For the best result there is the second solution:

  1. Put in the LaTeX document:

    \usepackage{color}

    \usepackage{epsfig}
  2. Start xfig with

    xfig -specialtext -latexfonts -startlatexFont default
  3. Put the text you want in LaTeX code
  4. Save and export als "Combinded PS/LaTeX (both parts)"
  5. Be sure to have the LaTeX document in the same directory as the pstex_t and pstex files.
  6. Input from the LaTeX document with
    \input exported.pstex_t

That's it!