Re: Error in new beta lyx

2013-08-20 Thread Aliabbas Petiwala
Thanks for processing the bibtex file, but the keys of bibtex entries were
modified and I have a huge document and I would not like to manually change
all references atleast there are  200 referring  places. So I would not
like to upgrade to higher versions for due to this issue


On Wed, Aug 21, 2013 at 1:13 AM, Scott Kostyshak  wrote:

> On Tue, Aug 20, 2013 at 3:30 PM, Jürgen Spitzmüller  wrote:
> > 2013/8/20 Scott Kostyshak 
> >>
> >> Is Julien's test case for #8739 invalid? Or your point is that it is
> rare?
> >
> >
> > IMO syntax errors in bst files are not harmless (per se). I would
> certainly
> > not use a broken bst file for a publication, and if a journal provides a
> > broken bst file, I would ask them to fix it.
> >
> > This is not to say that skipping errors would not be a useful feature,
> but
> > this does not only apply to bibtex errors. However, if you skip such
> errors,
> > you should really know what you are doing, so I would not implement such
> a
> > feature in a very prominent place.
>
> Makes sense. Thanks for the explanation.
>
> Scott
>



-- 
*


Aliabbas Petiwala| Phd Scholar|Interdisciplinary Program in Education
Technology**|IIT *
**
**
*Bombay|+919664867707 | http://home.iitb.ac.in/~aliabbas/*


Re: formula numbering

2013-08-20 Thread Jerry

On Aug 19, 2013, at 5:56 AM, Guenter Milde  wrote:

> On 2013-08-08, bieniasz wrote:
>> Richard Heck  lyx.org> writes:
> 
>>> What happens, then, when you add a new equation somewhere in
>>> the middle of the document?
> 
>> This is what LyX already does - it updates automatically the equation
>> numbers. My point is why one cannot use these numbers for referencing
>> the equations in the text, since they are already there, up-to-date.
> 
> But how do you find out the up-to-date number of the equation in chapter
> 3 you want to reference in chapter 14?
> 
> ...
> 
>> LaTeX users are primarily
>> scientists who write scientific texts. In such text one ALWAYS
>> refers to equations by numbers, and not by any peculiar labels.
> 
> Reference by numbers is used in the printout, but reference by label is used
> in all LaTeX source documents.
> 
> In the printed text, I usually use a description of the formula + the
> reference number so that the reader can look it up if required but generally
> does not need to: 
> 
>  The incident radiation is absorbed and distributes in the sensor layer
>  by means of heat conduction (Equations [15] and [16]) resulting in a
>  time-dependent temperature field T(\xyz,t).
> 
>>> Still, making up a label isn't that hard, and it can make it easier
>>> to remeber which equation you want to reference later. You can
>>> of course just use numbers if you wish.
> 
>> Well, yes and no. If I use my own labels, like
>> E1, E2, E3 etc., then I am in trouble when I need to add something
>> between E1 and E2, let's say. The problem is that user-defined labels
>> are not automatically updated, whereas the real equation numbers are.
>> Hence, I have a mess in which labels are in no clear relation to
>> the numbers.
> 
> But IMO, the even bigger problem is, if you insert a new formula between
> E1 and E2 but continue to use E15 for new references to the "heat
> equation" (or whatever) which is now E16!!!
> 
> 
>> So, in conclusion, I daresay the LaTeX/LyX system for equation numbering
>> needs a reasonable revision. If there are any LyX programmers out there,
>> please do something about this!!!

I daresay that all of this would be much easier if LyX had a _graphical_ 
equation browser, built in to the Outline tool. By default, equations would be 
organized by section, subsection, etc., so that you could in most cases find 
the equation that you want to reference by the most natural way--clicking on 
the section that you recall it being in, seeing a rendering of the equations in 
a scrollable list, then clicking once to insert the reference at the cursor 
location. The rendered equation (in the list) would still be immediately 
recognizable in most cases even if only a part of it were visible (without 
expanding the Outline window a lot). Of course, the graphical equation browser 
would also be available in the existing equation list in the Outline.

And somewhat separately, it would sometimes be nice to have multiple instances 
of the Outline so that one would not have to switch between list types as often.

Jerry
> 
> I dare to say that the label/reference system is one of the main
> advantages of LaTeX (and LyX) for scientific writing. It may be more
> complicated to begin with but that effort pays as soon as you write more
> than 10 equations in one paper, say.
> 
> Günter
> 



Importing LaTeX file with multiple indexes

2013-08-20 Thread Alan L Tyree
I'm having trouble with this. I have a LaTeX file with multiple indexes 
(defined in accordance with LyX conventions). I want to convert it to LyX.


The relevant part of the preamble looks like this:

\usepackage{splitidx}
\makeindex
\newindex[Index]{idx}
\newindex[Table of Statutes]{tab}
\newindex[Table of Cases]{tab1}

