Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-07 Thread Anders Ekberg

Bennett Helm
Thu, 05 Jan 2006 06:27:01 -0800

On Jan 5, 2006, at 5:01 AM, Jean-Marc Lasgouttes wrote:

Anders - New from Template... gives a Open dialogue in the
Anders /Applications directory. Templates are in the (hidden)
Anders LyX-package and difficult to access from this Open-dialogue

This is strange. Bennett, do you see this too?

The problem, I take it, is not that Anders is getting an Open  
dialog rather than a New from Template dialog. (The two look the  
same on screen, but they behave differently.) Rather, it is that  
Anders is trying to access template files inside the LyX.app  
bundle, but the Mac native file browser we now use won't let him  
inside. (Even setting /Applications/LyX.app/Contents/Resources/LyX/ 
templates as the path in LyX's preferences won't do the trick: it  
just brings up the / Applications folder.)


There must be a way to get the native browser to go inside  
application bundles, though I wonder whether that's desirable in  
general, as it flouts Mac conventions.


An alternative would be to create a new folder at ~/Library/  
Application Support/LyX/templates/default in which we copy the  
default templates from the application bundle (overwriting files  
that are there) whenever LyX is installed. (User templates could  
still be left at ~/Library/Application Support/LyX/templates.) This  
would require clear warnings when the installer that people  
shouldn't modify files in the default templates folder.

Bennett


Looking at how some other applications have solved this:

- Microsoft puts the Microsoft Word.app and a Templates-folder as  
separate entities in the directory in /Applications/Microsoft Office  
2004/  The same approach is used by AppleWorks.


- Apple's Pages put its templates in /Applications/iWork/Pages.app/ 
Contents/Resources/English.lproj/Templates/ (below they have two  
folders named ISO and Traditional with sub-folders for the templates).


In all of these cases, templates are selected through a pop-up menu  
and not a New... or Open... dialogue.


(In all of the cases, you store your created templates using a  
standard save dialogue. There may be a dedicated folder for personal  
templates (either in ~/Library/Application Support/Program_Directory  
[used by Pages] or in /Applications/Program_Directory/Templates/  
[used by MS Office] (where the Save... dialogue is initially directed  
and I assume the program looks for user-defined templates), but you  
are basically free to choose whichever location you like for the  
templates.)


If a pop-up menu is difficult to implement, the MS Office version is  
probably easiest to adopt (though the risk is that since the  
templates are easily accessible they may be tinkered with, cf  
Bennett's remark above)


Perhaps the best way to solve the problem is by AbiWords approach,  
which is similar to what Pages uses (templates stored in the  
Application bundle and user-defined templates in the ~/ 
LibraryApplication Support/Program_Directory). The difference is that  
they use a list dialogue instead of a pop-up menu (i.e. you select  
your template from a list of available templates and click OK). Since  
AbiWord is OpenSource I guess it would be possible to study the code  
or ask the developers how this was implemented.


It could be noted that with the current version it is possible to  
access the templates using the Apple+Shift+G short-cut and type in  
the path to the templates. However this is of-course not a user- 
friendly solution...


The next problem with the templates is that once you manage to open  
them you get (for some) a missing TeX-class error and have to go  
through the procedure outlined in http://wiki.lyx.org/pmwiki.php/FAQ/ 
MacInstall It would make the application much more user-friendly if  
the needed .cls-files are copied directly at installation if this is  
possible.


/Anders


Re: Help Needed with Multido{}

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Fri, 6 Jan 2006, Rich Shepard wrote:


 1.) The \multido{} loop in lines 69-71 does not produce the desired
results. I want each framebox in line 71 to be 3mm wide, but if I 
reduce the
width from 7mm, the lines are combined; that is, the even numbered 
line is

next to the odd nunber line. I need a total text width of 72mm, so there
should be room for 10 3mm boxes with a bit of space between each one. 
When I

try adding a \hspace{} in there it gets all messed up.



  Through trial and error I've gotten a bit closer. I don't think the 
spacing

will match the scanner, so if anyone has a better idea how to put this
document together, please let me know.


insert an explicit line end.

%% Make nR rows of scoring boxes for answers
  \multido{\nRow=1+1}{\nR}{%
{\strobe}\hspace{3mm}\makebox[0.3\omrx]{\nRow}%
 \multido{}{10}{\hspace{2mm} \framebox[3.55mm]{}}\newline}


Herbert




Re: Hollow Box Similar to \rule?

2006-01-07 Thread Kevin Pfeiffer
Rich Shepard writes:
Thanks for your efforts. If you look at the .tex file I attached
 to my post you'll see that there are 286 little boxes (3mm wide x
 2.54mm high). That's a lot of \picture{} environments to design and
 place. :-)

Why would you need 286 picture environments? Have you actually played 
around with one of them?

Have you looked at \multiput?
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-269.html

Sounds like it might be useful.

I noticed while browsing yesterday that there are also several graphics 
packages for LaTeX. Perhaps you would be better off with one of these. 
Far be it from me to make this suggestion (since for some reason I've 
not yet done it myself), but perhaps since you are working on something 
specialized you should purchase one or two LaTeX reference books?

 For example a negative \vspace{} closes up lines
 rather than raising the \framebox a bit above the baseline. That's
 not helpful.

Perhaps it's the wrong tool for the job. It seems to me that the 
\picture environment provides global positioning and the \put and 
\multiput commands offers the same thing locally. I've attached my 
sample file again, showing \multipart and also that one is not 
restricted to the boundaries of the picture environment.

But as this all has little or nothing to do with LyX, perhaps we will 
soon be \booted out of here? :-)

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\added_space_bottom bigskip \align center 

\series bold 
\size larger 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{The Framebox}
\end_inset 


\layout Standard

First create a picture environment.
 The default 
\backslash 
unitlength is 1pt, so the picture environment below was created to be 72
 x 72 points in size.
 The 0,0 origin places it on the baseline following the last character typeset.
 Then with the 
\backslash 
frame command a border is drawn around it.
 
\layout Standard

Inside the picture environment a 
\backslash 
put command adds a 
\backslash 
framebox slightly smaller than the picture environment.
 Inside this is another 
\backslash 
framebox, 16 x 16 points in size.
 The (28,28) origin (i.e.
 72/2 - 16/2) of this second 
\backslash 
put command, translates (shifts) the our smaller box from the lower-left
 corner of the picture environment to its center.
 
\layout Standard

The 
\backslash 
multiput command lets one create patterns by setting the starting x,y coordinate
s, delta x,y (the offset for each multiple), and the number of repeats;
 and \SpecialChar \ldots{}

\layout Standard

finally an x marks the spot: 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frame{
\layout Standard
  
\backslash 
begin{picture}(72,72)(0,0)
\layout Standard
  
\backslash 
linethickness{0.1pt}
\layout Standard
  
\backslash 
put(2,2){
\backslash 
framebox(68,68)[]{}}
\layout Standard
  
\backslash 
multiput(6,61)(7,0){9}{
\backslash 
framebox(4,4)[]{}}
\layout Standard
  
\backslash 
multiput(6,7)(7,0){9}{
\backslash 
framebox(4,4)[]{}}
\layout Standard
  
\backslash 
linethickness{2pt}
\layout Standard
  
\backslash 
put(28,28){
\backslash 
framebox(16,16)[]{x}}
\layout Standard
  
\backslash 
linethickness{0.5pt}
\layout Standard
  
\backslash 
put(-22,-99){
\backslash 
framebox(60,10)[c]{down here!}}
\layout Standard
  
\backslash 
end{picture}%
\layout Standard
  }
\end_inset 

 That's all.
 The 
\backslash 
linethickness command can also be used.
 Zoom in on the dvi output (or print the page) to see the difference.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setlength{
\backslash 
unitlength}{1em}%
\end_inset 

 
\layout Standard

A further option would be to change the 
\backslash 
unitlength to something other than points.
 Here the 
\backslash 
unitlength has been changed to 1 em 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{picture}(1,1)(0,0.2)
\layout Standard

\backslash 
put(0,0){
\backslash 
framebox(1,1)[c]{M}}
\layout Standard

\backslash 
end{picture}
\end_inset 

 using the 
\backslash 
setlength command.
\layout Standard

And the placement of elements is not restricted to the boundaries of the
 picture environment.
 This box \SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~

Re: Hollow Box Similar to \rule?

2006-01-07 Thread Kevin Pfeiffer
(Apologies in advance)

Rich,

I didn't mean to sound so harsh and critical as the prev. message seems 
to have come out.

Best of luck with your scanner card!

