Re: scrartcl.layout error

2008-08-18 Thread Michael Fread
On Fri, Aug 15, 2008 at 9:53 AM, rgheck [EMAIL PROTECTED] wrote:

 Michael Fread wrote:

 I am no Latex guru so if this is something obvious please forgive me. I
 did
 search the archives and google and didn't come up with any English
 results.
 I am in the planning stages of a cross platform accounting program and
 need
 a solution for reports, invoices, estimates, etc. After looking at the
 various options Latex looks like it might be the way to go. Unfortunately,
 I
 did not find any luck when trying to find a latex invoice example I could
 look at to see how it handles that sort of application, I see information
 indicating latex will work for the kind of thing I want but all the
 examples
 I've found are book/school report/letters, etc. Finally I stumbled onto
 the
 fact that a similarly targeted application, SQL-Ledger uses latex for its
 report templates and invoices. The documentation says to load it in an
 editor just use sed to replace the % characters with something else so
 that
 the editor doesn't mistake the placeholders for comments.

 When I try to import the Default-invoice.tex file into Lyx I get this:

 The layout file requested by the document, scrartcl.layout, is not usable.
 This is probably because a latex class or style file required by it is not
 is not available. See the customization documentation for more
 information.
 Lyx will not be able to produce output.

 If I look at the source of the file it does list scrartcl. I thought this
 might be something with SQL-Ledger but ultimately found that the
 scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
 worried about viewing/editing the file now as I am about being able to
 assist users in editing these files if I opt to use them.



 Can you post the file in question? Perhaps someone can them debug this.

 rh


Attacked are the .tex for the invoice (with required substitutions made) and
scrartcl.layout file though it was already in the /usr/share/lyx/layout
directory.

Also if it makes any difference I am using the latest ubuntu and lyx 1.5.3.

Michael


edit.tex
Description: TeX document


scrartcl.layout
Description: Binary data


Re: scrartcl.layout error

2008-08-18 Thread Michael Fread
On Fri, Aug 15, 2008 at 9:53 AM, rgheck [EMAIL PROTECTED] wrote:

 Michael Fread wrote:

 I am no Latex guru so if this is something obvious please forgive me. I
 did
 search the archives and google and didn't come up with any English
 results.
 I am in the planning stages of a cross platform accounting program and
 need
 a solution for reports, invoices, estimates, etc. After looking at the
 various options Latex looks like it might be the way to go. Unfortunately,
 I
 did not find any luck when trying to find a latex invoice example I could
 look at to see how it handles that sort of application, I see information
 indicating latex will work for the kind of thing I want but all the
 examples
 I've found are book/school report/letters, etc. Finally I stumbled onto
 the
 fact that a similarly targeted application, SQL-Ledger uses latex for its
 report templates and invoices. The documentation says to load it in an
 editor just use sed to replace the % characters with something else so
 that
 the editor doesn't mistake the placeholders for comments.

 When I try to import the Default-invoice.tex file into Lyx I get this:

 The layout file requested by the document, scrartcl.layout, is not usable.
 This is probably because a latex class or style file required by it is not
 is not available. See the customization documentation for more
 information.
 Lyx will not be able to produce output.

 If I look at the source of the file it does list scrartcl. I thought this
 might be something with SQL-Ledger but ultimately found that the
 scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
 worried about viewing/editing the file now as I am about being able to
 assist users in editing these files if I opt to use them.



 Can you post the file in question? Perhaps someone can them debug this.

 rh


Attacked are the .tex for the invoice (with required substitutions made) and
scrartcl.layout file though it was already in the /usr/share/lyx/layout
directory.

Also if it makes any difference I am using the latest ubuntu and lyx 1.5.3.

Michael


edit.tex
Description: TeX document


scrartcl.layout
Description: Binary data


Re: scrartcl.layout error

2008-08-18 Thread Michael Fread
On Fri, Aug 15, 2008 at 9:53 AM, rgheck <[EMAIL PROTECTED]> wrote:

> Michael Fread wrote:
>
>> I am no Latex guru so if this is something obvious please forgive me. I
>> did
>> search the archives and google and didn't come up with any English
>> results.
>> I am in the planning stages of a cross platform accounting program and
>> need
>> a solution for reports, invoices, estimates, etc. After looking at the
>> various options Latex looks like it might be the way to go. Unfortunately,
>> I
>> did not find any luck when trying to find a latex invoice example I could
>> look at to see how it handles that sort of application, I see information
>> indicating latex will work for the kind of thing I want but all the
>> examples
>> I've found are book/school report/letters, etc. Finally I stumbled onto
>> the
>> fact that a similarly targeted application, SQL-Ledger uses latex for its
>> report templates and invoices. The documentation says to load it in an
>> editor just use sed to replace the % characters with something else so
>> that
>> the editor doesn't mistake the placeholders for comments.
>>
>> When I try to import the Default-invoice.tex file into Lyx I get this:
>>
>> The layout file requested by the document, scrartcl.layout, is not usable.
>> This is probably because a latex class or style file required by it is not
>> is not available. See the customization documentation for more
>> information.
>> Lyx will not be able to produce output.
>>
>> If I look at the source of the file it does list scrartcl. I thought this
>> might be something with SQL-Ledger but ultimately found that the
>> scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
>> worried about viewing/editing the file now as I am about being able to
>> assist users in editing these files if I opt to use them.
>>
>>
>>
> Can you post the file in question? Perhaps someone can them debug this.
>
> rh
>

