Re: Automated PDF creation under windows

2014-01-20 Thread Matthias Weißer

Hi Itai

Am 17.01.2014 22:16, schrieb Itai Shaked: I believe the correct format 
name to use is the short name, so for

 pdflatex it would be
 lyx --export pdf2 document.lyx

Works :-)

 Look in Tools-Preferences-File Handling-File Formats  to see the
 short name for each format.

I see. Good to know. Thanks a lot.

Regards
Matthias

 On Fri, Jan 17, 2014 at 10:25 AM, Matthias Weißer weiss...@arcor.de
 mailto:weiss...@arcor.de wrote:

 Hi

 I would like to export a lyx file on the command line to a PDF. This
 should be included in a automated process building a bigger software
 package. I tried

 Lyx.exe --export pdflatex document.lyx

 but nothing happens. I can see that lyx.exe comes up in the
 background, starts some child processes (python.exe) and then it
 exits after a couple of seconds and the PDF isn't created. Exporting
 the file from the editor takes about a minute or so and end
 successfully.

 Even

 Lyx.exe -help

 doens't produce any output. Lyx version is 2.9

 Any hints?

 Regards
 Matthias





tex2lyx fails with ACM Transacton on Graphics sample

2014-01-20 Thread Matti Lehtonen
Hi,