-K


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-07 Thread Andre Berger
* Andre Berger (2006-01-05):
 * Anders Ekberg (2006-01-05):
  On 5 jan 2006, at 11.01, Jean-Marc Lasgouttes wrote:
  Anders == Anders Ekberg [EMAIL PROTECTED] writes:
 [...]
  Anders - New from Template... gives a Open dialogue in the
  Anders /Applications directory. Templates are in the (hidden)
  Anders LyX-package and difficult to access from this Open-dialogue
  
  This is strange. Bennett, do you see this too?
  I can confirm that this happens to me also with Bennett's pre3- 
  version (the one I compile was based on a broken skeleton LyX.app  
  Bennett told me).
 
 Not here... 

Oh well, now I see what you mean. 

-Andre


Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Bennett Helm a écrit :

 On Dec 30, 2005, at 7:40 AM, Andre Berger wrote:

 * Anders Ekberg (2005-12-30):

 LyX 1.4.0-pre3 on MacOSX 10.4.3 generally works excellent.


 Could you make it available for download?

This post is from somebody which is very well accustomated to lyx 1.3.6
and who tried 1.4 for the first time.
I use lyx mainly to compose mathematical  or physical  texts and  I need
the mathematical palette all the time: where can I find it?  As far as I
am concerned, it is the main problem with this version.
I use frequently minipages, and I would find usefull to modify the
default behaviour of minipage (with in cm,  and alignment  on the
bottom, for example)  and of some other.  Where  can I find  a way to 
modify  this behaviour  easily?

Thank you for your interest.

A.Leroux




Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Kevin Pfeiffer wrote:


Have you looked at \multiput?
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-269.html


Kevin,

  I will take a look at it.


... but perhaps since you are working on something specialized you should
purchase one or two LaTeX reference books?


  Er, did you not see my references to the multido pdf, The LaTex Companion,
2nd Ed., Guide to LaTeX 4th Ed., and The LaTeX Graphics Companion that I
wrote I had used before asking for help?


Perhaps it's the wrong tool for the job. It seems to me that the picture
environment provides global positioning and the \put and multiput commands
offers the same thing locally. I've attached my sample file again, showing
multipart and also that one is not restricted to the boundaries of the
picture environment.


  I've used \put with PSTricks. That may be the way to go.


But as this all has little or nothing to do with LyX, perhaps we will soon
be \booted out of here? :-)


  Yes, I hesitated before posting here. There are a lot of LaTeX experts who
hang around here, too. Last evening I posted in comp.text.tex on Usenet, too.

  This is not the usual type of document with which we all deal. It seemed to
me, however, that the fine control offered by LaTeX made it the appropriate
tool to use.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


insert an explicit line end.


Herbert,

  Sonofagun. I've not seen a \newline before in my documents or the examples
folks have used here on the mail list. I've seen a double backslash and a
space followed by a %, but not the \newline. I tried variations of the first
two without success.

  I wonder what other gems I've missed in my readings.

  The template sent by the vendor has specific distances to position the
marking boxes. Is there an environment that will allow me to specify those
distances directly?

Many thanks for the lesson and help, Herbert!

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


insert an explicit line end.

%% Make nR rows of scoring boxes for answers
 \multido{\nRow=1+1}{\nR}{%
   {\strobe}\hspace{3mm}\makebox[0.3\omrx]{\nRow}%
\multido{}{10}{\hspace{2mm} \framebox[3.55mm]{}}\newline}


Herbert,

  I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above. Nothing will raise the \frameboxes off their current position on the
baseline (or slightly below it). The entire interline spacing is effected.

  Am I using the wrong environment? Should I be using a picture environment
