Re: LyX/LateX solution for Industrial label/sticker?

2008-12-12 Thread peerlynt
Abdelrazak Younes younes.ab...@... writes:

 
 Hello,
 
 I would like to automatically generate a sticker on an electronic 
 device. Usual things like serial number, bar code, part number, etc. 
 Does someone know of a LyX/LateX solution for this kind of things?

this package might help you:
http://texcatalogue.sarovar.org/entries/pst-barcode.html

 
 Thanks in advance,
 Abdel.

regards,
peerlynt 






Re: Custom Bibliography

2008-12-12 Thread Dominik Waßenhoven
Luca De Marini wrote:

 In DocumentSettingsBibliography, choose Natbib and then Numerical for
 Natbib Style. Then, in DocumentSettingsDocument Class, under Class
 Options, Custom, put the word: super.
 
 Yes, uhm, but once I set all of this, and I've done it, what do I do next? I
 mean, how do I achieve my goal?

Have you read the Help document? It contains the basics on how to use
BibTeX with LyX. Besides, you could have a look into the wiki:

http://wiki.lyx.org/BibTeX/Introduction
http://wiki.lyx.org/BibTeX/BibTeX

Regards,
Dominik.-




Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Jean-Marc Lasgouttes
Marcelo Acuña mv...@yahoo.com.ar writes:

 hello,
  with opensuse and kde 4.1, qt 4.4.3:
  1) open a big doc like EmbeddedObject.lyx.
  2) at the end of a paragraph in the last chapter insert a footnote.
  3) write several words.
  4) press, and hold pressed, ctrl + z
  5) with lyx 1.6.0, and not with 1.5.7, I get a crash.
  6) with several pressed of ctrl + z I get a crash too.
  7) with a small file I have no problem.
  8) with lyx 1.5.7, I have no problem.

  Have anyone same problem?

Is it with the outline pane open? In this case it is probably
http://bugzilla.lyx.org/show_bug.cgi?id=5491

JMarc


Re: LyX/LateX solution for Industrial label/sticker?

2008-12-12 Thread Abdelrazak Younes

peerlynt wrote:

Abdelrazak Younes younes.ab...@... writes:


Hello,

I would like to automatically generate a sticker on an electronic 
device. Usual things like serial number, bar code, part number, etc. 
Does someone know of a LyX/LateX solution for this kind of things?


this package might help you:
http://texcatalogue.sarovar.org/entries/pst-barcode.html


Thanks.

Abdel.



No PDF

2008-12-12 Thread Julio Rojas
Hi, I am using a LaTeX class from my University for a document. The class
works fine with the samples provided as I have manually compiled them. I
have created a basic layout for this class. The class is based on Book
with some small changes.

I have copied the Book layout and renamed it with the class name. I have
changed the second line to:

\DeclareLaTeXClass{class name}

Then, after texhash and reconfigure, proceeded to succesfully import the
sample document into LyX. But when I try to generate either a DVI, a PS or a
PDF of the document, nothing comes out and no error is presented.

Any ideas?
-
Julio Rojas
jcredbe...@gmail.com


Show pagebreaks in the editor?

2008-12-12 Thread bigblop

Are there any plans in the future to show separate pages in the lyx editor
instead of one long background with potential unlimited margins?

Even though I much prefer LyX over Microsoft Word it just looks much better
when pages are shown separately in the editor.
-- 
View this message in context: 
http://n2.nabble.com/Show-pagebreaks-in-the-editor--tp1647346p1647346.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Show pagebreaks in the editor?

2008-12-12 Thread Jürgen Spitzmüller
bigblop wrote:
 Are there any plans in the future to show separate pages in the lyx editor
 instead of one long background with potential unlimited margins?

No.

 Even though I much prefer LyX over Microsoft Word it just looks much better
 when pages are shown separately in the editor.

This does not make sense in the LyX context.

Jürgen


Re: Custom Bibliography

2008-12-12 Thread Luca De Marini
Thanks to everyone, reading the documents you linked, I managed to obtain
the exact result I needed. Basically, I searched the wiki and never found
the illustrated guide Dominik linked :)
With that guide and using JabRef, as suggested by rgheck, I have now a fully
setted and working bibliography for my own test document and will now teach
my girlfriend how to achieve the same result :)
Very nice, thanks a lot! But it is only perfect if used in combination with
the super command suggested by rgheck :)
It should be added to the illustrated guide indeed, in my opinion.
Thanks to everyone for your help, sure I didn't understimate the power of
Lyx, I just thought it was too hard to achieve my goal, and I was wrong :)
Greetings and thanks again,

Luca D.M.

2008/12/12 Dominik Waßenhoven domw...@web.de

 Luca De Marini wrote:

  In DocumentSettingsBibliography, choose Natbib and then Numerical
 for
  Natbib Style. Then, in DocumentSettingsDocument Class, under Class
  Options, Custom, put the word: super.
 
  Yes, uhm, but once I set all of this, and I've done it, what do I do
 next? I
  mean, how do I achieve my goal?

 Have you read the Help document? It contains the basics on how to use
 BibTeX with LyX. Besides, you could have a look into the wiki:

 http://wiki.lyx.org/BibTeX/Introduction
 http://wiki.lyx.org/BibTeX/BibTeX

 Regards,
 Dominik.-





Lyx with latex template .tex file

2008-12-12 Thread Ha Thai Duong

Hi 

I am a new bee to latex and lyx so please accept my apologize if the
question is not appropriate.

I have latex tamplate file (a .tex file) Can you please tell me if lyx can
use this type of template as i can't find the option? 

Thanks a lot for your help

Best regards
Duong
-- 
View this message in context: 
http://n2.nabble.com/Lyx-with-latex-template-.tex-file-tp1647750p1647750.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Lyx with latex template .tex file

2008-12-12 Thread Guenter Milde
On 2008-12-12, Ha Thai Duong wrote:

 I am a new bee to latex and lyx so please accept my apologize if the
 question is not appropriate.

 I have latex tamplate file (a .tex file) Can you please tell me if lyx can
 use this type of template as i can't find the option? 

This depends on the documentclass used in the template file. While many
standard document classes are supported by LyX, even more (special)
classes are not.

Try importing the template.tex file with FileImport.

Günter



Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Guenter Milde
On 2008-12-12, Jean-Marc Lasgouttes wrote:
 Marcelo Acuña mv...@yahoo.com.ar writes:
...
  Have anyone same problem?

 Is it with the outline pane open? In this case it is probably
 http://bugzilla.lyx.org/show_bug.cgi?id=5491

In my case, it is whithout outline pane.
(Although trying to open it was a different reason for a different crash.)

Günter



Re: Custom Bibliography

2008-12-12 Thread rgheck

Luca De Marini wrote:

Thanks to everyone, reading the documents you linked, I managed to obtain
the exact result I needed. Basically, I searched the wiki and never found
the illustrated guide Dominik linked :)
With that guide and using JabRef, as suggested by rgheck, I have now a fully
setted and working bibliography for my own test document and will now teach
my girlfriend how to achieve the same result :)
Very nice, thanks a lot! But it is only perfect if used in combination with
the super command suggested by rgheck :)
It should be added to the illustrated guide indeed, in my opinion.

  
You might want ot have a look now at the documentation for natbib, which 
you'll find here:

   http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/natbib.pdf
and probably in natbib.dvi or natbib.pdf somewhere on your own machine. 
There are lots of other options that can be used.


rh



Re: Show pagebreaks in the editor?

2008-12-12 Thread rgheck

Jürgen Spitzmüller wrote:

bigblop wrote:
  

Even though I much prefer LyX over Microsoft Word it just looks much better
when pages are shown separately in the editor.



This does not make sense in the LyX context.

  
To elaborate: LyX relies upon LaTeX to do the formatting. LyX has no way 
of knowing where LaTeX might decide to break the pages, and even a 
single character one on page could cause LaTeX to do something 
completely different several pages before (because it moves a float). Or 
maybe you're outputting HTML, in which case there aren't pages in the 
traditional sense. So, as Jurgen said, this isn't The LyX Way.


rh



Re: No PDF

2008-12-12 Thread asm23

Julio Rojas wrote:

Hi, I am using a LaTeX class from my University for a document. The class
works fine with the samples provided as I have manually compiled them. I
have created a basic layout for this class. The class is based on Book
with some small changes.

I have copied the Book layout and renamed it with the class name. I have
changed the second line to:

\DeclareLaTeXClass{class name}

