Re: Longtable entering footer area

2007-10-31 Thread Rudi van der Linde


Helge Hafting wrote:

Rudi van der Linde wrote:

Hi All,

I have a problem where a longtable row sometimes enters the footer 
area of my Lyx document.  Any ideas where I can start to debug?  It 
is not going to be feasible to "tweak" the output by hand because the 
document is generated from a database, i.e. I have to fix the 
inherent problem and not the symptom.

More of a latex problem I think - try a latex forum.

Thanks for the tip, will have a look into it.


What does this longtable contain? Text only is really supposed
to work - or is there complicated stuff like minipages
or graphics in the cells?
The longtable contains "complicated" stuff like minipages.  Will try to 
remove these and see what happens.


Also, a wrong lower margin setting could cause this.
Maybe the margin doesn't leave enough room for the footer,
or the footer contains some big stuff? Try bigger margins.
The document is a "Test Procedure".  A requirement is that any page that 
can be "filled in" must have a place for the Tester and the Witness to 
sign.  I have placed such a "signature block" in the footer of the 
applicable sections.  It is quite large of course.  It also means that 
the document contains one footer for the start of the document and 
another for the "tests" section.  I have adjusted the footer size by 
using "\advance \textheight by -6\baselineskip" in ERT just before the 
"test" section starts.  Is there a better way of doing it?  I am using 
the geometry package to manage the margins.


Helge Hafting


Many thanks for your suggestions.

Regards,

--
Rudi van der Linde
[EMAIL PROTECTED]

Note:
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED] for full 
details.



Re: lyx-certification and mailing list

2007-10-31 Thread Paul A. Rubin

Steve Litt wrote:

I mean nest an environment inside a completely different one. Can you do that 
with Increase Depth?


Yes.  Exit the previous environment, starting a new "paragraph".  Select 
the new environment, then nest in under the old one.  This is of course 
subject to LaTeX's limitations on nesting (e.g., IIRC you can't nest 
anything under a standard paragraph).


/Paul



Re: bug?: comment in last line of ERT --> next line of normal text is lost

2007-10-31 Thread Paul A. Rubin

Tobias Krause wrote:



  some text [[%comment ]] more text

where [[]] is an ERT box, then "more text" will look to LaTeX like 
part of the comment, because LyX will (properly) not insert a line 
break after the ERT box.  This would IMHO be proper behavior. 

Sounds like proper behavior, but there are some remarks:

  1. This is totally uncontrollable for the user: if "more text" is a
 long text, the user does not know where LyX will break the line -
 and so it's not possible to know which text will be show up in the
 output. From this point of view there would be no advantage of
 this behavior, is there any reason for not inserting a line break
 after ERTs?


LyX will break the line when it thinks it has reached some line-length 
limit in the .tex file.  Whether that limit is self-imposed or defined 
externally I do not know.  You *can* see what will be lost, though, at 
least with current versions (1.5.x) of LyX.  Put the cursor near the ERT 
and click View -> View Source.  A view of the .tex output will open in 
the lower half of the window, and the part that LyX thinks is a comment 
will be grayed out.


IIRC, LaTeX will interpret a single line break as "continue the 
paragraph but insert a space".  If you do not want that space, the line 
break will create a problem.


It is not beyond the bounds of possibility that the space could cause 
problems.  For instance, using [[]] to indicate an ERT inset, I will 
frequently do something like this in LyX:


[[\weirdfunction[optional argument]{]]some normal text here[[}]].

Doing it this way, rather than putting everything in ERT, allows me to 
use the spellchecker, the math editor etc. on the part between the two 
ERT insets.  Off-hand, I cannot think of any instances of this where an 
initial space would be problematic, but neither can I rule it out.



  2. Even though this behavior is proper it is risky for the user,
 because there is no visual indication for a behavior which might
 not be obvious or which is just triggered without knowing. Maybe
 it'd be possible to gray out the text which will be gone or to do
 something else to show what will happen...


Done in the source view.  If you think the user needs to see some 
indication in the main body of the GUI, you could file an enhancement 
request via bugzilla.  My guess, though, is that insertion of comments 
in in-line ERTs is pretty rare.  Yours was the first post I've seen 
concerning it, and I've been on the list since around LyX 1.3.5.


Cheers,
Paul



Re: lyx-certification and mailing list