(such as Kevin's suggesion of \picture, or epic, or PSTricks) to create this
form? I can see this information on precision form development being useful
to others, too. What resources would you recommend?

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:


  I've used \put with PSTricks. That may be the way to go.


Rich,
for PSTricks it is \rput or one of the other label macros,
but not \put

Herbert



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Anders Ekberg a écrit :

 I use lyx mainly to compose mathematical  or physical  texts and  I 
 need
 the mathematical palette all the time: where can I find it?  As far 
 as I
 am concerned, it is the main problem with this version.

 Is it not under Insert-Math-Math Panel? It is there and works fine 
 on my copy (downloaded from Bennett's link).

No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.

A.Leroux



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Abdel

Alain Leroux a écrit :

Anders Ekberg a écrit :

I use lyx mainly to compose mathematical  or physical  texts and  I 
need
the mathematical palette all the time: where can I find it?  As far 
as I

am concerned, it is the main problem with this version.
Is it not under Insert-Math-Math Panel? It is there and works fine 
on my copy (downloaded from Bennett's link).



No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.


Try to right click on the main toolbar. You should be able to switch on 
the brand new math and table toolbars. If you want these to show 
automatically when you enter an equation or a table replace your 
default.ui with the one attached.

If it doesn't work, send a bug report to lyx-devel.

Abdel.



A.Leroux




# -*- text -*-

# file default.ui
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author John Levon

# Full author contact details are available in file CREDITS.

# This is the default LyX user interface definition file.
# The syntax should be straightforward enough.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

Include stdmenus.ui

Include stdtoolbars.ui

# Which toolbars to use.
#
# The second parameter are the flags :
#
# on: the toolbar is visible
# off: the toolbar is not visible
# math: the toolbar is visible only when in math
# table: the toolbar is visible only when in a table
# top: the toolbar should be at the top of the window
# bottom: the toolbar should be at the bottom of the window
# left: the toolbar should be at the left of the window
# right: the toolbar should be at the right of the window
#
Toolbars
standard on,top
extra on,top
table table,bottom
math math,bottom
minibuffer off,bottom
End


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


for PSTricks it is \rput or one of the other label macros, but not \put


Herbert,

  Thanks for the reminder. It's been a while. But, ... I think that's what I
need for this OMR form. Plain ol' LaTeX took me 98% of the way, but fine
tuning positioning is where I get lost.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Abdel a écrit :

 Alain Leroux a écrit :

 Anders Ekberg a écrit :

 I use lyx mainly to compose mathematical  or physical  texts and  I
 need
 the mathematical palette all the time: where can I find it?  As far
 as I
 am concerned, it is the main problem with this version.

 Is it not under Insert-Math-Math Panel? It is there and works fine
 on my copy (downloaded from Bennett's link).

 No, it is not. But perhaps it is because I use the French version.
  Moreover am not able to change the settings such as the default
 language, the preamble. I cannot figure where it is.


 Try to right click on the main toolbar. You should be able to switch
 on the brand new math and table toolbars. If you want these to show
 automatically when you enter an equation or a table replace your
 default.ui with the one attached.
 If it doesn't work, send a bug report to lyx-devel.

 Abdel.

With your help, I found the solution of the problem: it arose because I
had a .lyx folder from lyx 1.3 in my directory, and it was incompatible
with the new version. By renaming it .lyx1, I had no more problem.
Pehaps it would be useful to change the name of .lyx for the new version.
Thank you to all of you who give me an answer!
A.Leroux



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Abdel

Alain Leroux a écrit :

Abdel a écrit :


Alain Leroux a écrit :


Anders Ekberg a écrit :


I use lyx mainly to compose mathematical  or physical  texts and  I
need
the mathematical palette all the time: where can I find it?  As far
as I
am concerned, it is the main problem with this version.

Is it not under Insert-Math-Math Panel? It is there and works fine
on my copy (downloaded from Bennett's link).


No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.


Try to right click on the main toolbar. You should be able to switch
on the brand new math and table toolbars. If you want these to show
automatically when you enter an equation or a table replace your
default.ui with the one attached.
If it doesn't work, send a bug report to lyx-devel.

Abdel.


With your help, I found the solution of the problem: it arose because I
had a .lyx folder from lyx 1.3 in my directory, and it was incompatible
with the new version. By renaming it .lyx1, I had no more problem.
Pehaps it would be useful to change the name of .lyx for the new version.


Note that I think you can specify a startup directory yourself with a 
script containing this:


lyx -userdir .lyx-140


Thank you to all of you who give me an answer!
A.Leroux






Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Sat, 7 Jan 2006, Herbert Voss wrote:


for PSTricks it is \rput or one of the other label macros, but not \put


  Thanks for the reminder. It's been a while. But, ... I think that's 
what I

need for this OMR form. Plain ol' LaTeX took me 98% of the way, but fine
tuning positioning is where I get lost.


Rich,
you need only the right tool :-)

attched an example which creates the table dynymical.
You can modify this macro for your purpose. With a tabular
you'll get always correct horizontal and vertical alignment.

Herbert


omr-form.tex
Description: TeX document



Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


you need only the right tool :-)


  Well, Herbert, that's what I've been trying to learn on my own.


attched an example which creates the table dynymical. You can modify this
macro for your purpose. With a tabular you'll get always correct horizontal
and vertical alignment.


  I wondered about using a table. It may well be faster and easier than
re-doing the document with PSTricks. And I just started re-reading the
PSTricks manual, too.

  Now that I've briefly looked at your modifications I see how much more
efficiently the file is written than what I had originally. In addition to
Appendix D of Guide to LaTeX, what do you recommend I read to learn more
about doing complex documents with LaTeX? Or, is it more a matter of doing it
more frequently?

Again, many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:


  I wondered about using a table. It may well be faster and easier than
re-doing the document with PSTricks. And I just started re-reading the
PSTricks manual, too.


Rich,
this depends strongly on your problem. But you should always
first trying to realize it with a tabular. It is a powerful
environment, but needs some time to understand.


  Now that I've briefly looked at your modifications I see how much more
efficiently the file is written than what I had originally. In addition to
Appendix D of Guide to LaTeX, what do you recommend I read to learn more
about doing complex documents with LaTeX? Or, is it more a matter of 
doing it

more frequently?


there are some general facts:

- for the layout use _always_ package geometry, which is also
  the default by LyX
- every layout, which depends on a grid, should be possible
  with a tabular or array

learning by doing is the best way and doing it frequently
makes it easier.

Herbert



Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


this depends strongly on your problem. But you should always first trying
to realize it with a tabular. It is a powerful environment, but needs some
time to understand.


Herbert,

  Yes, it does. Time to re-read the books I have so I can become more
comfortable with the tabular environment.


- for the layout use _always_ package geometry, which is also the default
 by LyX


  This is good to know.


- every layout, which depends on a grid, should be possible with a tabular
 or array


  OK.


learning by doing is the best way and doing it frequently makes it easier.


  True. I have too many tools I need to use in my business and I don't use
each one every day.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Rich Shepard wrote:


 I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above.


  Well, I just re-discovered that the proper command is \raisebox to adjust
the vertical position of a \framebox. Thought I'd add this so that future
list archive divers can find the answer.

  Regardless, the tabular environment is the way to go for this form.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Sat, 7 Jan 2006, Rich Shepard wrote:


 I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above.



  Well, I just re-discovered that the proper command is \raisebox to adjust
the vertical position of a \framebox. Thought I'd add this so that future
list archive divers can find the answer.


I would use \put, e.g. \put(0,5}{\framebox(50,30){text}}

Herbert



help for lyx install

2006-01-07 Thread giacomo coslovich
Hi,
I need some help for installing Lyx 1.3.6 for Linux! I
have the Red Hat 9.B distribution and I've installed
also some packages of xfree, but lyx doesn't see my
xfree library! I've run configure
-with-extra-lib=(Path of the libs) but it doesn't
work... 
Can you help me?
Thank you.
Giacomo Coslovich

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


errors...

2006-01-07 Thread giacomo coslovich
Sorry I've written the wrong packages... I have
problems with the Xforms libraries!!!
Giacomo Coslovich

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-07 Thread Fernando Perez
David L. Johnson wrote:

 On Fri, 06 Jan 2006 16:19:03 -0700
 Fernando Perez [EMAIL PROTECTED] wrote:
 
 I have a document with a bibtex-generated list of references, and when I
 try to export it to PDF or postscript (via the GUI or with 'lyx -e pdf2',
 for example), all the citations appear as [??] marks, though the
 references section is correctly generated.
 
 Typically with Latex the first run would generate missing references such
 as
 this.  If I am running Latex manually, I simply run it twice.  That way
 the appropriate temporary files are generated so that the second run can
 read them.
 
 I thought LyX would do the same thing.

It should, and sometimes it does, as I mention below.  But the problem is
that it misses many times, and requires a no-op fiddle with the bibtex box
to realize that it has to make an extra pass.

 The only workaround I've been able to find is to click on the 'bibtex
 references' box at the end, make some trivial change (choose a different
 style, or check the 'add to TOC' box), and rerun the PDF/PS generation. 
 THEN, the numbers appear, and I can revert my trivial change and
 continue.
 
 Needless to say, it is incredibly annoying to have to do this every time,
 and it breaks my makefile-based workflow (this is a document being
 developed in collaboration from many places, so I wrote a makefile to
 generate all the required PDFs without human intervention).
 
 Try adding a second Latex run into that makefile.

Well, it's not that simple: the makefile calls

lyx -e pdf2 master.lyx

to make 'master.pdf'.  This master file has many subdocuments, EPS figures,
and more.  To generate the final one manually, I'd have to write out the
raw latex, convert all figures from .eps format to .pdf (pdflatex doesn't
understand eps figures), etc.  That's _precisely_ all the magic and
convenience that lyx does for you when you say 'export PDF', but it's
borking out on bibtex management.

This is a lyx bug, I'm pretty convinced.  I guess I should just take it up
on lyx-dev...

Cheers,

f



Re: bibliographies

2006-01-07 Thread john
Hi
Does anyone have a computer bibliography or know where I can get one?
I'd like all the classics: KR, Knuth, Lamport, Eric S Raymond, etc

regards
John O'Gorman



Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-07 Thread Anders Ekberg

Bennett Helm
Thu, 05 Jan 2006 06:27:01 -0800

On Jan 5, 2006, at 5:01 AM, Jean-Marc Lasgouttes wrote:

Anders - New from Template... gives a Open dialogue in the
Anders /Applications directory. Templates are in the (hidden)
Anders LyX-package and difficult to access from this Open-dialogue

This is strange. Bennett, do you see this too?

The problem, I take it, is not that Anders is getting an Open  
dialog rather than a New from Template dialog. (The two look the  
same on screen, but they behave differently.) Rather, it is that  
Anders is trying to access template files inside the LyX.app  
bundle, but the Mac native file browser we now use won't let him  
inside. (Even setting /Applications/LyX.app/Contents/Resources/LyX/ 
templates as the path in LyX's preferences won't do the trick: it  
just brings up the / Applications folder.)


There must be a way to get the native browser to go inside  
application bundles, though I wonder whether that's desirable in  
general, as it flouts Mac conventions.


An alternative would be to create a new folder at ~/Library/  
Application Support/LyX/templates/default in which we copy the  
default templates from the application bundle (overwriting files  
that are there) whenever LyX is installed. (User templates could  
still be left at ~/Library/Application Support/LyX/templates.) This  
would require clear warnings when the installer that people  
shouldn't modify files in the default templates folder.

Bennett


Looking at how some other applications have solved this:

- Microsoft puts the Microsoft Word.app and a Templates-folder as  
separate entities in the directory in /Applications/Microsoft Office  
2004/  The same approach is used by AppleWorks.


- Apple's Pages put its templates in /Applications/iWork/Pages.app/ 
Contents/Resources/English.lproj/Templates/ (below they have two  
folders named ISO and Traditional with sub-folders for the templates).


In all of these cases, templates are selected through a pop-up menu  
and not a New... or Open... dialogue.


(In all of the cases, you store your created templates using a  
standard save dialogue. There may be a dedicated folder for personal  
templates (either in ~/Library/Application Support/Program_Directory  
[used by Pages] or in /Applications/Program_Directory/Templates/  
[used by MS Office] (where the Save... dialogue is initially directed  
and I assume the program looks for user-defined templates), but you  
are basically free to choose whichever location you like for the  
templates.)


If a pop-up menu is difficult to implement, the MS Office version is  
probably easiest to adopt (though the risk is that since the  
templates are easily accessible they may be tinkered with, cf  
Bennett's remark above)


Perhaps the best way to solve the problem is by AbiWords approach,  
which is similar to what Pages uses (templates stored in the  
Application bundle and user-defined templates in the ~/ 
LibraryApplication Support/Program_Directory). The difference is that  
they use a list dialogue instead of a pop-up menu (i.e. you select  
your template from a list of available templates and click OK). Since  
AbiWord is OpenSource I guess it would be possible to study the code  
or ask the developers how this was implemented.


It could be noted that with the current version it is possible to  
access the templates using the Apple+Shift+G short-cut and type in  
the path to the templates. However this is of-course not a user- 
friendly solution...


The next problem with the templates is that once you manage to open  
them you get (for some) a missing TeX-class error and have to go  
through the procedure outlined in http://wiki.lyx.org/pmwiki.php/FAQ/ 
MacInstall It would make the application much more user-friendly if  
the needed .cls-files are copied directly at installation if this is  
possible.


/Anders


Re: Help Needed with Multido{}

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Fri, 6 Jan 2006, Rich Shepard wrote:


 1.) The \multido{} loop in lines 69-71 does not produce the desired
results. I want each framebox in line 71 to be 3mm wide, but if I 
reduce the
width from 7mm, the lines are combined; that is, the even numbered 
line is

next to the odd nunber line. I need a total text width of 72mm, so there
should be room for 10 3mm boxes with a bit of space between each one. 
When I

try adding a \hspace{} in there it gets all messed up.



  Through trial and error I've gotten a bit closer. I don't think the 
spacing

will match the scanner, so if anyone has a better idea how to put this
document together, please let me know.


insert an explicit line end.

%% Make nR rows of scoring boxes for answers
  \multido{\nRow=1+1}{\nR}{%
{\strobe}\hspace{3mm}\makebox[0.3\omrx]{\nRow}%
 \multido{}{10}{\hspace{2mm} \framebox[3.55mm]{}}\newline}


Herbert




Re: Hollow Box Similar to \rule?

2006-01-07 Thread Kevin Pfeiffer
Rich Shepard writes:
Thanks for your efforts. If you look at the .tex file I attached
 to my post you'll see that there are 286 little boxes (3mm wide x
 2.54mm high). That's a lot of \picture{} environments to design and
 place. :-)

Why would you need 286 picture environments? Have you actually played 
around with one of them?

Have you looked at \multiput?
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-269.html

Sounds like it might be useful.

I noticed while browsing yesterday that there are also several graphics 
packages for LaTeX. Perhaps you would be better off with one of these. 
Far be it from me to make this suggestion (since for some reason I've 
not yet done it myself), but perhaps since you are working on something 
specialized you should purchase one or two LaTeX reference books?

 For example a negative \vspace{} closes up lines
 rather than raising the \framebox a bit above the baseline. That's
 not helpful.

Perhaps it's the wrong tool for the job. It seems to me that the 
\picture environment provides global positioning and the \put and 
\multiput commands offers the same thing locally. I've attached my 
sample file again, showing \multipart and also that one is not 
restricted to the boundaries of the picture environment.

But as this all has little or nothing to do with LyX, perhaps we will 
soon be \booted out of here? :-)

