Re: LyX-1.3.6 compile error on Slackware-10.1 system.

2005-07-18 Thread Angus Leeming
Anand wrote:
 How do you enforce compiling without STL?

Qt's STL compatibility mode means that QString can be converted implicitly
to/from std::string.

-- 
Angus



Re: LyX-1.3.6 compile error on Slackware-10.1 system.

2005-07-18 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Anand wrote:
 How do you enforce compiling without STL?

Angus Qt's STL compatibility mode means that QString can be converted
Angus implicitly to/from std::string.

Yes, and it is disabled by defining QT_NO_STL.

Jarc



Setting the font of SIunits package to sans serif?

2005-07-18 Thread Angus Leeming
I need some LaTeX guru help ;-)

The attached LaTeX file produces output in which the x-axis label of
the graph is defined as
Volume (\milli\meter$^3$)

The image is generated by XFig, so I've overridden the definition of
\SetFigFont by adding this to my preamble:

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

That works perfectly, giving me sans-serif labels. Unfortunately, the
mm^3 bit remains obstinately in a serif font. I've tried adding

\renewcommand{\familydefault}{\sfdefault}

to the preamble. No joy.

I guess that my question comes in two parts:
1. How to specify the font for \milli\meter. Ideally only in the
figures.
2. How to specify the font for ^3.

Regards,
Angus


%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\usepackage{color}
\usepackage{lmodern}
\usepackage[amssymb]{SIunits}

\renewcommand{\familydefault}{\sfdefault}

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
   \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

%% work around LyX bug
%% (LyX swallows \protect in math macros.)
\newcommand{\myprotect}{\protect}

\usepackage{babel}
\makeatother
\begin{document}
%
\begin{figure}
\begin{center}\begin{picture}(0,0)\includegraphics{trial_img.eps}\end{picture}\input{trial_img.pstex_t}\end{center}


\caption{A summation of \citeauthor{Mercer:etal91}'s ventilatory unit volume
distribution data.}
\end{figure}

\end{document}