Then, after texhash and reconfigure, proceeded to succesfully import the
sample document into LyX. But when I try to generate either a DVI, a PS or a
PDF of the document, nothing comes out and no error is presented.

Any ideas?
-
Julio Rojas
jcredbe...@gmail.com

I'm not an export in Lyx and latex. I suggest you can click the menu: 
document-latex log to see what's wrong on compiling.




Re: a guide for get a 1.6.0 crash

2008-12-12 Thread asm23

Guenter Milde wrote:

On 2008-12-12, Marcelo Acuña wrote:


 Have anyone same problem?


I did experience several crashes after undoing changes but did not bother to
investigate and report so far.

LyX 1.6.0 on Debian/testing

Günter


I'm using windows xp,Lyx 1.60, I also did experience some crashes when I 
press ctrl + z to do some undo when entering math formula.


But I think it's hard to report this bug...



Empty \item

2008-12-12 Thread Máté Salát
Hello,

If you are in an enumerate environment what is the recommended way for creating 
an \item element with no content? You may need it to have a sub enumerate 
environment start at the same line as the previous \item element starts in the 
outer enumerate.

I could prevent the empty \item from disappearing by putting an empty ERT box 
after it. But there may be a more elegant way for doing it.

Regards, Mátéattachment: Enumerate.png

Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Jens Noeckel


On Dec 12, 2008, at 7:23 AM, asm23 wrote:


Guenter Milde wrote:

On 2008-12-12, Marcelo Acuña wrote:

 Have anyone same problem?
I did experience several crashes after undoing changes but did not  
bother to

investigate and report so far.
LyX 1.6.0 on Debian/testing
Günter
I'm using windows xp,Lyx 1.60, I also did experience some crashes  
when I press ctrl + z to do some undo when entering math formula.


But I think it's hard to report this bug...



I've added a comment with a link to this thread to an earlier bug  
report,

http://bugzilla.lyx.org/show_bug.cgi?id=5540

I got a reply, but it seems to assume that I had the Outline view  
open. In my case, the crash has nothing to do with the Outline view,  
it's really easy to reproduce.
Maybe some of you who also had similar crashed can compare to the  
descriptions on that page.


Jens



Re: Override menu hotkeys?

2008-12-12 Thread Paul A. Rubin

Christopher Menzel wrote:

Greetings LyX users,

I'm using LyX 1.6 in a Linux virtual machine under OS X which uses the 
option key as the alt key.  (I also use the OS X version, of course.)  I 
would like to have as many Emacs keybindings as possible in LyX, in 
particular, Alt-f to move forward by word, Alt-d to delete by word.  
However, even though I have defined my desired keybindings in the 
emacs.bind file, with the OS X keyboard, Alt-f still brings up the File 
menu and Alt-d the Document menu.  So, question: Is it possible to 
override this behavior, either in a LyX config file or some other config 
file, so that I can get the Emacsy behavior I long for?


Thanks.

Chris Menzel




In the lyx/Resources/ui folder, try editing stdmenus.inc.

/Paul



Lyx math problems

2008-12-12 Thread William Mullin
I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1. When  
I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does most  
times.


2. Selection by dragging in a math formula is very sensitive. It often  
selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an equation.  
Is there away to turn off on the fly compiling and select when  
desired? The default is that it seems to compile when the equation  
typing is finished.


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is there  
a way of setting this?





Thanks
William Mullin
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
 | William J. Mullin   Professor Emeritus of  
Physics  |
 | Department of Physics   Hasbrouck  
Lab |

 | University of Massachusetts Amherst, MA 01003-3720  |
 | Internet address:
mul...@physics.umass.edu |
 | Voice:
413-545-0822|
 | Fax:  
413-545-1691  |

 | Home page: http://www-unix.oit.umass.edu/~wmullin/ |
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





Re: Empty \item

2008-12-12 Thread rgheck

Máté Salát wrote:

Hello,
 
If you are in an enumerate environment what is the recommended way for 
creating an \item element with no content? You may need it to have a 
sub enumerate environment start at the same line as the previous \item 
element starts in the outer enumerate.
 
I could prevent the empty \item from disappearing by putting an empty 
ERT box after it. But there may be a more elegant way for doing it.
 

That's pretty much how people do it.


Re: Lyx math problems

2008-12-12 Thread James Sutherland