Except for the Index entries, I'm not getting a clean import. Is there 
some trick to this?


Thanks for any pointers,
Alan

--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org



Re: Question: Using LyX as your daily word processor

2013-08-20 Thread Jerry

On Aug 18, 2013, at 6:59 PM, Les Denham  wrote:

> My general approach to  getting a LyX document into Word format is to
> us the LyXHTML export, import the exported file into LibreOffice, fix
> the inevitable problems, and save in DOCX format.

How do you import the XHTML from LyXHTML into LibreOffice? When I try it, I see 
only raw text; it is not rendered. I let the file dialog display all files and 
assumed that the .xhtml file extension would tell LO what to do but obviously 
this did not happen.

Jerry

Re: Error in new beta lyx

2013-08-20 Thread Scott Kostyshak
On Tue, Aug 20, 2013 at 3:30 PM, Jürgen Spitzmüller  wrote:
> 2013/8/20 Scott Kostyshak 
>>
>> Is Julien's test case for #8739 invalid? Or your point is that it is rare?
>
>
> IMO syntax errors in bst files are not harmless (per se). I would certainly
> not use a broken bst file for a publication, and if a journal provides a
> broken bst file, I would ask them to fix it.
>
> This is not to say that skipping errors would not be a useful feature, but
> this does not only apply to bibtex errors. However, if you skip such errors,
> you should really know what you are doing, so I would not implement such a
> feature in a very prominent place.

Makes sense. Thanks for the explanation.

Scott


Re: Question: Using LyX as your daily word processor

2013-08-20 Thread Wolfgang Keller
> > The only case where I still prefer to use LO over LyX is
> > generation of documents from databases.
>
> That I do with LaTeX and Perl (such as pulling out VAT out of my
> accounting package SQL-Ledger and printing it onto the scanned
> form :-)-O

That's exactly why I prefer to use LO for such things: 

I don't want to code anything for such trivial tasks.

Especially not \choke{Perl}.

Sincerely,

Wolfgang



Re: Error in new beta lyx

2013-08-20 Thread Jürgen Spitzmüller
2013/8/20 Scott Kostyshak 

> Is Julien's test case for #8739 invalid? Or your point is that it is rare?
>

IMO syntax errors in bst files are not harmless (per se). I would certainly
not use a broken bst file for a publication, and if a journal provides a
broken bst file, I would ask them to fix it.

This is not to say that skipping errors would not be a useful feature, but
this does not only apply to bibtex errors. However, if you skip such
errors, you should really know what you are doing, so I would not implement
such a feature in a very prominent place.

Jürgen


> Scott
>


Re: Question: Using LyX as your daily word processor

2013-08-20 Thread Scott Kostyshak
On Tue, Aug 20, 2013 at 3:21 PM, Wolfgang Keller  wrote:

> For beamer I still prefer Texworks. The last time I tried, I couldn't
> get the overlays to work *exactly* the way I wanted them with LyX, this
> is one thing that's just much easier with a source-level editor.
>
> I do use LyX to write the content first, then export to LaTeX and
> add the overlays in TexWorks.

You might want to try it again in LyX if you move to Beamer. Jürgen
has greatly improved things.

Scott


Re: Question: Using LyX as your daily word processor

2013-08-20 Thread Wolfgang Keller
I forgot to mention one "minus", btw:

Compared to XML, with LyX/LaTeX you can't *enforce* compliance of
documents with a given structure, like with XML schemas and validating
editors. That can be a nuisance in an environment with several authors.

> I literally cannot use Word or its clones for anything other than
> reading what someone else wrote.

I use LO mostly to convert MS-formats to PDF.

> I don't know how to make anything look right using Word.

No one *can* "make anything look right using Word". This is strictly
impossible. And I know what I'm talking about, I've been using dozens
of "document processing" applications over ~25 years now. 

Applications like e.g. Wordperfect or Framemaker allow you to at least
use structure markup, with MS Word even that won't work.

And don't even dream of readable output.

Since all the typographic algorithms of TeX (linebreaking etc.) are
well-documented open-source, I always wondered why none of the more
reasonable document processors has ever implemented them. Wordperfect
could have been a "killer application" like that. Their structure markup
concept was so well done that they were even able to implement an XML
editor using the WP GUI.

> For classroom slides I use beamer -- makes it trivial to do.

For beamer I still prefer Texworks. The last time I tried, I couldn't
get the overlays to work *exactly* the way I wanted them with LyX, this
is one thing that's just much easier with a source-level editor.

I do use LyX to write the content first, then export to LaTeX and
add the overlays in TexWorks.

> But with LyX I can see what I am doing, with properly typeset
> equations, so I can think while I am writing.
 
