Re: export latex error

2015-07-28 Thread Wolfgang Engelmann



Am 28.07.2015 um 11:13 schrieb Wolfgang Engelmann:

I try to export a lyx file to latex (normal), but get an error.
The latex protocol under documents is, however, greyed out; therefore 
I can't send the error output. Even if I rename the lyx file and try 
again the latex protocoll is not accessable. Did somebody ran into 
such a situation and could solve it? Other lyx files work alright with 
the export.

Wolfgang


p.s.
LyX Version 2.1.3 (Donnerstag, 5. Februar 2015)
Kubuntu
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty


Rebooting the PC did not help
Do I have to re-install my lyx or would removing some file help?

As far as I remember the error it had to do with babel - english


Wolfgang



Re: A new script for processing LyX files - removes duplicate labels

2015-07-28 Thread Steve Litt
On Wed, 29 Jul 2015 01:02:55 +0300
Victor Porton por...@narod.ru wrote:

 I've written a Python script which removes duplicate labels from .lyx
 files.
 
 Maybe it may be useful for other users.
 
 So I attach my script (together with pyparsing.py library) to this
 email.
 
 Please add info about my script to Lyx.org site. (I know no password
 to upload the files and thus cannot do it myself without your help.)
 
 From my script:
 
 # This script receives a list of *.lyx filenames in command line.
 # In each .lyx file it searches for labels consecutively following one
 after another.
 # Then it removes all but the first label and in all supplied .lyx
 files corrects
 # the references to refer to this label.
 # It's useful to remove duplicate labels.
 
 # Note that this script works with patched pyparsing.py (added
 addCondition() method).
 # See last SVN for pyparsing or the bundled pyparsing.py file.
 

Very, very nice!

I love seeing DIY LyX enhancement.

SteveT

Steve Litt 
July 2015 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21


Re: no URL line-breaks in the reference list

2015-07-28 Thread Michael Berger

On 07/28/2015 08:19 AM, Jürgen Spitzmüller wrote:

Am Montag 27 Juli 2015, 19:51:48 schrieb Michael Berger:

the response to my request so far is very poor with no clue in sight.
I take it that my switch to biblatex was too hasty and I am considering
to revert back to using bibtex.

Can you provide a small example file?

Jürgen


Michael

Ha! There you are, thanks!
Jürgen, I stripped down the attached LyX-file to the minimum I could.
You will probably need the bibtex-file too.
Hope you have all you need now and thanks in advance,
Cheers
Michael