On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1.  
When I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does  
most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term, you  
must be sure that you are not within the box containing the existing  
term (#1 in your example).


2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!



I haven't seen this.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see the  
compiled equation at all if you do that...


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is  
there a way of setting this?


You can certainly do this through the GUI (Insert-Math-Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl-m and then Alt-m- 
n.  Alternatively, you could bind your own shortcut key to do this in  
one shot.




Thanks
William Mullin
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| William J. Mullin   Professor Emeritus of  
Physics  |
| Department of Physics   Hasbrouck  
Lab |

| University of Massachusetts Amherst, MA 01003-3720  |
| Internet address:
mul...@physics.umass.edu |
| Voice:
413-545-0822|
| Fax:  
413-545-1691  |

| Home page: http://www-unix.oit.umass.edu/~wmullin/ |
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+







Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

Guenter Milde wrote:

On 2008-12-12, Jean-Marc Lasgouttes wrote:

Marcelo Acuña mv...@yahoo.com.ar writes:

...

 Have anyone same problem?



Is it with the outline pane open? In this case it is probably
http://bugzilla.lyx.org/show_bug.cgi?id=5491


In my case, it is whithout outline pane.
(Although trying to open it was a different reason for a different 
crash.)


Then it is another bug: a bugzilla entry and a backtrace would be useful.


Sorry, this exists already:
http://bugzilla.lyx.org/show_bug.cgi?id=5540



Re: Show pagebreaks in the editor?

2008-12-12 Thread Rich Shepard

On Fri, 12 Dec 2008, rgheck wrote:


To elaborate: LyX relies upon LaTeX to do the formatting. LyX has no way
of knowing where LaTeX might decide to break the pages, and even a single
character one on page could cause LaTeX to do something completely
different several pages before (because it moves a float). Or maybe you're
outputting HTML, in which case there aren't pages in the traditional
sense. So, as Jurgen said, this isn't The LyX Way.


  Nor the TeX way. If someone wants a WISIWIG writing tool there are
multiple word processors that are specifically designed for that. They'll
show page breaks, different typefaces, and all the other appearance items on
the screen as the document is being written. If that's what's desired, use
those tools and don't ask that a totally different tool be adapted to your
wants.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Override menu hotkeys?

2008-12-12 Thread Christopher Menzel

On Dec 12, 2008, at 10:31 AM, Paul A. Rubin wrote:

Christopher Menzel wrote:
I'm using LyX 1.6 in a Linux virtual machine under OS X which uses  
the option key as the alt key.  (I also use the OS X version, of  
course.)  I would like to have as many Emacs keybindings as  
possible in LyX, in particular, Alt-f to move forward by word, Alt- 
d to delete by word.  However, even though I have defined my  
desired keybindings in the emacs.bind file, with the OS X keyboard,  
Alt-f still brings up the File menu and Alt-d the Document menu.   
So, question: Is it possible to override this behavior, either in a  
LyX config file or some other config file, so that I can get the  
Emacsy behavior I long for?


In the lyx/Resources/ui folder, try editing stdmenus.inc.


That is so totally the right answer!  The trick was simply to edit the  
lines


  Submenu File|F file
  Submenu Document|D document

to

  Submenu File| file
  Submenu Document| document

Just for clarification, since I'm actually running Linux natively in a  
virtual machine under OS X -- via Sun's excellent, cost-free VM  
software VirtualBox (http://virtualbox.org) -- I needed to edit the  
stdmenus.inc file for the *Linux* version of LyX, which was found in / 
usr/share/lyx/ui.


Thanks again.

-chris



Re: Lyx math problems

2008-12-12 Thread William Mullin

Thanks for the suggestions. Note responses below:


On Dec 12, 2008, at 11:42 AM, James Sutherland wrote:



On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point appears  
as a subscript on #1. This problem does not happen every time but  
does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term,  
you must be sure that you are not within the box containing the  
existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing the  
insertion point between two symbols them. That placement does not  
distinguish which symbol it is closest to. The result is it seems to  
consider the two symbols (#1 and #2) to be a single symbol and puts  
the subscript behind #2 --most of the time.







2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift  
key and say a right arrow the selection  often goes to the left!



I haven't seen this.

Has anyone using Lyx on a Mac had this problem?





4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see  
the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.





5. The default is that equations are unnumbered. I would prefer  
that the default be that all equations are automatically numbered.  
Is there a way of setting this?


You can certainly do this through the GUI (Insert-Math-Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl-m and then Alt- 
m-n.  Alternatively, you could bind your own shortcut key to do this  
in one shot.


Yes I should be able to change my key bindings to do this. Thanks for  
reminding me of this.




 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
 | William J. Mullin   Professor Emeritus of  
Physics  |
 | Department of Physics   Hasbrouck  
Lab |

 | University of Massachusetts Amherst, MA 01003-3720  |
 | Internet address:
mul...@physics.umass.edu |
 | Voice:
413-545-0822|
 | Fax:  
413-545-1691  |

 | Home page: http://www-unix.oit.umass.edu/~wmullin/ |
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





Re: Lyx math problems

2008-12-12 Thread James Sutherland
1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point  
appears as a subscript on #1. This problem does not happen every  
time but does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a  
term (#2 in your example) to the left of an existing subscripted  
term, you must be sure that you are not within the box containing  
the existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing  
the insertion point between two symbols them. That placement does  
not distinguish which symbol it is closest to. The result is it  
seems to consider the two symbols (#1 and #2) to be a single symbol  
and puts the subscript behind #2 --most of the time.


What version of LyX?  I am running 1.6 on an Intel Mac.  There are not  
boxes in this version, but little brackets under the term that  
indicate the equivalent of {}.  Again, if you have something like

a^2
then be sure that when you add
b^4 a^2
that the b term is not within the little box or brackets  
associated with a^2.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and  
select when desired? The default is that it seems to compile when  
the equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you  
if you don't want to see this.  However, it may not allow you to  
see the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.


LyX - Preferences - Look and Feel - Graphics


Re: Does the version management work under windows?

2008-12-12 Thread Michael Wojcik
Paul A. Rubin wrote:
 Pavel Sanda wrote:
 
 ci is a part of rcs. another possibility is subversion.

 whether there is a possibility to run those creatures under
 cygwin/windows i haven't slightest clue.
 
 Subversion (both server and client) is available for Win XP and higher.

As is CVSNT, which includes RCS emulation that ought to work with LyX
(though I haven't tried it). There's also at least one port of GNU RCS
to Windows, though I'm suspicious of it - back when I last used it, I
had what appeared to be file-corruption issues. (It's hard to say,
because they weren't reproducible, and it's possible they were caused
by something else.)

Plus the various Unixy-Windows options, such as Cygwin.

For that matter, it's not hard to port RCS to Windows. I ported it to
MS-DOS, Windows 3.0, and various versions of OS/2, back in the day. (I
also built a distributed version with an OS/400 client. Ah, memories.)

But in any case it's easy to get the command-line binaries for all of
those version-control systems for Windows. All my Windows machines
have both CVSNT and Subversion installed. (I don't bother with
Tortoise or other GUI clients; I like to work from the command line
for most things. LyX is one of the few exceptions.)

-- 
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: Best advice on Fonts and PDF output from Lyx

2008-12-12 Thread Paul Johnson
On Fri, Dec 12, 2008 at 4:20 PM, Paul Johnson pauljoh...@gmail.com wrote:
  I've run LyX on RedHat, Fedora, and Ubuntu Linux at various times for
 about 10 years. Until a year or so, the LaTeX distribution was TeTeX,
 but recently I've converted over to TeXLive.

 Like many other LyX users, I've been wrestling with PDF output from
 LyX for a long time.  It used to be that the default fonts in LyX
 would look very bad in PDF output.  There were a number of workarounds
 considered in this list.

 For a long time, I've followed Herbert V's the advice to use the
 lmodern fonts in order to get nice PDF output. That still appears to
 be the best advice in the LyX wiki:  http://wiki.lyx.org/FAQ/PDF

 In recent times, however, we've seen PDF output that looks really bad
 in Adobe Acrobat reader 8 if a document uses the lmodern fonts.  The
 problem is that, at some levels of magnification, the fonts are
 uneven on the screen.  I uploaded a screenshot

 http://pj.freefaculty.org/latex/adobeUnevenFonts.pdf

I'm sorry.  The screenshot is a png, not pdf, so I've renamed it:

http://pj.freefaculty.org/latex/adobeUnevenFonts.png

 As far as I can tell, the output on paper is fine.  It is not uneven
 as it appears on the screen in acroread.  If I change the document to
 different fonts, I don't see that same kind of uneven output.

 Some of my students generate PDF output that is worse, some better.
 Students who have Windows machines on which they primarily use Chinese
 seem to have the worst trouble.  In Linux, I can use other pdf
 readers, but it appears Windows users are pretty much stuck with
 Adobe.

 I've seen this problem recently on Ubuntu 8.04 with TeXLive and also
 with Centos Linux 5.2 with TexLive.  So that is making me thing it is
 a TexLive problem.

 pj


 --
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas




-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: LyX/LateX solution for Industrial label/sticker?

2008-12-12 Thread peerlynt
Abdelrazak Younes younes.ab...@... writes:

 
 Hello,
 
 I would like to automatically generate a sticker on an electronic 
 device. Usual things like serial number, bar code, part number, etc. 
 Does someone know of a LyX/LateX solution for this kind of things?

this package might help you:
http://texcatalogue.sarovar.org/entries/pst-barcode.html

 
 Thanks in advance,
 Abdel.

regards,
peerlynt 






Re: Custom Bibliography

2008-12-12 Thread Dominik Waßenhoven
Luca De Marini wrote:

 In DocumentSettingsBibliography, choose Natbib and then Numerical for
 Natbib Style. Then, in DocumentSettingsDocument Class, under Class
 Options, Custom, put the word: super.
 
 Yes, uhm, but once I set all of this, and I've done it, what do I do next? I
 mean, how do I achieve my goal?

Have you read the Help document? It contains the basics on how to use
BibTeX with LyX. Besides, you could have a look into the wiki:

http://wiki.lyx.org/BibTeX/Introduction
http://wiki.lyx.org/BibTeX/BibTeX

Regards,
Dominik.-




Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Jean-Marc Lasgouttes
Marcelo Acuña mv...@yahoo.com.ar writes:

 hello,
  with opensuse and kde 4.1, qt 4.4.3:
  1) open a big doc like EmbeddedObject.lyx.
  2) at the end of a paragraph in the last chapter insert a footnote.
  3) write several words.
  4) press, and hold pressed, ctrl + z
  5) with lyx 1.6.0, and not with 1.5.7, I get a crash.
  6) with several pressed of ctrl + z I get a crash too.
  7) with a small file I have no problem.
  8) with lyx 1.5.7, I have no problem.

  Have anyone same problem?

Is it with the outline pane open? In this case it is probably
http://bugzilla.lyx.org/show_bug.cgi?id=5491

JMarc


Re: LyX/LateX solution for Industrial label/sticker?

2008-12-12 Thread Abdelrazak Younes

peerlynt wrote:

Abdelrazak Younes younes.ab...@... writes:


Hello,

I would like to automatically generate a sticker on an electronic 
device. Usual things like serial number, bar code, part number, etc. 
Does someone know of a LyX/LateX solution for this kind of things?


this package might help you:
http://texcatalogue.sarovar.org/entries/pst-barcode.html


Thanks.

Abdel.



No PDF

2008-12-12 Thread Julio Rojas
Hi, I am using a LaTeX class from my University for a document. The class
works fine with the samples provided as I have manually compiled them. I
have created a basic layout for this class. The class is based on Book
with some small changes.

I have copied the Book layout and renamed it with the class name. I have
changed the second line to:

\DeclareLaTeXClass{class name}

Then, after texhash and reconfigure, proceeded to succesfully import the
sample document into LyX. But when I try to generate either a DVI, a PS or a
PDF of the document, nothing comes out and no error is presented.

Any ideas?
-
Julio Rojas
jcredbe...@gmail.com


Show pagebreaks in the editor?

2008-12-12 Thread bigblop

Are there any plans in the future to show separate pages in the lyx editor
instead of one long background with potential unlimited margins?

Even though I much prefer LyX over Microsoft Word it just looks much better
when pages are shown separately in the editor.
-- 
View this message in context: 
http://n2.nabble.com/Show-pagebreaks-in-the-editor--tp1647346p1647346.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Show pagebreaks in the editor?

2008-12-12 Thread Jürgen Spitzmüller
bigblop wrote:
 Are there any plans in the future to show separate pages in the lyx editor
 instead of one long background with potential unlimited margins?