2007-10-31 Thread Steve Litt
On Wednesday 31 October 2007 11:41, Helge Hafting wrote:
> Steve Litt wrote:
> > On Wednesday 31 October 2007 07:16, pol wrote:
> >> I am in touch with high school teachers in italy where an attempt is on
> >> going to teach students to use latex/lyx to write down exercises, with
> >> their development and comments.
> >>
> >> Since probably more schools/univs in the world are involved with that
> >> sort of prgram, i am wondering whether it is worth the effort to form an
> >> authoritative committee to set up a syllabus, to assess student skills.
> >>
> >> Any suggestions about italian possible members?
> >>
> >> I am also considering to open an italian lys-users mailing list. Any
> >> comments and support is welcome.
> >>
> >> thank you
> >
> > The following is my opinion -- I'm sure others have their own opinions...
> >
> > When you say "teach students to use latex/lyx to write down exercises",
> > that can mean two different things:
> >
> > 1) The student is given a complete document class containing ALL the
> > environments and char styles needed, so he can use LyX like a word
> > processor.
>
> Is this a problem? LyX comes with lots of nice document
> classes already. And it is the school who decides
> what an exercise should look like. If they can say "use LyX",
> then they can also say that  "article" is the
> standard layout for an  exercise.  Easy enough if they
> don't want to make layouts of their own.

Judging by my experience writing books with book and memoir derivatives, and 
from dabbling with koma, no document class is complete enough to do all the 
things you see in the average book in the bookstore. In my case I needed to 
create environments to make tip boxes and warning boxes and other breakouts. 
I also needed to create a "story" environment in every book (I like to have 
stories in italics and indented right and left). I found the document class's 
native lists to be vertically spaced too deeply, making it more probable than 
necessary that the list would cross page boundaries.

Unless the school's document class, packages and modifying layout file give 
the student EVERYTHING the student needs to format it properly, the student 
will be frustrated.

Anyone who has used WordPerfect or MS Word is very used to creating their own 
styles (paragraph and character), and would be frustrated at the difficulty 
doing that in LyX, unless they're given a document class with supporting 
packages and layout file that does everything they need to do for the 
assignment.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: lyx-certification and mailing list

2007-10-31 Thread Steve Litt
On Wednesday 31 October 2007 12:04, Richard Heck wrote:
> Steve Litt wrote:
> > For instance, in LaTeX it's perfectly OK to nest
> > environments, but LyX cannot use nested environments.
>
> Sure it can: That's what Increase Depth is for.
>
> rh

I mean nest an environment inside a completely different one. Can you do that 
with Increase Depth?

SteveT


problems with german documentation

2007-10-31 Thread Matthias Lemke
Hi,

I installed 1.5.2 on Windows (standard installer).
And I have LaTex problems with the "Benutzerhandbuch" and the "Anpassungen".
I tried the french version, they compiled finde. But the german versions
do not.

Undefined control sequence

   \fi}{}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


and some more errors, but it seems that these depend on the first one.
Has somebody an idea?

thanks in advise

math, dresden, germany



Lyx 1.5.2 TypeError: 'in ' requires character as left operand

2007-10-31 Thread Fei Du
Hi,

I installed Lyx 1.5.2 with qt-x11-opensource-src-4.3.2
in Linux. Every time I run lyx, it shows me this
message:

> LyX: reconfiguring user directory
checking for a Latex2e program...
+checking for "pplatex"...   no
+checking for "latex"...   yes
checking for a Tgif viewer and editor...
+checking for "tgif"...   no

 it goes on and on and ends with

Checking whether TeX allows spaces in file names...
Traceback (most recent call last):
  File
"/group/yaug1/prj/du/soft/lyx/share/lyx/./configure.py",
line 837, in ?
checkTeXAllowSpaces()
  File
"/group/yaug1/prj/du/soft/lyx/share/lyx/./configure.py",
line 761, in checkTeXAllowSpaces
if 'working' in latex_out:
TypeError: 'in ' requires character as left
operand
LyX: Done!


What should I do to suppress it and avoid the error?

Thank you.

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



Re: Page Numbering