MaHome_url_biblatex.lyx
Description: application/lyx
@inproceedings{Nom10,
	abstract = {bare passive},
	author = {Hiroki Nomoto},
	booktitle = {{Making sense of the optionality of voice marking in Malay / Indonesian.}},
	pages = {Talk held at the Workshop on Indonesian--type Voice Systems from July 17--18, 2010. Retrieved May 2015 from:},
	url = {http://repository.tufs.ac.jp/bitstream/10108/64497/1/Proceedings_Indonesiatype04.pdf},
	year = {2010}
}

@inproceedings{Nom08,
	abstract = {related to modality},
	author = {Hiroki Nomoto},
	booktitle = {{A unified analysis of funny control.}},
	pages = {Talk held at the ISML 12 in Leiden from June 26 to 27. Handout retrieved May 2015 from:},
	url = {http://www.tufs.ac.jp/ts/personal/nomoto/ISMIL08_handout.pdf},
	year = {2008}
}

@inproceedings{HeTi,
	author = {Peter Cole \ Gabriela Hermon and Yanti {Timothy Mckinnon}},
	booktitle = {{Voice in Malayic: The Development of Agent-demoting passives.}},
	pages = {Talk held at the closing conference Diversity Linguistics at the MPI EVA on 3. May, 2015},
	year = {(to appear)}
}

@book{Kan99,
	author = {Vamarasi \ Marit Kana},
	location = {Canberra},
	publisher = {Pacific Linguistics},
	title = {{Grammatical Relations in Bahasa Indonesia}},
	year = {1999}
}

@book{Woh03,
	author = {Jan Wohlgemuth},
	location = {Berlin},
	publisher = {Wei{\ss}ensee Verlag},
	title = {{Das Diathesesystem der Bahasa Indonesia}},
	year = {2003}
}

@book{Pot08,
	author = {Maria Polinsky \ Eric Potsdam},
	publisher = {Lingua 118 (10): 1617-1639},
	title = {{The Syntax and Semanticsof Wanting in Indonesian.}},
	year = {2008}
}

@inbook{Gil02,
	author = {David Gil},
	booktitle = {{The History and Typology of West Austronesian Voice Systems.}},
	editor = {F. Wouk and M. Ross},
	location = {Canberra},
	pages = {241--283},
	title = {{The prefixes in di- and n- Malay/Indonesian dialekts.}},
	year = {2002}
}

@article{Chu76,
	author = {Sandra Chung},
	edition = {Subject and topic},
	editor = {{Charles N. Li,}},
	location = {New York},
	note = {Subject and topic},
	pages = {57--99},
	publisher = {Academic Press},
	title = {{On the subject of two passives in Indonesian.}},
	year = {1976}
}

@article{Her98,
	author = {Peter Cole \ Gabriela Hermon},
	note = {Syntax 1 (3)},
	pages = {221--258},
	title = {{The Typology of wh-movement. Wh-questions in Malay.}},
	year = {1998}
}

@inproceedings{Fort06:,
	author = {Catherine R. Fortin},
	booktitle = {{Reconciling meng- and NP-Movement in Indonesian}},
	pages = {Talk held at the 32nd Annual Meeting of the Berkeley Linguistics Society. Handout retrieved June 2015 from:},
	url = {http://sitemaker.umich.edu/fortinc/files/bls_2006_handout.pdf},
	year = {2006}
}



Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:
 Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:
  Ha! There you are, thanks!
  Jürgen, I stripped down the attached LyX-file to the minimum I could.
  You will probably need the bibtex-file too.
  Hope you have all you need now and thanks in advance,
 
 The URLs break rather nicely here except for one (Nom10), which is however
 difficult to break automatically. It gets significantly better if I put the
 following commands in the preamble (these basically instruct LaTeX not to
 run lines into the margins whatsoever):
 
 \tolerance 1414
 \hbadness 1414
 \emergencystretch 1.5em
 \hfuzz 0.3pt
 \widowpenalty = 1
 \vfuzz \hfuzz
 \raggedbottom
 
 See attached PDF.
 
 BTW instead of writing Retrieved May 2015 from: into the pages field,
 consider using biblatex's urldate field.

Additional tip: In order to get the German references broken/hyphenated 
correctly, add the autolang=hyphen option to biblatex and use the LangID 
field in the entries, e.g.

@book{Woh03,
author = {Jan Wohlgemuth},
location = {Berlin},
publisher = {Wei{\ss}ensee Verlag},
title = {{Das Diathesesystem der Bahasa Indonesia}},
year = {2003},
LangID = {german}
}

Jürgen





export latex error

2015-07-28 Thread Wolfgang Engelmann

I try to export a lyx file to latex (normal), but get an error.
The latex protocol under documents is, however, greyed out; therefore I 
can't send the error output. Even if I rename the lyx file and try again 
the latex protocoll is not accessable. Did somebody ran into such a 
situation and could solve it? Other lyx files work alright with the export.

Wolfgang


Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:
 Ha! There you are, thanks!
 Jürgen, I stripped down the attached LyX-file to the minimum I could.
 You will probably need the bibtex-file too.
 Hope you have all you need now and thanks in advance,

The URLs break rather nicely here except for one (Nom10), which is however 
difficult to break automatically. It gets significantly better if I put the 
following commands in the preamble (these basically instruct LaTeX not to run 
lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom

See attached PDF.

BTW instead of writing Retrieved May 2015 from: into the pages field, 
consider using biblatex's urldate field.

HTH
Jürgen

 Cheers
 Michael


MaHome_url_biblatex.pdf
Description: Adobe PDF document


Re: export latex error

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 11:13:50 schrieb Wolfgang Engelmann:
 I try to export a lyx file to latex (normal), but get an error.
 The latex protocol under documents is, however, greyed out; therefore I
 can't send the error output. Even if I rename the lyx file and try again
 the latex protocoll is not accessable. Did somebody ran into such a
 situation and could solve it? Other lyx files work alright with the export.

Try to access the log via View  Messages (or run LyX from a console and get 
it from there).

Jürgen

 Wolfgang




Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread jezZiFeR
Thank you.

I now removed the .txt-ending, so that I just have .module as ending. I 
reconfigured, but still, LyX does not find biblatex.module. Could I use 
Biblatex-citation-styles instead? When I try I get another error-message:
bibliographystyle invalid.

How could I get biblatex working? Are there any additional test I could do to 
find out what ist wrong?

Just in case I add a minimal-file and would be very thankful if anybody could 
help.

Thanks
Jess


LyX Minimal LyX Minimal neu.lyx
Description: Binary data


Minimal.tex
Description: TeX document








Am Montag 20 Juli 2015, 20:12:59 schrieb jezZiFeR:
 I run LyX 2.1.3 on OS 10.10.3. I installed the current bib latex.module, but
 it could not be found by LyX. Could you please tell me, where the
 biblatex.module has to be placed? LyX/about LyX tells me to put it into:
 library/application support/LyX-2.1/
 
 It is not placed exactly there, but has an own folder at that place:
 /layouts. I hope this is fine.

Should be fine. I am not a Mac user, though, 

 It has a .txt-ending, is that correct?
 (biblatex.module.txt)

No. It should be named biblatex.module (*.module is the file suffix).

 
 BTW: On my old system (OSX10.8) it was placed in
 /usr/local/texlive/texmf-local/
 but in OS 10.10.3 it seems to have a new place.

This is the TeX directory. Definitely not the correct place for LyX modules.

Jürgen

 Thank you!
 Jess



Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread jezZiFeR
Thanks again.

Sorry, I wanted to mail the .bib, not the .tex-file. But I removed the BibTeX 
inset, which has been double anyway. I left the one in the LyX-note, and now it 
works. 

BTW: it is strange for me, the whole thing did not work, before I installed 
biblatex.module from my old computer, which is much older. Its name is not 
biblatex.module, but biblatex.module.module. With the other one bilatex does 
not work. 

Best
Jess





 Am 28.07.2015 um 17:16 schrieb Jürgen Spitzmüller sp...@lyx.org:
 
 Am Dienstag 28 Juli 2015, 16:50:37 schrieb jezZiFeR:
 Thank you.
 
 I now removed the .txt-ending, so that I just have .module as ending. I
 reconfigured, but still, LyX does not find biblatex.module. Could I use
 Biblatex-citation-styles instead? 
 
 This is the biblatex.module. It is called Biblatex-citation-styles in the 
 GUI. So if Document  Settings  Modules lets you select this, the module is 
 found.
 
 When I try I get another error-message:
 bibliographystyle invalid.
 
 Yes, biblatex does not use the \bibliographystyle command of BibTeX. 
 Terefore, 
 the BibTeX inset must be put in a LyX note.
 
 How could I get biblatex working? Are there any additional test I could do
 to find out what ist wrong?
 
 Delete the BibTeX inset which is outside the LyX note. See attached file (I 
 cannot test this file myself, since I do not have the *.bib file).
 
 HTH
 Jürgen
 
 Just in case I add a minimal-file and would be very thankful if anybody
 could help.
 
 Thanks
 Jess
 
 LyX Minimal LyX Minimal neu.lyx



Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread jezZiFeR
Thanks again.

Sorry, I wanted to mail the .bib, not the .tex-file. But I removed the BibTeX 
inset, which has been double anyway. I left the one in the LyX-note, and now it 
works. 

BTW: it is strange for me, the whole thing did not work, before I installed 
biblatex.module from my old computer, which is much older. Its name is not 
biblatex.module, but biblatex.module.module. With the other one bilatex does 
not work. 

Best
Jess





 Am 28.07.2015 um 17:16 schrieb Jürgen Spitzmüller sp...@lyx.org:
 
 Am Dienstag 28 Juli 2015, 16:50:37 schrieb jezZiFeR:
 Thank you.
 
 I now removed the .txt-ending, so that I just have .module as ending. I
 reconfigured, but still, LyX does not find biblatex.module. Could I use
 Biblatex-citation-styles instead? 
 
 This is the biblatex.module. It is called Biblatex-citation-styles in the 
 GUI. So if Document  Settings  Modules lets you select this, the module is 
 found.
 
 When I try I get another error-message:
 bibliographystyle invalid.
 
 Yes, biblatex does not use the \bibliographystyle command of BibTeX. 
 Terefore, 
 the BibTeX inset must be put in a LyX note.
 
 How could I get biblatex working? Are there any additional test I could do
 to find out what ist wrong?
 
 Delete the BibTeX inset which is outside the LyX note. See attached file (I 
 cannot test this file myself, since I do not have the *.bib file).
 
 HTH
 Jürgen
 
 Just in case I add a minimal-file and would be very thankful if anybody
 could help.
 
 Thanks
 Jess
 
 LyX Minimal LyX Minimal neu.lyx



Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 16:50:37 schrieb jezZiFeR:
 Thank you.
 
 I now removed the .txt-ending, so that I just have .module as ending. I
 reconfigured, but still, LyX does not find biblatex.module. Could I use
 Biblatex-citation-styles instead? 

This is the biblatex.module. It is called Biblatex-citation-styles in the 
GUI. So if Document  Settings  Modules lets you select this, the module is 
found.

 When I try I get another error-message:
 bibliographystyle invalid.

Yes, biblatex does not use the \bibliographystyle command of BibTeX. Terefore, 
the BibTeX inset must be put in a LyX note.

 How could I get biblatex working? Are there any additional test I could do
 to find out what ist wrong?

Delete the BibTeX inset which is outside the LyX note. See attached file (I 
cannot test this file myself, since I do not have the *.bib file).

HTH
Jürgen

 Just in case I add a minimal-file and would be very thankful if anybody
 could help.
 
 Thanks
 Jess



LyX Minimal LyX Minimal neu.lyx
Description: application/lyx


Re: A new script for processing LyX files - removes duplicate labels

2015-07-28 Thread Richard Heck

On 07/28/2015 06:42 PM, Steve Litt wrote:

On Wed, 29 Jul 2015 01:02:55 +0300
Victor Porton por...@narod.ru wrote:


I've written a Python script which removes duplicate labels from .lyx
files.

Maybe it may be useful for other users.

So I attach my script (together with pyparsing.py library) to this
email.

Please add info about my script to Lyx.org site. (I know no password
to upload the files and thus cannot do it myself without your help.)

 From my script:

# This script receives a list of *.lyx filenames in command line.
# In each .lyx file it searches for labels consecutively following one
after another.
# Then it removes all but the first label and in all supplied .lyx
files corrects
# the references to refer to this label.
# It's useful to remove duplicate labels.

# Note that this script works with patched pyparsing.py (added
addCondition() method).
# See last SVN for pyparsing or the bundled pyparsing.py file.


Very, very nice!

I love seeing DIY LyX enhancement.


This would be worth uploading to the LyX wiki.

Richard



Re: no URL line-breaks in the reference list

2015-07-28 Thread Michael Berger

On 07/28/2015 03:32 PM, Jürgen Spitzmüller wrote:

Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:

Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:

Ha! There you are, thanks!
Jürgen, I stripped down the attached LyX-file to the minimum I could.
You will probably need the bibtex-file too.
Hope you have all you need now and thanks in advance,

The URLs break rather nicely here except for one (Nom10), which is however
difficult to break automatically. It gets significantly better if I put the
following commands in the preamble (these basically instruct LaTeX not to
run lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom

See attached PDF.

BTW instead of writing Retrieved May 2015 from: into the pages field,
consider using biblatex's urldate field.

Additional tip: In order to get the German references broken/hyphenated
correctly, add the autolang=hyphen option to biblatex and use the LangID
field in the entries, e.g.

@book{Woh03,
author = {Jan Wohlgemuth},
location = {Berlin},
publisher = {Wei{\ss}ensee Verlag},
title = {{Das Diathesesystem der Bahasa Indonesia}},
year = {2003},
LangID = {german}
}

Jürgen

Hi Jürgen,
thank you so much for sharing your vast knowledge and expertise with the 
LyX community!
And I am looking forward to experience the number of new features 
(especially in the linguistics) you have developed and to be implemented 
in LyX version 2.2.x.

Hut ab!

Michael



Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Montag 27 Juli 2015, 19:51:48 schrieb Michael Berger:
 the response to my request so far is very poor with no clue in sight.
 I take it that my switch to biblatex was too hasty and I am considering
 to revert back to using bibtex.

Can you provide a small example file?

Jürgen

 Michael




Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Montag 27 Juli 2015, 19:51:48 schrieb Michael Berger:
> the response to my request so far is very poor with no clue in sight.
> I take it that my switch to biblatex was too hasty and I am considering
> to revert back to using bibtex.

Can you provide a small example file?

Jürgen

> Michael




export latex error

2015-07-28 Thread Wolfgang Engelmann

I try to export a lyx file to latex (normal), but get an error.
The latex protocol under documents is, however, greyed out; therefore I 
can't send the error output. Even if I rename the lyx file and try again 
the latex protocoll is not accessable. Did somebody ran into such a 
situation and could solve it? Other lyx files work alright with the export.

Wolfgang


Re: export latex error

2015-07-28 Thread Wolfgang Engelmann



Am 28.07.2015 um 11:13 schrieb Wolfgang Engelmann:

I try to export a lyx file to latex (normal), but get an error.
The latex protocol under documents is, however, greyed out; therefore 
I can't send the error output. Even if I rename the lyx file and try 
again the latex protocoll is not accessable. Did somebody ran into 
such a situation and could solve it? Other lyx files work alright with 
the export.

Wolfgang


p.s.
LyX Version 2.1.3 (Donnerstag, 5. Februar 2015)
Kubuntu
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty


Rebooting the PC did not help
Do I have to re-install my lyx or would removing some file help?

As far as I remember the error it had to do with babel - english


Wolfgang



Re: no URL line-breaks in the reference list

2015-07-28 Thread Michael Berger

On 07/28/2015 08:19 AM, Jürgen Spitzmüller wrote:

Am Montag 27 Juli 2015, 19:51:48 schrieb Michael Berger:

the response to my request so far is very poor with no clue in sight.
I take it that my switch to biblatex was too hasty and I am considering
to revert back to using bibtex.

Can you provide a small example file?

Jürgen


Michael

Ha! There you are, thanks!
Jürgen, I stripped down the attached LyX-file to the minimum I could.
You will probably need the bibtex-file too.
Hope you have all you need now and thanks in advance,
Cheers
Michael





MaHome_url_biblatex.lyx
Description: application/lyx
@inproceedings{Nom10,
	abstract = {bare passive},
	author = {Hiroki Nomoto},
	booktitle = {{Making sense of the optionality of voice marking in Malay / Indonesian.}},
	pages = {Talk held at the Workshop on Indonesian--type Voice Systems from July 17--18, 2010. Retrieved May 2015 from:},
	url = {http://repository.tufs.ac.jp/bitstream/10108/64497/1/Proceedings_Indonesiatype04.pdf},
	year = {2010}
}

@inproceedings{Nom08,
	abstract = {related to modality},
	author = {Hiroki Nomoto},
	booktitle = {{A unified analysis of funny control.}},
	pages = {Talk held at the ISML 12 in Leiden from June 26 to 27. Handout retrieved May 2015 from:},
	url = {http://www.tufs.ac.jp/ts/personal/nomoto/ISMIL08_handout.pdf},
	year = {2008}
}

@inproceedings{HeTi,
	author = {Peter Cole \& Gabriela Hermon and Yanti {Timothy Mckinnon}},
	booktitle = {{Voice in Malayic: The Development of Agent-demoting passives.}},
	pages = {Talk held at the closing conference Diversity Linguistics at the MPI EVA on 3. May, 2015},
	year = {(to appear)}
}

@book{Kan99,
	author = {Vamarasi \& Marit Kana},
	location = {Canberra},
	publisher = {Pacific Linguistics},
	title = {{Grammatical Relations in Bahasa Indonesia}},
	year = {1999}
}

@book{Woh03,
	author = {Jan Wohlgemuth},
	location = {Berlin},
	publisher = {Wei{\ss}ensee Verlag},
	title = {{Das Diathesesystem der Bahasa Indonesia}},
	year = {2003}
}

@book{Pot08,
	author = {Maria Polinsky \& Eric Potsdam},
	publisher = {Lingua 118 (10): 1617-1639},
	title = {{The Syntax and Semanticsof Wanting in Indonesian.}},
	year = {2008}
}

@inbook{Gil02,
	author = {David Gil},
	booktitle = {{The History and Typology of West Austronesian Voice Systems.}},
	editor = {F. Wouk and M. Ross},
	location = {Canberra},
	pages = {241--283},
	title = {{The prefixes in di- and n- Malay/Indonesian dialekts.}},
	year = {2002}
}

@article{Chu76,
	author = {Sandra Chung},
	edition = {Subject and topic},
	editor = {{Charles N. Li,}},
	location = {New York},
	note = {Subject and topic},
	pages = {57--99},
	publisher = {Academic Press},
	title = {{On the subject of two passives in Indonesian.}},
	year = {1976}
}

@article{Her98,
	author = {Peter Cole \& Gabriela Hermon},
	note = {Syntax 1 (3)},
	pages = {221--258},
	title = {{The Typology of wh-movement. Wh-questions in Malay.}},
	year = {1998}
}

@inproceedings{Fort06:,
	author = {Catherine R. Fortin},
	booktitle = {{Reconciling meng- and NP-Movement in Indonesian}},
	pages = {Talk held at the 32nd Annual Meeting of the Berkeley Linguistics Society. Handout retrieved June 2015 from:},
	url = {http://sitemaker.umich.edu/fortinc/files/bls_2006_handout.pdf},
	year = {2006}
}



Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:
> Ha! There you are, thanks!
> Jürgen, I stripped down the attached LyX-file to the minimum I could.
> You will probably need the bibtex-file too.
> Hope you have all you need now and thanks in advance,

The URLs break rather nicely here except for one (Nom10), which is however 
difficult to break automatically. It gets significantly better if I put the 
following commands in the preamble (these basically instruct LaTeX not to run 
lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom

See attached PDF.

BTW instead of writing "Retrieved May 2015 from:" into the pages field, 
consider using biblatex's urldate field.

HTH
Jürgen

> Cheers
> Michael


MaHome_url_biblatex.pdf
Description: Adobe PDF document


Re: export latex error

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 11:13:50 schrieb Wolfgang Engelmann:
> I try to export a lyx file to latex (normal), but get an error.
> The latex protocol under documents is, however, greyed out; therefore I
> can't send the error output. Even if I rename the lyx file and try again
> the latex protocoll is not accessable. Did somebody ran into such a
> situation and could solve it? Other lyx files work alright with the export.

Try to access the log via View > Messages (or run LyX from a console and get 
it from there).

Jürgen

> Wolfgang




Re: no URL line-breaks in the reference list

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:
> Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:
> > Ha! There you are, thanks!
> > Jürgen, I stripped down the attached LyX-file to the minimum I could.
> > You will probably need the bibtex-file too.
> > Hope you have all you need now and thanks in advance,
> 
> The URLs break rather nicely here except for one (Nom10), which is however
> difficult to break automatically. It gets significantly better if I put the
> following commands in the preamble (these basically instruct LaTeX not to
> run lines into the margins whatsoever):
> 
> \tolerance 1414
> \hbadness 1414
> \emergencystretch 1.5em
> \hfuzz 0.3pt
> \widowpenalty = 1
> \vfuzz \hfuzz
> \raggedbottom
> 
> See attached PDF.
> 
> BTW instead of writing "Retrieved May 2015 from:" into the pages field,
> consider using biblatex's urldate field.

Additional tip: In order to get the German references broken/hyphenated 
correctly, add the "autolang=hyphen" option to biblatex and use the LangID 
field in the entries, e.g.

@book{Woh03,
author = {Jan Wohlgemuth},
location = {Berlin},
publisher = {Wei{\ss}ensee Verlag},
title = {{Das Diathesesystem der Bahasa Indonesia}},
year = {2003},
LangID = {german}
}

Jürgen





Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread jezZiFeR
Thank you.

I now removed the .txt-ending, so that I just have .module as ending. I 
reconfigured, but still, LyX does not find biblatex.module. Could I use 
Biblatex-citation-styles instead? When I try I get another error-message:
bibliographystyle invalid.

How could I get biblatex working? Are there any additional test I could do to 
find out what ist wrong?

Just in case I add a minimal-file and would be very thankful if anybody could 
help.

Thanks
Jess


LyX Minimal LyX Minimal neu.lyx
Description: Binary data


Minimal.tex
Description: TeX document








Am Montag 20 Juli 2015, 20:12:59 schrieb jezZiFeR:
> I run LyX 2.1.3 on OS 10.10.3. I installed the current bib latex.module, but
> it could not be found by LyX. Could you please tell me, where the
> biblatex.module has to be placed? LyX/about LyX tells me to put it into:
> library/application support/LyX-2.1/
> 
> It is not placed exactly there, but has an own folder at that place:
> /layouts. I hope this is fine.

Should be fine. I am not a Mac user, though, 

> It has a .txt-ending, is that correct?
> (biblatex.module.txt)

No. It should be named biblatex.module (*.module is the file suffix).

> 
> BTW: On my old system (OSX10.8) it was placed in
> /usr/local/texlive/texmf-local/
> but in OS 10.10.3 it seems to have a new place.

This is the TeX directory. Definitely not the correct place for LyX modules.

Jürgen

> Thank you!
> Jess



Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread Jürgen Spitzmüller
Am Dienstag 28 Juli 2015, 16:50:37 schrieb jezZiFeR:
> Thank you.
> 
> I now removed the .txt-ending, so that I just have .module as ending. I
> reconfigured, but still, LyX does not find biblatex.module. Could I use
> Biblatex-citation-styles instead? 

This is the biblatex.module. It is called "Biblatex-citation-styles" in the 
GUI. So if Document > Settings > Modules lets you select this, the module is 
found.

> When I try I get another error-message:
> bibliographystyle invalid.

Yes, biblatex does not use the \bibliographystyle command of BibTeX. Terefore, 
the BibTeX inset must be put in a LyX note.

> How could I get biblatex working? Are there any additional test I could do
> to find out what ist wrong?

Delete the BibTeX inset which is outside the LyX note. See attached file (I 
cannot test this file myself, since I do not have the *.bib file).

HTH
Jürgen

> Just in case I add a minimal-file and would be very thankful if anybody
> could help.
> 
> Thanks
> Jess



LyX Minimal LyX Minimal neu.lyx
Description: application/lyx


Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread jezZiFeR
Thanks again.

Sorry, I wanted to mail the .bib, not the .tex-file. But I removed the BibTeX 
inset, which has been double anyway. I left the one in the LyX-note, and now it 
works. 

BTW: it is strange for me, the whole thing did not work, before I installed 
biblatex.module from my old computer, which is much older. Its name is not 
biblatex.module, but biblatex.module.module. With the other one bilatex does 
not work. 

Best
Jess





> Am 28.07.2015 um 17:16 schrieb Jürgen Spitzmüller :
> 
> Am Dienstag 28 Juli 2015, 16:50:37 schrieb jezZiFeR:
>> Thank you.
>> 
>> I now removed the .txt-ending, so that I just have .module as ending. I
>> reconfigured, but still, LyX does not find biblatex.module. Could I use
>> Biblatex-citation-styles instead? 
> 
> This is the biblatex.module. It is called "Biblatex-citation-styles" in the 
> GUI. So if Document > Settings > Modules lets you select this, the module is 
> found.
> 
>> When I try I get another error-message:
>> bibliographystyle invalid.
> 
> Yes, biblatex does not use the \bibliographystyle command of BibTeX. 
> Terefore, 
> the BibTeX inset must be put in a LyX note.
> 
>> How could I get biblatex working? Are there any additional test I could do
>> to find out what ist wrong?
> 
> Delete the BibTeX inset which is outside the LyX note. See attached file (I 
> cannot test this file myself, since I do not have the *.bib file).
> 
> HTH
> Jürgen
> 
>> Just in case I add a minimal-file and would be very thankful if anybody
>> could help.
>> 
>> Thanks
>> Jess
> 
> 



Re: Biblatex not not found by LyX work on new computer / OS 10.10.3

2015-07-28 Thread jezZiFeR
Thanks again.

Sorry, I wanted to mail the .bib, not the .tex-file. But I removed the BibTeX 
inset, which has been double anyway. I left the one in the LyX-note, and now it 
works. 

BTW: it is strange for me, the whole thing did not work, before I installed 
biblatex.module from my old computer, which is much older. Its name is not 
biblatex.module, but biblatex.module.module. With the other one bilatex does 
not work. 

Best
Jess





> Am 28.07.2015 um 17:16 schrieb Jürgen Spitzmüller :
> 
> Am Dienstag 28 Juli 2015, 16:50:37 schrieb jezZiFeR:
>> Thank you.
>> 
>> I now removed the .txt-ending, so that I just have .module as ending. I
>> reconfigured, but still, LyX does not find biblatex.module. Could I use
>> Biblatex-citation-styles instead? 
> 
> This is the biblatex.module. It is called "Biblatex-citation-styles" in the 
> GUI. So if Document > Settings > Modules lets you select this, the module is 
> found.
> 
>> When I try I get another error-message:
>> bibliographystyle invalid.
> 
> Yes, biblatex does not use the \bibliographystyle command of BibTeX. 
> Terefore, 
> the BibTeX inset must be put in a LyX note.
> 
>> How could I get biblatex working? Are there any additional test I could do
>> to find out what ist wrong?
> 
> Delete the BibTeX inset which is outside the LyX note. See attached file (I 
> cannot test this file myself, since I do not have the *.bib file).
> 
> HTH
> Jürgen
> 
>> Just in case I add a minimal-file and would be very thankful if anybody
>> could help.
>> 
>> Thanks
>> Jess
> 
> 



Re: no URL line-breaks in the reference list

2015-07-28 Thread Michael Berger

On 07/28/2015 03:32 PM, Jürgen Spitzmüller wrote:

Am Dienstag 28 Juli 2015, 15:22:14 schrieb Jürgen Spitzmüller:

Am Dienstag 28 Juli 2015, 14:31:07 schrieb Michael Berger:

Ha! There you are, thanks!
Jürgen, I stripped down the attached LyX-file to the minimum I could.
You will probably need the bibtex-file too.
Hope you have all you need now and thanks in advance,

The URLs break rather nicely here except for one (Nom10), which is however
difficult to break automatically. It gets significantly better if I put the
following commands in the preamble (these basically instruct LaTeX not to
run lines into the margins whatsoever):

\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em
\hfuzz 0.3pt
\widowpenalty = 1
\vfuzz \hfuzz
\raggedbottom

See attached PDF.

BTW instead of writing "Retrieved May 2015 from:" into the pages field,
consider using biblatex's urldate field.

Additional tip: In order to get the German references broken/hyphenated
correctly, add the "autolang=hyphen" option to biblatex and use the LangID
field in the entries, e.g.

@book{Woh03,
author = {Jan Wohlgemuth},
location = {Berlin},
publisher = {Wei{\ss}ensee Verlag},
title = {{Das Diathesesystem der Bahasa Indonesia}},
year = {2003},
LangID = {german}
}

Jürgen

Hi Jürgen,
thank you so much for sharing your vast knowledge and expertise with the 
LyX community!
And I am looking forward to experience the number of new features 
(especially in the linguistics) you have developed and to be implemented 
in LyX version 2.2.x.

Hut ab!

Michael



Re: A new script for processing LyX files - removes duplicate labels

2015-07-28 Thread Steve Litt
On Wed, 29 Jul 2015 01:02:55 +0300
Victor Porton  wrote:

> I've written a Python script which removes duplicate labels from .lyx
> files.
> 
> Maybe it may be useful for other users.
> 
> So I attach my script (together with pyparsing.py library) to this
> email.
> 
> Please add info about my script to Lyx.org site. (I know no password
> to upload the files and thus cannot do it myself without your help.)
> 
> From my script:
> 
> # This script receives a list of *.lyx filenames in command line.
> # In each .lyx file it searches for labels consecutively following one
> after another.
> # Then it removes all but the first label and in all supplied .lyx
> files corrects
> # the references to refer to this label.
> # It's useful to remove duplicate labels.
> 
> # Note that this script works with patched pyparsing.py (added
> addCondition() method).
> # See last SVN for pyparsing or the bundled pyparsing.py file.
> 

Very, very nice!

I love seeing DIY LyX enhancement.

SteveT

Steve Litt 
July 2015 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21


Re: A new script for processing LyX files - removes duplicate labels

2015-07-28 Thread Richard Heck

On 07/28/2015 06:42 PM, Steve Litt wrote:

On Wed, 29 Jul 2015 01:02:55 +0300
Victor Porton  wrote:


I've written a Python script which removes duplicate labels from .lyx
files.

Maybe it may be useful for other users.

So I attach my script (together with pyparsing.py library) to this
email.

Please add info about my script to Lyx.org site. (I know no password
to upload the files and thus cannot do it myself without your help.)

 From my script:

# This script receives a list of *.lyx filenames in command line.
# In each .lyx file it searches for labels consecutively following one
after another.
# Then it removes all but the first label and in all supplied .lyx
files corrects
# the references to refer to this label.
# It's useful to remove duplicate labels.

# Note that this script works with patched pyparsing.py (added
addCondition() method).
# See last SVN for pyparsing or the bundled pyparsing.py file.


Very, very nice!

I love seeing DIY LyX enhancement.


This would be worth uploading to the LyX wiki.

Richard