trial_img.eps
Description: image/eps
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(5884,3579)(1272,-4012)
\put(1838,-3523){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(1838,-3031){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.05
\put(1838,-2540){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.1
\put(1838,-2048){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.15
\put(1838,-1556){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.2
\put(1838,-1065){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.25
\put(1838,-573){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.3
\put(1913,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(2638,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.5
\put(3363,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1
\put(4088,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1.5
\put(4813,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2
\put(5538,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2.5
\put(6263,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3
\put(6988,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3.5
\put(1387,-1986){\rotatebox{90.0}{\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Number
 of ventilatory units (\%)}
\put(4450,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Volume
 (\milli\meter$^3$)
\put(6388,-741){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}raw
 data
\put(6388,-928){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}log-normal
 distribution
\end{picture}%


Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Any clues on how to write
$9\times9\times16$ block
and get it to appear in a sans serif font?

Ideally, I'd be able to do this for my XFig figures and revert back to
the default math font for the text.

Angus




Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:

 Angus Leeming wrote:
 Any clues on how to write
 $9\times9\times16$ block
 and get it to appear in a sans serif font?
 
 $\mathsf{9\times9\times16\ block}$

Yes, I know that one. What I was looking for was

some magic command

several math formulae in a sans serif font
...
...

return to normal math style

so that I can wrap each XFig figure with a couple of bits of LaTeX
magic. Any hope?

Angus




Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Gerhard Lindel

Hi all,
I wanted to compile the newest version on my Debian Sarge:
./configure --with-frontend=qt

Configure ended with :
configure: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !

libqt3-mt-dev is installed.
Any ideas?

Gerhard


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:



Angus Leeming wrote:


Any clues on how to write
   $9\times9\times16$ block
and get it to appear in a sans serif font?


$\mathsf{9\times9\times16\ block}$



Yes, I know that one. What I was looking for was

some magic command

several math formulae in a sans serif font
...
...

return to normal math style

so that I can wrap each XFig figure with a couple of bits of LaTeX
magic. Any hope?


\documentclass{article}
\usepackage{sansmath}
\parindent=0pt
\begin{document}

\bgroup
\sansmath
\Huge$9\times9\times16\ block$
\egroup

\Huge$9\times9\times16\ block$

\end{document}

grouping is necessary, there is no way back


Herbert



Re: Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Angus Leeming
Gerhard Lindel wrote:
 configure: error: Cannot compile a simple Qt executable. Check you
 have the right $QTDIR !
 libqt3-mt-dev is installed.

You're probably missing:

qt3-dev-tools
libqt3-headers

Angus




Re: put graph in the center of a float

2005-07-18 Thread Uwe Stöhr

Richard Wang wrote:


Can someone tell me how to put a graph in the center of a float?


Set the cursor before or behind the graphic and use the menu 
Edit-Paragraph to center the paragraph of the graphic.


regards Uwe


Re: Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Georg Baum
Gerhard Lindel wrote:

 Hi all,
 I wanted to compile the newest version on my Debian Sarge:
 ./configure --with-frontend=qt
 
 Configure ended with :
 configure: error: Cannot compile a simple Qt executable. Check you have
 the right $QTDIR !
 libqt3-mt-dev is installed.
 Any ideas?

You could try to apply
http://ftp.debian.org/debian/pool/main/l/lyx/lyx_1.3.4-2.diff.gz to your
unpacked source, chmod +x debian/rules, add a changelog entry with updated
version number in debian/changelog and then build .deb packages with

fakeroot debian/rules binary

If you do that and have a clean sarge install (I don't have one, otherwise I
would do it), please put the created .debs on
ftp.devel.lyx.org/pub/incoming. If you have any questions, pleae ask. If
you can wait a bit I can also send you an adapted patch for 1.3.6.


Georg



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 so that I can wrap each XFig figure with a couple of bits of LaTeX
 magic. Any hope?
 
 \documentclass{article}
 \usepackage{sansmath}
 \parindent=0pt
 \begin{document}
 
 \bgroup
 \sansmath
 \Huge$9\times9\times16\ block$
 \egroup
 
 \Huge$9\times9\times16\ block$
 
 \end{document}

Thanks, Herbert. One more question if I may.

I have an x-axis label Path length (\micro\meter) in a sans serif
font:

\usepackage[textstyle,amssymb]{SIunits}

\gdef\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%

...

\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
{\familydefault}{\mddefault}{\updefault}Path length
(\micro\metre)

Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can I
do anything about that?

Angus





Re: put graph in the center of a float

2005-07-18 Thread Herbert Voss

Uwe Stöhr wrote:

Richard Wang wrote:


Can someone tell me how to put a graph in the center of a float?



Set the cursor before or behind the graphic and use the menu 
Edit-Paragraph to center the paragraph of the graphic.


then you'll get some additional vertical space before
a caption. Better is to write in ERT (ctrl-L) just at
the beginning of the float \centering

Herbert



Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:


I have an x-axis label Path length (\micro\meter) in a sans serif
font:

\usepackage[textstyle,amssymb]{SIunits}

\gdef\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%

...

\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
{\familydefault}{\mddefault}{\updefault}Path length
(\micro\metre)

Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can I
do anything about that?


never used SIunits, but \SetFigFont sets the fontfamily to \sfdefault.

\fontfamily{\rmdefault}

should work

Herbert



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Angus Leeming wrote:
 I have an x-axis label Path length (\micro\meter) in a sans serif
 font:
 
 \usepackage[textstyle,amssymb]{SIunits}
 
 \gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
 
\fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
  \selectfont}%
 
 ...
 
 \put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
 {\familydefault}{\mddefault}{\updefault}Path length
 (\micro\metre)
 
 Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can
 I do anything about that?

I think that the relevant bits of SIUnits.sty are:

\DeclareTextSymbol{\SImu}{TS1}{181} % micro sign
\DeclareFontEncoding{TS1}{}{}
\DeclareFontSubstitution{TS1}{cmr}{m}{n}
\DeclareFontFamily{OML}{eur}{\skewchar\font127} \DeclareFontShape{OML
{eur}{m}{n}{5 6
7 8 9 gen * eurm
1010.951214.417.2820.7424.88eurm10}{}
\DeclareSymbolFont{greek}{OML}{eur}{m}{n}
\DeclareMathSymbol{\upmu}{\mathord}{greek}{16}

\AtBeginDocument{%
[EMAIL PROTECTED]
 \addprefix{\micro}{\mbox{\SImu}}%
\else%
  \addprefix{\micro}{\upmu}%
 \fi%
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
\fi}

So, I guess I need to know how to redefine \SImu as an upright, sans
serif font. (Just for info, sansmath doesn't help any).



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 Unfortunately, the 'mu' of \micro\meter appears in a serif font.
 Can I do anything about that?
 
 never used SIunits,

It's good.

 but \SetFigFont sets the fontfamily to \sfdefault.

I know. That's what I want.

 \fontfamily{\rmdefault}
 should work

??? I want *sans* serif fonts. For the mu of \micro\meter too.

 Herbert
Angus





Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 I have no problem to get it in sf with

Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?

Angus

 \documentclass{article}
 \parindent=0pt

%% No sans serif font now :(
\usepackage{lmodern}

 \usepackage[textstyle,amssymb]{SIunits}
 \makeatletter
 \def\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
   \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%
 \makeatother
 \begin{document}
 
 \Huge\micro\meter % rm
 
 \SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 \Huge Path length(\micro\metre)   % sf
 
 \end{document}




how to install on sarge

2005-07-18 Thread belahcene abdelkader




 
 Hi,
 I downloaded the last version 1.3.6
 
 tried to install it on debian sarge, where 1.3.4 was
 already install ( which came in the sarge disto);
 I got errors with fedora compiled
 so I tried the source, here also I have problem with
 moc, moc2 and other packages  !
 I don't understand, since the 1.3.4 is installed;
 normally the 1.3.6 must be!! is there big changes
 !!!
 I had same problem with 1.3.5, so I didn't install
 it!!
 
 how to install it 
 
 
 thanks for help!
 
 




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?




you need the right fontencoding.



Hmmm. And that's what, exactly?

Maybe this would beeasier if I provided you with a definitive example of my
problem code. Attached is a stripped down .tex file as created by LyX
together with associated .eps and .pstex_t files. Also attached is the
resultant .dvi file. See that the \mu is in a serif font?


use cmbright instead of lmodern and then
with \usepackage{textcomp}  \textmu\meter


Herbert

ps: With PSTricks it would be easier ;-)



Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:


I have no problem to get it in sf with



Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?


you need the right fontencoding. And btw: where is
the sense of the five parameters of SetBigFont??

HErbert

\documentclass{article}
\parindent=0pt
\usepackage[textstyle,amssymb]{SIunits}
\usepackage[T1]{fontenc}%  !!
\usepackage{lmodern}
\makeatletter
\def\SetFigFont{%!
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%
\makeatother
\begin{document}

\Huge\micro\meter % rm

\SetFigFont%!
\Huge Path length(\micro\metre)   % sf

\end{document}



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 use cmbright instead of lmodern and then
 with \usepackage{textcomp}  \textmu\meter

Thanks, Herbert, I'll try that. It;s certainly good enough for me, given
that I'm trying to produce camera-ready images for a paper that will be
submitted in Word format. (My boss is too set in his ways to change.)

It's an ugly, clunky solution in general though (because I read you telling
us that lmodern is the thing to use) :-(

 Herbert

 ps: With PSTricks it would be easier ;-)

Easier than this gnuplot file which is exported to XFig by my
gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-)

clear
reset
set xtics nomirror
set ytics nomirror
set xlabel 'Path length (\micro\metre)' 0, -1
set ylabel 'Number of pathways (\%)' -1

set style fill solid 0.125
set style line 1 linetype 1 linewidth 1 pointtype 0
set style line 2 linetype 1 linewidth 2 pointtype 0
set style line 3 linetype 1 linewidth 4 pointtype 0

set label '9$\times$9$\times$16 block' at 1200.,20.
set label '11$\times$11$\times$22 block' at 1600.,14.
set label '9$\times$9$\times$32 block' at 2200.,7.

plot \
'../mercer_crapo_pathways.gnudat' \
using 1:6 title 'Mercer \ Crapo' with boxes ls 3, \
'acinus3D_d0_n1_11x11x22_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1, \
'acinus3D_d0_n1_9x9x16_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1, \
'acinus3D_d0_n1_9x9x32_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1

-- 
Angus



LaTeX-- LyX: problems with accents

2005-07-18 Thread Stefano Franchi

Hi all,

	I am trying to import a LaTeX file into LyX but I cannot convince LyX 
to read the (many) accents in the original .tex file. Has anyone 
encountered this problem before? I searched the list archives but 
couldn't find anything.
To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm 
trying to import the LaTeX file from the import menu (which uses reLyX, 
I believe). The original file has many sequences like \`e or \'e etc. 
Lyx imports the file without complaining, but all accents disappear 
from the LyX display window as well as from the pdf ouput. Perhaps it 
is a problem with encodings? If I try to open and compile the LaTeX 
file in Texshop (or from the terminal) everything works fine, though.


Any help is greatly appreciated

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
 lmodern. Can it be made to do so?

 you need the right fontencoding.

Hmmm. And that's what, exactly?

Maybe this would beeasier if I provided you with a definitive example of my
problem code. Attached is a stripped down .tex file as created by LyX
together with associated .eps and .pstex_t files. Also attached is the
resultant .dvi file. See that the \mu is in a serif font?

 And btw: where is the sense of the five parameters of SetBigFont??

Hey! How do I know? ;-)

It's nonsense output by XFig's pstex_t export. Each .pstex_t file begins:

\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%

So I'm preempting this definition by defining it as I'd like it to be in my
preamble.

-- 
Angus

trial.dvi
Description: TeX dvi file


trial_img.eps
Description: image/eps
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(5923,3579)(1272,-4012)
\put(1813,-3523){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}-5
\put(1813,-3031){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(1813,-2540){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 5
\put(1813,-2048){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 10
\put(1813,-1556){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 15
\put(1813,-1065){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 20
\put(1813,-573){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 25
\put(1888,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(2526,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 500
\put(3163,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1000
\put(3801,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1500
\put(4438,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2000
\put(5076,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2500
\put(5713,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3000
\put(6351,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3500
\put(6988,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 4000
\put(1387,-1986){\rotatebox{90.0}{\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Number
 of pathways (\%)}
\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Path
 length (\micro\metre)
\put(3418,-1065){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}9$\times$9$\times$16
 block
\put(3928,-1655){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}11$\times$11$\times$22
 block
\put(4693,-2343){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}9$\times$9$\times$32
 block
\put(6388,-710){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Mercer
 \ Crapo
\end{picture}%
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\makeatletter
%% User specified LaTeX commands.
\usepackage{color}
\usepackage{lmodern}
\usepackage[textstyle,amssymb]{SIunits}

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files by setting it to do nothing.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

\usepackage{babel}
\makeatother
\begin{document}

\begin{figure}
\begin{center}\begin{picture}(0,0)\includegraphics{trial_img.eps}\end{picture}\input{trial_img.pstex_t}\end{center}

\end{figure}

\end{document}


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


Unfortunately, the 'mu' of \micro\meter appears in a serif font.
Can I do anything about that?


never used SIunits,



It's good.



but \SetFigFont sets the fontfamily to \sfdefault.



I know. That's what I want.



\fontfamily{\rmdefault}
should work



??? I want *sans* serif fonts. For the mu of \micro\meter too.


uih, just thought the other way round ...

I have no problem to get it in sf with

\documentclass{article}
\parindent=0pt
\usepackage[textstyle,amssymb]{SIunits}
\makeatletter
\def\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%
\makeatother
\begin{document}

\Huge\micro\meter % rm

\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
\Huge Path length(\micro\metre)   % sf

\end{document}


Herbert



Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Jose' Matos
On Monday 18 July 2005 19:46, Stefano Franchi wrote:
 Hi all,

   I am trying to import a LaTeX file into LyX but I cannot convince LyX
 to read the (many) accents in the original .tex file. Has anyone
 encountered this problem before? I searched the list archives but
 couldn't find anything.

I don't remember such problem either.

 To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm
 trying to import the LaTeX file from the import menu (which uses reLyX,
 I believe). The original file has many sequences like \`e or \'e etc.
 Lyx imports the file without complaining, but all accents disappear
 from the LyX display window as well as from the pdf ouput. Perhaps it
 is a problem with encodings?

If you create a document with accents in lyx does it shows in pdf?

 If I try to open and compile the LaTeX 
 file in Texshop (or from the terminal) everything works fine, though.

 Any help is greatly appreciated

 Stefano
 __
 Stefano Franchi
 Department of Philosophy  Ph:  (64) 9 373-7599 x83940
 University Of AucklandFax: (64) 9 373-7408
 Private Bag 92019 [EMAIL PROTECTED]
 Auckland
 New Zealand


Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Stefano Franchi


On Jul 18, 2005, at 3:00 PM, Jose' Matos wrote:


On Monday 18 July 2005 19:46, Stefano Franchi wrote:

Hi all,

I am trying to import a LaTeX file into LyX but I cannot convince LyX
to read the (many) accents in the original .tex file. Has anyone
encountered this problem before? I searched the list archives but
couldn't find anything.


I don't remember such problem either.


To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm
trying to import the LaTeX file from the import menu (which uses 
reLyX,

I believe). The original file has many sequences like \`e or \'e etc.
Lyx imports the file without complaining, but all accents disappear
from the LyX display window as well as from the pdf ouput. Perhaps it
is a problem with encodings?


If you create a document with accents in lyx does it shows in pdf?


Accents in Lyx -- pdf are no problem, I use them all the times. That 
is, if I insert the accents in LyX they come out fine. But now I need 
to import a non-LyX produced LaTeX file, and the accents are not 
translated.





If I try to open and compile the LaTeX
file in Texshop (or from the terminal) everything works fine, though.

Any help is greatly appreciated

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand


__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Jean-Marc Lasgouttes
 Stefano == Stefano Franchi [EMAIL PROTECTED] writes:

Stefano Hi all, I am trying to import a LaTeX file into LyX but I
Stefano cannot convince LyX to read the (many) accents in the
Stefano original .tex file. Has anyone encountered this problem
Stefano before? 

Hello,

Could you send a file that demonstrate the problem?

JMarc


Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Angus Leeming
Stefano Franchi wrote:
 Accents in Lyx -- pdf are no problem, I use them all the times. That
 is, if I insert the accents in LyX they come out fine. But now I need
 to import a non-LyX produced LaTeX file, and the accents are not
 translated.

Stefano, you should through away reLyX because it's a pile of unmaintained
rubbish. Instead, you should try out tex2lyx:

http://wiki.lyx.org/LaTeX/LatexToLyx

If you don't want to compile tex2lyx yourself, drop a mail to one of our
Mac users. Andreas Vox avox () arcor ! de or Bennett Helm bennett.helm
() fandm ! edu spring to mind. I'm sure that between you running
make_tex2lyx_dist.sh should be a snip.

-- 
Angus



Automatic view DVI file after update DVI

2005-07-18 Thread Paul Smith
Dear All

Systematically, when I update the DVI file, I want to view the DVI
file. So, it would be nice to be possible to configure LyX so that
clicking on Update -- DVI led automatically to the DVI viewer. Can it
be done with LyX 1.3.6?

Thanks in advance,

Paul


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


use cmbright instead of lmodern and then
with \usepackage{textcomp}  \textmu\meter



Thanks, Herbert, I'll try that. It;s certainly good enough for me, given
that I'm trying to produce camera-ready images for a paper that will be
submitted in Word format. (My boss is too set in his ways to change.)

It's an ugly, clunky solution in general though (because I read you telling
us that lmodern is the thing to use) :-(


sure, but an upright greek letter in sans serif is another question ...



ps: With PSTricks it would be easier ;-)



Easier than this gnuplot file which is exported to XFig by my
gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-)


I do not think so ... ;-)



clear
reset
set xtics nomirror
set ytics nomirror
set xlabel 'Path length (\micro\metre)' 0, -1
set ylabel 'Number of pathways (\%)' -1


[ ... ]

sent me your data files as private mails

Herbert



Re: LyX-1.3.6 compile error on Slackware-10.1 system.

2005-07-18 Thread Angus Leeming
Anand wrote:
 How do you enforce compiling without STL?

Qt's STL compatibility mode means that QString can be converted implicitly
to/from std::string.

-- 
Angus



Re: LyX-1.3.6 compile error on Slackware-10.1 system.

2005-07-18 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus Anand wrote:
 How do you enforce compiling without STL?

Angus Qt's STL compatibility mode means that QString can be converted
Angus implicitly to/from std::string.

Yes, and it is disabled by defining QT_NO_STL.

Jarc



Setting the font of SIunits package to sans serif?

2005-07-18 Thread Angus Leeming
I need some LaTeX guru help ;-)

The attached LaTeX file produces output in which the x-axis label of
the graph is defined as
Volume (\milli\meter$^3$)

The image is generated by XFig, so I've overridden the definition of
\SetFigFont by adding this to my preamble:

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

That works perfectly, giving me sans-serif labels. Unfortunately, the
mm^3 bit remains obstinately in a serif font. I've tried adding

\renewcommand{\familydefault}{\sfdefault}

to the preamble. No joy.

I guess that my question comes in two parts:
1. How to specify the font for \milli\meter. Ideally only in the
figures.
2. How to specify the font for ^3.

Regards,
Angus


%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\usepackage{color}
\usepackage{lmodern}
\usepackage[amssymb]{SIunits}

\renewcommand{\familydefault}{\sfdefault}

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
   \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

%% work around LyX bug
%% (LyX swallows \protect in math macros.)
\newcommand{\myprotect}{\protect}

\usepackage{babel}
\makeatother
\begin{document}
%
\begin{figure}
\begin{center}\begin{picture}(0,0)\includegraphics{trial_img.eps}\end{picture}\input{trial_img.pstex_t}\end{center}


\caption{A summation of \citeauthor{Mercer:etal91}'s ventilatory unit volume
distribution data.}
\end{figure}

\end{document}


trial_img.eps
Description: image/eps
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(5884,3579)(1272,-4012)
\put(1838,-3523){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(1838,-3031){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.05
\put(1838,-2540){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.1
\put(1838,-2048){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.15
\put(1838,-1556){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.2
\put(1838,-1065){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.25
\put(1838,-573){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.3
\put(1913,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(2638,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.5
\put(3363,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1
\put(4088,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1.5
\put(4813,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2
\put(5538,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2.5
\put(6263,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3
\put(6988,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3.5
\put(1387,-1986){\rotatebox{90.0}{\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Number
 of ventilatory units (\%)}
\put(4450,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Volume
 (\milli\meter$^3$)
\put(6388,-741){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}raw
 data
\put(6388,-928){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}log-normal
 distribution
\end{picture}%


Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Any clues on how to write
$9\times9\times16$ block
and get it to appear in a sans serif font?

Ideally, I'd be able to do this for my XFig figures and revert back to
the default math font for the text.

Angus




Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:

 Angus Leeming wrote:
 Any clues on how to write
 $9\times9\times16$ block
 and get it to appear in a sans serif font?
 
 $\mathsf{9\times9\times16\ block}$

Yes, I know that one. What I was looking for was

some magic command

several math formulae in a sans serif font
...
...

return to normal math style

so that I can wrap each XFig figure with a couple of bits of LaTeX
magic. Any hope?

Angus




Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Gerhard Lindel

Hi all,
I wanted to compile the newest version on my Debian Sarge:
./configure --with-frontend=qt

Configure ended with :
configure: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !

libqt3-mt-dev is installed.
Any ideas?

Gerhard


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:



Angus Leeming wrote:


Any clues on how to write
   $9\times9\times16$ block
and get it to appear in a sans serif font?


$\mathsf{9\times9\times16\ block}$



Yes, I know that one. What I was looking for was

some magic command

several math formulae in a sans serif font
...
...

return to normal math style

so that I can wrap each XFig figure with a couple of bits of LaTeX
magic. Any hope?


\documentclass{article}
\usepackage{sansmath}
\parindent=0pt
\begin{document}

\bgroup
\sansmath
\Huge$9\times9\times16\ block$
\egroup

\Huge$9\times9\times16\ block$

\end{document}

grouping is necessary, there is no way back


Herbert



Re: Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Angus Leeming
Gerhard Lindel wrote:
 configure: error: Cannot compile a simple Qt executable. Check you
 have the right $QTDIR !
 libqt3-mt-dev is installed.

You're probably missing:

qt3-dev-tools
libqt3-headers

Angus




Re: put graph in the center of a float

2005-07-18 Thread Uwe Stöhr

Richard Wang wrote:


Can someone tell me how to put a graph in the center of a float?


Set the cursor before or behind the graphic and use the menu 
Edit-Paragraph to center the paragraph of the graphic.


regards Uwe


Re: Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Georg Baum
Gerhard Lindel wrote:

 Hi all,
 I wanted to compile the newest version on my Debian Sarge:
 ./configure --with-frontend=qt
 
 Configure ended with :
 configure: error: Cannot compile a simple Qt executable. Check you have
 the right $QTDIR !
 libqt3-mt-dev is installed.
 Any ideas?

You could try to apply
http://ftp.debian.org/debian/pool/main/l/lyx/lyx_1.3.4-2.diff.gz to your
unpacked source, chmod +x debian/rules, add a changelog entry with updated
version number in debian/changelog and then build .deb packages with

fakeroot debian/rules binary

If you do that and have a clean sarge install (I don't have one, otherwise I
would do it), please put the created .debs on
ftp.devel.lyx.org/pub/incoming. If you have any questions, pleae ask. If
you can wait a bit I can also send you an adapted patch for 1.3.6.


Georg



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 so that I can wrap each XFig figure with a couple of bits of LaTeX
 magic. Any hope?
 
 \documentclass{article}
 \usepackage{sansmath}
 \parindent=0pt
 \begin{document}
 
 \bgroup
 \sansmath
 \Huge$9\times9\times16\ block$
 \egroup
 
 \Huge$9\times9\times16\ block$
 
 \end{document}

Thanks, Herbert. One more question if I may.

I have an x-axis label Path length (\micro\meter) in a sans serif
font:

\usepackage[textstyle,amssymb]{SIunits}

\gdef\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%

...

\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
{\familydefault}{\mddefault}{\updefault}Path length
(\micro\metre)

Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can I
do anything about that?

Angus





Re: put graph in the center of a float

2005-07-18 Thread Herbert Voss

Uwe Stöhr wrote:

Richard Wang wrote:


Can someone tell me how to put a graph in the center of a float?



Set the cursor before or behind the graphic and use the menu 
Edit-Paragraph to center the paragraph of the graphic.


then you'll get some additional vertical space before
a caption. Better is to write in ERT (ctrl-L) just at
the beginning of the float \centering

Herbert



Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:


I have an x-axis label Path length (\micro\meter) in a sans serif
font:

\usepackage[textstyle,amssymb]{SIunits}

\gdef\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%

...

\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
{\familydefault}{\mddefault}{\updefault}Path length
(\micro\metre)

Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can I
do anything about that?


never used SIunits, but \SetFigFont sets the fontfamily to \sfdefault.

\fontfamily{\rmdefault}

should work

Herbert



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Angus Leeming wrote:
 I have an x-axis label Path length (\micro\meter) in a sans serif
 font:
 
 \usepackage[textstyle,amssymb]{SIunits}
 
 \gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
 
\fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
  \selectfont}%
 
 ...
 
 \put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
 {\familydefault}{\mddefault}{\updefault}Path length
 (\micro\metre)
 
 Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can
 I do anything about that?

I think that the relevant bits of SIUnits.sty are:

\DeclareTextSymbol{\SImu}{TS1}{181} % micro sign
\DeclareFontEncoding{TS1}{}{}
\DeclareFontSubstitution{TS1}{cmr}{m}{n}
\DeclareFontFamily{OML}{eur}{\skewchar\font127} \DeclareFontShape{OML
{eur}{m}{n}{5 6
7 8 9 gen * eurm
1010.951214.417.2820.7424.88eurm10}{}
\DeclareSymbolFont{greek}{OML}{eur}{m}{n}
\DeclareMathSymbol{\upmu}{\mathord}{greek}{16}

\AtBeginDocument{%
[EMAIL PROTECTED]
 \addprefix{\micro}{\mbox{\SImu}}%
\else%
  \addprefix{\micro}{\upmu}%
 \fi%
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
\fi}

So, I guess I need to know how to redefine \SImu as an upright, sans
serif font. (Just for info, sansmath doesn't help any).



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 Unfortunately, the 'mu' of \micro\meter appears in a serif font.
 Can I do anything about that?
 
 never used SIunits,

It's good.

 but \SetFigFont sets the fontfamily to \sfdefault.

I know. That's what I want.

 \fontfamily{\rmdefault}
 should work

??? I want *sans* serif fonts. For the mu of \micro\meter too.

 Herbert
Angus





Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 I have no problem to get it in sf with

Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?

Angus

 \documentclass{article}
 \parindent=0pt

%% No sans serif font now :(
\usepackage{lmodern}

 \usepackage[textstyle,amssymb]{SIunits}
 \makeatletter
 \def\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
   \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%
 \makeatother
 \begin{document}
 
 \Huge\micro\meter % rm
 
 \SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 \Huge Path length(\micro\metre)   % sf
 
 \end{document}




how to install on sarge

2005-07-18 Thread belahcene abdelkader




 
 Hi,
 I downloaded the last version 1.3.6
 
 tried to install it on debian sarge, where 1.3.4 was
 already install ( which came in the sarge disto);
 I got errors with fedora compiled
 so I tried the source, here also I have problem with
 moc, moc2 and other packages  !
 I don't understand, since the 1.3.4 is installed;
 normally the 1.3.6 must be!! is there big changes
 !!!
 I had same problem with 1.3.5, so I didn't install
 it!!
 
 how to install it 
 
 
 thanks for help!
 
 




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?




you need the right fontencoding.



Hmmm. And that's what, exactly?

Maybe this would beeasier if I provided you with a definitive example of my
problem code. Attached is a stripped down .tex file as created by LyX
together with associated .eps and .pstex_t files. Also attached is the
resultant .dvi file. See that the \mu is in a serif font?


use cmbright instead of lmodern and then
with \usepackage{textcomp}  \textmu\meter


Herbert

ps: With PSTricks it would be easier ;-)



Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:


I have no problem to get it in sf with



Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?


you need the right fontencoding. And btw: where is
the sense of the five parameters of SetBigFont??

HErbert

\documentclass{article}
\parindent=0pt
\usepackage[textstyle,amssymb]{SIunits}
\usepackage[T1]{fontenc}%  !!
\usepackage{lmodern}
\makeatletter
\def\SetFigFont{%!
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%
\makeatother
\begin{document}

\Huge\micro\meter % rm

\SetFigFont%!
\Huge Path length(\micro\metre)   % sf

\end{document}



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 use cmbright instead of lmodern and then
 with \usepackage{textcomp}  \textmu\meter

Thanks, Herbert, I'll try that. It;s certainly good enough for me, given
that I'm trying to produce camera-ready images for a paper that will be
submitted in Word format. (My boss is too set in his ways to change.)

It's an ugly, clunky solution in general though (because I read you telling
us that lmodern is the thing to use) :-(

 Herbert

 ps: With PSTricks it would be easier ;-)

Easier than this gnuplot file which is exported to XFig by my
gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-)

clear
reset
set xtics nomirror
set ytics nomirror
set xlabel 'Path length (\micro\metre)' 0, -1
set ylabel 'Number of pathways (\%)' -1

set style fill solid 0.125
set style line 1 linetype 1 linewidth 1 pointtype 0
set style line 2 linetype 1 linewidth 2 pointtype 0
set style line 3 linetype 1 linewidth 4 pointtype 0

set label '9$\times$9$\times$16 block' at 1200.,20.
set label '11$\times$11$\times$22 block' at 1600.,14.
set label '9$\times$9$\times$32 block' at 2200.,7.

plot \
'../mercer_crapo_pathways.gnudat' \
using 1:6 title 'Mercer \ Crapo' with boxes ls 3, \
'acinus3D_d0_n1_11x11x22_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1, \
'acinus3D_d0_n1_9x9x16_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1, \
'acinus3D_d0_n1_9x9x32_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1

-- 
Angus



LaTeX-- LyX: problems with accents

2005-07-18 Thread Stefano Franchi

Hi all,

	I am trying to import a LaTeX file into LyX but I cannot convince LyX 
to read the (many) accents in the original .tex file. Has anyone 
encountered this problem before? I searched the list archives but 
couldn't find anything.
To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm 
trying to import the LaTeX file from the import menu (which uses reLyX, 
I believe). The original file has many sequences like \`e or \'e etc. 
Lyx imports the file without complaining, but all accents disappear 
from the LyX display window as well as from the pdf ouput. Perhaps it 
is a problem with encodings? If I try to open and compile the LaTeX 
file in Texshop (or from the terminal) everything works fine, though.


Any help is greatly appreciated

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
 Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
 lmodern. Can it be made to do so?

 you need the right fontencoding.

Hmmm. And that's what, exactly?

Maybe this would beeasier if I provided you with a definitive example of my
problem code. Attached is a stripped down .tex file as created by LyX
together with associated .eps and .pstex_t files. Also attached is the
resultant .dvi file. See that the \mu is in a serif font?

 And btw: where is the sense of the five parameters of SetBigFont??

Hey! How do I know? ;-)

It's nonsense output by XFig's pstex_t export. Each .pstex_t file begins:

\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%

So I'm preempting this definition by defining it as I'd like it to be in my
preamble.

-- 
Angus

trial.dvi
Description: TeX dvi file


trial_img.eps
Description: image/eps
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(5923,3579)(1272,-4012)
\put(1813,-3523){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}-5
\put(1813,-3031){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(1813,-2540){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 5
\put(1813,-2048){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 10
\put(1813,-1556){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 15
\put(1813,-1065){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 20
\put(1813,-573){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 25
\put(1888,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(2526,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 500
\put(3163,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1000
\put(3801,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1500
\put(4438,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2000
\put(5076,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2500
\put(5713,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3000
\put(6351,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3500
\put(6988,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 4000
\put(1387,-1986){\rotatebox{90.0}{\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Number
 of pathways (\%)}
\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Path
 length (\micro\metre)
\put(3418,-1065){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}9$\times$9$\times$16
 block
\put(3928,-1655){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}11$\times$11$\times$22
 block
\put(4693,-2343){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}9$\times$9$\times$32
 block
\put(6388,-710){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Mercer
 \ Crapo
\end{picture}%
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\makeatletter
%% User specified LaTeX commands.
\usepackage{color}
\usepackage{lmodern}
\usepackage[textstyle,amssymb]{SIunits}

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files by setting it to do nothing.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

\usepackage{babel}
\makeatother
\begin{document}

\begin{figure}
\begin{center}\begin{picture}(0,0)\includegraphics{trial_img.eps}\end{picture}\input{trial_img.pstex_t}\end{center}

\end{figure}

\end{document}


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


Unfortunately, the 'mu' of \micro\meter appears in a serif font.
Can I do anything about that?


never used SIunits,



It's good.



but \SetFigFont sets the fontfamily to \sfdefault.



I know. That's what I want.



\fontfamily{\rmdefault}
should work



??? I want *sans* serif fonts. For the mu of \micro\meter too.


uih, just thought the other way round ...

I have no problem to get it in sf with

\documentclass{article}
\parindent=0pt
\usepackage[textstyle,amssymb]{SIunits}
\makeatletter
\def\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%
\makeatother
\begin{document}

\Huge\micro\meter % rm

\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
\Huge Path length(\micro\metre)   % sf

\end{document}


Herbert



Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Jose' Matos
On Monday 18 July 2005 19:46, Stefano Franchi wrote:
 Hi all,

   I am trying to import a LaTeX file into LyX but I cannot convince LyX
 to read the (many) accents in the original .tex file. Has anyone
 encountered this problem before? I searched the list archives but
 couldn't find anything.

I don't remember such problem either.

 To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm
 trying to import the LaTeX file from the import menu (which uses reLyX,
 I believe). The original file has many sequences like \`e or \'e etc.
 Lyx imports the file without complaining, but all accents disappear
 from the LyX display window as well as from the pdf ouput. Perhaps it
 is a problem with encodings?

If you create a document with accents in lyx does it shows in pdf?

 If I try to open and compile the LaTeX 
 file in Texshop (or from the terminal) everything works fine, though.

 Any help is greatly appreciated

 Stefano
 __
 Stefano Franchi
 Department of Philosophy  Ph:  (64) 9 373-7599 x83940
 University Of AucklandFax: (64) 9 373-7408
 Private Bag 92019 [EMAIL PROTECTED]
 Auckland
 New Zealand


Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Stefano Franchi


On Jul 18, 2005, at 3:00 PM, Jose' Matos wrote:


On Monday 18 July 2005 19:46, Stefano Franchi wrote:

Hi all,

I am trying to import a LaTeX file into LyX but I cannot convince LyX
to read the (many) accents in the original .tex file. Has anyone
encountered this problem before? I searched the list archives but
couldn't find anything.


I don't remember such problem either.


To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm
trying to import the LaTeX file from the import menu (which uses 
reLyX,

I believe). The original file has many sequences like \`e or \'e etc.
Lyx imports the file without complaining, but all accents disappear
from the LyX display window as well as from the pdf ouput. Perhaps it
is a problem with encodings?


If you create a document with accents in lyx does it shows in pdf?


Accents in Lyx -- pdf are no problem, I use them all the times. That 
is, if I insert the accents in LyX they come out fine. But now I need 
to import a non-LyX produced LaTeX file, and the accents are not 
translated.





If I try to open and compile the LaTeX
file in Texshop (or from the terminal) everything works fine, though.

Any help is greatly appreciated

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand


__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Jean-Marc Lasgouttes
 Stefano == Stefano Franchi [EMAIL PROTECTED] writes:

Stefano Hi all, I am trying to import a LaTeX file into LyX but I
Stefano cannot convince LyX to read the (many) accents in the
Stefano original .tex file. Has anyone encountered this problem
Stefano before? 

Hello,

Could you send a file that demonstrate the problem?

JMarc


Re: LaTeX-- LyX: problems with accents

2005-07-18 Thread Angus Leeming
Stefano Franchi wrote:
 Accents in Lyx -- pdf are no problem, I use them all the times. That
 is, if I insert the accents in LyX they come out fine. But now I need
 to import a non-LyX produced LaTeX file, and the accents are not
 translated.

Stefano, you should through away reLyX because it's a pile of unmaintained
rubbish. Instead, you should try out tex2lyx:

http://wiki.lyx.org/LaTeX/LatexToLyx

If you don't want to compile tex2lyx yourself, drop a mail to one of our
Mac users. Andreas Vox avox () arcor ! de or Bennett Helm bennett.helm
() fandm ! edu spring to mind. I'm sure that between you running
make_tex2lyx_dist.sh should be a snip.

-- 
Angus



Automatic view DVI file after update DVI

2005-07-18 Thread Paul Smith
Dear All

Systematically, when I update the DVI file, I want to view the DVI
file. So, it would be nice to be possible to configure LyX so that
clicking on Update -- DVI led automatically to the DVI viewer. Can it
be done with LyX 1.3.6?

Thanks in advance,

Paul


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


use cmbright instead of lmodern and then
with \usepackage{textcomp}  \textmu\meter



Thanks, Herbert, I'll try that. It;s certainly good enough for me, given
that I'm trying to produce camera-ready images for a paper that will be
submitted in Word format. (My boss is too set in his ways to change.)

It's an ugly, clunky solution in general though (because I read you telling
us that lmodern is the thing to use) :-(


sure, but an upright greek letter in sans serif is another question ...



ps: With PSTricks it would be easier ;-)



Easier than this gnuplot file which is exported to XFig by my
gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-)


I do not think so ... ;-)



clear
reset
set xtics nomirror
set ytics nomirror
set xlabel 'Path length (\micro\metre)' 0, -1
set ylabel 'Number of pathways (\%)' -1


[ ... ]

sent me your data files as private mails

Herbert



Re: LyX-1.3.6 compile error on Slackware-10.1 system.

2005-07-18 Thread Angus Leeming
Anand wrote:
> How do you enforce compiling without STL?

Qt's STL compatibility mode means that QString can be converted implicitly
to/from std::string.

-- 
Angus



Re: LyX-1.3.6 compile error on Slackware-10.1 system.

2005-07-18 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Anand wrote:
>> How do you enforce compiling without STL?

Angus> Qt's STL compatibility mode means that QString can be converted
Angus> implicitly to/from std::string.

Yes, and it is disabled by defining QT_NO_STL.

Jarc



Setting the font of SIunits package to sans serif?

2005-07-18 Thread Angus Leeming
I need some LaTeX guru help ;-)

The attached LaTeX file produces output in which the x-axis label of
the graph is defined as
Volume (\milli\meter$^3$)

The image is generated by XFig, so I've overridden the definition of
\SetFigFont by adding this to my preamble:

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

That works perfectly, giving me sans-serif labels. Unfortunately, the
"mm^3" bit remains obstinately in a serif font. I've tried adding

\renewcommand{\familydefault}{\sfdefault}

to the preamble. No joy.

I guess that my question comes in two parts:
1. How to specify the font for \milli\meter. Ideally only in the
figures.
2. How to specify the font for ^3.

Regards,
Angus


%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\usepackage{color}
\usepackage{lmodern}
\usepackage[amssymb]{SIunits}

\renewcommand{\familydefault}{\sfdefault}

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files.
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
   \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

%% work around LyX bug
%% (LyX swallows \protect in math macros.)
\newcommand{\myprotect}{\protect}

\usepackage{babel}
\makeatother
\begin{document}
%
\begin{figure}
\begin{center}\begin{picture}(0,0)\includegraphics{trial_img.eps}\end{picture}\input{trial_img.pstex_t}\end{center}


\caption{A summation of \citeauthor{Mercer:etal91}'s ventilatory unit volume
distribution data.}
\end{figure}

\end{document}


trial_img.eps
Description: image/eps
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(5884,3579)(1272,-4012)
\put(1838,-3523){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(1838,-3031){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.05
\put(1838,-2540){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.1
\put(1838,-2048){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.15
\put(1838,-1556){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.2
\put(1838,-1065){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.25
\put(1838,-573){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.3
\put(1913,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(2638,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0.5
\put(3363,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1
\put(4088,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1.5
\put(4813,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2
\put(5538,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2.5
\put(6263,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3
\put(6988,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3.5
\put(1387,-1986){\rotatebox{90.0}{\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Number
 of ventilatory units (\%)}
\put(4450,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Volume
 (\milli\meter$^3$)
\put(6388,-741){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}raw
 data
\put(6388,-928){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}log-normal
 distribution
\end{picture}%


Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Any clues on how to write
$9\times9\times16$ block
and get it to appear in a sans serif font?

Ideally, I'd be able to do this for my XFig figures and revert back to
the default math font for the text.

Angus




Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:

> Angus Leeming wrote:
>> Any clues on how to write
>> $9\times9\times16$ block
>> and get it to appear in a sans serif font?
> 
> $\mathsf{9\times9\times16\ block}$

Yes, I know that one. What I was looking for was

some magic command

several math formulae in a sans serif font
...
...

return to normal math style

so that I can wrap each XFig figure with a couple of bits of LaTeX
magic. Any hope?

Angus




Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Gerhard Lindel

Hi all,
I wanted to compile the newest version on my Debian Sarge:
./configure --with-frontend=qt

Configure ended with :
configure: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !

libqt3-mt-dev is installed.
Any ideas?

Gerhard


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:



Angus Leeming wrote:


Any clues on how to write
   $9\times9\times16$ block
and get it to appear in a sans serif font?


$\mathsf{9\times9\times16\ block}$



Yes, I know that one. What I was looking for was

some magic command

several math formulae in a sans serif font
...
...

return to normal math style

so that I can wrap each XFig figure with a couple of bits of LaTeX
magic. Any hope?


\documentclass{article}
\usepackage{sansmath}
\parindent=0pt
\begin{document}

\bgroup
\sansmath
\Huge$9\times9\times16\ block$
\egroup

\Huge$9\times9\times16\ block$

\end{document}

grouping is necessary, there is no way back


Herbert



Re: Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Angus Leeming
Gerhard Lindel wrote:
> configure: error: Cannot compile a simple Qt executable. Check you
> have the right $QTDIR !
> libqt3-mt-dev is installed.

You're probably missing:

qt3-dev-tools
libqt3-headers

Angus




Re: put graph in the center of a float

2005-07-18 Thread Uwe Stöhr

Richard Wang wrote:


Can someone tell me how to put a graph in the center of a float?


Set the cursor before or behind the graphic and use the menu 
Edit->Paragraph to center the paragraph of the graphic.


regards Uwe


Re: Lyx 1.3.6 and Debian Sarge

2005-07-18 Thread Georg Baum
Gerhard Lindel wrote:

> Hi all,
> I wanted to compile the newest version on my Debian Sarge:
> ./configure --with-frontend=qt
> 
> Configure ended with :
> configure: error: Cannot compile a simple Qt executable. Check you have
> the right $QTDIR !
> libqt3-mt-dev is installed.
> Any ideas?

You could try to apply
http://ftp.debian.org/debian/pool/main/l/lyx/lyx_1.3.4-2.diff.gz to your
unpacked source, chmod +x debian/rules, add a changelog entry with updated
version number in debian/changelog and then build .deb packages with

fakeroot debian/rules binary

If you do that and have a clean sarge install (I don't have one, otherwise I
would do it), please put the created .debs on
ftp.devel.lyx.org/pub/incoming. If you have any questions, pleae ask. If
you can wait a bit I can also send you an adapted patch for 1.3.6.


Georg



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
>> so that I can wrap each XFig figure with a couple of bits of LaTeX
>> magic. Any hope?
> 
> \documentclass{article}
> \usepackage{sansmath}
> \parindent=0pt
> \begin{document}
> 
> \bgroup
> \sansmath
> \Huge$9\times9\times16\ block$
> \egroup
> 
> \Huge$9\times9\times16\ block$
> 
> \end{document}

Thanks, Herbert. One more question if I may.

I have an x-axis label "Path length (\micro\meter)" in a sans serif
font:

\usepackage[textstyle,amssymb]{SIunits}

\gdef\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%

...

\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
{\familydefault}{\mddefault}{\updefault}Path length
(\micro\metre)

Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can I
do anything about that?

Angus





Re: put graph in the center of a float

2005-07-18 Thread Herbert Voss

Uwe Stöhr wrote:

Richard Wang wrote:


Can someone tell me how to put a graph in the center of a float?



Set the cursor before or behind the graphic and use the menu 
Edit->Paragraph to center the paragraph of the graphic.


then you'll get some additional vertical space before
a caption. Better is to write in ERT (ctrl-L) just at
the beginning of the float \centering

Herbert



Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:


I have an x-axis label "Path length (\micro\meter)" in a sans serif
font:

\usepackage[textstyle,amssymb]{SIunits}

\gdef\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%

...

\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
{\familydefault}{\mddefault}{\updefault}Path length
(\micro\metre)

Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can I
do anything about that?


never used SIunits, but \SetFigFont sets the fontfamily to \sfdefault.

\fontfamily{\rmdefault}

should work

Herbert



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Angus Leeming wrote:
> I have an x-axis label "Path length (\micro\meter)" in a sans serif
> font:
> 
> \usepackage[textstyle,amssymb]{SIunits}
> 
> \gdef\SetFigFont#1#2#3#4#5{%
>  [EMAIL PROTECTED]
> 
\fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
>  \selectfont}%
> 
> ...
> 
> \put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0
> {\familydefault}{\mddefault}{\updefault}Path length
> (\micro\metre)
> 
> Unfortunately, the 'mu' of \micro\meter appears in a serif font. Can
> I do anything about that?

I think that the relevant bits of SIUnits.sty are:

\DeclareTextSymbol{\SImu}{TS1}{181} % micro sign
\DeclareFontEncoding{TS1}{}{}
\DeclareFontSubstitution{TS1}{cmr}{m}{n}
\DeclareFontFamily{OML}{eur}{\skewchar\font127} \DeclareFontShape{OML
{eur}{m}{n}{<5> <6>
<7> <8> <9> gen * eurm
<10><10.95><12><14.4><17.28><20.74><24.88>eurm10}{}
\DeclareSymbolFont{greek}{OML}{eur}{m}{n}
\DeclareMathSymbol{\upmu}{\mathord}{greek}{"16}

\AtBeginDocument{%
[EMAIL PROTECTED]
 \addprefix{\micro}{\mbox{\SImu}}%
\else%
  \addprefix{\micro}{\upmu}%
 \fi%
[EMAIL PROTECTED]
  [EMAIL PROTECTED]
\fi}

So, I guess I need to know how to redefine \SImu as an upright, sans
serif font. (Just for info, sansmath doesn't help any).



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
>> Unfortunately, the 'mu' of \micro\meter appears in a serif font.
>> Can I do anything about that?
> 
> never used SIunits,

It's good.

> but \SetFigFont sets the fontfamily to \sfdefault.

I know. That's what I want.

> \fontfamily{\rmdefault}
> should work

??? I want *sans* serif fonts. For the "mu" of "\micro\meter" too.

> Herbert
Angus





Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
> I have no problem to get it in sf with

Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?

Angus

> \documentclass{article}
> \parindent=0pt

%% No sans serif font now :(
\usepackage{lmodern}

> \usepackage[textstyle,amssymb]{SIunits}
> \makeatletter
> \def\SetFigFont#1#2#3#4#5{%
>   [EMAIL PROTECTED]
>   \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
>   \selectfont}%
> \makeatother
> \begin{document}
> 
> \Huge\micro\meter % rm
> 
> \SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
> \Huge Path length(\micro\metre)   % sf
> 
> \end{document}




how to install on sarge

2005-07-18 Thread belahcene abdelkader




> 
> Hi,
> I downloaded the last version 1.3.6
> 
> tried to install it on debian sarge, where 1.3.4 was
> already install ( which came in the sarge disto);
> I got errors with fedora compiled
> so I tried the source, here also I have problem with
> moc, moc2 and other packages  !
> I don't understand, since the 1.3.4 is installed;
> normally the 1.3.6 must be!! is there big changes
> !!!
> I had same problem with 1.3.5, so I didn't install
> it!!
> 
> how to install it 
> 
> 
> thanks for help!
> 
> 
>



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?




you need the right fontencoding.



Hmmm. And that's what, exactly?

Maybe this would beeasier if I provided you with a definitive example of my
problem code. Attached is a stripped down .tex file as created by LyX
together with associated .eps and .pstex_t files. Also attached is the
resultant .dvi file. See that the \mu is in a serif font?


use cmbright instead of lmodern and then
with \usepackage{textcomp}  \textmu\meter


Herbert

ps: With PSTricks it would be easier ;-)



Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:


I have no problem to get it in sf with



Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
lmodern. Can it be made to do so?


you need the right fontencoding. And btw: where is
the sense of the five parameters of SetBigFont??

HErbert

\documentclass{article}
\parindent=0pt
\usepackage[textstyle,amssymb]{SIunits}
\usepackage[T1]{fontenc}% < !!
\usepackage{lmodern}
\makeatletter
\def\SetFigFont{%

Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
> use cmbright instead of lmodern and then
> with \usepackage{textcomp}  \textmu\meter

Thanks, Herbert, I'll try that. It;s certainly good enough for me, given
that I'm trying to produce camera-ready images for a paper that will be
submitted in Word format. (My boss is too set in his ways to change.)

It's an ugly, clunky solution in general though (because I read you telling
us that lmodern is the thing to use) :-(

> Herbert

> ps: With PSTricks it would be easier ;-)

Easier than this gnuplot file which is exported to XFig by my
gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-)

clear
reset
set xtics nomirror
set ytics nomirror
set xlabel 'Path length (\micro\metre)' 0, -1
set ylabel 'Number of pathways (\%)' -1

set style fill solid 0.125
set style line 1 linetype 1 linewidth 1 pointtype 0
set style line 2 linetype 1 linewidth 2 pointtype 0
set style line 3 linetype 1 linewidth 4 pointtype 0

set label '9$\times$9$\times$16 block' at 1200.,20.
set label '11$\times$11$\times$22 block' at 1600.,14.
set label '9$\times$9$\times$32 block' at 2200.,7.

plot \
'../mercer_crapo_pathways.gnudat' \
using 1:6 title 'Mercer \& Crapo' with boxes ls 3, \
'acinus3D_d0_n1_11x11x22_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1, \
'acinus3D_d0_n1_9x9x16_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1, \
'acinus3D_d0_n1_9x9x32_random_lambda_0.5/acinus_3D_averaged.gnudat' \
using 1:2:3 notitle with errorlines ls 1

-- 
Angus



LaTeX--> LyX: problems with accents

2005-07-18 Thread Stefano Franchi

Hi all,

	I am trying to import a LaTeX file into LyX but I cannot convince LyX 
to read the (many) accents in the original .tex file. Has anyone 
encountered this problem before? I searched the list archives but 
couldn't find anything.
To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm 
trying to import the LaTeX file from the import menu (which uses reLyX, 
I believe). The original file has many sequences like \`e or \'e etc. 
Lyx imports the file without complaining, but all accents disappear 
from the LyX display window as well as from the pdf ouput. Perhaps it 
is a problem with encodings? If I try to open and compile the LaTeX 
file in Texshop (or from the terminal) everything works fine, though.


Any help is greatly appreciated

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: Math in figures in a sans serif font?

2005-07-18 Thread Angus Leeming
Herbert Voss wrote:
>> Ok, Thanks, Herbert. It works for me too. However, it doesn't work with
>> lmodern. Can it be made to do so?

> you need the right fontencoding.

Hmmm. And that's what, exactly?

Maybe this would beeasier if I provided you with a definitive example of my
problem code. Attached is a stripped down .tex file as created by LyX
together with associated .eps and .pstex_t files. Also attached is the
resultant .dvi file. See that the \mu is in a serif font?

> And btw: where is the sense of the five parameters of SetBigFont??

Hey! How do I know? ;-)

It's nonsense output by XFig's pstex_t export. Each .pstex_t file begins:

\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%

So I'm preempting this definition by defining it as I'd like it to be in my
preamble.

-- 
Angus

trial.dvi
Description: TeX dvi file


trial_img.eps
Description: image/eps
\setlength{\unitlength}{3947sp}%
%
\begingroup\makeatletter\ifx\SetFigFont\undefined%
\gdef\SetFigFont#1#2#3#4#5{%
  [EMAIL PROTECTED]
  \fontfamily{#3}\fontseries{#4}\fontshape{#5}%
  \selectfont}%
\fi\endgroup%
\begin{picture}(5923,3579)(1272,-4012)
\put(1813,-3523){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}-5
\put(1813,-3031){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(1813,-2540){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 5
\put(1813,-2048){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 10
\put(1813,-1556){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 15
\put(1813,-1065){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 20
\put(1813,-573){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 25
\put(1888,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 0
\put(2526,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 500
\put(3163,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1000
\put(3801,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 1500
\put(4438,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2000
\put(5076,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 2500
\put(5713,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3000
\put(6351,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 3500
\put(6988,-3648){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
 4000
\put(1387,-1986){\rotatebox{90.0}{\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Number
 of pathways (\%)}
\put(4438,-3960){\makebox(0,0)[b]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Path
 length (\micro\metre)
\put(3418,-1065){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}9$\times$9$\times$16
 block
\put(3928,-1655){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}11$\times$11$\times$22
 block
\put(4693,-2343){\makebox(0,0)[lb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}9$\times$9$\times$32
 block
\put(6388,-710){\makebox(0,0)[rb]{\smash{{\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}Mercer
 \& Crapo
\end{picture}%
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{a4wide}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{amssymb}

\makeatletter
%% User specified LaTeX commands.
\usepackage{color}
\usepackage{lmodern}
\usepackage[textstyle,amssymb]{SIunits}

%% Preempt the definition of \SetFigFont in the 
%% xfig-generated pstex_t files by setting it to "do nothing".
\gdef\SetFigFont#1#2#3#4#5{%
   [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
   \selectfont}%

\usepackage{babel}
\makeatother
\begin{document}

\begin{figure}
\begin{center}\begin{picture}(0,0)\includegraphics{trial_img.eps}\end{picture}\input{trial_img.pstex_t}\end{center}

\end{figure}

\end{document}


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


Unfortunately, the 'mu' of \micro\meter appears in a serif font.
Can I do anything about that?


never used SIunits,



It's good.



but \SetFigFont sets the fontfamily to \sfdefault.



I know. That's what I want.



\fontfamily{\rmdefault}
should work



??? I want *sans* serif fonts. For the "mu" of "\micro\meter" too.


uih, just thought the other way round ...

I have no problem to get it in sf with

\documentclass{article}
\parindent=0pt
\usepackage[textstyle,amssymb]{SIunits}
\makeatletter
\def\SetFigFont#1#2#3#4#5{%
 [EMAIL PROTECTED]
 \fontfamily{\sfdefault}\fontseries{\mddefault}\fontshape{\updefault}%
 \selectfont}%
\makeatother
\begin{document}

\Huge\micro\meter % rm

\SetFigFont{10}{12.0}{\familydefault}{\mddefault}{\updefault}
\Huge Path length(\micro\metre)   % sf

\end{document}


Herbert



Re: LaTeX--> LyX: problems with accents

2005-07-18 Thread Jose' Matos
On Monday 18 July 2005 19:46, Stefano Franchi wrote:
> Hi all,
>
>   I am trying to import a LaTeX file into LyX but I cannot convince LyX
> to read the (many) accents in the original .tex file. Has anyone
> encountered this problem before? I searched the list archives but
> couldn't find anything.

I don't remember such problem either.

> To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm
> trying to import the LaTeX file from the import menu (which uses reLyX,
> I believe). The original file has many sequences like \`e or \'e etc.
> Lyx imports the file without complaining, but all accents disappear
> from the LyX display window as well as from the pdf ouput. Perhaps it
> is a problem with encodings?

If you create a document with accents in lyx does it shows in pdf?

> If I try to open and compile the LaTeX 
> file in Texshop (or from the terminal) everything works fine, though.
>
> Any help is greatly appreciated
>
> Stefano
> __
> Stefano Franchi
> Department of Philosophy  Ph:  (64) 9 373-7599 x83940
> University Of AucklandFax: (64) 9 373-7408
> Private Bag 92019 [EMAIL PROTECTED]
> Auckland
> New Zealand


Re: LaTeX--> LyX: problems with accents

2005-07-18 Thread Stefano Franchi


On Jul 18, 2005, at 3:00 PM, Jose' Matos wrote:


On Monday 18 July 2005 19:46, Stefano Franchi wrote:

Hi all,

I am trying to import a LaTeX file into LyX but I cannot convince LyX
to read the (many) accents in the original .tex file. Has anyone
encountered this problem before? I searched the list archives but
couldn't find anything.


I don't remember such problem either.


To be more precise: I am on a Mac 10.3.9, running LyX/Qt 1.3.5 and I'm
trying to import the LaTeX file from the import menu (which uses 
reLyX,

I believe). The original file has many sequences like \`e or \'e etc.
Lyx imports the file without complaining, but all accents disappear
from the LyX display window as well as from the pdf ouput. Perhaps it
is a problem with encodings?


If you create a document with accents in lyx does it shows in pdf?


Accents in Lyx --> pdf are no problem, I use them all the times. That 
is, if I insert the accents in LyX they come out fine. But now I need 
to import a non-LyX produced LaTeX file, and the accents are not 
translated.





If I try to open and compile the LaTeX
file in Texshop (or from the terminal) everything works fine, though.

Any help is greatly appreciated

Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand


__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 



Re: LaTeX--> LyX: problems with accents

2005-07-18 Thread Jean-Marc Lasgouttes
> "Stefano" == Stefano Franchi <[EMAIL PROTECTED]> writes:

Stefano> Hi all, I am trying to import a LaTeX file into LyX but I
Stefano> cannot convince LyX to read the (many) accents in the
Stefano> original .tex file. Has anyone encountered this problem
Stefano> before? 

Hello,

Could you send a file that demonstrate the problem?

JMarc


Re: LaTeX--> LyX: problems with accents

2005-07-18 Thread Angus Leeming
Stefano Franchi wrote:
> Accents in Lyx --> pdf are no problem, I use them all the times. That
> is, if I insert the accents in LyX they come out fine. But now I need
> to import a non-LyX produced LaTeX file, and the accents are not
> translated.

Stefano, you should through away reLyX because it's a pile of unmaintained
rubbish. Instead, you should try out tex2lyx:

http://wiki.lyx.org/LaTeX/LatexToLyx

If you don't want to compile tex2lyx yourself, drop a mail to one of our
Mac users. Andreas Vox  or Bennett Helm  spring to mind. I'm sure that between you running
make_tex2lyx_dist.sh should be a snip.

-- 
Angus



Automatic view DVI file after update DVI

2005-07-18 Thread Paul Smith
Dear All

Systematically, when I update the DVI file, I want to view the DVI
file. So, it would be nice to be possible to configure LyX so that
clicking on Update --> DVI led automatically to the DVI viewer. Can it
be done with LyX 1.3.6?

Thanks in advance,

Paul


Re: Math in figures in a sans serif font?

2005-07-18 Thread Herbert Voss

Angus Leeming wrote:

Herbert Voss wrote:


use cmbright instead of lmodern and then
with \usepackage{textcomp}  \textmu\meter



Thanks, Herbert, I'll try that. It;s certainly good enough for me, given
that I'm trying to produce camera-ready images for a paper that will be
submitted in Word format. (My boss is too set in his ways to change.)

It's an ugly, clunky solution in general though (because I read you telling
us that lmodern is the thing to use) :-(


sure, but an upright greek letter in sans serif is another question ...



ps: With PSTricks it would be easier ;-)



Easier than this gnuplot file which is exported to XFig by my
gnuplot2fig.sh script? Sorry, Herbert. I think I win that one ;-)


I do not think so ... ;-)



clear
reset
set xtics nomirror
set ytics nomirror
set xlabel 'Path length (\micro\metre)' 0, -1
set ylabel 'Number of pathways (\%)' -1


[ ... ]

sent me your data files as private mails

Herbert