2007-10-31 Thread Typhoon
On Wed, 31 Oct 2007 09:26:15 -0400
Chris Lue <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am writing a dissertation using lyx 1.44.  I am using the
> "book" document class.  I have a problem formatting the page numbers
> the correct way.  The first page of the first chapter of the body
> should be number one.  Page numbers should appear on all pages in the
> body. (I have no problem numbering the body).  Secondly, there should
> be no numbers on any of the pages preceding the body.  (I have
> trouble with removing the page numbers, specifically from the first
> page of a section). At the beginning of the document I use the
> command "\frontmatter" and "\pagestyle{empty}.  Before each section
> such as the table of contents and list of figures I use the command 
> "\thispagestyle{empty}".  Before the body of the document I use the 
> commands "\mainmatter" and "\pagestyle{plain}".
> The result is that the first page of table of contents, list of 
> tables, etc. has a roman numeral.  If those sections have more than
> one page the subsequent pages have no numbers.  The first page of
> chapter 1 is numbered with a arabic 1, and all the subsequent pages
> are numbered correctly.  Does anyone know why "\thispagestyle{empty}
> does not work in the "frontmatter"?

See page 50 of "The Not So Short Introduction to LaTeX2e". Better yet,
set aside some time and read the whole thing.

Alan


> 
> Thanks,
> Chris
> 
> -- 
> Chris Lue
> Chemistry Department
> Emory University 
> Room 406 Atwood Hall
> 1515 Dickey Drive
> Atlanta GA 30322
> 
> Office- 404-727-0029
> Lab 404-727-4409
> Fax- 404-727-6586
> email- [EMAIL PROTECTED]
> Learn-link- [EMAIL PROTECTED]
> 
> 


Re: bug?: comment in last line of ERT --> next line of normal text is lost

2007-10-31 Thread Tobias Krause

Hi Paul,


  some text [[%comment ]] more text

where [[]] is an ERT box, then "more text" will look to LaTeX like 
part of the comment, because LyX will (properly) not insert a line 
break after the ERT box.  This would IMHO be proper behavior. 

Sounds like proper behavior, but there are some remarks:

  1. This is totally uncontrollable for the user: if "more text" is a
 long text, the user does not know where LyX will break the line -
 and so it's not possible to know which text will be show up in the
 output. From this point of view there would be no advantage of
 this behavior, is there any reason for not inserting a line break
 after ERTs?
  2. Even though this behavior is proper it is risky for the user,
 because there is no visual indication for a behavior which might
 not be obvious or which is just triggered without knowing. Maybe
 it'd be possible to gray out the text which will be gone or to do
 something else to show what will happen...

Regards, Toby



Paste from other apps don't work

2007-10-31 Thread Ignacio García
I have updated to LyX 1.5.2 on Ubuntu-Gutsy with the package
ftp://ftp.lyx.org/pub/lyx/bin/1.5.2/lyx-1.5.2-1_dapper_i386.deb
Pasting from other applications (gedit, ooffice, acrobat...) don't work for me.

With LyX 1.5.0 I can pasting normally, either via mouse button and
edit-paste menu.

Someone have this problem?

Thanks in advance
Ignacio García


Re: how select several files to import in a single time

2007-10-31 Thread Andre Poenitz
On Wed, Oct 31, 2007 at 11:30:58AM +0100, Liviu Andronic wrote:
> On 10/28/07, Marc Levivier <[EMAIL PROTECTED]> wrote:
> > I'm using debian with gnome. For example, I can open several files with
> > Ooo (using ctrl or shift key to select the files I want).
> 
> If I understand you correctly, you would like to be able to select
> multiple files using  or  when in the QT4 File Chooser
> (+o). And the result would be that LyX open all the given files
> and each in its respective tab. That would be a nice feature to have.
> I think you'd better make a feature request on the LyX Wiki [1].

We used to use bugzilla for that...

Andre'


Re: All my LyX files seem to be "externally modified"

2007-10-31 Thread Richard Heck

Bo Peng wrote:

A while ago LyX (1.5.2) started to say that all my old files have been
"externally modified". The problem does not occur when I create new
files, but every time I want to save a change in an old file, I have
to click the overwrite button. As far as I know, I have not modified
any LyX files externally, so I do not understand why I get the
message. Since it is very irritating to have it this way I wonder if
there is a way to turn this confirming question off.



If you are using windows, this may be related to a file comparison bug
that has been lately addressed. Because 1.5.3 will be released
soon(ish), please report back if you still see this problem with this
new version.
  


I've seen something like this too in cases where there is an old 
emergency or backup file lying around. If I see it again, I'll try to 
figure out exactly what the cause is. But, in the meantime, check for 
such files.


rh

Bo
  




Re: All my LyX files seem to be "externally modified"