-Kevin

-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\added_space_bottom bigskip \align center 

\series bold 
\size larger 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{The Framebox}
\end_inset 


\layout Standard

First create a picture environment.
 The default 
\backslash 
unitlength is 1pt, so the picture environment below was created to be 72
 x 72 points in size.
 The 0,0 origin places it on the baseline following the last character typeset.
 Then with the 
\backslash 
frame command a border is drawn around it.
 
\layout Standard

Inside the picture environment a 
\backslash 
put command adds a 
\backslash 
framebox slightly smaller than the picture environment.
 Inside this is another 
\backslash 
framebox, 16 x 16 points in size.
 The (28,28) origin (i.e.
 72/2 - 16/2) of this second 
\backslash 
put command, translates (shifts) the our smaller box from the lower-left
 corner of the picture environment to its center.
 
\layout Standard

The 
\backslash 
multiput command lets one create patterns by setting the starting x,y coordinate
s, delta x,y (the offset for each multiple), and the number of repeats;
 and \SpecialChar \ldots{}

\layout Standard

finally an x marks the spot: 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frame{
\layout Standard
  
\backslash 
begin{picture}(72,72)(0,0)
\layout Standard
  
\backslash 
linethickness{0.1pt}
\layout Standard
  
\backslash 
put(2,2){
\backslash 
framebox(68,68)[]{}}
\layout Standard
  
\backslash 
multiput(6,61)(7,0){9}{
\backslash 
framebox(4,4)[]{}}
\layout Standard
  
\backslash 
multiput(6,7)(7,0){9}{
\backslash 
framebox(4,4)[]{}}
\layout Standard
  
\backslash 
linethickness{2pt}
\layout Standard
  
\backslash 
put(28,28){
\backslash 
framebox(16,16)[]{x}}
\layout Standard
  
\backslash 
linethickness{0.5pt}
\layout Standard
  
\backslash 
put(-22,-99){
\backslash 
framebox(60,10)[c]{down here!}}
\layout Standard
  
\backslash 
end{picture}%
\layout Standard
  }
\end_inset 

 That's all.
 The 
\backslash 
linethickness command can also be used.
 Zoom in on the dvi output (or print the page) to see the difference.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setlength{
\backslash 
unitlength}{1em}%
\end_inset 

 
\layout Standard

A further option would be to change the 
\backslash 
unitlength to something other than points.
 Here the 
\backslash 
unitlength has been changed to 1 em 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{picture}(1,1)(0,0.2)
\layout Standard

\backslash 
put(0,0){
\backslash 
framebox(1,1)[c]{M}}
\layout Standard

\backslash 
end{picture}
\end_inset 

 using the 
\backslash 
setlength command.
\layout Standard

And the placement of elements is not restricted to the boundaries of the
 picture environment.
 This box \SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~

Re: Hollow Box Similar to \rule?

2006-01-07 Thread Kevin Pfeiffer
(Apologies in advance)

Rich,

I didn't mean to sound so harsh and critical as the prev. message seems 
to have come out.

Best of luck with your scanner card!

-K


-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-07 Thread Andre Berger
* Andre Berger (2006-01-05):
 * Anders Ekberg (2006-01-05):
  On 5 jan 2006, at 11.01, Jean-Marc Lasgouttes wrote:
  Anders == Anders Ekberg [EMAIL PROTECTED] writes:
 [...]
  Anders - New from Template... gives a Open dialogue in the
  Anders /Applications directory. Templates are in the (hidden)
  Anders LyX-package and difficult to access from this Open-dialogue
  
  This is strange. Bennett, do you see this too?
  I can confirm that this happens to me also with Bennett's pre3- 
  version (the one I compile was based on a broken skeleton LyX.app  
  Bennett told me).
 
 Not here... 

Oh well, now I see what you mean. 

-Andre


Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Bennett Helm a écrit :

 On Dec 30, 2005, at 7:40 AM, Andre Berger wrote:

 * Anders Ekberg (2005-12-30):

 LyX 1.4.0-pre3 on MacOSX 10.4.3 generally works excellent.


 Could you make it available for download?

This post is from somebody which is very well accustomated to lyx 1.3.6
and who tried 1.4 for the first time.
I use lyx mainly to compose mathematical  or physical  texts and  I need
the mathematical palette all the time: where can I find it?  As far as I
am concerned, it is the main problem with this version.
I use frequently minipages, and I would find usefull to modify the
default behaviour of minipage (with in cm,  and alignment  on the
bottom, for example)  and of some other.  Where  can I find  a way to 
modify  this behaviour  easily?

Thank you for your interest.

A.Leroux




Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Kevin Pfeiffer wrote:


Have you looked at \multiput?
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-269.html


Kevin,

  I will take a look at it.


... but perhaps since you are working on something specialized you should
purchase one or two LaTeX reference books?


  Er, did you not see my references to the multido pdf, The LaTex Companion,
2nd Ed., Guide to LaTeX 4th Ed., and The LaTeX Graphics Companion that I
wrote I had used before asking for help?


Perhaps it's the wrong tool for the job. It seems to me that the picture
environment provides global positioning and the \put and multiput commands
offers the same thing locally. I've attached my sample file again, showing
multipart and also that one is not restricted to the boundaries of the
picture environment.


  I've used \put with PSTricks. That may be the way to go.


But as this all has little or nothing to do with LyX, perhaps we will soon
be \booted out of here? :-)


  Yes, I hesitated before posting here. There are a lot of LaTeX experts who
hang around here, too. Last evening I posted in comp.text.tex on Usenet, too.

  This is not the usual type of document with which we all deal. It seemed to
me, however, that the fine control offered by LaTeX made it the appropriate
tool to use.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


insert an explicit line end.


Herbert,

  Sonofagun. I've not seen a \newline before in my documents or the examples
folks have used here on the mail list. I've seen a double backslash and a
space followed by a %, but not the \newline. I tried variations of the first
two without success.

  I wonder what other gems I've missed in my readings.

  The template sent by the vendor has specific distances to position the
marking boxes. Is there an environment that will allow me to specify those
distances directly?

Many thanks for the lesson and help, Herbert!

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


insert an explicit line end.

%% Make nR rows of scoring boxes for answers
 \multido{\nRow=1+1}{\nR}{%
   {\strobe}\hspace{3mm}\makebox[0.3\omrx]{\nRow}%
\multido{}{10}{\hspace{2mm} \framebox[3.55mm]{}}\newline}