That's what I call "syntax hiding" (as opposed to
"syntax-highlighting").

\prayermill{

Just sometimes I wish I could optionally display the source *and edit*
it.

}

Sincerely,

Wolfgang


Re: Error in new beta lyx

2013-08-20 Thread Scott Kostyshak
On Tue, Aug 20, 2013 at 3:16 PM, Jürgen Spitzmüller  wrote:
> 2013/8/20 Aliabbas Petiwala 
>>
>> There should be a way to ignore these errors and continue the processing.
>> Such an option would be useful in general, but it is especially important
>> for BibTeX errors, as sometimes there are even syntax errors in the .bst
>> files themselves and one would like to just ignore those and get a pdf.
>
>
> Well, bibtex does not issue errors for fun.  If there is an error message,
> there will be usually something wrong in the pdf output, which has to be
> fixed.

Is Julien's test case for #8739 invalid? Or your point is that it is rare?

Scott


Re: Error in new beta lyx

2013-08-20 Thread Jürgen Spitzmüller
2013/8/20 Aliabbas Petiwala 

> There should be a way to ignore these errors and continue the processing.
> Such an option would be useful in general, but it is especially important
> for BibTeX errors, as sometimes there are even syntax errors in the .bst
> files themselves and one would like to just ignore those and get a pdf.
>

Well, bibtex does not issue errors for fun.  If there is an error message,
there will be usually something wrong in the pdf output, which has to be
fixed.

Jürgen


Re: Error in new beta lyx

2013-08-20 Thread Scott Kostyshak
Hi Aliabbas,

Unless you sent your email prematurely, I'm not sure why you would
copy/paste something from somewhere without saying where you got it
from. Not just for me, but for anyone that might read this thread.
Please always give your source when copying text. Further, a new
request was made for exactly what you copied.

Julien Rioux wrote what you copied on #2757. He made a new request for
that at #8739. Any discussion regarding that ticket should take place
there.

Best,

Scott

On Tue, Aug 20, 2013 at 6:51 AM, Aliabbas Petiwala  wrote:
> Thanks,
>
> There should be a way to ignore these errors and continue the processing.
> Such an option would be useful in general, but it is especially important
> for BibTeX errors, as sometimes there are even syntax errors in the .bst
> files themselves and one would like to just ignore those and get a pdf.
>
>
> On Tue, Aug 20, 2013 at 12:39 PM, Scott Kostyshak  wrote:
>>
>> On Mon, Aug 19, 2013 at 8:55 AM, Jürgen Spitzmüller  wrote:
>> > Aliabbas Petiwala wrote:
>> >> I am getting bibtex entry errors.
>> >
>> > Yes, these have not been caught in previous versions of LyX. You
>> > probably need
>> > to fix your bibtex database or style file. Please post the errors if you
>> > need
>> > help on this.
>>
>> To expand on this, your bibtex errors (probably) existed before. It is
>> just that now LyX gives an error when bibtex gives an error. Before,
>> LyX did not report an error when bibtex gave an error. See here if you
>> want more details:
>> http://www.lyx.org/trac/ticket/2757
>>
>> To see the errors, go to Document > LaTeX Log and then change to 'bibtex
>> log'
>>
>> Scott
>
>
>
>
> --
>
>
>
> Aliabbas Petiwala| Phd Scholar|Interdisciplinary Program in Education
> Technology|IIT
>
>
> Bombay|+919664867707 | http://home.iitb.ac.in/~aliabbas/
>


Re: svmult style for lyx

2013-08-20 Thread Scott Kostyshak
On Tue, Aug 20, 2013 at 5:32 AM, Wolfgang Engelmann
 wrote:
> Am Tuesday, 20. August 2013, 10:09:25 schrieb Scott Kostyshak:
>
>> On Tue, Aug 20, 2013 at 3:56 AM, Wolfgang Engelmann
>
>>  wrote:

>> > In the following site the templates are apparently not for Linux.
>
>>
>
>> I don't think this is true. I think the instructions for installing
>
>> (look at the paths and "MiKTeX") are for Windows.
>
>
>
> That is exactly what I meant: they are for Windows, but I need it for linux.

Ah. There is nothing special about this package. Google "installing
non-repository LaTeX packages with TeX Live" or something like that.
You could try putting the downloaded files in "$(kpsewhich --var-value
TEXMFLOCAL)/tex/latex/" and running texhash and then in LyX tools >
reconfigure.

>> > 2- where do I find the svmult_editor-master.lyx for the svmult class
>
>>
>
>> I know that svmult_editor-master.lyx is in LyX 2.1dev. Note that the
>
>> Springer folder is now under examples/ because of a different issue.
>
>
>
> Thanks, Scott,
>
>
>
> ok, so I have to switch to LyX 2.1dev?
>
> I might try LinuxMint for it, should I compile it there or is there already
> a repository?