2007-10-31 Thread Bo Peng
> A while ago LyX (1.5.2) started to say that all my old files have been
> "externally modified". The problem does not occur when I create new
> files, but every time I want to save a change in an old file, I have
> to click the overwrite button. As far as I know, I have not modified
> any LyX files externally, so I do not understand why I get the
> message. Since it is very irritating to have it this way I wonder if
> there is a way to turn this confirming question off.

If you are using windows, this may be related to a file comparison bug
that has been lately addressed. Because 1.5.3 will be released
soon(ish), please report back if you still see this problem with this
new version.

Bo


All my LyX files seem to be "externally modified"

2007-10-31 Thread Albert Pettersson
Dear Sirs,

A while ago LyX (1.5.2) started to say that all my old files have been
"externally modified". The problem does not occur when I create new
files, but every time I want to save a change in an old file, I have
to click the overwrite button. As far as I know, I have not modified
any LyX files externally, so I do not understand why I get the
message. Since it is very irritating to have it this way I wonder if
there is a way to turn this confirming question off.

Yours sincerely,
Albert Pettersson


Re: Interface language

2007-10-31 Thread Hellmut Weber

Hi,

After upgrading to 1.5.2, the interface language has changed from English to 
Norwegian. It is because I use a Norwegian locale. But I would like to have 
the English interface back. Do I have to run "LANG=en lyx" every time now, or 
is there some nicer way to do it, e.g. in the configuration files? There is 
an empty "LANGUAGE SUPPORT" section in ~/.lyx/preferences, but I don't know 
if it's related.


There is currently no way to set the language from the preferences.


What about defining an alias in your .bashrc file
alias lyxe="LANG=en lyx"
should do waht you want

hth

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: lyx-certification and mailing list

2007-10-31 Thread Richard Heck

Steve Litt wrote:
For instance, in LaTeX it's perfectly OK to nest 
environments, but LyX cannot use nested environments. 

Sure it can: That's what Increase Depth is for.

rh



Re: how select several files to import in a single time

2007-10-31 Thread Richard Heck

Liviu Andronic wrote:

On 10/28/07, Marc Levivier <[EMAIL PROTECTED]> wrote:
  

I'm using debian with gnome. For example, I can open several files with
Ooo (using ctrl or shift key to select the files I want).



If I understand you correctly, you would like to be able to select
multiple files using  or  when in the QT4 File Chooser
(+o). And the result would be that LyX open all the given files
and each in its respective tab. That would be a nice feature to have.
I think you'd better make a feature request on the LyX Wiki [1].
  

And file it in bugzilla, too. Shouldn't be too hard.

Another  thing still missing in LyX, is the possibility to open a file
in a running instance of LyX (say, in the style of web browsers:
"opera --newpage ").
  

Use this script, adjusting for your local setup:
#!/bin/bash

LYX="/usr/local/bin/lyx -sysdir /usr/local/share/lyx -geometry 
1024x1024+100+100";

LYXPIPE="$HOME/.lyx/lyxpipe.in";
CMD="file-open";

if [ -e $LYXPIPE ]; then
   echo "LYXCMD:lyx-script:$CMD:$1" > $LYXPIPE;
else
   $LYX $1;   
fi


This will choke if the lyxpipe is stale, though. There must be some 
natural way to try to read lyxpipe.out, but I haven't worked on that.


Richard



Re: LyX cannot generate DVI - suspected bitex related problem

2007-10-31 Thread Richard Heck

christiaan pauw wrote:

Hi Everybody

I use LyX 1.5.1 on Win XP.

When I try to cite the reference below it generates an error message  
(see below)


I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?
Do you have something in the "before" or "after" fields that is causing 
the problem?


regards
Christiaan

EXAMPLE OF ERROR MESSAGE
Undefined control sequence.

]{csir2005}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



PART of BIBTEX FILE

@TECHREPORT{csir2005,
 author = {L J Le Roux ,M Zunckel, S G McCormick},
 title = {Laboratory controlled quantitative information about 
reduction in
   air pollution using the "Basa njengo Magogo" methodology and 
applicability

   to low-smoke fuels},
 institution = {CSIR: Division of Water, Environment and Forestry 
Technology},

 year = {2005},
 owner = {p2477211},
}







Re: Lyx 1.5.1 footnotes do not work - change to utf8

2007-10-31 Thread Richard Heck

Raphael Steinbach wrote:

After changing some document settings, the document will not convert into
pdf, it tells me to change to utf8, because some characters would not be
displayed correctly, however this also happens if i just insert one empty
footnote(same with margin note etc.), without footnotes everything is fine.
I tried with different document classes, it did not help. It also for some
strange reason entered the lyx user guide latex preamble, so that i ended up
with roman numbered pages.(just deleted it)

Maybe someone has an idea what went wrong?
  
Encoding issues are still being worked out a bit. The move to unicode 
was a major change. So it may be that changing the settings triggered 
some other change somewhere. Perhaps Uwe will have some idea, as he's 
pretty experienced with that.


rh




Re: Longtable entering footer area

2007-10-31 Thread Helge Hafting

Rudi van der Linde wrote:

Hi All,

I have a problem where a longtable row sometimes enters the footer 
area of my Lyx document.  Any ideas where I can start to debug?  It is 
not going to be feasible to "tweak" the output by hand because the 
document is generated from a database, i.e. I have to fix the inherent 
problem and not the symptom.

More of a latex problem I think - try a latex forum.

What does this longtable contain? Text only is really supposed
to work - or is there complicated stuff like minipages
or graphics in the cells?

Also, a wrong lower margin setting could cause this.
Maybe the margin doesn't leave enough room for the footer,
or the footer contains some big stuff? Try bigger margins.

Helge Hafting


Re: lyx-certification and mailing list

2007-10-31 Thread Helge Hafting

Steve Litt wrote:

On Wednesday 31 October 2007 07:16, pol wrote:
  

I am in touch with high school teachers in italy where an attempt is on
going to teach students to use latex/lyx to write down exercises, with
their development and comments.

Since probably more schools/univs in the world are involved with that sort
of prgram, i am wondering whether it is worth the effort to form an
authoritative committee to set up a syllabus, to assess student skills.

Any suggestions about italian possible members?

I am also considering to open an italian lys-users mailing list. Any
comments and support is welcome.

thank you



The following is my opinion -- I'm sure others have their own opinions...

When you say "teach students to use latex/lyx to write down exercises", that 
can mean two different things:


1) The student is given a complete document class containing ALL the 
environments and char styles needed, so he can use LyX like a word processor.
  

Is this a problem? LyX comes with lots of nice document
classes already. And it is the school who decides
what an exercise should look like. If they can say "use LyX",
then they can also say that  "article" is the
standard layout for an  exercise.  Easy enough if they
don't want to make layouts of their own.

2) The student is expected to create some of his own environments and 
character styles.


#1 is very doable for the student, #2 won't work at all.
  

Sure, unless it is a programming class. :-)
LaTeX is a programming language macro set, and not a simple one. Human 
experience in a variety of societies and cultures is that only a minority of 
people have the ability and interest to handle computer programmming. As if 
it isn't hard enough, writing LaTeX capable of interfacing with LyX is even 
more difficult. For instance, in LaTeX it's perfectly OK to nest 
environments, but LyX cannot use nested environments. Then there's the fact 
that the whole edit/compile/view cycle is more difficult and time consuming 
in LyX.


Bottom line, unless the school system is willing to write a set of very 
complete document classes for the students, OpenOffice would be a much better 
tool for students to do their exercises.
  

I am not sure the school system needs to do that much, unless
they want to. Just go with what LyX has to offer, and perhaps
some template documents.

Helge Hafting



Longtable entering footer area

2007-10-31 Thread Rudi van der Linde

Hi All,

I have a problem where a longtable row sometimes enters the footer area 
of my Lyx document.  Any ideas where I can start to debug?  It is not 
going to be feasible to "tweak" the output by hand because the document 
is generated from a database, i.e. I have to fix the inherent problem 
and not the symptom.


Regards,

--
Rudi van der Linde
[EMAIL PROTECTED]

Note:
This message (and attachments) is subject to restrictions and a disclaimer. 
Please refer to http://www.ansys.co.za/index.html or [EMAIL PROTECTED] for full 
details.



Re: bug?: comment in last line of ERT --> next line of normal text is lost

2007-10-31 Thread Paul A. Rubin

Tobias Krause wrote:


if the last line of a ERT is a comment the next line in the normal text 
is lost.
Is there a reason for this behavior - or is this a bug? Even if there is 
a reason for it I guess there should at least be some kind of a warning...




Is the ERT at the end of a paragraph (i.e., does the next bit of text 
start a new environment)?  If so, the comment should not affect 
following text; but if you have


  some text [[%comment ]] more text