I tried to convert TOG sample (available at http://tog.acm.org/acm-tog.zip)
to LYX, but it fails with error message

 Cannot read layout file `'.
 Error reading `'
 (Check `acmtog')
 Check your installation and try Options/Reconfigure...
 Error: Could not read layout file for textclass acmtog.


It seems that tex2lyx expects a layout file to be present, but TOG class do
not define one.

Any advices for fixing this problem?


Matti L
-- 
Life is complex. It has real and imaginary parts.


Re: Lyx with spelling dictionary

2014-01-20 Thread Ben Lowe
Hi Stephan,

Thanks so much for your help! I had the hunspell package but not the
hunspell-devel package. Problem is now resolved.

Kind Regards,

Ben Lowe

On 17 January 2014 15:59, Stephan Witt st.w...@gmx.net wrote:
 Am 17.01.2014 um 14:55 schrieb Ben Lowe bml1...@soton.ac.uk:

 Dear Stephan,

 Thanks for your quick response. What option do I provide lyx with in
 order to compile with enchant/hunspell etc.? I cannot find this
 information in the README, INSTALL etc.,

 Sorry for being unclear.

 You have to install the developer packages - aka rpms - for
 the spell checker of your choice. Something like hunspell-devel-*
 for hunspell (I don't know the package name for RedHat and I don't
 know either if it exists).

 After doing so LyX detects it at configure time and will be build
 with hunspell support. This should be mentioned in config.log.

 There is no configure option.

 Until I do this, I cannot provide a path for Hunspell as the path
 section is greyed out, and I cannot select the Enchant engine.

 Hunspell is not Enchant. Hunspell path is for hunspell spell checker.

 I'd recommend using hunspell. I don't know if enchant is usable.

 Stephan

 On 17 January 2014 13:11, Stephan Witt st.w...@gmx.net wrote:
 Am 17.01.2014 um 13:44 schrieb Ben Lowe ben.lowe...@googlemail.com:

 Hi,

 I'm using redhat 6; I've tried downloading the latest source and
 following these steps:
 http://wiki.lyx.org/LyX/CreatingLyXRPM#toc3

 And also tried creating an RPM package, however the dictionary choice
 in preferences  language settings  spellchecker; all options are
 greyed out, and I cannot provide a hunspell path under preferences
 paths as this is greyed out. I have relevant hunspell dictionary
 files in the ~/.lyx/dicts/ folder and they are named correctly.

 This a common issue with linux due to not compiling it with
 spellchecking support, and a fix is apparently to use 'Enchant' engine
 instead, however I have the Enchant package, and I still cannot select
 any spellchecker engines from the spellchecker menu.

 Does anyone have any suggestions on how I can compile lyx on Redhat
 with spell checking support?

 Hi,

 you have to provide the developer packages of the spell checker of your
 choice at compile time (of LyX). In case it's enchant you have to configure
 enchant, in case it's hunspell you may provide the path for the dictionary
 files under preferences if they're not found automatically.

 Stephan



Re: Problem setting OutputFormat in layout

2014-01-20 Thread Jean-Marc Lasgouttes

19/01/2014 01:15, Parsiad Azimzadeh:

I am writing a layout for a class file, and attempting to make the
default output format DVI. However, I have encountered what I think is
a bug, and it has been reproduced by one other user:

http://tex.stackexchange.com/questions/154719/set-default-output-format-in-layout-in-lyx


This is not really a bug as the feature is not supposed to define the 
final format (pdf/dvi...), but the initial one (tex/sweave/...).


The default OutputFormat is latex which is generic, but I assume you 
could try to set it to dvilatex and create a converter from dvilatex 
to dvi (although this is not tested nor initially intended).


Actually, I think that this dvilatex format should exist by default, but 
this part of the code contains a lot of of hard-coding and changing 
anything can be risky.


Please open a new ticket about this problem at www.lyx.org/trac/.

JMarc



Removal of page numbers from Nomenclature List

2014-01-20 Thread Luke Jones
Hi
I'm trying to add a table of abbreviations to my Lyx written thesis.
I have done this by changing the name of nomenclature to abbreviations in the 
LAtex preamble.
Ideally I do not want the abbreviations to be cross referenced to their 
position in the thesis -
I just want to have a list of Abbreviations with the page number that they 
occur on.
Is this possible?
Many thanks
Luke

Luke Jones MRCS
DPhil Candidate
Botnar Research Centre
Nuffield Department of Orthopaedics, Rheumatology and Musculoskeletal Sciences
University of Oxford
Windmill Road
Oxford
OX3 7LD

07967 374455


LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-20 Thread KIM Musak
Dear all,

I recently changed the page layout in the document setting (from default
format to Height 4 cm and width 4cm). When I tried to view the pdf these
are the errors I have received :

--
Missing $ inserted.
Misplaced alignment tab character .
Missing $ inserted.
LaTeX Error: \begin{thebibliography} on input line 1 ended by
\end{document}.


No PDF output produced. I have changed to default (Document Setting, Page
Layout, Page Format) but it still refused to change.

Thanks

Kamarul


problem.pdf
Description: Adobe PDF document


Re: Automated PDF creation under windows

2014-01-20 Thread Matthias Weißer

Hi Itai

Am 17.01.2014 22:16, schrieb Itai Shaked: I believe the correct format 
name to use is the short name, so for

 pdflatex it would be
 lyx --export pdf2 document.lyx

Works :-)

 Look in Tools-Preferences-File Handling-File Formats  to see the
 short name for each format.

I see. Good to know. Thanks a lot.

Regards
Matthias

 On Fri, Jan 17, 2014 at 10:25 AM, Matthias Weißer weiss...@arcor.de
 mailto:weiss...@arcor.de wrote:

 Hi

 I would like to export a lyx file on the command line to a PDF. This
 should be included in a automated process building a bigger software
 package. I tried

 Lyx.exe --export pdflatex document.lyx

 but nothing happens. I can see that lyx.exe comes up in the
 background, starts some child processes (python.exe) and then it
 exits after a couple of seconds and the PDF isn't created. Exporting
 the file from the editor takes about a minute or so and end
 successfully.

 Even

 Lyx.exe -help

 doens't produce any output. Lyx version is 2.9

 Any hints?

 Regards
 Matthias





tex2lyx fails with ACM Transacton on Graphics sample

2014-01-20 Thread Matti Lehtonen
Hi,

I tried to convert TOG sample (available at http://tog.acm.org/acm-tog.zip)
to LYX, but it fails with error message

 Cannot read layout file `'.
 Error reading `'
 (Check `acmtog')
 Check your installation and try Options/Reconfigure...
 Error: Could not read layout file for textclass acmtog.


It seems that tex2lyx expects a layout file to be present, but TOG class do
not define one.

Any advices for fixing this problem?


Matti L
-- 
Life is complex. It has real and imaginary parts.


Re: Lyx with spelling dictionary

2014-01-20 Thread Ben Lowe
Hi Stephan,

Thanks so much for your help! I had the hunspell package but not the
hunspell-devel package. Problem is now resolved.

Kind Regards,

Ben Lowe

On 17 January 2014 15:59, Stephan Witt st.w...@gmx.net wrote:
 Am 17.01.2014 um 14:55 schrieb Ben Lowe bml1...@soton.ac.uk:

 Dear Stephan,

 Thanks for your quick response. What option do I provide lyx with in
 order to compile with enchant/hunspell etc.? I cannot find this
 information in the README, INSTALL etc.,

 Sorry for being unclear.

 You have to install the developer packages - aka rpms - for
 the spell checker of your choice. Something like hunspell-devel-*
 for hunspell (I don't know the package name for RedHat and I don't
 know either if it exists).

 After doing so LyX detects it at configure time and will be build
 with hunspell support. This should be mentioned in config.log.

 There is no configure option.

 Until I do this, I cannot provide a path for Hunspell as the path
 section is greyed out, and I cannot select the Enchant engine.

 Hunspell is not Enchant. Hunspell path is for hunspell spell checker.

 I'd recommend using hunspell. I don't know if enchant is usable.

 Stephan

 On 17 January 2014 13:11, Stephan Witt st.w...@gmx.net wrote:
 Am 17.01.2014 um 13:44 schrieb Ben Lowe ben.lowe...@googlemail.com:

 Hi,

 I'm using redhat 6; I've tried downloading the latest source and
 following these steps:
 http://wiki.lyx.org/LyX/CreatingLyXRPM#toc3

 And also tried creating an RPM package, however the dictionary choice
 in preferences  language settings  spellchecker; all options are
 greyed out, and I cannot provide a hunspell path under preferences
 paths as this is greyed out. I have relevant hunspell dictionary
 files in the ~/.lyx/dicts/ folder and they are named correctly.

 This a common issue with linux due to not compiling it with
 spellchecking support, and a fix is apparently to use 'Enchant' engine
 instead, however I have the Enchant package, and I still cannot select
 any spellchecker engines from the spellchecker menu.

 Does anyone have any suggestions on how I can compile lyx on Redhat
 with spell checking support?

 Hi,

 you have to provide the developer packages of the spell checker of your
 choice at compile time (of LyX). In case it's enchant you have to configure
 enchant, in case it's hunspell you may provide the path for the dictionary
 files under preferences if they're not found automatically.

 Stephan



Re: Problem setting OutputFormat in layout

2014-01-20 Thread Jean-Marc Lasgouttes

19/01/2014 01:15, Parsiad Azimzadeh:

I am writing a layout for a class file, and attempting to make the
default output format DVI. However, I have encountered what I think is
a bug, and it has been reproduced by one other user:

http://tex.stackexchange.com/questions/154719/set-default-output-format-in-layout-in-lyx


This is not really a bug as the feature is not supposed to define the 
final format (pdf/dvi...), but the initial one (tex/sweave/...).


The default OutputFormat is latex which is generic, but I assume you 
could try to set it to dvilatex and create a converter from dvilatex 
to dvi (although this is not tested nor initially intended).


Actually, I think that this dvilatex format should exist by default, but 
this part of the code contains a lot of of hard-coding and changing 
anything can be risky.


Please open a new ticket about this problem at www.lyx.org/trac/.

JMarc



Removal of page numbers from Nomenclature List

2014-01-20 Thread Luke Jones
Hi
I'm trying to add a table of abbreviations to my Lyx written thesis.
I have done this by changing the name of nomenclature to abbreviations in the 
LAtex preamble.
Ideally I do not want the abbreviations to be cross referenced to their 
position in the thesis -
I just want to have a list of Abbreviations with the page number that they 
occur on.
Is this possible?
Many thanks
Luke

Luke Jones MRCS
DPhil Candidate
Botnar Research Centre
Nuffield Department of Orthopaedics, Rheumatology and Musculoskeletal Sciences
University of Oxford
Windmill Road
Oxford
OX3 7LD

07967 374455


LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-20 Thread KIM Musak
Dear all,

I recently changed the page layout in the document setting (from default
format to Height 4 cm and width 4cm). When I tried to view the pdf these
are the errors I have received :

--
Missing $ inserted.
Misplaced alignment tab character .
Missing $ inserted.
LaTeX Error: \begin{thebibliography} on input line 1 ended by
\end{document}.


No PDF output produced. I have changed to default (Document Setting, Page
Layout, Page Format) but it still refused to change.

Thanks

Kamarul


problem.pdf
Description: Adobe PDF document


Re: Automated PDF creation under windows

2014-01-20 Thread Matthias Weißer

Hi Itai

Am 17.01.2014 22:16, schrieb Itai Shaked:> I believe the correct format 
name to use is the "short name", so for

> pdflatex it would be
> lyx --export pdf2 document.lyx

Works :-)

> Look in Tools->Preferences->File Handling->File Formats  to see the
> short name for each format.

I see. Good to know. Thanks a lot.

Regards
Matthias

> On Fri, Jan 17, 2014 at 10:25 AM, Matthias Weißer  > wrote:
>
> Hi
>
> I would like to export a lyx file on the command line to a PDF. This
> should be included in a automated process building a bigger software
> package. I tried
>
> Lyx.exe --export pdflatex document.lyx
>
> but nothing happens. I can see that lyx.exe comes up in the
> background, starts some child processes (python.exe) and then it
> exits after a couple of seconds and the PDF isn't created. Exporting
> the file from the editor takes about a minute or so and end
> successfully.
>
> Even
>
> Lyx.exe -help
>
> doens't produce any output. Lyx version is 2.9
>
> Any hints?
>
> Regards
> Matthias
>
>



tex2lyx fails with ACM Transacton on Graphics sample

2014-01-20 Thread Matti Lehtonen
Hi,

I tried to convert TOG sample (available at http://tog.acm.org/acm-tog.zip)
to LYX, but it fails with error message

> Cannot read layout file `'.
> Error reading `'
> (Check `acmtog')
> Check your installation and try Options/Reconfigure...
> Error: Could not read layout file for textclass "acmtog".
>

It seems that tex2lyx expects a layout file to be present, but TOG class do
not define one.

Any advices for fixing this problem?


Matti L
-- 
Life is complex. It has real and imaginary parts.


Re: Lyx with spelling dictionary

2014-01-20 Thread Ben Lowe
Hi Stephan,

Thanks so much for your help! I had the hunspell package but not the
hunspell-devel package. Problem is now resolved.

Kind Regards,

Ben Lowe

On 17 January 2014 15:59, Stephan Witt  wrote:
> Am 17.01.2014 um 14:55 schrieb Ben Lowe :
>
>> Dear Stephan,
>>
>> Thanks for your quick response. What option do I provide lyx with in
>> order to compile with enchant/hunspell etc.? I cannot find this
>> information in the README, INSTALL etc.,
>
> Sorry for being unclear.
>
> You have to install the developer packages - aka rpms - for
> the spell checker of your choice. Something like hunspell-devel-*
> for hunspell (I don't know the package name for RedHat and I don't
> know either if it exists).
>
> After doing so LyX detects it at configure time and will be build
> with hunspell support. This should be mentioned in config.log.
>
> There is no configure option.
>
>> Until I do this, I cannot provide a path for Hunspell as the path
>> section is greyed out, and I cannot select the Enchant engine.
>
> Hunspell is not Enchant. Hunspell path is for hunspell spell checker.
>
> I'd recommend using hunspell. I don't know if enchant is usable.
>
> Stephan
>
>> On 17 January 2014 13:11, Stephan Witt  wrote:
>>> Am 17.01.2014 um 13:44 schrieb Ben Lowe :
>>>
 Hi,

 I'm using redhat 6; I've tried downloading the latest source and
 following these steps:
 http://wiki.lyx.org/LyX/CreatingLyXRPM#toc3

 And also tried creating an RPM package, however the dictionary choice
 in preferences > language settings > spellchecker; all options are
 greyed out, and I cannot provide a hunspell path under preferences
> paths as this is greyed out. I have relevant hunspell dictionary
 files in the ~/.lyx/dicts/ folder and they are named correctly.

 This a common issue with linux due to not compiling it with
 spellchecking support, and a fix is apparently to use 'Enchant' engine
 instead, however I have the Enchant package, and I still cannot select
 any spellchecker engines from the spellchecker menu.

 Does anyone have any suggestions on how I can compile lyx on Redhat
 with spell checking support?
>>>
>>> Hi,
>>>
>>> you have to provide the developer packages of the spell checker of your
>>> choice at compile time (of LyX). In case it's enchant you have to configure
>>> enchant, in case it's hunspell you may provide the path for the dictionary
>>> files under preferences if they're not found automatically.
>>>
>>> Stephan
>


Re: Problem setting OutputFormat in layout

2014-01-20 Thread Jean-Marc Lasgouttes

19/01/2014 01:15, Parsiad Azimzadeh:

I am writing a layout for a class file, and attempting to make the
default output format DVI. However, I have encountered what I think is
a bug, and it has been reproduced by one other user:

http://tex.stackexchange.com/questions/154719/set-default-output-format-in-layout-in-lyx


This is not really a bug as the feature is not supposed to define the 
final format (pdf/dvi...), but the initial one (tex/sweave/...).


The default OutputFormat is "latex" which is generic, but I assume you 
could try to set it to "dvilatex" and create a converter from dvilatex 
to dvi (although this is not tested nor initially intended).


Actually, I think that this dvilatex format should exist by default, but 
this part of the code contains a lot of of hard-coding and changing 
anything can be risky.


Please open a new ticket about this problem at www.lyx.org/trac/.

JMarc



Removal of page numbers from Nomenclature List

2014-01-20 Thread Luke Jones
Hi
I'm trying to add a table of abbreviations to my Lyx written thesis.
I have done this by changing the name of nomenclature to "abbreviations" in the 
LAtex preamble.
Ideally I do not want the abbreviations to be cross referenced to their 
position in the thesis -
I just want to have a list of Abbreviations with the page number that they 
occur on.
Is this possible?
Many thanks
Luke

Luke Jones MRCS
DPhil Candidate
Botnar Research Centre
Nuffield Department of Orthopaedics, Rheumatology and Musculoskeletal Sciences
University of Oxford
Windmill Road
Oxford
OX3 7LD

07967 374455


LaTeX Error: \begin{thebibliography} on input line 1 ended by \end{document}.

2014-01-20 Thread KIM Musak
Dear all,

I recently changed the page layout in the document setting (from default
format to Height 4 cm and width 4cm). When I tried to view the pdf these
are the errors I have received :

--
Missing $ inserted.
Misplaced alignment tab character &.
Missing $ inserted.
LaTeX Error: \begin{thebibliography} on input line 1 ended by
\end{document}.


No PDF output produced. I have changed to default (Document Setting, Page
Layout, Page Format) but it still refused to change.

Thanks

Kamarul


problem.pdf
Description: Adobe PDF document