Attacked are the .tex for the invoice (with required substitutions made) and
scrartcl.layout file though it was already in the /usr/share/lyx/layout
directory.

Also if it makes any difference I am using the latest ubuntu and lyx 1.5.3.

Michael


edit.tex
Description: TeX document


scrartcl.layout
Description: Binary data


Re: scrartcl.layout error

2008-08-15 Thread rgheck

Michael Fread wrote:

I am no Latex guru so if this is something obvious please forgive me. I did
search the archives and google and didn't come up with any English results.
I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. After looking at the
various options Latex looks like it might be the way to go. Unfortunately, I
did not find any luck when trying to find a latex invoice example I could
look at to see how it handles that sort of application, I see information
indicating latex will work for the kind of thing I want but all the examples
I've found are book/school report/letters, etc. Finally I stumbled onto the
fact that a similarly targeted application, SQL-Ledger uses latex for its
report templates and invoices. The documentation says to load it in an
editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.

When I try to import the Default-invoice.tex file into Lyx I get this:

The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.

  

Can you post the file in question? Perhaps someone can them debug this.

rh




Re: scrartcl.layout error

2008-08-15 Thread Paul A. Rubin

Michael Fread wrote:



The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.



Does SQL-Ledger use the LaTeX scrartcl class?  It would seem so.  If 
yes, then you have to have that class installed in your LaTeX distro, 
and the message from LyX suggests that you don't.  LyX flags layouts as 
unusable if the corresponding LaTeX class is not installed.  Run 
'kpsewhich scrartcl.cls' in a command shell to see if you've got it.  If 
not, install it, update your LaTeX file name database, then reconfigure 
and restart LyX.


/Paul



Re: scrartcl.layout error

2008-08-15 Thread Konrad Hofbauer

Hi Michael,

Michael Fread wrote:

I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. 

 ...
 The documentation says to load it in an

editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.


If I understood you correctly (!): What do you need LyX for in the first 
place ?!?


You want to write an accounting software, which programatically creates 
(or modifies) tex-files which then are typeset into PDF (or whatever) 
using latex/pdflatex? Then how does LyX fit in there?


Of course you could also create LyX files programatically, but that only 
adds an extra layer (with IMHO little benefit).


LyX is not a latex editor, it is a document processor (for writing), 
which happens to use latex-machinery for creating output.


Or I got you completely wrong ...
/Konrad



Re: scrartcl.layout error

2008-08-15 Thread rgheck

Michael Fread wrote:

I am no Latex guru so if this is something obvious please forgive me. I did
search the archives and google and didn't come up with any English results.
I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. After looking at the
various options Latex looks like it might be the way to go. Unfortunately, I
did not find any luck when trying to find a latex invoice example I could
look at to see how it handles that sort of application, I see information
indicating latex will work for the kind of thing I want but all the examples
I've found are book/school report/letters, etc. Finally I stumbled onto the
fact that a similarly targeted application, SQL-Ledger uses latex for its
report templates and invoices. The documentation says to load it in an
editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.

When I try to import the Default-invoice.tex file into Lyx I get this:

The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.

  

Can you post the file in question? Perhaps someone can them debug this.

rh




Re: scrartcl.layout error

2008-08-15 Thread Paul A. Rubin

Michael Fread wrote:



The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.



Does SQL-Ledger use the LaTeX scrartcl class?  It would seem so.  If 
yes, then you have to have that class installed in your LaTeX distro, 
and the message from LyX suggests that you don't.  LyX flags layouts as 
unusable if the corresponding LaTeX class is not installed.  Run 
'kpsewhich scrartcl.cls' in a command shell to see if you've got it.  If 
not, install it, update your LaTeX file name database, then reconfigure 
and restart LyX.


/Paul



Re: scrartcl.layout error

2008-08-15 Thread Konrad Hofbauer

Hi Michael,

Michael Fread wrote:

I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. 

 ...
 The documentation says to load it in an

editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.


If I understood you correctly (!): What do you need LyX for in the first 
place ?!?


You want to write an accounting software, which programatically creates 
(or modifies) tex-files which then are typeset into PDF (or whatever) 
using latex/pdflatex? Then how does LyX fit in there?


Of course you could also create LyX files programatically, but that only 
adds an extra layer (with IMHO little benefit).