where [[]] is an ERT box, then "more text" will look to LaTeX like part 
of the comment, because LyX will (properly) not insert a line break 
after the ERT box.  This would IMHO be proper behavior.


If you need to document mid-line ERT boxes with comments, you might try 
loading the verbatim package and using \begin{comment}...\end{comment} 
in the ERT.


/Paul



Re: LyX cannot generate DVI - suspected bitex related problem

2007-10-31 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
I've seen exactly the same type of problems when a change of langage 
messed with a short title in a section heading.
In your case the problem seems to occur just before the ]  of the option 
part of this item.


Siegfried


Lyx 1.5.1 footnotes do not work - change to utf8

2007-10-31 Thread Raphael Steinbach
After changing some document settings, the document will not convert into
pdf, it tells me to change to utf8, because some characters would not be
displayed correctly, however this also happens if i just insert one empty
footnote(same with margin note etc.), without footnotes everything is fine.
I tried with different document classes, it did not help. It also for some
strange reason entered the lyx user guide latex preamble, so that i ended up
with roman numbered pages.(just deleted it)

Maybe someone has an idea what went wrong?

Raphael



Page Numbering

2007-10-31 Thread Chris Lue

Hi,

   I am writing a dissertation using lyx 1.44.  I am using the "book" 
document class.  I have a problem formatting the page numbers the 
correct way.  The first page of the first chapter of the body should be 
number one.  Page numbers should appear on all pages in the body. (I 
have no problem numbering the body).  Secondly, there should be no 
numbers on any of the pages preceding the body.  (I have trouble with 
removing the page numbers, specifically from the first page of a 
section). At the beginning of the document I use the command 
"\frontmatter" and "\pagestyle{empty}.  Before each section such as the 
 table of contents and list of figures I use the command 
"\thispagestyle{empty}".  Before the body of the document I use the 
commands "\mainmatter" and "\pagestyle{plain}".
   The result is that the first page of table of contents, list of 
tables, etc. has a roman numeral.  If those sections have more than one 
page the subsequent pages have no numbers.  The first page of chapter 1 
is numbered with a arabic 1, and all the subsequent pages are numbered 
correctly.  Does anyone know why "\thispagestyle{empty} does not work in 
the "frontmatter"?


   Thanks,
   Chris

--
Chris Lue
Chemistry Department
Emory University 
Room 406 Atwood Hall

1515 Dickey Drive
Atlanta GA 30322

Office- 404-727-0029
Lab 404-727-4409
Fax- 404-727-6586
email- [EMAIL PROTECTED]
Learn-link- [EMAIL PROTECTED]



LyX cannot generate DVI - suspected bitex related problem

2007-10-31 Thread christiaan pauw

Hi Everybody

I use LyX 1.5.1 on Win XP.

When I try to cite the reference below it generates an error message  
(see below)


I chose jurabib as my Bibliography style. When I set it top plain it 
works again. Does anyone know why this happens?


regards
Christiaan

EXAMPLE OF ERROR MESSAGE
Undefined control sequence.

]{csir2005}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.



PART of BIBTEX FILE

@TECHREPORT{csir2005,
 author = {L J Le Roux ,M Zunckel, S G McCormick},
 title = {Laboratory controlled quantitative information about reduction in
   air pollution using the "Basa njengo Magogo" methodology and 
applicability

   to low-smoke fuels},
 institution = {CSIR: Division of Water, Environment and Forestry 
Technology},

 year = {2005},
 owner = {p2477211},
}



--

Dr Christiaan Pauw

(tel) +27 12 420 2015
(fax) +27 12 420 4016
(cell) +27 82 557 4328



Re: lyx-certification and mailing list

2007-10-31 Thread pol


Steve Litt wrote:
> When you say "teach students to use latex/lyx to write down exercises",
> that can mean two different things:
> 1) The student is given a complete document class containing ALL the
> environments and char styles needed, so he can use LyX like a word
> processor.

Currently the standard article class is used, together with suitable
template documents. 
It is understood the Lyx is only an interface to TeX, but, as you also
remarked, TeX/Latex is too difficult for a student to learn (and probably
not really useful, i would add). 
Yet LyX seems to be the only easy, graphical way to introduce students to
professional math editing. Being easier than Latex to learn, student can
focus on _explaining what they have understood_ about a given subject,
providing material for other students to use.
. 