Herbert,

  I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above. Nothing will raise the \frameboxes off their current position on the
baseline (or slightly below it). The entire interline spacing is effected.

  Am I using the wrong environment? Should I be using a picture environment
(such as Kevin's suggesion of \picture, or epic, or PSTricks) to create this
form? I can see this information on precision form development being useful
to others, too. What resources would you recommend?

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:


  I've used \put with PSTricks. That may be the way to go.


Rich,
for PSTricks it is \rput or one of the other label macros,
but not \put

Herbert



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Anders Ekberg a écrit :

 I use lyx mainly to compose mathematical  or physical  texts and  I 
 need
 the mathematical palette all the time: where can I find it?  As far 
 as I
 am concerned, it is the main problem with this version.

 Is it not under Insert-Math-Math Panel? It is there and works fine 
 on my copy (downloaded from Bennett's link).

No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.

A.Leroux



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Abdel

Alain Leroux a écrit :

Anders Ekberg a écrit :

I use lyx mainly to compose mathematical  or physical  texts and  I 
need
the mathematical palette all the time: where can I find it?  As far 
as I

am concerned, it is the main problem with this version.
Is it not under Insert-Math-Math Panel? It is there and works fine 
on my copy (downloaded from Bennett's link).



No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.


Try to right click on the main toolbar. You should be able to switch on 
the brand new math and table toolbars. If you want these to show 
automatically when you enter an equation or a table replace your 
default.ui with the one attached.

If it doesn't work, send a bug report to lyx-devel.

Abdel.



A.Leroux




# -*- text -*-

# file default.ui
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author John Levon

# Full author contact details are available in file CREDITS.

# This is the default LyX user interface definition file.
# The syntax should be straightforward enough.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

Include stdmenus.ui

Include stdtoolbars.ui

# Which toolbars to use.
#
# The second parameter are the flags :
#
# on: the toolbar is visible
# off: the toolbar is not visible
# math: the toolbar is visible only when in math
# table: the toolbar is visible only when in a table
# top: the toolbar should be at the top of the window
# bottom: the toolbar should be at the bottom of the window
# left: the toolbar should be at the left of the window
# right: the toolbar should be at the right of the window
#
Toolbars
standard on,top
extra on,top
table table,bottom
math math,bottom
minibuffer off,bottom
End


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


for PSTricks it is \rput or one of the other label macros, but not \put


Herbert,

  Thanks for the reminder. It's been a while. But, ... I think that's what I
need for this OMR form. Plain ol' LaTeX took me 98% of the way, but fine
tuning positioning is where I get lost.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Abdel a écrit :

 Alain Leroux a écrit :

 Anders Ekberg a écrit :

 I use lyx mainly to compose mathematical  or physical  texts and  I
 need
 the mathematical palette all the time: where can I find it?  As far
 as I
 am concerned, it is the main problem with this version.

 Is it not under Insert-Math-Math Panel? It is there and works fine
 on my copy (downloaded from Bennett's link).

 No, it is not. But perhaps it is because I use the French version.
  Moreover am not able to change the settings such as the default
 language, the preamble. I cannot figure where it is.


 Try to right click on the main toolbar. You should be able to switch
 on the brand new math and table toolbars. If you want these to show
 automatically when you enter an equation or a table replace your
 default.ui with the one attached.
 If it doesn't work, send a bug report to lyx-devel.

 Abdel.

With your help, I found the solution of the problem: it arose because I
had a .lyx folder from lyx 1.3 in my directory, and it was incompatible
with the new version. By renaming it .lyx1, I had no more problem.
Pehaps it would be useful to change the name of .lyx for the new version.
Thank you to all of you who give me an answer!
A.Leroux



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Abdel

Alain Leroux a écrit :

Abdel a écrit :


Alain Leroux a écrit :


Anders Ekberg a écrit :


I use lyx mainly to compose mathematical  or physical  texts and  I
need
the mathematical palette all the time: where can I find it?  As far
as I
am concerned, it is the main problem with this version.

Is it not under Insert-Math-Math Panel? It is there and works fine
on my copy (downloaded from Bennett's link).


No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.


Try to right click on the main toolbar. You should be able to switch
on the brand new math and table toolbars. If you want these to show
automatically when you enter an equation or a table replace your
default.ui with the one attached.
If it doesn't work, send a bug report to lyx-devel.

Abdel.


With your help, I found the solution of the problem: it arose because I
had a .lyx folder from lyx 1.3 in my directory, and it was incompatible
with the new version. By renaming it .lyx1, I had no more problem.
Pehaps it would be useful to change the name of .lyx for the new version.


Note that I think you can specify a startup directory yourself with a 
script containing this:


lyx -userdir .lyx-140


Thank you to all of you who give me an answer!
A.Leroux






Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Sat, 7 Jan 2006, Herbert Voss wrote:


for PSTricks it is \rput or one of the other label macros, but not \put


  Thanks for the reminder. It's been a while. But, ... I think that's 
what I

need for this OMR form. Plain ol' LaTeX took me 98% of the way, but fine
tuning positioning is where I get lost.


Rich,
you need only the right tool :-)

attched an example which creates the table dynymical.
You can modify this macro for your purpose. With a tabular
you'll get always correct horizontal and vertical alignment.

Herbert


omr-form.tex
Description: TeX document



Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


you need only the right tool :-)


  Well, Herbert, that's what I've been trying to learn on my own.


attched an example which creates the table dynymical. You can modify this
macro for your purpose. With a tabular you'll get always correct horizontal
and vertical alignment.


  I wondered about using a table. It may well be faster and easier than
re-doing the document with PSTricks. And I just started re-reading the
PSTricks manual, too.

  Now that I've briefly looked at your modifications I see how much more
efficiently the file is written than what I had originally. In addition to
Appendix D of Guide to LaTeX, what do you recommend I read to learn more
about doing complex documents with LaTeX? Or, is it more a matter of doing it
more frequently?

Again, many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:


  I wondered about using a table. It may well be faster and easier than
re-doing the document with PSTricks. And I just started re-reading the
PSTricks manual, too.


Rich,
this depends strongly on your problem. But you should always
first trying to realize it with a tabular. It is a powerful
environment, but needs some time to understand.


  Now that I've briefly looked at your modifications I see how much more
efficiently the file is written than what I had originally. In addition to
Appendix D of Guide to LaTeX, what do you recommend I read to learn more
about doing complex documents with LaTeX? Or, is it more a matter of 
doing it

more frequently?


there are some general facts:

- for the layout use _always_ package geometry, which is also
  the default by LyX
- every layout, which depends on a grid, should be possible
  with a tabular or array

learning by doing is the best way and doing it frequently
makes it easier.

Herbert



Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


this depends strongly on your problem. But you should always first trying
to realize it with a tabular. It is a powerful environment, but needs some
time to understand.


Herbert,

  Yes, it does. Time to re-read the books I have so I can become more
comfortable with the tabular environment.


- for the layout use _always_ package geometry, which is also the default
 by LyX


  This is good to know.


- every layout, which depends on a grid, should be possible with a tabular
 or array


  OK.


learning by doing is the best way and doing it frequently makes it easier.


  True. I have too many tools I need to use in my business and I don't use
each one every day.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Rich Shepard wrote:


 I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above.


  Well, I just re-discovered that the proper command is \raisebox to adjust
the vertical position of a \framebox. Thought I'd add this so that future
list archive divers can find the answer.

  Regardless, the tabular environment is the way to go for this form.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Sat, 7 Jan 2006, Rich Shepard wrote:


 I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above.



  Well, I just re-discovered that the proper command is \raisebox to adjust
the vertical position of a \framebox. Thought I'd add this so that future
list archive divers can find the answer.


I would use \put, e.g. \put(0,5}{\framebox(50,30){text}}

Herbert



help for lyx install

2006-01-07 Thread giacomo coslovich
Hi,
I need some help for installing Lyx 1.3.6 for Linux! I
have the Red Hat 9.B distribution and I've installed
also some packages of xfree, but lyx doesn't see my
xfree library! I've run configure
-with-extra-lib=(Path of the libs) but it doesn't
work... 
Can you help me?
Thank you.
Giacomo Coslovich

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


errors...

2006-01-07 Thread giacomo coslovich
Sorry I've written the wrong packages... I have
problems with the Xforms libraries!!!
Giacomo Coslovich

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-07 Thread Fernando Perez
David L. Johnson wrote:

 On Fri, 06 Jan 2006 16:19:03 -0700
 Fernando Perez [EMAIL PROTECTED] wrote:
 
 I have a document with a bibtex-generated list of references, and when I
 try to export it to PDF or postscript (via the GUI or with 'lyx -e pdf2',
 for example), all the citations appear as [??] marks, though the
 references section is correctly generated.
 
 Typically with Latex the first run would generate missing references such
 as
 this.  If I am running Latex manually, I simply run it twice.  That way
 the appropriate temporary files are generated so that the second run can
 read them.
 
 I thought LyX would do the same thing.

It should, and sometimes it does, as I mention below.  But the problem is
that it misses many times, and requires a no-op fiddle with the bibtex box
to realize that it has to make an extra pass.

 The only workaround I've been able to find is to click on the 'bibtex
 references' box at the end, make some trivial change (choose a different
 style, or check the 'add to TOC' box), and rerun the PDF/PS generation. 
 THEN, the numbers appear, and I can revert my trivial change and
 continue.
 
 Needless to say, it is incredibly annoying to have to do this every time,
 and it breaks my makefile-based workflow (this is a document being
 developed in collaboration from many places, so I wrote a makefile to
 generate all the required PDFs without human intervention).
 
 Try adding a second Latex run into that makefile.

Well, it's not that simple: the makefile calls

lyx -e pdf2 master.lyx

to make 'master.pdf'.  This master file has many subdocuments, EPS figures,
and more.  To generate the final one manually, I'd have to write out the
raw latex, convert all figures from .eps format to .pdf (pdflatex doesn't
understand eps figures), etc.  That's _precisely_ all the magic and
convenience that lyx does for you when you say 'export PDF', but it's
borking out on bibtex management.

This is a lyx bug, I'm pretty convinced.  I guess I should just take it up
on lyx-dev...

Cheers,

f



Re: bibliographies

2006-01-07 Thread john
Hi
Does anyone have a computer bibliography or know where I can get one?
I'd like all the classics: KR, Knuth, Lamport, Eric S Raymond, etc

regards
John O'Gorman



Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-07 Thread Anders Ekberg

Bennett Helm
Thu, 05 Jan 2006 06:27:01 -0800

On Jan 5, 2006, at 5:01 AM, Jean-Marc Lasgouttes wrote:

Anders> - "New from Template..." gives a Open dialogue in the
Anders> /Applications directory. Templates are in the (hidden)
Anders> LyX-package and difficult to access from this Open-dialogue

This is strange. Bennett, do you see this too?

The problem, I take it, is not that Anders is getting an Open  
dialog rather than a New from Template dialog. (The two look the  
same on screen, but they behave differently.) Rather, it is that  
Anders is trying to access template files inside the LyX.app  
bundle, but the Mac native file browser we now use won't let him  
inside. (Even setting /Applications/LyX.app/Contents/Resources/LyX/ 
templates as the path in LyX's preferences won't do the trick: it  
just brings up the / Applications folder.)


There must be a way to get the native browser to go inside  
application bundles, though I wonder whether that's desirable in  
general, as it flouts Mac conventions.


An alternative would be to create a new folder at ~/Library/  
Application Support/LyX/templates/default in which we copy the  
default templates from the application bundle (overwriting files  
that are there) whenever LyX is installed. (User templates could  
still be left at ~/Library/Application Support/LyX/templates.) This  
would require clear warnings when the installer that people  
shouldn't modify files in the default templates folder.

Bennett


Looking at how some other applications have solved this:

- Microsoft puts the Microsoft Word.app and a Templates-folder as  
separate entities in the directory in /Applications/Microsoft Office  
2004/  The same approach is used by AppleWorks.


- Apple's Pages put its templates in /Applications/iWork/Pages.app/ 
Contents/Resources/English.lproj/Templates/ (below they have two  
folders named ISO and Traditional with sub-folders for the templates).


In all of these cases, templates are selected through a pop-up menu  
and not a New... or Open... dialogue.


(In all of the cases, you store your created templates using a  
standard save dialogue. There may be a dedicated folder for personal  
templates (either in ~/Library/Application Support/Program_Directory  
[used by Pages] or in /Applications/Program_Directory/Templates/  
[used by MS Office] (where the Save... dialogue is initially directed  
and I assume the program looks for user-defined templates), but you  
are basically free to choose whichever location you like for the  
templates.)


If a pop-up menu is difficult to implement, the MS Office version is  
probably easiest to adopt (though the risk is that since the  
templates are easily accessible they may be tinkered with, cf  
Bennett's remark above)


Perhaps the best way to solve the problem is by AbiWords approach,  
which is similar to what Pages uses (templates stored in the  
Application bundle and user-defined templates in the ~/ 
LibraryApplication Support/Program_Directory). The difference is that  
they use a "list dialogue" instead of a pop-up menu (i.e. you select  
your template from a list of available templates and click OK). Since  
AbiWord is OpenSource I guess it would be possible to study the code  
or ask the developers how this was implemented.


It could be noted that with the current version it is possible to  
access the templates using the Apple+Shift+G short-cut and type in  
the path to the templates. However this is of-course not a user- 
friendly solution...


The next problem with the templates is that once you manage to open  
them you get (for some) a "missing TeX-class" error and have to go  
through the procedure outlined in http://wiki.lyx.org/pmwiki.php/FAQ/ 
MacInstall It would make the application much more user-friendly if  
the needed .cls-files are copied directly at installation if this is  
possible.


/Anders


Re: Help Needed with Multido{}

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Fri, 6 Jan 2006, Rich Shepard wrote:


 1.) The \multido{} loop in lines 69-71 does not produce the desired
results. I want each framebox in line 71 to be 3mm wide, but if I 
reduce the
width from 7mm, the lines are combined; that is, the even numbered 
line is

next to the odd nunber line. I need a total text width of 72mm, so there
should be room for 10 3mm boxes with a bit of space between each one. 
When I

try adding a \hspace{} in there it gets all messed up.



  Through trial and error I've gotten a bit closer. I don't think the 
spacing

will match the scanner, so if anyone has a better idea how to put this
document together, please let me know.


insert an explicit line end.

%% Make nR rows of scoring boxes for answers
  \multido{\nRow=1+1}{\nR}{%
{\strobe}\hspace{3mm}\makebox[0.3\omrx]{\nRow}%
 \multido{}{10}{\hspace{2mm} \framebox[3.55mm]{}}\newline}


Herbert




Re: Hollow Box Similar to \rule?

2006-01-07 Thread Kevin Pfeiffer
Rich Shepard writes:
>Thanks for your efforts. If you look at the .tex file I attached
> to my post you'll see that there are 286 little boxes (3mm wide x
> 2.54mm high). That's a lot of \picture{} environments to design and
> place. :-)

Why would you need 286 picture environments? Have you actually played 
around with one of them?

Have you looked at \multiput?
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-269.html

Sounds like it might be useful.

I noticed while browsing yesterday that there are also several graphics 
packages for LaTeX. Perhaps you would be better off with one of these. 
Far be it from me to make this suggestion (since for some reason I've 
not yet done it myself), but perhaps since you are working on something 
specialized you should purchase one or two LaTeX reference books?

> For example a negative \vspace{} closes up lines
> rather than raising the \framebox a bit above the baseline. That's
> not helpful.

Perhaps it's the wrong tool for the job. It seems to me that the 
\picture environment provides global positioning and the \put and 
\multiput commands offers the same thing locally. I've attached my 
sample file again, showing \multipart and also that one is not 
restricted to the boundaries of the picture environment.

But as this all has little or nothing to do with LyX, perhaps we will 
soon be \booted out of here? :-)