Liviu uploaded binaries. You can use the PPA or download the .deb files:
https://launchpad.net/~lyx-devel/+archive/daily

Scott


Re: Error in new beta lyx

2013-08-20 Thread Aliabbas Petiwala
Thanks,

There should be a way to ignore these errors and continue the processing.
Such an option would be useful in general, but it is especially important
for BibTeX errors, as sometimes there are even syntax errors in the .bst
files themselves and one would like to just ignore those and get a pdf.


On Tue, Aug 20, 2013 at 12:39 PM, Scott Kostyshak  wrote:

> On Mon, Aug 19, 2013 at 8:55 AM, Jürgen Spitzmüller  wrote:
> > Aliabbas Petiwala wrote:
> >> I am getting bibtex entry errors.
> >
> > Yes, these have not been caught in previous versions of LyX. You
> probably need
> > to fix your bibtex database or style file. Please post the errors if you
> need
> > help on this.
>
> To expand on this, your bibtex errors (probably) existed before. It is
> just that now LyX gives an error when bibtex gives an error. Before,
> LyX did not report an error when bibtex gave an error. See here if you
> want more details:
> http://www.lyx.org/trac/ticket/2757
>
> To see the errors, go to Document > LaTeX Log and then change to 'bibtex
> log'
>
> Scott
>



-- 
*


Aliabbas Petiwala| Phd Scholar|Interdisciplinary Program in Education
Technology**|IIT *
**
**
*Bombay|+919664867707 | http://home.iitb.ac.in/~aliabbas/*


Re: svmult style for lyx

2013-08-20 Thread Wolfgang Engelmann
Am Tuesday, 20. August 2013, 10:09:25 schrieb Scott Kostyshak:
> On Tue, Aug 20, 2013 at 3:56 AM, Wolfgang Engelmann
>  wrote:
> 
> Hi Wolfgang,
> 
> > In the following site the templates are apparently not for Linux.
> 
> I don't think this is true. I think the instructions for installing
> (look at the paths and "MiKTeX") are for Windows.

That is exactly what I meant: they are for Windows, but I need it for 
linux. 
> 
> > 2- where do I find the svmult_editor-master.lyx for the svmult class
> 
> I know that svmult_editor-master.lyx is in LyX 2.1dev. Note that the
> Springer folder is now under examples/ because of a different issue.

Thanks, Scott,

ok, so I have to switch to LyX 2.1dev?
I might try LinuxMint for it, should I compile it there or is there already 
a repository?

Wolfgang


Re: svmult style for lyx

2013-08-20 Thread Scott Kostyshak
On Tue, Aug 20, 2013 at 3:56 AM, Wolfgang Engelmann
 wrote:

Hi Wolfgang,

> In the following site the templates are apparently not for Linux.

I don't think this is true. I think the instructions for installing
(look at the paths and "MiKTeX") are for Windows.

> 2- where do I find the svmult_editor-master.lyx for the svmult class

I know that svmult_editor-master.lyx is in LyX 2.1dev. Note that the
Springer folder is now under examples/ because of a different issue.

Scott


svmult style for lyx

2013-08-20 Thread Wolfgang Engelmann
Hello,

I am trying to use svmult under lyx but can't find it under
/usr/local/share/lyx/templates/springer 
which shows only svjour3.lyx and various svmono

I am using Lyx Version 2.0.6 under Debian squeeze.

In the following site the templates are apparently not for Linux. 

http://wiki.lyx.org/Examples/Springer
Templates
LyX includes the template files svjour3.lyx for the sbvjour3 class, 
svmono_book-master.lyx for the svmono class and svmult_editor-master.lyx 
for the svmult class. (The files svmult_author.lyx and svmult_appendix.lyx 
are subdocuments of svmult_editor-master.lyx.) 


My questions:

1- where do I find an example of svmult for the citations in the text and 
the reference in the bibliography, which I could compare with the 
requirements the editor has sent

2- where do I find the svmult_editor-master.lyx for the svmult class

Thank you for your attention

Wolfgang


Re: Error in new beta lyx

2013-08-20 Thread Scott Kostyshak
On Mon, Aug 19, 2013 at 8:55 AM, Jürgen Spitzmüller  wrote:
> Aliabbas Petiwala wrote:
>> I am getting bibtex entry errors.
>
> Yes, these have not been caught in previous versions of LyX. You probably need
> to fix your bibtex database or style file. Please post the errors if you need
> help on this.

To expand on this, your bibtex errors (probably) existed before. It is
just that now LyX gives an error when bibtex gives an error. Before,
LyX did not report an error when bibtex gave an error. See here if you
want more details:
http://www.lyx.org/trac/ticket/2757

To see the errors, go to Document > LaTeX Log and then change to 'bibtex log'

Scott