No.

 Even though I much prefer LyX over Microsoft Word it just looks much better
 when pages are shown separately in the editor.

This does not make sense in the LyX context.

Jürgen


Re: Custom Bibliography

2008-12-12 Thread Luca De Marini
Thanks to everyone, reading the documents you linked, I managed to obtain
the exact result I needed. Basically, I searched the wiki and never found
the illustrated guide Dominik linked :)
With that guide and using JabRef, as suggested by rgheck, I have now a fully
setted and working bibliography for my own test document and will now teach
my girlfriend how to achieve the same result :)
Very nice, thanks a lot! But it is only perfect if used in combination with
the super command suggested by rgheck :)
It should be added to the illustrated guide indeed, in my opinion.
Thanks to everyone for your help, sure I didn't understimate the power of
Lyx, I just thought it was too hard to achieve my goal, and I was wrong :)
Greetings and thanks again,

Luca D.M.

2008/12/12 Dominik Waßenhoven domw...@web.de

 Luca De Marini wrote:

  In DocumentSettingsBibliography, choose Natbib and then Numerical
 for
  Natbib Style. Then, in DocumentSettingsDocument Class, under Class
  Options, Custom, put the word: super.
 
  Yes, uhm, but once I set all of this, and I've done it, what do I do
 next? I
  mean, how do I achieve my goal?

 Have you read the Help document? It contains the basics on how to use
 BibTeX with LyX. Besides, you could have a look into the wiki:

 http://wiki.lyx.org/BibTeX/Introduction
 http://wiki.lyx.org/BibTeX/BibTeX

 Regards,
 Dominik.-





Lyx with latex template .tex file

2008-12-12 Thread Ha Thai Duong

Hi 

I am a new bee to latex and lyx so please accept my apologize if the
question is not appropriate.

I have latex tamplate file (a .tex file) Can you please tell me if lyx can
use this type of template as i can't find the option? 

Thanks a lot for your help

Best regards
Duong
-- 
View this message in context: 
http://n2.nabble.com/Lyx-with-latex-template-.tex-file-tp1647750p1647750.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Lyx with latex template .tex file

2008-12-12 Thread Guenter Milde
On 2008-12-12, Ha Thai Duong wrote:

 I am a new bee to latex and lyx so please accept my apologize if the
 question is not appropriate.

 I have latex tamplate file (a .tex file) Can you please tell me if lyx can
 use this type of template as i can't find the option? 

This depends on the documentclass used in the template file. While many
standard document classes are supported by LyX, even more (special)
classes are not.

Try importing the template.tex file with FileImport.

Günter



Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Guenter Milde
On 2008-12-12, Jean-Marc Lasgouttes wrote:
 Marcelo Acuña mv...@yahoo.com.ar writes:
...
  Have anyone same problem?

 Is it with the outline pane open? In this case it is probably
 http://bugzilla.lyx.org/show_bug.cgi?id=5491

In my case, it is whithout outline pane.
(Although trying to open it was a different reason for a different crash.)

Günter



Re: Custom Bibliography

2008-12-12 Thread rgheck

Luca De Marini wrote:

Thanks to everyone, reading the documents you linked, I managed to obtain
the exact result I needed. Basically, I searched the wiki and never found
the illustrated guide Dominik linked :)
With that guide and using JabRef, as suggested by rgheck, I have now a fully
setted and working bibliography for my own test document and will now teach
my girlfriend how to achieve the same result :)
Very nice, thanks a lot! But it is only perfect if used in combination with
the super command suggested by rgheck :)
It should be added to the illustrated guide indeed, in my opinion.

  
You might want ot have a look now at the documentation for natbib, which 
you'll find here:

   http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/natbib.pdf
and probably in natbib.dvi or natbib.pdf somewhere on your own machine. 
There are lots of other options that can be used.


rh



Re: Show pagebreaks in the editor?

2008-12-12 Thread rgheck

Jürgen Spitzmüller wrote:

bigblop wrote:
  

Even though I much prefer LyX over Microsoft Word it just looks much better
when pages are shown separately in the editor.



This does not make sense in the LyX context.

  
To elaborate: LyX relies upon LaTeX to do the formatting. LyX has no way 
of knowing where LaTeX might decide to break the pages, and even a 
single character one on page could cause LaTeX to do something 
completely different several pages before (because it moves a float). Or 
maybe you're outputting HTML, in which case there aren't pages in the 
traditional sense. So, as Jurgen said, this isn't The LyX Way.


rh



Re: No PDF

2008-12-12 Thread asm23

Julio Rojas wrote:

Hi, I am using a LaTeX class from my University for a document. The class
works fine with the samples provided as I have manually compiled them. I
have created a basic layout for this class. The class is based on Book
with some small changes.

I have copied the Book layout and renamed it with the class name. I have
changed the second line to:

\DeclareLaTeXClass{class name}

Then, after texhash and reconfigure, proceeded to succesfully import the
sample document into LyX. But when I try to generate either a DVI, a PS or a
PDF of the document, nothing comes out and no error is presented.

Any ideas?
-
Julio Rojas
jcredbe...@gmail.com

I'm not an export in Lyx and latex. I suggest you can click the menu: 
document-latex log to see what's wrong on compiling.




Re: a guide for get a 1.6.0 crash

2008-12-12 Thread asm23

Guenter Milde wrote:

On 2008-12-12, Marcelo Acuña wrote:


 Have anyone same problem?


I did experience several crashes after undoing changes but did not bother to
investigate and report so far.

LyX 1.6.0 on Debian/testing

Günter


I'm using windows xp,Lyx 1.60, I also did experience some crashes when I 
press ctrl + z to do some undo when entering math formula.


But I think it's hard to report this bug...



Empty \item

2008-12-12 Thread Máté Salát
Hello,

If you are in an enumerate environment what is the recommended way for creating 
an \item element with no content? You may need it to have a sub enumerate 
environment start at the same line as the previous \item element starts in the 
outer enumerate.

I could prevent the empty \item from disappearing by putting an empty ERT box 
after it. But there may be a more elegant way for doing it.

Regards, Mátéattachment: Enumerate.png

Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Jens Noeckel


On Dec 12, 2008, at 7:23 AM, asm23 wrote:


Guenter Milde wrote:

On 2008-12-12, Marcelo Acuña wrote:

 Have anyone same problem?
I did experience several crashes after undoing changes but did not  
bother to

investigate and report so far.
LyX 1.6.0 on Debian/testing
Günter
I'm using windows xp,Lyx 1.60, I also did experience some crashes  
when I press ctrl + z to do some undo when entering math formula.


But I think it's hard to report this bug...



I've added a comment with a link to this thread to an earlier bug  
report,

http://bugzilla.lyx.org/show_bug.cgi?id=5540

I got a reply, but it seems to assume that I had the Outline view  
open. In my case, the crash has nothing to do with the Outline view,  
it's really easy to reproduce.
Maybe some of you who also had similar crashed can compare to the  
descriptions on that page.


Jens



Re: Override menu hotkeys?

2008-12-12 Thread Paul A. Rubin

Christopher Menzel wrote:

Greetings LyX users,

I'm using LyX 1.6 in a Linux virtual machine under OS X which uses the 
option key as the alt key.  (I also use the OS X version, of course.)  I 
would like to have as many Emacs keybindings as possible in LyX, in 
particular, Alt-f to move forward by word, Alt-d to delete by word.  
However, even though I have defined my desired keybindings in the 
emacs.bind file, with the OS X keyboard, Alt-f still brings up the File 
menu and Alt-d the Document menu.  So, question: Is it possible to 
override this behavior, either in a LyX config file or some other config 
file, so that I can get the Emacsy behavior I long for?


Thanks.

Chris Menzel




In the lyx/Resources/ui folder, try editing stdmenus.inc.

/Paul



Lyx math problems

2008-12-12 Thread William Mullin
I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1. When  
I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does most  
times.


2. Selection by dragging in a math formula is very sensitive. It often  
selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an equation.  
Is there away to turn off on the fly compiling and select when  
desired? The default is that it seems to compile when the equation  
typing is finished.


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is there  
a way of setting this?





Thanks
William Mullin
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
 | William J. Mullin   Professor Emeritus of  
Physics  |
 | Department of Physics   Hasbrouck  
Lab |

 | University of Massachusetts Amherst, MA 01003-3720  |
 | Internet address:
mul...@physics.umass.edu |
 | Voice:
413-545-0822|
 | Fax:  