-Kevin

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language ngerman
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\added_space_bottom bigskip \align center 

\series bold 
\size larger 

\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
framebox{The Framebox}
\end_inset 


\layout Standard

First create a picture environment.
 The default 
\backslash 
unitlength is 1pt, so the picture environment below was created to be 72
 x 72 points in size.
 The 0,0 origin places it on the baseline following the last character typeset.
 Then with the 
\backslash 
frame command a border is drawn around it.
 
\layout Standard

Inside the picture environment a 
\backslash 
put command adds a 
\backslash 
framebox slightly smaller than the picture environment.
 Inside this is another 
\backslash 
framebox, 16 x 16 points in size.
 The (28,28) origin (i.e.
 72/2 - 16/2) of this second 
\backslash 
put command, translates (shifts) the our smaller box from the lower-left
 corner of the picture environment to its center.
 
\layout Standard

The 
\backslash 
multiput command lets one create patterns by setting the starting x,y coordinate
s, delta x,y (the offset for each multiple), and the number of repeats;
 and \SpecialChar \ldots{}

\layout Standard

finally an x marks the spot: 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frame{
\layout Standard
  
\backslash 
begin{picture}(72,72)(0,0)
\layout Standard
  
\backslash 
linethickness{0.1pt}
\layout Standard
  
\backslash 
put(2,2){
\backslash 
framebox(68,68)[]{}}
\layout Standard
  
\backslash 
multiput(6,61)(7,0){9}{
\backslash 
framebox(4,4)[]{}}
\layout Standard
  
\backslash 
multiput(6,7)(7,0){9}{
\backslash 
framebox(4,4)[]{}}
\layout Standard
  
\backslash 
linethickness{2pt}
\layout Standard
  
\backslash 
put(28,28){
\backslash 
framebox(16,16)[]{x}}
\layout Standard
  
\backslash 
linethickness{0.5pt}
\layout Standard
  
\backslash 
put(-22,-99){
\backslash 
framebox(60,10)[c]{down here!}}
\layout Standard
  
\backslash 
end{picture}%
\layout Standard
  }