LyX is not a latex editor, it is a document processor (for writing), 
which happens to use latex-machinery for creating output.


Or I got you completely wrong ...
/Konrad



Re: scrartcl.layout error

2008-08-15 Thread rgheck

Michael Fread wrote:

I am no Latex guru so if this is something obvious please forgive me. I did
search the archives and google and didn't come up with any English results.
I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. After looking at the
various options Latex looks like it might be the way to go. Unfortunately, I
did not find any luck when trying to find a latex invoice example I could
look at to see how it handles that sort of application, I see information
indicating latex will work for the kind of thing I want but all the examples
I've found are book/school report/letters, etc. Finally I stumbled onto the
fact that a similarly targeted application, SQL-Ledger uses latex for its
report templates and invoices. The documentation says to load it in an
editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.

When I try to import the Default-invoice.tex file into Lyx I get this:

The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.

  

Can you post the file in question? Perhaps someone can them debug this.

rh




Re: scrartcl.layout error

2008-08-15 Thread Paul A. Rubin

Michael Fread wrote:



The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.



Does SQL-Ledger use the LaTeX scrartcl class?  It would seem so.  If 
yes, then you have to have that class installed in your LaTeX distro, 
and the message from LyX suggests that you don't.  LyX flags layouts as 
unusable if the corresponding LaTeX class is not installed.  Run 
'kpsewhich scrartcl.cls' in a command shell to see if you've got it.  If 
not, install it, update your LaTeX file name database, then reconfigure 
and restart LyX.


/Paul



Re: scrartcl.layout error

2008-08-15 Thread Konrad Hofbauer

Hi Michael,

Michael Fread wrote:

I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. 

> ...
> The documentation says to load it in an

editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.


If I understood you correctly (!): What do you need LyX for in the first 
place ?!?


You want to write an accounting software, which programatically creates 
(or modifies) tex-files which then are typeset into PDF (or whatever) 
using latex/pdflatex? Then how does LyX fit in there?


Of course you could also create LyX files programatically, but that only 
adds an extra layer (with IMHO little benefit).


LyX is not a "latex editor", it is a document processor (for writing), 
which happens to use latex-machinery for creating output.


Or I got you completely wrong ...
/Konrad



scrartcl.layout error

2008-08-14 Thread Michael Fread
I am no Latex guru so if this is something obvious please forgive me. I did
search the archives and google and didn't come up with any English results.
I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. After looking at the
various options Latex looks like it might be the way to go. Unfortunately, I
did not find any luck when trying to find a latex invoice example I could
look at to see how it handles that sort of application, I see information
indicating latex will work for the kind of thing I want but all the examples
I've found are book/school report/letters, etc. Finally I stumbled onto the
fact that a similarly targeted application, SQL-Ledger uses latex for its
report templates and invoices. The documentation says to load it in an
editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.

When I try to import the Default-invoice.tex file into Lyx I get this:

The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.


scrartcl.layout error

2008-08-14 Thread Michael Fread
I am no Latex guru so if this is something obvious please forgive me. I did
search the archives and google and didn't come up with any English results.
I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. After looking at the
various options Latex looks like it might be the way to go. Unfortunately, I
did not find any luck when trying to find a latex invoice example I could
look at to see how it handles that sort of application, I see information
indicating latex will work for the kind of thing I want but all the examples
I've found are book/school report/letters, etc. Finally I stumbled onto the
fact that a similarly targeted application, SQL-Ledger uses latex for its
report templates and invoices. The documentation says to load it in an
editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.

When I try to import the Default-invoice.tex file into Lyx I get this:

The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.


scrartcl.layout error

2008-08-14 Thread Michael Fread
I am no Latex guru so if this is something obvious please forgive me. I did
search the archives and google and didn't come up with any English results.
I am in the planning stages of a cross platform accounting program and need
a solution for reports, invoices, estimates, etc. After looking at the
various options Latex looks like it might be the way to go. Unfortunately, I
did not find any luck when trying to find a latex invoice example I could
look at to see how it handles that sort of application, I see information
indicating latex will work for the kind of thing I want but all the examples
I've found are book/school report/letters, etc. Finally I stumbled onto the
fact that a similarly targeted application, SQL-Ledger uses latex for its
report templates and invoices. The documentation says to load it in an
editor just use sed to replace the % characters with something else so that
the editor doesn't mistake the placeholders for comments.

When I try to import the Default-invoice.tex file into Lyx I get this:

The layout file requested by the document, scrartcl.layout, is not usable.
This is probably because a latex class or style file required by it is not
is not available. See the customization documentation for more information.
Lyx will not be able to produce output.

If I look at the source of the file it does list scrartcl. I thought this
might be something with SQL-Ledger but ultimately found that the
scrartcl.layout is included with Lyx not with SQL-Ledger. I'm not so much
worried about viewing/editing the file now as I am about being able to
assist users in editing these files if I opt to use them.