413-545-1691  |

 | Home page: http://www-unix.oit.umass.edu/~wmullin/ |
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





Re: Empty \item

2008-12-12 Thread rgheck

Máté Salát wrote:

Hello,
 
If you are in an enumerate environment what is the recommended way for 
creating an \item element with no content? You may need it to have a 
sub enumerate environment start at the same line as the previous \item 
element starts in the outer enumerate.
 
I could prevent the empty \item from disappearing by putting an empty 
ERT box after it. But there may be a more elegant way for doing it.
 

That's pretty much how people do it.


Re: Lyx math problems

2008-12-12 Thread James Sutherland


On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1.  
When I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does  
most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term, you  
must be sure that you are not within the box containing the existing  
term (#1 in your example).


2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!



I haven't seen this.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see the  
compiled equation at all if you do that...


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is  
there a way of setting this?


You can certainly do this through the GUI (Insert-Math-Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl-m and then Alt-m- 
n.  Alternatively, you could bind your own shortcut key to do this in  
one shot.




Thanks
William Mullin
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| William J. Mullin   Professor Emeritus of  
Physics  |
| Department of Physics   Hasbrouck  
Lab |

| University of Massachusetts Amherst, MA 01003-3720  |
| Internet address:
mul...@physics.umass.edu |
| Voice:
413-545-0822|
| Fax:  
413-545-1691  |

| Home page: http://www-unix.oit.umass.edu/~wmullin/ |
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+







Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

Guenter Milde wrote:

On 2008-12-12, Jean-Marc Lasgouttes wrote:

Marcelo Acuña mv...@yahoo.com.ar writes:

...

 Have anyone same problem?



Is it with the outline pane open? In this case it is probably
http://bugzilla.lyx.org/show_bug.cgi?id=5491


In my case, it is whithout outline pane.
(Although trying to open it was a different reason for a different 
crash.)


Then it is another bug: a bugzilla entry and a backtrace would be useful.


Sorry, this exists already:
http://bugzilla.lyx.org/show_bug.cgi?id=5540



Re: Show pagebreaks in the editor?

2008-12-12 Thread Rich Shepard

On Fri, 12 Dec 2008, rgheck wrote:


To elaborate: LyX relies upon LaTeX to do the formatting. LyX has no way
of knowing where LaTeX might decide to break the pages, and even a single
character one on page could cause LaTeX to do something completely
different several pages before (because it moves a float). Or maybe you're
outputting HTML, in which case there aren't pages in the traditional
sense. So, as Jurgen said, this isn't The LyX Way.


  Nor the TeX way. If someone wants a WISIWIG writing tool there are
multiple word processors that are specifically designed for that. They'll
show page breaks, different typefaces, and all the other appearance items on
the screen as the document is being written. If that's what's desired, use
those tools and don't ask that a totally different tool be adapted to your
wants.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Override menu hotkeys?

2008-12-12 Thread Christopher Menzel

On Dec 12, 2008, at 10:31 AM, Paul A. Rubin wrote:

Christopher Menzel wrote:
I'm using LyX 1.6 in a Linux virtual machine under OS X which uses  
the option key as the alt key.  (I also use the OS X version, of  
course.)  I would like to have as many Emacs keybindings as  
possible in LyX, in particular, Alt-f to move forward by word, Alt- 
d to delete by word.  However, even though I have defined my  
desired keybindings in the emacs.bind file, with the OS X keyboard,  
Alt-f still brings up the File menu and Alt-d the Document menu.   
So, question: Is it possible to override this behavior, either in a  
LyX config file or some other config file, so that I can get the  
Emacsy behavior I long for?


In the lyx/Resources/ui folder, try editing stdmenus.inc.


That is so totally the right answer!  The trick was simply to edit the  
lines


  Submenu File|F file
  Submenu Document|D document

to

  Submenu File| file
  Submenu Document| document

Just for clarification, since I'm actually running Linux natively in a  
virtual machine under OS X -- via Sun's excellent, cost-free VM  
software VirtualBox (http://virtualbox.org) -- I needed to edit the  
stdmenus.inc file for the *Linux* version of LyX, which was found in / 
usr/share/lyx/ui.


Thanks again.

-chris



Re: Lyx math problems

2008-12-12 Thread William Mullin

Thanks for the suggestions. Note responses below:


On Dec 12, 2008, at 11:42 AM, James Sutherland wrote:



On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point appears  
as a subscript on #1. This problem does not happen every time but  
does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term,  
you must be sure that you are not within the box containing the  
existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing the  
insertion point between two symbols them. That placement does not  
distinguish which symbol it is closest to. The result is it seems to  
consider the two symbols (#1 and #2) to be a single symbol and puts  
the subscript behind #2 --most of the time.







2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift  
key and say a right arrow the selection  often goes to the left!



I haven't seen this.

Has anyone using Lyx on a Mac had this problem?





4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see  
the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.





5. The default is that equations are unnumbered. I would prefer  
that the default be that all equations are automatically numbered.  
Is there a way of setting this?


You can certainly do this through the GUI (Insert-Math-Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl-m and then Alt- 
m-n.  Alternatively, you could bind your own shortcut key to do this  
in one shot.


Yes I should be able to change my key bindings to do this. Thanks for  
reminding me of this.




 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
 | William J. Mullin   Professor Emeritus of  
Physics  |
 | Department of Physics   Hasbrouck  
Lab |

 | University of Massachusetts Amherst, MA 01003-3720  |
 | Internet address:
mul...@physics.umass.edu |
 | Voice:
413-545-0822|
 | Fax:  
413-545-1691  |

 | Home page: http://www-unix.oit.umass.edu/~wmullin/ |
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





Re: Lyx math problems

2008-12-12 Thread James Sutherland
1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point  
appears as a subscript on #1. This problem does not happen every  
time but does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a  
term (#2 in your example) to the left of an existing subscripted  
term, you must be sure that you are not within the box containing  
the existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing  
the insertion point between two symbols them. That placement does  
not distinguish which symbol it is closest to. The result is it  
seems to consider the two symbols (#1 and #2) to be a single symbol  
and puts the subscript behind #2 --most of the time.


What version of LyX?  I am running 1.6 on an Intel Mac.  There are not  
boxes in this version, but little brackets under the term that  
indicate the equivalent of {}.  Again, if you have something like

a^2
then be sure that when you add
b^4 a^2
that the b term is not within the little box or brackets  
associated with a^2.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and  
select when desired? The default is that it seems to compile when  
the equation typing is finished.


I think that you can turn off instant preview in the document  
settings.  I haven't done this, but it might do the trick for you  
if you don't want to see this.  However, it may not allow you to  
see the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.


LyX - Preferences - Look and Feel - Graphics


Re: Does the version management work under windows?

2008-12-12 Thread Michael Wojcik
Paul A. Rubin wrote:
 Pavel Sanda wrote:
 
 ci is a part of rcs. another possibility is subversion.

 whether there is a possibility to run those creatures under
 cygwin/windows i haven't slightest clue.
 
 Subversion (both server and client) is available for Win XP and higher.

As is CVSNT, which includes RCS emulation that ought to work with LyX
(though I haven't tried it). There's also at least one port of GNU RCS
to Windows, though I'm suspicious of it - back when I last used it, I
had what appeared to be file-corruption issues. (It's hard to say,
because they weren't reproducible, and it's possible they were caused
by something else.)

Plus the various Unixy-Windows options, such as Cygwin.

For that matter, it's not hard to port RCS to Windows. I ported it to
MS-DOS, Windows 3.0, and various versions of OS/2, back in the day. (I
also built a distributed version with an OS/400 client. Ah, memories.)

But in any case it's easy to get the command-line binaries for all of
those version-control systems for Windows. All my Windows machines
have both CVSNT and Subversion installed. (I don't bother with
Tortoise or other GUI clients; I like to work from the command line
for most things. LyX is one of the few exceptions.)

-- 
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: Best advice on Fonts and PDF output from Lyx

2008-12-12 Thread Paul Johnson
On Fri, Dec 12, 2008 at 4:20 PM, Paul Johnson pauljoh...@gmail.com wrote:
  I've run LyX on RedHat, Fedora, and Ubuntu Linux at various times for
 about 10 years. Until a year or so, the LaTeX distribution was TeTeX,
 but recently I've converted over to TeXLive.

 Like many other LyX users, I've been wrestling with PDF output from
 LyX for a long time.  It used to be that the default fonts in LyX
 would look very bad in PDF output.  There were a number of workarounds
 considered in this list.

 For a long time, I've followed Herbert V's the advice to use the
 lmodern fonts in order to get nice PDF output. That still appears to
 be the best advice in the LyX wiki:  http://wiki.lyx.org/FAQ/PDF

 In recent times, however, we've seen PDF output that looks really bad
 in Adobe Acrobat reader 8 if a document uses the lmodern fonts.  The
 problem is that, at some levels of magnification, the fonts are
 uneven on the screen.  I uploaded a screenshot

 http://pj.freefaculty.org/latex/adobeUnevenFonts.pdf

I'm sorry.  The screenshot is a png, not pdf, so I've renamed it:

http://pj.freefaculty.org/latex/adobeUnevenFonts.png

 As far as I can tell, the output on paper is fine.  It is not uneven
 as it appears on the screen in acroread.  If I change the document to
 different fonts, I don't see that same kind of uneven output.

 Some of my students generate PDF output that is worse, some better.
 Students who have Windows machines on which they primarily use Chinese
 seem to have the worst trouble.  In Linux, I can use other pdf
 readers, but it appears Windows users are pretty much stuck with
 Adobe.

 I've seen this problem recently on Ubuntu 8.04 with TeXLive and also
 with Centos Linux 5.2 with TexLive.  So that is making me thing it is
 a TexLive problem.

 pj


 --
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas




-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: LyX/LateX solution for Industrial label/sticker?

2008-12-12 Thread peerlynt
Abdelrazak Younes  writes:

> 
> Hello,
> 
> I would like to automatically generate a sticker on an electronic 
> device. Usual things like serial number, bar code, part number, etc. 
> Does someone know of a LyX/LateX solution for this kind of things?

this package might help you:
http://texcatalogue.sarovar.org/entries/pst-barcode.html

> 
> Thanks in advance,
> Abdel.

regards,
peerlynt 






Re: Custom Bibliography

2008-12-12 Thread Dominik Waßenhoven
Luca De Marini wrote:

>> In Document>Settings>Bibliography, choose "Natbib" and then "Numerical" for
>> "Natbib Style". Then, in Document>Settings>Document Class, under Class
>> Options, Custom, put the word: super.
> 
> Yes, uhm, but once I set all of this, and I've done it, what do I do next? I
> mean, how do I achieve my goal?

Have you read the Help document? It contains the basics on how to use
BibTeX with LyX. Besides, you could have a look into the wiki:

http://wiki.lyx.org/BibTeX/Introduction
http://wiki.lyx.org/BibTeX/BibTeX

Regards,
Dominik.-




Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Jean-Marc Lasgouttes
Marcelo Acuña  writes:

> hello,
>  with opensuse and kde 4.1, qt 4.4.3:
>  1) open a big doc like EmbeddedObject.lyx.
>  2) at the end of a paragraph in the last chapter insert a footnote.
>  3) write several words.
>  4) press, and hold pressed, ctrl + z
>  5) with lyx 1.6.0, and not with 1.5.7, I get a crash.
>  6) with several pressed of ctrl + z I get a crash too.
>  7) with a small file I have no problem.
>  8) with lyx 1.5.7, I have no problem.
>
>  Have anyone same problem?