\end_inset 

 That's all.
 The 
\backslash 
linethickness command can also be used.
 Zoom in on the dvi output (or print the page) to see the difference.
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setlength{
\backslash 
unitlength}{1em}%
\end_inset 

 
\layout Standard

A further option would be to change the 
\backslash 
unitlength to something other than points.
 Here the 
\backslash 
unitlength has been changed to 1 em 
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
begin{picture}(1,1)(0,0.2)
\layout Standard

\backslash 
put(0,0){
\backslash 
framebox(1,1)[c]{M}}
\layout Standard

\backslash 
end{picture}
\end_inset 

 using the 
\backslash 
setlength command.
\layout Standard

And the placement of elements is not restricted to the boundaries of the
 picture environment.
 This box \SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~
\SpecialChar ~

Re: Hollow Box Similar to \rule?

2006-01-07 Thread Kevin Pfeiffer
(Apologies in advance)

Rich,

I didn't mean to sound so harsh and critical as the prev. message seems 
to have come out.

Best of luck with your scanner card!

-K


-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: LyX 1.4.0pre3 on MacOSX - first impressions

2006-01-07 Thread Andre Berger
* Andre Berger (2006-01-05):
> * Anders Ekberg (2006-01-05):
> > On 5 jan 2006, at 11.01, Jean-Marc Lasgouttes wrote:
> > >>"Anders" == Anders Ekberg <[EMAIL PROTECTED]> writes:
> [...]
> > >Anders> - "New from Template..." gives a Open dialogue in the
> > >Anders> /Applications directory. Templates are in the (hidden)
> > >Anders> LyX-package and difficult to access from this Open-dialogue
> > >
> > >This is strange. Bennett, do you see this too?
> > I can confirm that this happens to me also with Bennett's pre3- 
> > version (the one I compile was based on a broken skeleton LyX.app  
> > Bennett told me).
> 
> Not here... 

Oh well, now I see what you mean. 

-Andre


Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Bennett Helm a écrit :

> On Dec 30, 2005, at 7:40 AM, Andre Berger wrote:
>
>> * Anders Ekberg (2005-12-30):
>>
>>> LyX 1.4.0-pre3 on MacOSX 10.4.3 generally works excellent.
>>
>>
>> Could you make it available for download?
>
This post is from somebody which is very well accustomated to lyx 1.3.6
and who tried 1.4 for the first time.
I use lyx mainly to compose mathematical  or physical  texts and  I need
the mathematical palette all the time: where can I find it?  As far as I
am concerned, it is the main problem with this version.
I use frequently minipages, and I would find usefull to modify the
default behaviour of minipage (with in cm,  and alignment  on the
bottom, for example)  and of some other.  Where  can I find  a way to 
modify  this behaviour  easily?

Thank you for your interest.

A.Leroux




Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Kevin Pfeiffer wrote:


Have you looked at \multiput?
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-269.html


Kevin,

  I will take a look at it.


... but perhaps since you are working on something specialized you should
purchase one or two LaTeX reference books?


  Er, did you not see my references to the multido pdf, The LaTex Companion,
2nd Ed., Guide to LaTeX 4th Ed., and The LaTeX Graphics Companion that I
wrote I had used before asking for help?


Perhaps it's the wrong tool for the job. It seems to me that the picture
environment provides global positioning and the \put and multiput commands
offers the same thing locally. I've attached my sample file again, showing
multipart and also that one is not restricted to the boundaries of the
picture environment.


  I've used \put with PSTricks. That may be the way to go.


But as this all has little or nothing to do with LyX, perhaps we will soon
be \booted out of here? :-)


  Yes, I hesitated before posting here. There are a lot of LaTeX experts who
hang around here, too. Last evening I posted in comp.text.tex on Usenet, too.

  This is not the usual type of document with which we all deal. It seemed to
me, however, that the fine control offered by LaTeX made it the appropriate
tool to use.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


insert an explicit line end.


Herbert,

  Sonofagun. I've not seen a \newline before in my documents or the examples
folks have used here on the mail list. I've seen a double backslash and a
space followed by a %, but not the \newline. I tried variations of the first
two without success.

  I wonder what other gems I've missed in my readings.

  The template sent by the vendor has specific distances to position the
marking boxes. Is there an environment that will allow me to specify those
distances directly?

Many thanks for the lesson and help, Herbert!

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


insert an explicit line end.

%% Make nR rows of scoring boxes for answers
 \multido{\nRow=1+1}{\nR}{%
   {\strobe}\hspace{3mm}\makebox[0.3\omrx]{\nRow}%
\multido{}{10}{\hspace{2mm} \framebox[3.55mm]{}}\newline}


Herbert,

  I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above. Nothing will raise the \frameboxes off their current position on the
baseline (or slightly below it). The entire interline spacing is effected.

  Am I using the wrong environment? Should I be using a picture environment