> Bottom line, unless the school system is willing to write a set of very
> complete document classes for the students, OpenOffice would be a much
> better tool for students to do their exercises.

Is this conclusion that would follow exclusively from choice n.2, am i
correct?

thank you 

--
Pol



Re: lyx-certification and mailing list

2007-10-31 Thread Helge Hafting

pol wrote:

I am in touch with high school teachers in italy where an attempt is on
going to teach students to use latex/lyx to write down exercises, with
their development and comments. 


Since probably more schools/univs in the world are involved with that sort
of prgram, i am wondering whether it is worth the effort to form an
authoritative committee to set up a syllabus, to assess student skills.
  

I haven't considered setting up a course in document processing
before, as everybody seems to think they know how to write on
a computer already.  Still, some people could need some tips.

Some ideas:

Basic LyX usage:
* How to look up stuff in the user's guide!
* Writing in a structured way
 - We use "section" and "subsection" paragraph styles to
make headings - we do not change to a big font.
   Students should also know how to control to what depth
   (sub)sectioning is numbered. Use the outlining feature.
 - We use a "code charstyle" instead of switching to courier.
   Similiar for many other kinds of markup.
 - We use real tables, enumerations, bulleted lists,
   we do not line up stuff with sequences of space characters.
   Students should also know how to make nested
   lists/enumerations. (Like this one, using "*" and "-")
* basic tables. Make them look good, not too many lines.
* Selecting a useful document class, setting page style,
  one/two-page layouts, margins.
* Using floats for figures/tables and the reasons _why_ we
  use floats to improve typesetting.
* Proper use of cross references, use a reference instead of
  just typing the number. And why we do this.
* Let the computer do the work instead of you:
  Take a look at all the things LyX+latex does, such as
  proper linebreaking with hyphenation, and page
  breaking that avoids putting a heading as the
  last part of a page. (Some other word processors can't
  even do this!)
* Writing math using the formula editor. Of course, this depends
  on what the student writes about - some topics needs much more
  math than others. Anyone should know how to invoke the
  formula editor, and to write enough math for their curriculum.
* footnotes, margin notes
* inserting notes that isn't printed, but useful during the
  writing process.
* printing, spell chekcing

Intermediate
* Multi-file documents, including cross references
  between different files.
* formatting tricks like hfill and page breaks. Reasons for
  not using page breaks unless absolutely necessary.
* Bibliographies, glossaries and such, needed for academic writing
* change tracking, useful for cooperation
* document branches - for tests with answers, for multilingual
  or other cases where it is useful to switch parts of the
  document on and off.
* Making pdf's in several ways - and why.
* boxes, minipages, subfigures. The many ways
  of aligning boxes and the stuff within. Tricks like
  two small figures in a single float. Box decorations.
* Advanced table usage
  - longtable
  - how table cell vertical alignment works - useful but a bit complicated
  - multicol tricks, fixed width columns
* inserting simple latex commands.
  - \dotfill and similiar simple stuff in the text
  - some simple preamble stuff like \usepackage
  - what went wrong if LyX suddenly can't print the document,
and how to get the document back to a printable state
* math macros - for those that use lots of math.
* math shortcuts, like quickly typing \frac or \alpha instead of looking
  up stuff in the toolbars/menus.
* inserting various kinds of external material, depending on
 what they need. Some needs special diagrams, some needs
 xfig, some might need typeset music . . .
* installing lyx+latex on a typical computer
* setting preferences
* Setting up the toolbars you need and turning others off.

Advanced
* More latex usage
 - Using the latex style files provided by some journals
 - difficult but useful stuff, like changing index style
 - using a font not directly supported by lyx
 - special packages like chemtex for those that need them.
* Making your own LyX style file, mostly for those who
  knows enough latex to do so. Easiest to do by
  modifying a copy of some existing lyx style file, then
  add another paragraph type or text style.
* Adding/changing converters or adding
  new kinds of "external material"


Helge Hafting


Re: lyx-certification and mailing list

2007-10-31 Thread Steve Litt
On Wednesday 31 October 2007 07:16, pol wrote:
> I am in touch with high school teachers in italy where an attempt is on
> going to teach students to use latex/lyx to write down exercises, with
> their development and comments.
>
> Since probably more schools/univs in the world are involved with that sort
> of prgram, i am wondering whether it is worth the effort to form an
> authoritative committee to set up a syllabus, to assess student skills.
>
> Any suggestions about italian possible members?
>
> I am also considering to open an italian lys-users mailing list. Any
> comments and support is welcome.
>
> thank you