Is it with the outline pane open? In this case it is probably
http://bugzilla.lyx.org/show_bug.cgi?id=5491

JMarc


Re: LyX/LateX solution for Industrial label/sticker?

2008-12-12 Thread Abdelrazak Younes

peerlynt wrote:

Abdelrazak Younes  writes:


Hello,

I would like to automatically generate a sticker on an electronic 
device. Usual things like serial number, bar code, part number, etc. 
Does someone know of a LyX/LateX solution for this kind of things?


this package might help you:
http://texcatalogue.sarovar.org/entries/pst-barcode.html


Thanks.

Abdel.



No PDF

2008-12-12 Thread Julio Rojas
Hi, I am using a LaTeX class from my University for a document. The class
works fine with the samples provided as I have manually compiled them. I
have created a basic layout for this class. The class is based on "Book"
with some small changes.

I have copied the "Book" layout and renamed it with the class name. I have
changed the second line to:

\DeclareLaTeXClass{}

Then, after texhash and reconfigure, proceeded to succesfully import the
sample document into LyX. But when I try to generate either a DVI, a PS or a
PDF of the document, nothing comes out and no error is presented.

Any ideas?
-
Julio Rojas
jcredbe...@gmail.com


Show pagebreaks in the editor?

2008-12-12 Thread bigblop

Are there any plans in the future to show separate pages in the lyx editor
instead of one long background with potential unlimited margins?

Even though I much prefer LyX over Microsoft Word it just looks much better
when pages are shown separately in the editor.
-- 
View this message in context: 
http://n2.nabble.com/Show-pagebreaks-in-the-editor--tp1647346p1647346.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Show pagebreaks in the editor?

2008-12-12 Thread Jürgen Spitzmüller
bigblop wrote:
> Are there any plans in the future to show separate pages in the lyx editor
> instead of one long background with potential unlimited margins?

No.

> Even though I much prefer LyX over Microsoft Word it just looks much better
> when pages are shown separately in the editor.

This does not make sense in the LyX context.

Jürgen


Re: Custom Bibliography

2008-12-12 Thread Luca De Marini
Thanks to everyone, reading the documents you linked, I managed to obtain
the exact result I needed. Basically, I searched the wiki and never found
the illustrated guide Dominik linked :)
With that guide and using JabRef, as suggested by rgheck, I have now a fully
setted and working bibliography for my own test document and will now teach
my girlfriend how to achieve the same result :)
Very nice, thanks a lot! But it is only perfect if used in combination with
the super command suggested by rgheck :)
It should be added to the illustrated guide indeed, in my opinion.
Thanks to everyone for your help, sure I didn't understimate the power of
Lyx, I just thought it was too hard to achieve my goal, and I was wrong :)
Greetings and thanks again,

Luca D.M.

2008/12/12 Dominik Waßenhoven 

> Luca De Marini wrote:
>
> >> In Document>Settings>Bibliography, choose "Natbib" and then "Numerical"
> for
> >> "Natbib Style". Then, in Document>Settings>Document Class, under Class
> >> Options, Custom, put the word: super.
> >
> > Yes, uhm, but once I set all of this, and I've done it, what do I do
> next? I
> > mean, how do I achieve my goal?
>
> Have you read the Help document? It contains the basics on how to use
> BibTeX with LyX. Besides, you could have a look into the wiki:
>
> http://wiki.lyx.org/BibTeX/Introduction
> http://wiki.lyx.org/BibTeX/BibTeX
>
> Regards,
> Dominik.-
>
>
>


Lyx with latex template .tex file

2008-12-12 Thread Ha Thai Duong

Hi 

I am a new bee to latex and lyx so please accept my apologize if the
question is not appropriate.

I have latex tamplate file (a .tex file) Can you please tell me if lyx can
use this type of template as i can't find the option? 

Thanks a lot for your help

Best regards
Duong
-- 
View this message in context: 
http://n2.nabble.com/Lyx-with-latex-template-.tex-file-tp1647750p1647750.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Lyx with latex template .tex file

2008-12-12 Thread Guenter Milde
On 2008-12-12, Ha Thai Duong wrote:

> I am a new bee to latex and lyx so please accept my apologize if the
> question is not appropriate.

> I have latex tamplate file (a .tex file) Can you please tell me if lyx can
> use this type of template as i can't find the option? 

This depends on the documentclass used in the template file. While many
"standard" document classes are supported by LyX, even more (special)
classes are not.

Try importing the .tex file with File>Import.

Günter



Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Guenter Milde
On 2008-12-12, Jean-Marc Lasgouttes wrote:
> Marcelo Acuña  writes:
...
>>  Have anyone same problem?

> Is it with the outline pane open? In this case it is probably
> http://bugzilla.lyx.org/show_bug.cgi?id=5491

In my case, it is whithout outline pane.
(Although trying to open it was a different reason for a different crash.)

Günter



Re: Custom Bibliography

2008-12-12 Thread rgheck

Luca De Marini wrote:

Thanks to everyone, reading the documents you linked, I managed to obtain
the exact result I needed. Basically, I searched the wiki and never found
the illustrated guide Dominik linked :)
With that guide and using JabRef, as suggested by rgheck, I have now a fully
setted and working bibliography for my own test document and will now teach
my girlfriend how to achieve the same result :)
Very nice, thanks a lot! But it is only perfect if used in combination with
the super command suggested by rgheck :)
It should be added to the illustrated guide indeed, in my opinion.

  
You might want ot have a look now at the documentation for natbib, which 
you'll find here:

   http://www.ctan.org/tex-archive/macros/latex/contrib/natbib/natbib.pdf