(such as Kevin's suggesion of \picture, or epic, or PSTricks) to create this
form? I can see this information on precision form development being useful
to others, too. What resources would you recommend?

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:


  I've used \put with PSTricks. That may be the way to go.


Rich,
for PSTricks it is \rput or one of the other label macros,
but not \put

Herbert



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Anders Ekberg a écrit :

>> I use lyx mainly to compose mathematical  or physical  texts and  I 
>> need
>> the mathematical palette all the time: where can I find it?  As far 
>> as I
>> am concerned, it is the main problem with this version.
>
> Is it not under Insert->Math->Math Panel? It is there and works fine 
> on my copy (downloaded from Bennett's link).
>
No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.

A.Leroux



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Abdel

Alain Leroux a écrit :

Anders Ekberg a écrit :

I use lyx mainly to compose mathematical  or physical  texts and  I 
need
the mathematical palette all the time: where can I find it?  As far 
as I

am concerned, it is the main problem with this version.
Is it not under Insert->Math->Math Panel? It is there and works fine 
on my copy (downloaded from Bennett's link).



No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.


Try to right click on the main toolbar. You should be able to switch on 
the brand new math and table toolbars. If you want these to show 
automatically when you enter an equation or a table replace your 
default.ui with the one attached.

If it doesn't work, send a bug report to lyx-devel.

Abdel.



A.Leroux




# -*- text -*-

# file default.ui
# This file is part of LyX, the document processor.
# Licence details can be found in the file COPYING.

# author John Levon

# Full author contact details are available in file CREDITS.

# This is the default LyX user interface definition file.
# The syntax should be straightforward enough.

# The interface is designed (partially) following the KDE Human Interface
# Guidelines (http://usability.kde.org/hig/)

Include "stdmenus.ui"

Include "stdtoolbars.ui"

# Which toolbars to use.
#
# The second parameter are the flags :
#
# on: the toolbar is visible
# off: the toolbar is not visible
# math: the toolbar is visible only when in math
# table: the toolbar is visible only when in a table
# top: the toolbar should be at the top of the window
# bottom: the toolbar should be at the bottom of the window
# left: the toolbar should be at the left of the window
# right: the toolbar should be at the right of the window
#
Toolbars
"standard" "on,top"
"extra" "on,top"
"table" "table,bottom"
"math" "math,bottom"
"minibuffer" "off,bottom"
End


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


for PSTricks it is \rput or one of the other label macros, but not \put


Herbert,

  Thanks for the reminder. It's been a while. But, ... I think that's what I
need for this OMR form. Plain ol' LaTeX took me 98% of the way, but fine
tuning positioning is where I get lost.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Alain Leroux
Abdel a écrit :

> Alain Leroux a écrit :
>
>> Anders Ekberg a écrit :
>>
 I use lyx mainly to compose mathematical  or physical  texts and  I
 need
 the mathematical palette all the time: where can I find it?  As far
 as I
 am concerned, it is the main problem with this version.
>>>
>>> Is it not under Insert->Math->Math Panel? It is there and works fine
>>> on my copy (downloaded from Bennett's link).
>>>
>> No, it is not. But perhaps it is because I use the French version.
>>  Moreover am not able to change the settings such as the default
>> language, the preamble. I cannot figure where it is.
>
>
> Try to right click on the main toolbar. You should be able to switch
> on the brand new math and table toolbars. If you want these to show
> automatically when you enter an equation or a table replace your
> default.ui with the one attached.
> If it doesn't work, send a bug report to lyx-devel.
>
> Abdel.
>
With your help, I found the solution of the problem: it arose because I
had a .lyx folder from lyx 1.3 in my directory, and it was incompatible
with the new version. By renaming it .lyx1, I had no more problem.
Pehaps it would be useful to change the name of .lyx for the new version.
Thank you to all of you who give me an answer!
A.Leroux



Re: LyX 1.4.0pre3 on Linux - first impressions

2006-01-07 Thread Abdel

Alain Leroux a écrit :

Abdel a écrit :


Alain Leroux a écrit :


Anders Ekberg a écrit :


I use lyx mainly to compose mathematical  or physical  texts and  I
need
the mathematical palette all the time: where can I find it?  As far
as I
am concerned, it is the main problem with this version.

Is it not under Insert->Math->Math Panel? It is there and works fine
on my copy (downloaded from Bennett's link).


No, it is not. But perhaps it is because I use the French version.
 Moreover am not able to change the settings such as the default
language, the preamble. I cannot figure where it is.


Try to right click on the main toolbar. You should be able to switch
on the brand new math and table toolbars. If you want these to show
automatically when you enter an equation or a table replace your
default.ui with the one attached.
If it doesn't work, send a bug report to lyx-devel.

Abdel.


With your help, I found the solution of the problem: it arose because I
had a .lyx folder from lyx 1.3 in my directory, and it was incompatible
with the new version. By renaming it .lyx1, I had no more problem.
Pehaps it would be useful to change the name of .lyx for the new version.


Note that I think you can specify a startup directory yourself with a 
script containing this:


lyx -userdir .lyx-140


Thank you to all of you who give me an answer!
A.Leroux






Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Sat, 7 Jan 2006, Herbert Voss wrote:


for PSTricks it is \rput or one of the other label macros, but not \put


  Thanks for the reminder. It's been a while. But, ... I think that's 
what I

need for this OMR form. Plain ol' LaTeX took me 98% of the way, but fine
tuning positioning is where I get lost.


Rich,
you need only the right tool :-)

attched an example which creates the table dynymical.
You can modify this macro for your purpose. With a tabular
you'll get always correct horizontal and vertical alignment.

Herbert


omr-form.tex
Description: TeX document



Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


you need only the right tool :-)


  Well, Herbert, that's what I've been trying to learn on my own.


attched an example which creates the table dynymical. You can modify this
macro for your purpose. With a tabular you'll get always correct horizontal
and vertical alignment.


  I wondered about using a table. It may well be faster and easier than
re-doing the document with PSTricks. And I just started re-reading the
PSTricks manual, too.

  Now that I've briefly looked at your modifications I see how much more
efficiently the file is written than what I had originally. In addition to
Appendix D of "Guide to LaTeX", what do you recommend I read to learn more
about doing complex documents with LaTeX? Or, is it more a matter of doing it
more frequently?

Again, many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Hollow Box Similar to \rule?

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:


  I wondered about using a table. It may well be faster and easier than
re-doing the document with PSTricks. And I just started re-reading the
PSTricks manual, too.


Rich,
this depends strongly on your problem. But you should always
first trying to realize it with a tabular. It is a powerful
environment, but needs some time to understand.


  Now that I've briefly looked at your modifications I see how much more
efficiently the file is written than what I had originally. In addition to
Appendix D of "Guide to LaTeX", what do you recommend I read to learn more
about doing complex documents with LaTeX? Or, is it more a matter of 
doing it

more frequently?


there are some general facts:

- for the layout use _always_ package geometry, which is also
  the default by LyX
- every layout, which depends on a grid, should be possible
  with a tabular or array

learning by doing is the best way and doing it frequently
makes it easier.

Herbert



Re: Hollow Box Similar to \rule?

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Herbert Voss wrote:


this depends strongly on your problem. But you should always first trying
to realize it with a tabular. It is a powerful environment, but needs some
time to understand.


Herbert,

  Yes, it does. Time to re-read the books I have so I can become more
comfortable with the tabular environment.


- for the layout use _always_ package geometry, which is also the default
 by LyX


  This is good to know.


- every layout, which depends on a grid, should be possible with a tabular
 or array


  OK.


learning by doing is the best way and doing it frequently makes it easier.


  True. I have too many tools I need to use in my business and I don't use
each one every day.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Rich Shepard

On Sat, 7 Jan 2006, Rich Shepard wrote:


 I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above.


  Well, I just re-discovered that the proper command is \raisebox to adjust
the vertical position of a \framebox. Thought I'd add this so that future
list archive divers can find the answer.

  Regardless, the tabular environment is the way to go for this form.

Rich

--
Richard B. Shepard, Ph.D.   |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM)   |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Help Needed with Multido{}

2006-01-07 Thread Herbert Voss

Rich Shepard wrote:

On Sat, 7 Jan 2006, Rich Shepard wrote:


 I have read everything I can find on \framebox and \vspace, and I have
tried putting a negative \vspace at different positions in the last line
above.



  Well, I just re-discovered that the proper command is \raisebox to adjust
the vertical position of a \framebox. Thought I'd add this so that future
list archive divers can find the answer.


I would use \put, e.g. \put(0,5}{\framebox(50,30){text}}

Herbert



help for lyx install

2006-01-07 Thread giacomo coslovich
Hi,
I need some help for installing Lyx 1.3.6 for Linux! I
have the Red Hat 9.B distribution and I've installed
also some packages of xfree, but lyx doesn't see my
xfree library! I've run configure
-with-extra-lib=(Path of the libs) but it doesn't
work... 
Can you help me?
Thank you.
Giacomo Coslovich

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


errors...

2006-01-07 Thread giacomo coslovich
Sorry I've written the wrong packages... I have
problems with the Xforms libraries!!!
Giacomo Coslovich

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


Re: Missing references bug: lyx not calling pdflatex again?

2006-01-07 Thread Fernando Perez
David L. Johnson wrote:

> On Fri, 06 Jan 2006 16:19:03 -0700
> Fernando Perez <[EMAIL PROTECTED]> wrote:
> 
>> I have a document with a bibtex-generated list of references, and when I
>> try to export it to PDF or postscript (via the GUI or with 'lyx -e pdf2',
>> for example), all the citations appear as [??] marks, though the
>> references section is correctly generated.
> 
> Typically with Latex the first run would generate missing references such
> as
> this.  If I am running Latex manually, I simply run it twice.  That way
> the appropriate temporary files are generated so that the second run can
> read them.
> 
> I thought LyX would do the same thing.

It should, and sometimes it does, as I mention below.  But the problem is
that it misses many times, and requires a no-op fiddle with the bibtex box
to realize that it has to make an extra pass.

>> The only workaround I've been able to find is to click on the 'bibtex
>> references' box at the end, make some trivial change (choose a different
>> style, or check the 'add to TOC' box), and rerun the PDF/PS generation. 
>> THEN, the numbers appear, and I can revert my trivial change and
>> continue.
>> 
>> Needless to say, it is incredibly annoying to have to do this every time,
>> and it breaks my makefile-based workflow (this is a document being
>> developed in collaboration from many places, so I wrote a makefile to
>> generate all the required PDFs without human intervention).
> 
> Try adding a second Latex run into that makefile.

Well, it's not that simple: the makefile calls

lyx -e pdf2 master.lyx

to make 'master.pdf'.  This master file has many subdocuments, EPS figures,
and more.  To generate the final one manually, I'd have to write out the
raw latex, convert all figures from .eps format to .pdf (pdflatex doesn't
understand eps figures), etc.  That's _precisely_ all the magic and
convenience that lyx does for you when you say 'export PDF', but it's
borking out on bibtex management.

This is a lyx bug, I'm pretty convinced.  I guess I should just take it up
on lyx-dev...

Cheers,

f



Re: bibliographies

2006-01-07 Thread john
Hi
Does anyone have a computer bibliography or know where I can get one?
I'd like all the classics: K, Knuth, Lamport, Eric S Raymond, etc

regards
John O'Gorman