The following is my opinion -- I'm sure others have their own opinions...

When you say "teach students to use latex/lyx to write down exercises", that 
can mean two different things:

1) The student is given a complete document class containing ALL the 
environments and char styles needed, so he can use LyX like a word processor.

2) The student is expected to create some of his own environments and 
character styles.

#1 is very doable for the student, #2 won't work at all.

LaTeX is a programming language macro set, and not a simple one. Human 
experience in a variety of societies and cultures is that only a minority of 
people have the ability and interest to handle computer programmming. As if 
it isn't hard enough, writing LaTeX capable of interfacing with LyX is even 
more difficult. For instance, in LaTeX it's perfectly OK to nest 
environments, but LyX cannot use nested environments. Then there's the fact 
that the whole edit/compile/view cycle is more difficult and time consuming 
in LyX.

Bottom line, unless the school system is willing to write a set of very 
complete document classes for the students, OpenOffice would be a much better 
tool for students to do their exercises.

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


lyx-certification and mailing list

2007-10-31 Thread pol
I am in touch with high school teachers in italy where an attempt is on
going to teach students to use latex/lyx to write down exercises, with
their development and comments. 

Since probably more schools/univs in the world are involved with that sort
of prgram, i am wondering whether it is worth the effort to form an
authoritative committee to set up a syllabus, to assess student skills.

Any suggestions about italian possible members?

I am also considering to open an italian lys-users mailing list. Any
comments and support is welcome.

thank you 

--
Pol



Re: instant preview font size

2007-10-31 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes:

> Enrico Forestieri wrote:
>> Abdelrazak Younes writes:
>>
>>> We don't have a GUI for that?
>>
>> No, we have not.
>
> Too bad! I guess we need then...

No, what we need is to fix this preview code to get scaling right. I
think this scale factor is just a way to work around our bugs. I tried
to look at it some time ago, but gave up. It seems to me that the
dvipng-based code gets the zoom factor wrong, but I could not put my
finger on it.

JMarc


Re: how select several files to import in a single time

2007-10-31 Thread Liviu Andronic
On 10/28/07, Marc Levivier <[EMAIL PROTECTED]> wrote:
> I'm using debian with gnome. For example, I can open several files with
> Ooo (using ctrl or shift key to select the files I want).

If I understand you correctly, you would like to be able to select
multiple files using  or  when in the QT4 File Chooser
(+o). And the result would be that LyX open all the given files
and each in its respective tab. That would be a nice feature to have.
I think you'd better make a feature request on the LyX Wiki [1].

Another  thing still missing in LyX, is the possibility to open a file
in a running instance of LyX (say, in the style of web browsers:
"opera --newpage ").


> I have the "same" problem within one file: I can't chose a first
> selection, then select a second keeping the first...

As for the ability to select multiple files when inserting into an
open file, I do not think it is reasonable. Apart from the case when
your files are correctly ordered (that is, as you want them to be) on
your system, how should LyX know the correct order to insert the
selected files?

[1] http://wiki.lyx.org/Devel/UsersRequests

Regards,
Liviu


-- 
Regards,
Liviu


Re: Interface language

2007-10-31 Thread Jean-Marc Lasgouttes
Torquil Macdonald Sørensen <[EMAIL PROTECTED]> writes:

> Hello,
>
> After upgrading to 1.5.2, the interface language has changed from English to 
> Norwegian. It is because I use a Norwegian locale. But I would like to have 
> the English interface back. Do I have to run "LANG=en lyx" every time now, or 
> is there some nicer way to do it, e.g. in the configuration files? There is 
> an empty "LANGUAGE SUPPORT" section in ~/.lyx/preferences, but I don't know 
> if it's related.

There is currently no way to set the language from the preferences.

JMarc


Re: biblatex

2007-10-31 Thread Juergen Spitzmueller
Mirko Briemle wrote:

> Can biblatex be used with apa style in lyx?

I didn't test, but in theory it should (if apa doesn't load another
bibliography package itself, that is).

Jürgen



Re: instant preview font size

2007-10-31 Thread Abdelrazak Younes

Enrico Forestieri wrote:

Abdelrazak Younes writes:


We don't have a GUI for that?


No, we have not.


Too bad! I guess we need then...

Abdel.