and probably in natbib.dvi or natbib.pdf somewhere on your own machine. 
There are lots of other options that can be used.


rh



Re: Show pagebreaks in the editor?

2008-12-12 Thread rgheck

Jürgen Spitzmüller wrote:

bigblop wrote:
  

Even though I much prefer LyX over Microsoft Word it just looks much better
when pages are shown separately in the editor.



This does not make sense in the LyX context.

  
To elaborate: LyX relies upon LaTeX to do the formatting. LyX has no way 
of knowing where LaTeX might decide to break the pages, and even a 
single character one on page could cause LaTeX to do something 
completely different several pages before (because it moves a float). Or 
maybe you're outputting HTML, in which case there aren't pages in the 
traditional sense. So, as Jurgen said, this isn't The LyX Way.


rh



Re: No PDF

2008-12-12 Thread asm23

Julio Rojas wrote:

Hi, I am using a LaTeX class from my University for a document. The class
works fine with the samples provided as I have manually compiled them. I
have created a basic layout for this class. The class is based on "Book"
with some small changes.

I have copied the "Book" layout and renamed it with the class name. I have
changed the second line to:

\DeclareLaTeXClass{}

Then, after texhash and reconfigure, proceeded to succesfully import the
sample document into LyX. But when I try to generate either a DVI, a PS or a
PDF of the document, nothing comes out and no error is presented.

Any ideas?
-
Julio Rojas
jcredbe...@gmail.com

I'm not an export in Lyx and latex. I suggest you can click the menu: 
document->latex log to see what's wrong on compiling.




Re: a guide for get a 1.6.0 crash

2008-12-12 Thread asm23

Guenter Milde wrote:

On 2008-12-12, Marcelo Acuña wrote:


 Have anyone same problem?


I did experience several crashes after undoing changes but did not bother to
investigate and report so far.

LyX 1.6.0 on Debian/testing

Günter


I'm using windows xp,Lyx 1.60, I also did experience some crashes when I 
press" ctrl + z" to do some undo when entering math formula.


But I think it's hard to report this bug...



Empty \item

2008-12-12 Thread Máté Salát
Hello,

If you are in an enumerate environment what is the recommended way for creating 
an \item element with no content? You may need it to have a sub enumerate 
environment start at the same line as the previous \item element starts in the 
outer enumerate.

I could prevent the empty \item from disappearing by putting an empty ERT box 
after it. But there may be a more elegant way for doing it.

Regards, Máté<>

Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Jens Noeckel


On Dec 12, 2008, at 7:23 AM, asm23 wrote:


Guenter Milde wrote:

On 2008-12-12, Marcelo Acuña wrote:

 Have anyone same problem?
I did experience several crashes after undoing changes but did not  
bother to

investigate and report so far.
LyX 1.6.0 on Debian/testing
Günter
I'm using windows xp,Lyx 1.60, I also did experience some crashes  
when I press" ctrl + z" to do some undo when entering math formula.


But I think it's hard to report this bug...



I've added a comment with a link to this thread to an earlier bug  
report,

http://bugzilla.lyx.org/show_bug.cgi?id=5540

I got a reply, but it seems to assume that I had the Outline view  
open. In my case, the crash has nothing to do with the Outline view,  
it's really easy to reproduce.
Maybe some of you who also had similar crashed can compare to the  
descriptions on that page.


Jens



Re: Override menu hotkeys?

2008-12-12 Thread Paul A. Rubin

Christopher Menzel wrote:

Greetings LyX users,

I'm using LyX 1.6 in a Linux virtual machine under OS X which uses the 
option key as the alt key.  (I also use the OS X version, of course.)  I 
would like to have as many Emacs keybindings as possible in LyX, in 
particular, Alt-f to move forward by word, Alt-d to delete by word.  
However, even though I have defined my desired keybindings in the 
emacs.bind file, with the OS X keyboard, Alt-f still brings up the File 
menu and Alt-d the Document menu.  So, question: Is it possible to 
override this behavior, either in a LyX config file or some other config 
file, so that I can get the Emacsy behavior I long for?


Thanks.

Chris Menzel




In the /Resources/ui folder, try editing stdmenus.inc.

/Paul



Lyx math problems

2008-12-12 Thread William Mullin
I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1. When  
I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does most  
times.


2. Selection by dragging in a math formula is very sensitive. It often  
selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an equation.  
Is there away to turn off on the fly compiling and select when  
desired? The default is that it seems to compile when the equation  
typing is finished.


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is there  
a way of setting this?





Thanks
William Mullin
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
 | William J. Mullin   Professor Emeritus of  
Physics  |
 | Department of Physics   Hasbrouck  
Lab |

 | University of Massachusetts Amherst, MA 01003-3720  |
 | Internet address:
mul...@physics.umass.edu |
 | Voice:
413-545-0822|
 | Fax:  
413-545-1691  |

 | Home page: http://www-unix.oit.umass.edu/~wmullin/ |
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





Re: Empty \item

2008-12-12 Thread rgheck

Máté Salát wrote:

Hello,
 
If you are in an enumerate environment what is the recommended way for 
creating an \item element with no content? You may need it to have a 
sub enumerate environment start at the same line as the previous \item 
element starts in the outer enumerate.
 
I could prevent the empty \item from disappearing by putting an empty 
ERT box after it. But there may be a more elegant way for doing it.
 

That's pretty much how people do it.


Re: Lyx math problems

2008-12-12 Thread James Sutherland


On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I now  
want to insert a second symbol #2  immediately to the left of #1.  
When I try to put a subscript on #2 the insertion point appears as a  
subscript on #1. This problem does not happen every time but does  
most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term, you  
must be sure that you are not within the box containing the existing  
term (#1 in your example).


2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift key  
and say a right arrow the selection  often goes to the left!



I haven't seen this.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off "instant preview" in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see the  
compiled equation at all if you do that...


5. The default is that equations are unnumbered. I would prefer that  
the default be that all equations are automatically numbered. Is  
there a way of setting this?


You can certainly do this through the GUI (Insert->Math->Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl->m and then Alt-m- 
n.  Alternatively, you could bind your own shortcut key to do this in  
one shot.




Thanks
William Mullin
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| William J. Mullin   Professor Emeritus of  
Physics  |
| Department of Physics   Hasbrouck  
Lab |

| University of Massachusetts Amherst, MA 01003-3720  |
| Internet address:
mul...@physics.umass.edu |
| Voice:
413-545-0822|
| Fax:  
413-545-1691  |

| Home page: http://www-unix.oit.umass.edu/~wmullin/ |
+-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+







Re: a guide for get a 1.6.0 crash

2008-12-12 Thread Abdelrazak Younes

Abdelrazak Younes wrote:

Guenter Milde wrote:

On 2008-12-12, Jean-Marc Lasgouttes wrote:

Marcelo Acuña  writes:

...

 Have anyone same problem?



Is it with the outline pane open? In this case it is probably
http://bugzilla.lyx.org/show_bug.cgi?id=5491


In my case, it is whithout outline pane.
(Although trying to open it was a different reason for a different 
crash.)


Then it is another bug: a bugzilla entry and a backtrace would be useful.


Sorry, this exists already:
http://bugzilla.lyx.org/show_bug.cgi?id=5540



Re: Show pagebreaks in the editor?

2008-12-12 Thread Rich Shepard

On Fri, 12 Dec 2008, rgheck wrote:


To elaborate: LyX relies upon LaTeX to do the formatting. LyX has no way
of knowing where LaTeX might decide to break the pages, and even a single
character one on page could cause LaTeX to do something completely
different several pages before (because it moves a float). Or maybe you're
outputting HTML, in which case there aren't pages in the traditional
sense. So, as Jurgen said, this isn't The LyX Way.


  Nor the TeX way. If someone wants a WISIWIG writing tool there are
multiple word processors that are specifically designed for that. They'll
show page breaks, different typefaces, and all the other appearance items on
the screen as the document is being written. If that's what's desired, use
those tools and don't ask that a totally different tool be adapted to your
wants.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Override menu hotkeys?

2008-12-12 Thread Christopher Menzel

On Dec 12, 2008, at 10:31 AM, Paul A. Rubin wrote:

Christopher Menzel wrote:
I'm using LyX 1.6 in a Linux virtual machine under OS X which uses  
the option key as the alt key.  (I also use the OS X version, of  
course.)  I would like to have as many Emacs keybindings as  
possible in LyX, in particular, Alt-f to move forward by word, Alt- 
d to delete by word.  However, even though I have defined my  
desired keybindings in the emacs.bind file, with the OS X keyboard,  
Alt-f still brings up the File menu and Alt-d the Document menu.   
So, question: Is it possible to override this behavior, either in a  
LyX config file or some other config file, so that I can get the  
Emacsy behavior I long for?


In the /Resources/ui folder, try editing stdmenus.inc.


That is so totally the right answer!  The trick was simply to edit the  
lines


  Submenu "File|F" "file"
  Submenu "Document|D" "document"

to

  Submenu "File|" "file"
  Submenu "Document|" "document"

Just for clarification, since I'm actually running Linux natively in a  
virtual machine under OS X -- via Sun's excellent, cost-free VM  
software VirtualBox (http://virtualbox.org) -- I needed to edit the  
stdmenus.inc file for the *Linux* version of LyX, which was found in / 
usr/share/lyx/ui.


Thanks again.

-chris



Re: Lyx math problems

2008-12-12 Thread William Mullin

Thanks for the suggestions. Note responses below:


On Dec 12, 2008, at 11:42 AM, James Sutherland wrote:



On Dec 12, 2008, at 9:34 AM, William Mullin wrote:

I use Lyx on a Mac Intel laptop. While I find it very useful, there  
are some difficulties with writing math.


1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point appears  
as a subscript on #1. This problem does not happen every time but  
does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a term  
(#2 in your example) to the left of an existing subscripted term,  
you must be sure that you are not within the box containing the  
existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing the  
insertion point between two symbols them. That placement does not  
distinguish which symbol it is closest to. The result is it seems to  
consider the two symbols (#1 and #2) to be a single symbol and puts  
the subscript behind #2 --most of the time.







2. Selection by dragging in a math formula is very sensitive. It  
often selects too little and when tries to correct it overshoots.


3. Cursor placement is very sensitive in math mode: If I put the  
cursor between to symbols the selection point often appears outside  
the range of the two symbols. When selecting by use of the shift  
key and say a right arrow the selection  often goes to the left!



I haven't seen this.

Has anyone using Lyx on a Mac had this problem?





4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and select  
when desired? The default is that it seems to compile when the  
equation typing is finished.


I think that you can turn off "instant preview" in the document  
settings.  I haven't done this, but it might do the trick for you if  
you don't want to see this.  However, it may not allow you to see  
the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.





5. The default is that equations are unnumbered. I would prefer  
that the default be that all equations are automatically numbered.  
Is there a way of setting this?


You can certainly do this through the GUI (Insert->Math->Numbered  
Formula).  Or via keyboard shortcuts you can do Ctrl->m and then Alt- 
m-n.  Alternatively, you could bind your own shortcut key to do this  
in one shot.


Yes I should be able to change my key bindings to do this. Thanks for  
reminding me of this.




 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
 | William J. Mullin   Professor Emeritus of  
Physics  |
 | Department of Physics   Hasbrouck  
Lab |

 | University of Massachusetts Amherst, MA 01003-3720  |
 | Internet address:
mul...@physics.umass.edu |
 | Voice:
413-545-0822|
 | Fax:  
413-545-1691  |

 | Home page: http://www-unix.oit.umass.edu/~wmullin/ |
 +-=-=-=-=-=-=-=-=-=-=-=-=-*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+





Re: Lyx math problems

2008-12-12 Thread James Sutherland
1. Suppose I have a math symbol #1 which has is subscriptedt.  I  
now want to insert a second symbol #2  immediately to the left of  
#1. When I try to put a subscript on #2 the insertion point  
appears as a subscript on #1. This problem does not happen every  
time but does most times.


When editing in math mode you will notice small boxes around your  
text.  These are analogous to {} in LaTeX.  If you are adding a  
term (#2 in your example) to the left of an existing subscripted  
term, you must be sure that you are not within the box containing  
the existing term (#1 in your example).


Unfortunately this does not cure my problem. If I am in a displayed  
equation on the Mac version of Lyx, there are no small boxes around  
individual symbols. There is only a single possibility for placing  
the insertion point between two symbols them. That placement does  
not distinguish which symbol it is closest to. The result is it  
seems to consider the two symbols (#1 and #2) to be a single symbol  
and puts the subscript behind #2 --most of the time.


What version of LyX?  I am running 1.6 on an Intel Mac.  There are not  
boxes in this version, but little brackets under the term that  
indicate the equivalent of {}.  Again, if you have something like

a^2
then be sure that when you add
b^4 a^2
that the "b" term is not within the little "box" or brackets  
associated with a^2.


4. The page position jumps around a lot. Partly as a result of an  
equation compiling on the fly or un-compiling for editing an  
equation. Is there away to turn off on the fly compiling and  
select when desired? The default is that it seems to compile when  
the equation typing is finished.


I think that you can turn off "instant preview" in the document  
settings.  I haven't done this, but it might do the trick for you  
if you don't want to see this.  However, it may not allow you to  
see the compiled equation at all if you do that...


I have looked for this possibility and have not yet found it.


LyX -> Preferences -> Look and Feel -> Graphics


Re: Does the version management work under windows?

2008-12-12 Thread Michael Wojcik
Paul A. Rubin wrote:
> Pavel Sanda wrote:
> 
>> ci is a part of rcs. another possibility is subversion.
>>
>> whether there is a possibility to run those creatures under
>> cygwin/windows i haven't slightest clue.
> 
> Subversion (both server and client) is available for Win XP and higher.

As is CVSNT, which includes RCS emulation that ought to work with LyX
(though I haven't tried it). There's also at least one port of GNU RCS
to Windows, though I'm suspicious of it - back when I last used it, I
had what appeared to be file-corruption issues. (It's hard to say,
because they weren't reproducible, and it's possible they were caused
by something else.)

Plus the various Unixy-Windows options, such as Cygwin.

For that matter, it's not hard to port RCS to Windows. I ported it to
MS-DOS, Windows 3.0, and various versions of OS/2, back in the day. (I
also built a distributed version with an OS/400 client. Ah, memories.)

But in any case it's easy to get the command-line binaries for all of
those version-control systems for Windows. All my Windows machines
have both CVSNT and Subversion installed. (I don't bother with
Tortoise or other GUI clients; I like to work from the command line
for most things. LyX is one of the few exceptions.)

-- 
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University



Re: Best advice on Fonts and PDF output from Lyx

2008-12-12 Thread Paul Johnson
On Fri, Dec 12, 2008 at 4:20 PM, Paul Johnson  wrote:
>  I've run LyX on RedHat, Fedora, and Ubuntu Linux at various times for
> about 10 years. Until a year or so, the LaTeX distribution was TeTeX,
> but recently I've converted over to TeXLive.
>
> Like many other LyX users, I've been wrestling with PDF output from
> LyX for a long time.  It used to be that the default fonts in LyX
> would look very bad in PDF output.  There were a number of workarounds
> considered in this list.
>
> For a long time, I've followed Herbert V's the advice to use the
> lmodern fonts in order to get nice PDF output. That still appears to
> be the best advice in the LyX wiki:  http://wiki.lyx.org/FAQ/PDF
>
> In recent times, however, we've seen PDF output that looks really bad
> in Adobe Acrobat reader 8 if a document uses the lmodern fonts.  The
> problem is that, at some levels of magnification, the fonts are
> "uneven" on the screen.  I uploaded a screenshot
>
> http://pj.freefaculty.org/latex/adobeUnevenFonts.pdf
>
I'm sorry.  The screenshot is a png, not pdf, so I've renamed it:

http://pj.freefaculty.org/latex/adobeUnevenFonts.png

> As far as I can tell, the output on paper is fine.  It is not uneven
> as it appears on the screen in acroread.  If I change the document to
> different fonts, I don't see that same kind of uneven output.
>
> Some of my students generate PDF output that is worse, some better.
> Students who have Windows machines on which they primarily use Chinese
> seem to have the worst trouble.  In Linux, I can use other pdf
> readers, but it appears Windows users are pretty much stuck with
> Adobe.
>
> I've seen this problem recently on Ubuntu 8.04 with TeXLive and also
> with Centos Linux 5.2 with TexLive.  So that is making me thing it is
> a TexLive problem.
>
> pj
>
>
> --
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas
>



-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas