Re: Strange Pacer Question

2023-12-29 Thread Dr Eberhard W Lisse
John,

Have a look at https://writer2latex.sourceforge.net/index.html

I have used Writer2LaTeX a few years ago and found it very
helpful when using what was then called the "Ultraclean"
Option, which I don't see on this much more current version
on cursory look.

Install both writer2latex.oxt and writer2latex-config.oxt.
Then play with the Configuration in Tools -> Options (which
on my Mac only appear of an ODT is open).

You would need to save as ODT first, then export to LaTeX,
from which you would be able to use tex2lyx (the -m option
canbehelpful), and then you could pull into LyX.

If the Word format you are getting is always the same (per
lawyer) which is likely, because they would use some sort of
"template" much of this could be automated :-)-O

The PDF5 might look like

File -> Export -> Export [PDF (LuaTeX)]

which I have tied to Command-R on my Mac(s).

greetings, el

On 29/12/2023 00:59, John White wrote:
> Hi el,
> 
> 
> If I get a Word doc, it opens in libreoffice, which allows
> for export to pdf.  If I recall, I generally either
> highlight the words involved while in libreoffice and paste
> directly to lyx or instead export to pdf, highlight the
> relevant portions of the pdf and paste to lyx.
> 
> 
> It took me forever to get the ps2pdf right (so it would
> become pleading paper, with a vertical line followed by line
> numbers to the left of the page.  When I use anything else I
> have to load pleading paper and use that.
> 
> 
> I plan to try your PDF5 trick this weekend.
> 
> 
> John
[...]

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange Pacer Question

2023-12-28 Thread John White
I don't think so.  What I am looking into is this:  Pacer will only accept pdf 
files. If those who 
export to pdf from within a word document don't have to "flatten" the document 
before 
uploading to Pacer, while those who use lyx are forced to flatten any document 
imported from a 
Word doc before uploading to Pacer, I want to let the Pacer folks know this and 
suggest that 
Pacer not default to Word.  

Word is so dominant that even in Nevada State Courts we are required to convert 
any editable 
document to Word before the judge will even look at it. If there must be a 
standard here, I think 
it should be an open source standard.  Courts should not be in the business of 
requiring 
everyone to use Word (or any other proprietary product).

John 

On Thursday, December 28, 2023 2:08:18 PM PST Dr Eberhard W Lisse wrote:
> Ever looked at Pandoc?
> 
> el
> 
> On 28/12/2023 21:57, Rich Shepard wrote:
> [...]
> 
> > When I have a .doc/.docx file sent that I want to
> > incorporate into a LyX document I'll do either of two
> > things:
> > 
> > 1.  Highlight the desired text in the Word document then use
> > Edit -> Paste Special -> Join Lines to put it in the LyX
> > doc.
> > 
> > 2.  [...]  If it's a .doc/.docx file I load it in
> > LibreOffice Writer then save as a text file before inserting
> > it.
> > 
> > Since your LyX document is set to include line numbers I
> > think these actions would work for you.
> > 
> > Regards,
> > 
> > Rich

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange Pacer Question

2023-12-28 Thread John White
Hi el,

If I get a Word doc, it opens in libreoffice, which allows for export to pdf.  
If I recall, I generally 
either highlight the words involved while in libreoffice and paste directly to 
lyx or instead export 
to pdf, highlight the relevant portions of the pdf and paste to lyx. 

It took me forever to get the ps2pdf right (so it would become pleading paper, 
with a vertical 
line followed by line numbers to the left of the page.  When I use anything 
else I have to load 
pleading paper and use that.

I plan to try your PDF5 trick this weekend.

John

On Thursday, December 28, 2023 2:04:54 PM PST Dr Eberhard W Lisse wrote:
> John,
> 
> did you ever try to export using PDF5 (LuaLaTeX)?
> 
> Recent PSTricks should load
> https://github.com/zauguin/luapstricks when using LuaLaTeX. If
> that works for the "normal" way try and upload into Pacer and
> see what happens. If Pacer accepts that see what happens when
> you import a Word document and generate the PDF with LuaLaTeX.
> 
> How do you "import" Word documents?
> 
> el
> 
> On 28/12/2023 21:28, John White wrote:
> [...]
> 
> > Normally, I just do regular lyx stuff and once the file is
> > ready, export with pst2pdf (to insure that line numbers
> > exist at the left side of each page) and upload to Pacer.
> 
> [...]
> 
> > To file in Pacer, the document must be "flattened."  This poses no
> > problem with files created in lyx.  However, whenever I import a Word
> > file and convert it to lyx, Pacer balks and refuses to accept the
> > document unless I "flatten" it.
> 
> [...]

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange Pacer Question

2023-12-28 Thread Dr Eberhard W Lisse
Ever looked at Pandoc?

el

On 28/12/2023 21:57, Rich Shepard wrote:
[...]
> When I have a .doc/.docx file sent that I want to
> incorporate into a LyX document I'll do either of two
> things:
> 
> 1.  Highlight the desired text in the Word document then use
> Edit -> Paste Special -> Join Lines to put it in the LyX
> doc.
> 
> 2.  [...]  If it's a .doc/.docx file I load it in
> LibreOffice Writer then save as a text file before inserting
> it.
> 
> Since your LyX document is set to include line numbers I
> think these actions would work for you.
> 
> Regards,
> 
> Rich
> 
> 
> 

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange Pacer Question

2023-12-28 Thread Dr Eberhard W Lisse
John,

did you ever try to export using PDF5 (LuaLaTeX)?

Recent PSTricks should load
https://github.com/zauguin/luapstricks when using LuaLaTeX. If
that works for the "normal" way try and upload into Pacer and
see what happens. If Pacer accepts that see what happens when
you import a Word document and generate the PDF with LuaLaTeX.

How do you "import" Word documents?

el

On 28/12/2023 21:28, John White wrote:
[...]
> Normally, I just do regular lyx stuff and once the file is
> ready, export with pst2pdf (to insure that line numbers
> exist at the left side of each page) and upload to Pacer.
[...]
> To file in Pacer, the document must be "flattened."  This poses no
> problem with files created in lyx.  However, whenever I import a Word
> file and convert it to lyx, Pacer balks and refuses to accept the
> document unless I "flatten" it.
[...]

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange Pacer Question

2023-12-28 Thread Rich Shepard

On Thu, 28 Dec 2023, John White wrote:


To file in Pacer, the document must be "flattened."  This poses no problem
with files created in lyx. However, whenever I import a Word file and
convert it to lyx, Pacer balks and refuses to accept the document unless I
"flatten" it. If I am at the office, I "flatten" it by printing out the
lyx document and, using the copier, scan it back to me. I then can upload
that scanned file to pacer. If I am at home, I "flatten" it by using "$
pdf2ps orig.pdf - | ps2pdf - flattened.pdf", which usually works.



My question is this: Do those who use Microsoft Word also have to
"flatten" files before filing in the federal courts or does Pacer just
accept Microsoft Word files "as is"? If so, there might be some sort of
anti-trust implications in all this.


John,

I defenstrated from Microsoft 26 years ago so cannot directly answer your
question. However, I might help reduce the time and effort to 'flatten' Word
docs without running them over in your car.

When I have a .doc/.docx file sent that I want to incorporate into a LyX
document I'll do either of two things:

1. Highlight the desired text in the Word document then use Edit -> Paste
Special -> Join Lines to put it in the LyX doc.

2. When I need the entire Word doc and it's sent as a PDF I use pdftotext,
then Insert -> Plain Text, Join Lines. If it's a .doc/.docx file I load it
in LibreOffice Writer then save as a text file before inserting it.

Since your LyX document is set to include line numbers I think these actions
would work for you.

Regards,

Rich



--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange Pacer Question

2023-12-28 Thread John White
I use lyx 2.3.6 on my debian (bullseye) system  I often file in Pacer, the 
database used by the US 
federal court system.  Normally, I just do regular lyx stuff and once the file 
is ready, export with 
pst2pdf (to insure that line numbers exist at the left side of each page) and 
upload to Pacer.  

HOWEVER, I often get files from other attorneys who use microsoft Word, which I 
import into lyx 
and reformat. 

To file in Pacer, the document must be "flattened."  This poses no problem with 
files created in 
lyx.  However, whenever I import a Word file and convert it to lyx, Pacer balks 
and refuses to 
accept the document unless I "flatten" it.  If  I am at the office, I "flatten" 
it  by printing out the 
lyx document and, using the copier, scan it back to me.  I then can upload that 
scanned file to 
pacer.  If I am at home, I "flatten" it by using "$ pdf2ps orig.pdf - | ps2pdf 
- flattened.pdf", which 
usually works.

Pacer itself uses Microsoft Word and brags about it incessantly.  

My question is this:  Do those who use Microsoft Word also have to "flatten" 
files before filing in 
the federal courts or does Pacer just accept Microsoft Word files "as is"?  If 
so, there might be 
some sort of anti-trust implications in all this.

John White Jr.

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange hyphenation with English (UK)

2023-09-10 Thread Herbert Voss



Am 10.09.23 um 06:53 schrieb Daniel:

On 2023-09-09 23:02, Richard Kimberly Heck wrote:

On 9/9/23 14:41, Daniel wrote:

Hi!

I noticed that setting "English (UK)" as language under Document 
Settings, leads to some strange hyphenation. For example, 
"import-ant" and "theor-ethical". Is that a common issue with that 
language dictionary or do I have a faulty setup?


The latter, assuming you mean "theor-etical", looks acceptable to me, 
if not ideal. The former is apparently wrong, according to what I 
looked up online, though it actually sounds right to me. Or, perhaps 
better, morphologically, it feels right.


I find I do sometimes have to override LaTeX's own choices in final 
preparation of documents.


Riki


I see, I wasn't aware that hyphenation is a style choice in English. 
(In German there are fixed rules.)


No, there is no difference in handling the hyphenation rules.




How do I override LaTeX's choices? I tried

\hyphenation{im-por-tant the-o-re-ti-cal}

But that seemed not to have helped.



It looks like you are using polyglossia.

For document->settings->language  choose babel and then write into
the preamble

\AtBeginDocument{\hyphenation{im-por-tant the-o-re-ti-cal}}

Herbert

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange hyphenation with English (UK)

2023-09-09 Thread Daniel

On 2023-09-09 23:02, Richard Kimberly Heck wrote:

On 9/9/23 14:41, Daniel wrote:

Hi!

I noticed that setting "English (UK)" as language under Document 
Settings, leads to some strange hyphenation. For example, "import-ant" 
and "theor-ethical". Is that a common issue with that language 
dictionary or do I have a faulty setup?


The latter, assuming you mean "theor-etical", looks acceptable to me, if 
not ideal. The former is apparently wrong, according to what I looked up 
online, though it actually sounds right to me. Or, perhaps better, 
morphologically, it feels right.


I find I do sometimes have to override LaTeX's own choices in final 
preparation of documents.


Riki


I see, I wasn't aware that hyphenation is a style choice in English. (In 
German there are fixed rules.)


How do I override LaTeX's choices? I tried

\hyphenation{im-por-tant the-o-re-ti-cal}

But that seemed not to have helped.

Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange hyphenation with English (UK)

2023-09-09 Thread Richard Kimberly Heck

On 9/9/23 14:41, Daniel wrote:

Hi!

I noticed that setting "English (UK)" as language under Document 
Settings, leads to some strange hyphenation. For example, "import-ant" 
and "theor-ethical". Is that a common issue with that language 
dictionary or do I have a faulty setup?


The latter, assuming you mean "theor-etical", looks acceptable to me, if 
not ideal. The former is apparently wrong, according to what I looked up 
online, though it actually sounds right to me. Or, perhaps better, 
morphologically, it feels right.


I find I do sometimes have to override LaTeX's own choices in final 
preparation of documents.


Riki


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Strange screen problem in LyX Version 2.3.1-1

2018-10-27 Thread Murat Yildizoglu
Hello again,
Closing all open buffers and reopening a new document has corrected this
issue, but if I can help you to find the source of this bug, I would be
happy to do it.
I use LyX under OSX 10.13.6

Le sam. 27 oct. 2018 à 17:14, Murat Yildizoglu <
murat.yildizo...@u-bordeaux.fr> a écrit :

> Hello,
> I am puzzled by a problem I get in Lyx now.
> I have just closed the outline panel and Lyx screen became very weird (see
> the screenshot), and I cannot find how I can reset it to its normal
> appearance with the documents bar on the top of the editing panel and the
> Lyx screen fully usable. Any idea what is going on.
> Closing and reopening Lyx does not solve the problem.
>
> After the first appearance of this problem I have got a SIGSEV:
>
> (  1) 1   lyx 0x00010757bd7f
> _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> : 1   lyx 0x00010757bd7f
> _ZN3lyx8frontend5Alert7doErrorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> + 190
> (  2) 2   lyx 0x00010757c2b5
> _ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> : 2   lyx 0x00010757c2b5
> _ZN3lyx8frontend5Alert5errorERKNSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwSA_b
> + 149
> (  3) 3   lyx 0x000107312e2b
> _ZN3lyx13error_handlerEi : 3   lyx
> 0x000107312e2b _ZN3lyx13error_handlerEi + 506
> (  4) 4   libsystem_platform.dylib0x7fff6970cf5a _sigtramp
> : 4   libsystem_platform.dylib0x7fff6970cf5a _sigtramp + 26
> (  5) 5   lyx 0x000107e91f7f
> LinkBackServers : 5   lyx
> 0x000107e91f7f LinkBackServers + 314679
> (  6) 6   QtWidgets   0x000108cc6fba
> _ZN15QDockAreaLayout20deleteAllLayoutItemsEv : 6   QtWidgets
> 0x000108cc6fba _ZN15QDockAreaLayout20deleteAllLayoutItemsEv
> + 42
> (  7) 7   QtWidgets   0x000108cf3d74
> _ZN17QMainWindowLayoutD2Ev : 7   QtWidgets
> 0x000108cf3d74 _ZN17QMainWindowLayoutD2Ev + 52
> (  8) 8   QtWidgets   0x000108cf3fde
> _ZN17QMainWindowLayoutD0Ev : 8   QtWidgets
> 0x000108cf3fde _ZN17QMainWindowLayoutD0Ev + 14
> (  9) 9   QtWidgets   0x000108badaee
> _ZN7QWidgetD2Ev : 9   QtWidgets
> 0x000108badaee _ZN7QWidgetD2Ev + 414
> ( 10) 10  lyx 0x000107723de2
> _ZN3lyx8frontend7GuiViewD0Ev : 10  lyx
> 0x000107723de2 _ZN3lyx8frontend7GuiViewD0Ev + 14
> ( 11) 11  QtCore  0x00010872b050
> _ZN7QObject5eventEP6QEvent : 11  QtCore
>  0x00010872b050 _ZN7QObject5eventEP6QEvent + 128
> ( 12) 12  QtWidgets   0x000108bc054b
> _ZN7QWidget5eventEP6QEvent : 12  QtWidgets
> 0x000108bc054b _ZN7QWidget5eventEP6QEvent + 5787
> ( 13) 13  QtWidgets   0x000108ceaee5
> _ZN11QMainWindow5eventEP6QEvent : 13  QtWidgets
> 0x000108ceaee5 _ZN11QMainWindow5eventEP6QEvent + 1733
> ( 14) 14  lyx 0x00010772828d
> _ZN3lyx8frontend7GuiView5eventEP6QEvent : 14  lyx
>   0x00010772828d _ZN3lyx8frontend7GuiView5eventEP6QEvent + 249
> ( 15) 15  QtWidgets   0x000108b85b2d
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent : 15  QtWidgets
> 0x000108b85b2d
> _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 301
> ( 16) 16  QtWidgets   0x000108b86ea7
> _ZN12QApplication6notifyEP7QObjectP6QEvent : 16  QtWidgets
>   0x000108b86ea7 _ZN12QApplication6notifyEP7QObjectP6QEvent +
> 391
> ( 17) 17  lyx 0x00010758c3e0
> _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent : 17  lyx
> 0x00010758c3e0
> _ZN3lyx8frontend14GuiApplication6notifyEP7QObjectP6QEvent + 22
> ( 18) 18  QtCore  0x000108701414
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent : 18  QtCore
>0x000108701414
> _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 164
> ( 19) 19  QtCore  0x00010870259b
> _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData :
> 19  QtCore  0x00010870259b
> _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData +
> 891
> ( 20) 20  QtCore  0x000108701b2d
> _ZN16QCoreApplication4execEv : 20  QtCore
>  0x000108701b2d _ZN16QCoreApplication4execEv + 509
> ( 21) 21  lyx 0x00010730e65c
> _ZN3lyx3LyX4execERiPPc : 21  lyx
> 0x00010730e65c _ZN3lyx3LyX4execER

Re: Strange problem of which I have difficulty to locate the origin

2017-10-02 Thread Murat Yildizoglu
Me again,

Sometime, Writing a message helps us to solve the problem I imagine.
I have solved the problem I think. turkish in Babe need ,shorthands=:! as
an option (to neutralize babel rules for =, it seems that they pose a
problem for xkeyval used by includegraphics). I was adding it in custom
options for the document, but it was not working it seems. I have thought
of trying to put it in the preamble by putting
\usepackage[shorthands=:!]{babel}
and it worked. Both figures compile now.
I was not well aware of this possibility of adding supplementary options
through the preamble. It works very well.

Thank you very much!

2017-10-02 11:32 GMT+02:00 Murat Yildizoglu :

> Dear list members,
>
> I have been using LyX for many years but I currently meet a strange
> problem: I am writing my first article in Turkish and I use turkish as a
> babel mode (with english) and I cannot scale or resize any included PDF
> figure (I typeset with pdflatex). In the attached example file the fisr
> figure has a scaling instruction, but the second has not; You can see in
> the resulting PDF that the first figure is not included and we see a bit of
> the scaling instruction given to \includegraphics instead. The second is
> correctly included.
> Is this a feature or a bug?
>
> FYI: If I export to latex, I can compile the file with both figures.
>
> Any idea why I get this problem, and how I can solve it?
>
> Thank you very much.
>
> Murat
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> mail: murat.yildizoglu at u-bordeaux.fr
>
> web: http://yildizoglu.fr
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: murat.yildizoglu at u-bordeaux.fr

web: http://yildizoglu.fr


Re: Strange compile error

2017-09-12 Thread Steve Hnizdur

On 03/09/17 21:20, Paul A. Rubin wrote:

On 09/03/2017 04:10 PM, Steve Hnizdur wrote:

Hi

Thanks for replying. Ctrl-R  does pdflatex. Attached is the tex file 
produced by exporting from lyx, and I get the same error by running 
pdflatex directly on it. I'm running Ubuntu 16.04 with everything upto 
date.


By the way the error still happens if the superscripts are removed, it 
seems to be the \dots that are causing the problem.


Cheers
To facilitate others following the thread, it's preferred that we 
bottom-post.


I just ran pdflatex against your TeX, and again it compiled for me with 
no errors. I'm running Linux Mint 18.2 (based on Ubuntu 16.04), with LyX 
2.2.3 and TeXLive 2017. I've attached the pdflatex log file; maybe you 
can look for differences with yours and find out where yours deviates. 
It seems to be something on your system, not a LyX error.


Paul


I can confirm there is a problem with amsmath 2.15a. I have now updated 
to 2.16a and all is fine. Many thanks for comments and help.


--

Steve Hnizdur


Re: Strange compile error

2017-09-03 Thread Guenter Milde
On 2017-09-03, Steve Hnizdur wrote:

> Attached is a lyx file which when complied with ctrl-R gives the error 
> below copied from the error log. It also fails if I try to compile it as 
> a native .tex file.

I tried the example you posted later and it runs without problems here
(Debian/stable with pre-packaged TeXLive 2016).

> The error goes away if the \dots is removed and it also goes away if the 
> "Number Equations by Section" Module is removed.

> Any thoughts.

I know that amsmath re-defines \dots to be context sensitive. It may be
that \numberwithin{equation}{section} interferes with this re-definition in
some way (in the version used by you) and the bug is solved in current
versions.

You may try to use \ldots instead of \dots or to update your TeX installation.

Günter



Re: Strange compile error

2017-09-03 Thread Paul A. Rubin

On 09/03/2017 04:10 PM, Steve Hnizdur wrote:

Hi

Thanks for replying. Ctrl-R  does pdflatex. Attached is the tex file 
produced by exporting from lyx, and I get the same error by running 
pdflatex directly on it. I'm running Ubuntu 16.04 with everything upto 
date.


By the way the error still happens if the superscripts are removed, it 
seems to be the \dots that are causing the problem.


Cheers
To facilitate others following the thread, it's preferred that we 
bottom-post.


I just ran pdflatex against your TeX, and again it compiled for me with 
no errors. I'm running Linux Mint 18.2 (based on Ubuntu 16.04), with LyX 
2.2.3 and TeXLive 2017. I've attached the pdflatex log file; maybe you 
can look for differences with yours and find out where yours deviates. 
It seems to be something on your system, not a LyX error.


Paul

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=pdflatex 2017.8.2)  3 SEP 2017 16:14
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**test_error.tex
(./test_error.tex
LaTeX2e <2017-04-15>
Babel <3.12> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package

(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2017/04/05 v2.0i Standard LaTeX file
LaTeX Font Info:Redeclaring font encoding T1 on input line 48.
))
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2015/03/17 v1.2c Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

(/usr/share/texlive/texmf-dist/tex/latex/base/latin9.def
File: latin9.def 2015/03/17 v1.2c Input encoding file
))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2016/11/05 v2.16a AMS math features
\@mathmargin=\skip43

For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01 AMS text

(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks16
\ex@=\dimen103
))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen104
)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 213.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 375.
\classnum@=\count90
\DOTSCASE@=\count91
LaTeX Info: Redefining \ldots on input line 472.
LaTeX Info: Redefining \dots on input line 475.
LaTeX Info: Redefining \cdots on input line 596.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info:Redeclaring font encoding OML on input line 712.
LaTeX Font Info:Redeclaring font encoding OMS on input line 713.
\macc@depth=\count92
\c@MaxMatrixCols=\count93
\dotsspace@=\muskip10
\c@parentequation=\count94
\dspbrk@lvl=\count95
\tag@help=\toks17
\row@=\count96
\column@=\count97
\maxfields@=\count98
\andhelp@=\toks18
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2817.
LaTeX Info: Redefining \] on input line 2818.
)
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2017/06/29 3.12 The Babel package

(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def
File: switch.def 2017/06/29 3.12 Babel switching mechanism
)
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/british.ldf
Language: british 2017/06/06 v3.3r English support from the babel system

(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
Language: english 2017/06/06 v3.3r English support from the babel system

(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2017/06/29 3.12 Babel common definitions

(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def
File: switch.def 2017/06/29 3.12 Babel switching mechanism
)
\babel@savecnt=\count99
\U@D=\dimen112
)
\l@british = a dialect from \language\l@english 
\l@UKenglish = a dialect from \language\l@english 
\l@canadian = a dialect from \language\l@american 
\l@australian = a dialect from \language\l@british 
\l@newzealand = a 

Re: Strange compile error

2017-09-03 Thread Steve Hnizdur

Hi

Thanks for replying. Ctrl-R  does pdflatex. Attached is the tex file 
produced by exporting from lyx, and I get the same error by running 
pdflatex directly on it. I'm running Ubuntu 16.04 with everything upto date.


By the way the error still happens if the superscripts are removed, it 
seems to be the \dots that are causing the problem.


Cheers

On 03/09/17 21:00, Paul A. Rubin wrote:

On 09/03/2017 01:06 PM, Steve Hnizdur wrote:

Hi

Attached is a lyx file which when complied with ctrl-R gives the error 
below copied from the error log. It also fails if I try to compile it 
as a native .tex file.


The error goes away if the \dots is removed and it also goes away if 
the "Number Equations by Section" Module is removed.


Any thoughts.
What format does ctrl-R use in your configuration? In mine, it's 
pdflatex, and the document compiles just fine.


Paul



--

Steve Hnizdur
%% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{amsmath}

\makeatletter
%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}

\makeatother

\usepackage{babel}
\begin{document}
aaa
\[
\left\Vert P_{1}\right\Vert ^{m_{1}}\dots\left\Vert P_{r}\right\Vert ^{m_{r}}
\]

xxx
\end{document}


Re: Strange compile error

2017-09-03 Thread Paul A. Rubin

On 09/03/2017 01:06 PM, Steve Hnizdur wrote:

Hi

Attached is a lyx file which when complied with ctrl-R gives the error 
below copied from the error log. It also fails if I try to compile it 
as a native .tex file.


The error goes away if the \dots is removed and it also goes away if 
the "Number Equations by Section" Module is removed.


Any thoughts.
What format does ctrl-R use in your configuration? In mine, it's 
pdflatex, and the document compiles just fine.


Paul



Re: strange bouncing of EMails

2017-01-24 Thread Dr Eberhard Lisse
To me these look like bounce messages which should go to the list-admin
if that was possible tho they can be removed from the list :-)-O

I am not getting these though :-)-O

I don't have Finnish (can someone who does contact the correct new
address of the two offered perhaps?), but the second one looks like
they don't like fli.bund.de any longer and want to be called fli.de, so
maybe Eildert must unsubscribe the old address and resubscribe under
the new (which is why he reads in copy)

What I do when I get a stubborn mail program, is to create a filter
that moves the file into my bounce folder.

el


On 2017-01-24 22:43, Wolfgang Engelmann wrote:
> I am using the lyx-users@lists.lyx.org and each time I am sending
> a mail to the list, I am getting the message shown below. I was
> told, that this happens to other members of the list too and it
> would be nice if the cause of the bouncing could be identified and
> removed. Thanks for your attention.
>
> Wolfgang Engelmann
> 
> When I am sending a mail to the Lyx User group lyx-users@lists.lyx.org I
> am getting
> 
> always this message:
> 
> Olen lomalla. Sähköpostia voi lähettää jollekin muulle henkilökunnastamme 
> etunimi.sukun...@vskonetarvike.com tai vaihtoehtoisesti 
> myy...@vskonetarvike.com
> 
> 
> Although I definetely do not use this address nor is it in my address
> book. In addition I got today this mail
> On 24.01.2017 18:06, mailmars...@fli.de wrote:
>> The following message was addressed to our organization using a
>> *domain name* that is being *retired*:
>>  
>>*From:*  engelm...@uni-tuebingen.de
>>*To:*eildert.groenev...@fli.bund.de
>>*Subject:*   getting rid of white space in graphic
>>
>> Please update your email address lists by changing any addresses that
>> refer to *fli.bund.de* to our new domain name of *fli.de*.
>>
>> This notification is for your information only - your original message
>> *has been delivered* to the intended recipient.
>>
>> FLI MailMarshal
>> *Email Content Security*
>>
>> Friedrich-Loeffler-Institut
>> Bundesforschungsinstitut für Tiergesundheit
>> Federal Research Institute for Animal Health
>>
> What could I do about it?
> Wolfgang




Re: strange

2017-01-24 Thread Wolfgang Engelmann
Perhaps you could also send an Email to the address below asking them to 
stop it. I will try tomorrow to phone them up. Wolfgang



On 24.01.2017 20:44, gordon cooper wrote:

  You are not alone Wolfgang, I have been getting them too.

Gordon.




eildert.groenev...@fli.bund.de


Re: strange

2017-01-24 Thread gordon cooper

  You are not alone Wolfgang, I have been getting them too.

Gordon.





Re: strange

2017-01-24 Thread Jürgen Spitzmüller
Am Dienstag, den 24.01.2017, 18:18 +0100 schrieb Wolfgang Engelmann:
> When I am sending a mail to the Lyx User group lyx-us...@lists.lyx.or
> g I am getting 
> always this message:
> Olen lomalla. Sähköpostia voi lähettää jollekin muulle
> henkilökunnastamme etunimi.sukun...@vskonetarvike.com tai
> vaihtoehtoisesti myy...@vskonetarvike.com

This is an out-of-office message of someone subscribed to the list.
Everybody posting to the lists gets this now.

> Although I definetely do not use this address nor is it in my address
> book. In addition I got today this mail 
> On 24.01.2017 18:06, mailmars...@fli.de wrote:
> > The following message was addressed to our organization using a
> > domain name that is being retired:
> >  
> >    From:  engelm...@uni-tuebingen.de
> >    To:eildert.groenev...@fli.bund.de
> >    Subject:   getting rid of white space in graphic
> > 
> > Please update your email address lists by changing any addresses
> > that refer to fli.bund.de to our new domain name of fli.de.

Similar.

Of course such automated messages should not go to mailing lists. But
these things happen.

Jürgen

signature.asc
Description: This is a digitally signed message part


Re: Strange xxx-lyxformat-474.lyx files

2016-08-03 Thread Dr Eberhard Lisse
Rich,

LyX has a versioning system (by default).

It uses RCS, which used to be part of the XCode command line tools on
the Mac (and can still be installed via homebrew) and an Ubuntu
package by itself.  There should be some Windoze package too,
somewhere.

There is also SVN support for document preparation but it's way more
complicated :-)-O

el

On 2016-08-02 16:37, Rich Shepard wrote:
[...]
> When I'm working on a project and prior verions need to be retained
> I create a subversion directory for them and commit changes when
> they're made.
> 
> Thanks,
> 
> Rich
> 




Re: Strange xxx-lyxformat-474.lyx files

2016-08-03 Thread Dr Eberhard Lisse
I got Time Machine running and am VERY diligent with Unison :-)-O, but
of course once can always run ... rm -v ...

But,

find ~/ -name '*.lyx' -exec  grep -h \\lyxformat {} \; | sort| uniq

shows that I have LyX files from 26 different versions lying around
:-)-O

el

On 2016-08-02 16:31, Steve Litt wrote:
> On Tue, 2 Aug 2016 15:26:42 +0100
> Dr Eberhard Lisse  wrote:
> 
>> find ~/ -name '*-lyxformat-*.lyx' -exec rm {] \;
> 
> Danger Will Robinson!
> 
> I personally would never run a one-liner that does deletions. My pencil
> has an eraser because I make mistakes. A mistake with such a one liner
> could do horrible things. I'd do something like this:
> 
> find ~/ -name '*-lyxformat-*.lyx' > danger.sh
> ### Edit danger.sh, prepend each line with "rm "
> ### Completely check danger.sh
> . ./danger.sh
> 
> My way is sort of like "What you see is what you get." The 1liner way
> is more like "You asked for it, you got it."
> 
> Did I mention that I make mistakes.
>  
> SteveT
> 
> Steve Litt 
> July 2016 featured book: Troubleshooting Techniques
>  of the Successful Technologist
> http://www.troubleshooters.com/techniques
> 




Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Påvel Nicklasson
Thank you all for clarifications and suggestions! I suspected the files
were connected to the new 2.2 version, It's better to ask before deleting
files and discover doing something stupid too late.

2016-08-02 17:52 GMT+02:00 David L. Johnson :

> On 08/02/2016 10:40 AM, Rich Shepard wrote:
>
> On Tue, 2 Aug 2016, David L. Johnson wrote:
>
> These are being created since the files were edited by the new version of
> LyX you installed, which uses a newer format. LyX then auto-saves them in
> the old format so that you can edit it, if you need to, with an older
> version of LyX. This seems to be a reasonable thing to do at the start of
> a new format, and will not occur when you edit files using LyX-2.2 that
> are already in the new format.
>
>
> David,
>
>   Thanks for the clarification. I don't recall seeing these files when
> previous versions (from 1.0 on) were upgraded.
>
>
> It was certainly not the case with every change of format --- and was
> probably added because someone got caught with a file they could not edit
> after going to a new version of LyX, then backing out of the upgrade for
> some reason.  I am not sure whether this feature had been added earlier ---
> I don't have such backups around except those created by lyx 2.2.
>
>
> --
>
> David L. Johnson
> Department of Mathematics
> Lehigh University
>
>


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Kornel Benko
Am Dienstag, 2. August 2016 um 11:52:31, schrieb David L. Johnson 

> On 08/02/2016 10:40 AM, Rich Shepard wrote:
> > On Tue, 2 Aug 2016, David L. Johnson wrote:
> >
> >> These are being created since the files were edited by the new 
> >> version of
> >> LyX you installed, which uses a newer format. LyX then auto-saves 
> >> them in
> >> the old format so that you can edit it, if you need to, with an older
> >> version of LyX. This seems to be a reasonable thing to do at the 
> >> start of
> >> a new format, and will not occur when you edit files using LyX-2.2 that
> >> are already in the new format.
> >
> > David,
> >
> >   Thanks for the clarification. I don't recall seeing these files when
> > previous versions (from 1.0 on) were upgraded.
> >
> >
> It was certainly not the case with every change of format --- and was 
> probably added because someone got caught with a file they could not 
> edit after going to a new version of LyX, then backing out of the 
> upgrade for some reason.  I am not sure whether this feature had been 
> added earlier --- I don't have such backups around except those created 
> by lyx 2.2.
> 

File 'README' suggests to read 'NEWS'.
File 'NEWS' suggests to read 'RELEASE-NOTES'.

There it is described in the last paragraph.

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread David L. Johnson

On 08/02/2016 10:40 AM, Rich Shepard wrote:

On Tue, 2 Aug 2016, David L. Johnson wrote:

These are being created since the files were edited by the new 
version of
LyX you installed, which uses a newer format. LyX then auto-saves 
them in

the old format so that you can edit it, if you need to, with an older
version of LyX. This seems to be a reasonable thing to do at the 
start of

a new format, and will not occur when you edit files using LyX-2.2 that
are already in the new format.


David,

  Thanks for the clarification. I don't recall seeing these files when
previous versions (from 1.0 on) were upgraded.


It was certainly not the case with every change of format --- and was 
probably added because someone got caught with a file they could not 
edit after going to a new version of LyX, then backing out of the 
upgrade for some reason.  I am not sure whether this feature had been 
added earlier --- I don't have such backups around except those created 
by lyx 2.2.



--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Rich Shepard

On Tue, 2 Aug 2016, Jürgen Spitzmüller wrote:


Note that if you specify a backup directory in Tools > Preferences >
Paths, these files will end up there instead of the working directory,
which might disturb you less.


Jürgen,

  I'm not disturbed, just assumed they were backup files and deleted them.
No big deal.

  When I'm working on a project and prior verions need to be retained I
create a subversion directory for them and commit changes when they're made.

Thanks,

Rich


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Jürgen Spitzmüller
Am Dienstag, den 02.08.2016, 06:47 -0700 schrieb Rich Shepard:
> On Tue, 2 Aug 2016, Påvel Nicklasson wrote:
> 
> > I work on several projects in LyX. Lately I have noticed that in
> the same
> > folders as my .lyx files there is a second file called -lyxformat-
> 474.lyx.
> > For instance, if the regular file is called xxx.lyx. The second is
> called
> > xxx-lyxformat-474.lyx. The 474.lyx files seems to be old versions
> of the
> > regular files.
> 
>    I, too, have started to find these apparent backup files left in
> the
> document directory when I exit lyx. It would be nice for them to be
> cleaned
> up when the program exits, but I do it manually.

Note that if you specify a backup directory in Tools > Preferences >
Paths, these files will end up there instead of the working directory,
which might disturb you less.

Jürgen

> 
> Rich

signature.asc
Description: This is a digitally signed message part


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Steve Litt
On Tue, 2 Aug 2016 15:26:42 +0100
Dr Eberhard Lisse  wrote:

> find ~/ -name '*-lyxformat-*.lyx' -exec rm {] \;

Danger Will Robinson!

I personally would never run a one-liner that does deletions. My pencil
has an eraser because I make mistakes. A mistake with such a one liner
could do horrible things. I'd do something like this:

find ~/ -name '*-lyxformat-*.lyx' > danger.sh
### Edit danger.sh, prepend each line with "rm "
### Completely check danger.sh
. ./danger.sh

My way is sort of like "What you see is what you get." The 1liner way
is more like "You asked for it, you got it."

Did I mention that I make mistakes.
 
SteveT

Steve Litt 
July 2016 featured book: Troubleshooting Techniques
 of the Successful Technologist
http://www.troubleshooters.com/techniques


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Rich Shepard

On Tue, 2 Aug 2016, Richard Heck wrote:


It's a new feature with 2.2. When you load files with a new major release,
it has to be converted to the new format (which encodes various new
features). We had some cases where people tried to load files with 2.1 and
the file was for some reason corrupted. Of course, they had a backup. Or
not. So now we do not over- write the original file, but just rename it.


Richard,

  Works for me. When I upgrade I don't keep the older version installed. If
I work on a file created with a previous version I save the current flavor
and continue with that.

  I understand that others work differently so I appreciate you devs
accommodating their needs.

Regards,

Rich


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Richard Heck
On 08/02/2016 10:40 AM, Rich Shepard wrote:
> On Tue, 2 Aug 2016, David L. Johnson wrote:
>
>> These are being created since the files were edited by the new
>> version of
>> LyX you installed, which uses a newer format. LyX then auto-saves
>> them in
>> the old format so that you can edit it, if you need to, with an older
>> version of LyX. This seems to be a reasonable thing to do at the
>> start of
>> a new format, and will not occur when you edit files using LyX-2.2 that
>> are already in the new format.
>
> David,
>
>   Thanks for the clarification. I don't recall seeing these files when
> previous versions (from 1.0 on) were upgraded.

It's a new feature with 2.2. When you load files with a new major
release, it has
to be converted to the new format (which encodes various new features).
We had
some cases where people tried to load files with 2.1 and the file was
for some
reason corrupted. Of course, they had a backup. Or not. So now we do not
over-
write the original file, but just rename it.

Richard



Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Rich Shepard

On Tue, 2 Aug 2016, David L. Johnson wrote:


These are being created since the files were edited by the new version of
LyX you installed, which uses a newer format. LyX then auto-saves them in
the old format so that you can edit it, if you need to, with an older
version of LyX. This seems to be a reasonable thing to do at the start of
a new format, and will not occur when you edit files using LyX-2.2 that
are already in the new format.


David,

  Thanks for the clarification. I don't recall seeing these files when
previous versions (from 1.0 on) were upgraded.

Regards,

Rich


Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Dr Eberhard Lisse
find ~/ -name '*-lyxformat-*.lyx' -exec rm {] \;

el

On 2016-08-02 14:58, David L. Johnson wrote:
> On 08/02/2016 09:47 AM, Rich Shepard wrote:
>> On Tue, 2 Aug 2016, Påvel Nicklasson wrote:
>>
>>> I work on several projects in LyX. Lately I have noticed that in the
>>> same
>>> folders as my .lyx files there is a second file called
>>> -lyxformat-474.lyx.
>>> For instance, if the regular file is called xxx.lyx. The second is
>>> called
>>> xxx-lyxformat-474.lyx. The 474.lyx files seems to be old versions of the
>>> regular files.
>>
>>   I, too, have started to find these apparent backup files left in the
>> document directory when I exit lyx. It would be nice for them to be
>> cleaned
>> up when the program exits, but I do it manually.
>>
> These are being created since the files were edited by the new version
> of LyX you installed, which uses a newer format.  LyX then auto-saves
> them in the old format so that you can edit it, if you need to, with an
> older version of LyX.  This seems to be a reasonable thing to do at the
> start of a new format, and will not occur when you edit files using
> LyX-2.2 that are already in the new format.
> 
> -- 
>  
> David L. Johnson
> Department of Mathematics
> Lehigh University
> 




Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread David L. Johnson

On 08/02/2016 09:47 AM, Rich Shepard wrote:

On Tue, 2 Aug 2016, Påvel Nicklasson wrote:

I work on several projects in LyX. Lately I have noticed that in the 
same
folders as my .lyx files there is a second file called 
-lyxformat-474.lyx.
For instance, if the regular file is called xxx.lyx. The second is 
called

xxx-lyxformat-474.lyx. The 474.lyx files seems to be old versions of the
regular files.


  I, too, have started to find these apparent backup files left in the
document directory when I exit lyx. It would be nice for them to be 
cleaned

up when the program exits, but I do it manually.

These are being created since the files were edited by the new version 
of LyX you installed, which uses a newer format.  LyX then auto-saves 
them in the old format so that you can edit it, if you need to, with an 
older version of LyX.  This seems to be a reasonable thing to do at the 
start of a new format, and will not occur when you edit files using 
LyX-2.2 that are already in the new format.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Strange xxx-lyxformat-474.lyx files

2016-08-02 Thread Rich Shepard

On Tue, 2 Aug 2016, Påvel Nicklasson wrote:


I work on several projects in LyX. Lately I have noticed that in the same
folders as my .lyx files there is a second file called -lyxformat-474.lyx.
For instance, if the regular file is called xxx.lyx. The second is called
xxx-lyxformat-474.lyx. The 474.lyx files seems to be old versions of the
regular files.


  I, too, have started to find these apparent backup files left in the
document directory when I exit lyx. It would be nice for them to be cleaned
up when the program exits, but I do it manually.

Rich


Re: Strange font copy and paste problem

2014-12-06 Thread Murat Yildizoglu
Just to complete this, I also get the same problem when I paste the text
copied from LyX in a TextEdit window, so it does not seem to be specific to
Le Robert Correcteur.

2014-12-06 13:04 GMT+01:00 Murat Yildizoglu :

> Maybe this is not a LyX problem, I am not sure. But I only observe this
> with text pasted from LyX. I use LyX Version 2.1.2.2 for OSX 10.10.1.
>
> I am testing a new text correction (spelling/grammar/usage) software for
> French: Le Robert Correcteur (*LRC*). It does not come for a module for
> LyX of course, but it can check the text that is already on the clipboard
> when one types a keyboard shortcut.
>
> When I select the text in LyX and activate the copy in the clipboard and
> the keyboard shortcut for text verification, the pasted text comes without
> the accented characters in LRC. I have set the document for using utf8 for
> font encoding (I am not sure that this is relevant for the copied text),
> and I use the Latin Modern Sans Unitype font for the screen fonts for sans
> serif (this is a beamer doc), and Georgia for the roman fonts.
>
> Even stranger: when I paste the text in a GMail window in Firefox or in
> Safari, it comes complete with all the accented characters...
>
> It seems that the problem is mainly with LRC, but I do not know if there
> is a way to solve it, by changing an option in Lyx. It seems specific to
> LyX because if I copy an accented text from TeXMaker, for example, I do not
> observe it.
>
> Any idea how I could tell LyX to send the copied text in a format that is
> compatible with LRC (the documentation of LRC does not say a word about the
> format expected by it unfortunately, but it should be standard format for
> Mac because I do meet this proble with text pasted from elsewhere?
>
> Best regards,
>
> Murat
>
>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> mail: yildi-at-u-bordeaux4.fr
>
> web: yildizoglu.info
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: strange centering behavior in float

2013-10-11 Thread Jürgen Spitzmüller
Csikos Bela wrote:
> What do you mean by "empty \endcentering" ?
> empty \endcentering.

It means that \end{centering} calls \endcentering only if this command exists. 
This is due to the way LaTeX environments are defined (the environment end 
does not call \endcentering directly, but \csname endcentering\endcsname, 
which sets \endcentering to \relax if it is not defined. Hence, LaTeX does not 
complain about an undefined \endcentering, but just treat it as if th command 
was "empty".

Try
\newcommand\myname{Csikos Bela}

[...]

\begin{myname}
\end{myname}

Jürgen


Re: strange centering behavior in float

2013-10-11 Thread Csikos Bela
"Jürgen Spitzmüller"  írta:
>Am Freitag 11 Oktober 2013, 14:56:19 schrieb Csikos Bela:
>> What is begin{centering}?
>> 
>> I know of \centering command and center environment as
>> \begin{center}, \end{center}.
>> 
>> Can you give a definition of centering environment or a link
>> where it is described?
>
>The centering "environment" internally just calls \centering ... 
>\endcentering, with an empty \endcentering. You can do this with any switch, 
>although it is rather the consequence of LaTeX's questionable environment 
>implementation. LyX (mis)uses this, since it's easier than tracking switches.

Thanks.

If I understand correctly in latex you can write

\begin{centering}, which becomes/equals \centering,

and 

\end{centering},  which becomes/equals \endcentering.

What do you mean by "empty \endcentering" ?
empty \endcentering.

I have a question as well related to centering but as I don't want
to hijack the thread I will ask it separately.

Thanks,

bcsikos




Re: strange centering behavior in float

2013-10-11 Thread Jürgen Spitzmüller
Am Freitag 11 Oktober 2013, 14:56:19 schrieb Csikos Bela:
> What is begin{centering}?
> 
> I know of \centering command and center environment as
> \begin{center}, \end{center}.
> 
> Can you give a definition of centering environment or a link
> where it is described?

The centering "environment" internally just calls \centering ... 
\endcentering, with an empty \endcentering. You can do this with any switch, 
although it is rather the consequence of LaTeX's questionable environment 
implementation. LyX (mis)uses this, since it's easier than tracking switches.

Jürgen


Re: strange centering behavior in float

2013-10-11 Thread Csikos Bela
Liviu Andronic  írta:
>Dear all,
>I'm seeing this strange behavior when centering a paragraph within a
>table float. I see this  in both 2.0.6 and 2.1beta1.
>
>In the attached document, each table float contains an ERT inset (for
>subsequent use with Sweave) within a centered paragraph. If the ERT
>inset is above the caption, then the following construct is used:
>\begin{centering}
><<>>=
>2+2
>@
>\par\end{centering}

Liviu,

What is begin{centering}?

I know of \centering command and center environment as
\begin{center}, \end{center}.

Can you give a definition of centering environment or a link
where it is described?

Thanks,

bcsikos



Re: Strange behaviour of initials module aka drop-caps

2013-09-01 Thread John Kane
Thanks Paul. 

I don' know how I missed something as obvious as the Initial vs Standard
Tired? Still I am good at missing the blindingly obviouw.


I thought I'd removed the ShortInsertNames module. It's a new contributed 
module from Andrew Parsloe 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96008.html that I have 
become very fond of. It reduces screen clutter amazingly.



 From: Paul Rubin 
To: lyx-users@lists.lyx.org 
Sent: Sunday, September 1, 2013 4:43:00 PM
Subject: Re: Strange behaviour of initials module aka drop-caps
 

Your "works" file works for me, although I'm missing one of the modules you
loaded (short-inset-names), which apparently is not critical.

Your "doesn't work" file had two problems when I tried to fix. The first was
that it had no title (I added one). The second was that the environment
where you wanted the drop cap was "Standard" as opposed to "Initial". I
changed the environment to "Initial", put the leading 'A' in the short title
inset (which works for "Initial" but makes no sense for a standard
environment, which takes no options) and it worked fine.

Paul

Re: Strange behaviour of initials module aka drop-caps

2013-09-01 Thread Paul Rubin
Your "works" file works for me, although I'm missing one of the modules you
loaded (short-inset-names), which apparently is not critical.

Your "doesn't work" file had two problems when I tried to fix. The first was
that it had no title (I added one). The second was that the environment
where you wanted the drop cap was "Standard" as opposed to "Initial". I
changed the environment to "Initial", put the leading 'A' in the short title
inset (which works for "Initial" but makes no sense for a standard
environment, which takes no options) and it worked fine.

Paul




Re: Strange Error Messages

2013-05-20 Thread Julien Rioux

On 03/05/2013 10:33 AM, Alok Shukla wrote:

When I try to compile a lyx file (revtex4.1 style) on a machine on which
the latest version of texlive is installed, I get the following error
messages related to a table in which I am using multirow feature:

Undefined control sequence
Illegal unit of measure (pt inserted)
Missing number, treated as zero

However, when I compile the same lyx file on a machine on which older
texlive 2007 is installed, the file compiles beautifully, without any
error messages.

I wonder what is going on. I have the latest version of lyx 2.0.5.1 on
both the machines.

Thanks in advance

--Alok Shukla



Could we see an minimal example file that causes trouble?

--
Julien



Re: Strange Lyx Beamer error [Solved]

2013-02-14 Thread Murat Yildizoglu
Good news, I have been able to locate the problem using the SLM (Steve 
Litt Method): I was doing a somewhat anti-latex thing.


In Lyx, I am able to introduce a forced empty line by typing twice 
CMD+Return, and that looks OK on the screen, but, of course Latex does 
not like it at all, even if I introduce some small space before the line 
jump (such lines appear \,\\ in the exported latex). By replacing this 
inelegant construction by a CMD+Return + a vertical space the problem 
has been solved and my slide compiles.


So, beware of spaces looking OK on the Lyx screen, they can not respect 
the Latex's logical requirements...


Thank you again for your helps and suggestions, the Devil was in the 
invisibles this time.


Best regards,

Murat

stefano franchi a écrit :




On Thu, Feb 14, 2013 at 3:57 PM, Murat Yildizoglu mailto:myi...@gmail.com>> wrote:

Thanks Stefano,
Yes, that was one of the first things I have tried and it does not
make any difference. Moreover, I have other slide titles
with accents before this error, and they do not seem to pose a problem.


Well it was a shot in the dark...

How about creating a MWE---a one slide presentation, for instance---and
sending it to the list?

I somehow have the feeling you have some kind of encoding problem. I
have been burned by issues resulting from cutting and pasting from other
sources into Lyx before. Encodings were usually to blame.


  Cheers,


Stefano

--
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu 
http://stefano.cleinias.org


--
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yi...@u-bordeaux4.fr 

http://yildizoglu.info


Re: Strange Lyx Beamer error

2013-02-14 Thread stefano franchi
On Thu, Feb 14, 2013 at 3:57 PM, Murat Yildizoglu  wrote:

> Thanks Stefano,
> Yes, that was one of the first things I have tried and it does not make
> any difference. Moreover, I have other slide titles with accents before
> this error, and they do not seem to pose a problem.
>

Well it was a shot in the dark...

How about creating a MWE---a one slide presentation, for instance---and
sending it to the list?

I somehow have the feeling you have some kind of encoding problem. I have
been burned by issues resulting from cutting and pasting from other sources
into Lyx before. Encodings were usually to blame.


 Cheers,


Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Strange Lyx Beamer error

2013-02-14 Thread Murat Yildizoglu
Thanks Stefano,
Yes, that was one of the first things I have tried and it does not make any
difference. Moreover, I have other slide titles with accents before this
error, and they do not seem to pose a problem.

I will have to follow the famous Steve Litt methodology I think :-). :
creating a new document and adding incrementally the slides from the old
document until the emergence of the problem. I would really like to
understand the source of this problem, I never meet them when I directly
write in Latex, so I must do some stupid cooy and paste errors in Lyx...

Le jeudi 14 février 2013, stefano franchi a écrit :

> A shot in the dark:
>
> have you tried removing the accented characters (and only the accented
> characters) in the offending line and checked if the resulting file
> compiles from Lyx? That may point toward an encoding issue.
>
> Stefano
>
>
> On Thu, Feb 14, 2013 at 12:31 PM, Rich Shepard 
>  'rshep...@appl-ecosys.com');>
> > wrote:
>
>> On Thu, 14 Feb 2013, David L. Johnson wrote:
>>
>>  Only the end of the document needs a separate \frameend command, at least
>>> when you write it with LyX. I don't know how setting up multiple chapters
>>> might change that, since I only use Beamer for lectures.
>>>
>>
>> David,
>>
>>   Huh! That's interesting. I've always put a \frameend command after each
>> frame within LyX. Hasn't hurt anything. But, similar to your use, I use
>> the
>> result for presentation and workshop visuals not as stand-alone documents.
>>
>> Thanks for the insight,
>>
>> Rich
>>
>>
>>
>
>
> --
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A&M University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
>
> stef...@tamu.edu 
> http://stefano.cleinias.org
>


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

yi...@u-bordeaux4.fr

http://yildizoglu.info

http://www.twitter.com/yildizoglu


Re: Strange Lyx Beamer error

2013-02-14 Thread stefano franchi
A shot in the dark:

have you tried removing the accented characters (and only the accented
characters) in the offending line and checked if the resulting file
compiles from Lyx? That may point toward an encoding issue.

Stefano


On Thu, Feb 14, 2013 at 12:31 PM, Rich Shepard wrote:

> On Thu, 14 Feb 2013, David L. Johnson wrote:
>
>  Only the end of the document needs a separate \frameend command, at least
>> when you write it with LyX. I don't know how setting up multiple chapters
>> might change that, since I only use Beamer for lectures.
>>
>
> David,
>
>   Huh! That's interesting. I've always put a \frameend command after each
> frame within LyX. Hasn't hurt anything. But, similar to your use, I use the
> result for presentation and workshop visuals not as stand-alone documents.
>
> Thanks for the insight,
>
> Rich
>
>
>


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Strange Lyx Beamer error

2013-02-14 Thread Rich Shepard

On Thu, 14 Feb 2013, David L. Johnson wrote:


Only the end of the document needs a separate \frameend command, at least
when you write it with LyX. I don't know how setting up multiple chapters
might change that, since I only use Beamer for lectures.


David,

  Huh! That's interesting. I've always put a \frameend command after each
frame within LyX. Hasn't hurt anything. But, similar to your use, I use the
result for presentation and workshop visuals not as stand-alone documents.

Thanks for the insight,

Rich




Re: Strange Lyx Beamer error

2013-02-14 Thread David L. Johnson

On 02/14/2013 01:13 PM, Rich Shepard wrote:

On Thu, 14 Feb 2013, Murat Yildizoglu-BX4 wrote:

I am writing a course using the Beamer template in Lyx. I have 
already use
this template to write many documents, but for this chapter, I 
started to

get a strange error :



l.291 \lyxframeend
{}\lyxframe{R?p?ter des instructions}


  Do you have an endframe command at the bottom of the whole document? I
tripped over that early in my use of the beamer class. Each frame, and 
the

end of the document, needs a \frameend command.

Rich
Only the end of the document needs a separate \frameend command, at 
least when you write it with LyX.  I don't know how setting up multiple 
chapters might change that, since I only use Beamer for lectures.


--

David L. Johnson
Department of Mathematics
Lehigh University



Re: Strange Lyx Beamer error

2013-02-14 Thread Rich Shepard

On Thu, 14 Feb 2013, Murat Yildizoglu-BX4 wrote:


I am writing a course using the Beamer template in Lyx. I have already use
this template to write many documents, but for this chapter, I started to
get a strange error :



l.291 \lyxframeend
{}\lyxframe{R?p?ter des instructions}


  Do you have an endframe command at the bottom of the whole document? I
tripped over that early in my use of the beamer class. Each frame, and the
end of the document, needs a \frameend command.

Rich



Re: Strange Behaivor: xdg-open left as zombie

2013-01-06 Thread Guy Rutenberg
Hi,

On 5 January 2013 22:02, Richard Heck  wrote:

> This should be reported to the Ubuntu people. They include a patch that
> uses xdg-open for this kind of purpose. The LyX sources do not include that
> patch, for other reasons.
>
>
I've reported the bug in
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/109

Ubuntu users: If you're using Ubuntu and can confirm it affects you, please
indicate it that bug report.

Thanks,

Guy


Re: Strange Behaivor: xdg-open left as zombie

2013-01-05 Thread Richard Heck

On 01/05/2013 02:02 PM, Guy Rutenberg wrote:

Hi All,

I've encountered a strange behavior and wanted to see if anyone else 
expriences it before opening a bug report.


Every time I try to view a document [Ctrl+R] lyx uses xdg-open to open 
my default pdf viewer (in my case evince). However, even after I close 
the evince window, lyx seems to leave the xdg-process as a zombie process.


These zombie processes pile up every time you view a document. Apart 
from this, this doesn't seem to have any side-effects.


I guess it should be easy to fix (I can probably even attempt to patch 
it myself).


This should be reported to the Ubuntu people. They include a patch that 
uses xdg-open for this kind of purpose. The LyX sources do not include 
that patch, for other reasons.


I'm currently using LyX 2.0.2 on Ubuntu 12.04. I'm currently having 
problems verifying this on a recent git version of lyx, bu I'll try to 
do so soon.



Probaby for the reason just given.

rh



Re: Strange behaviour on user command defined in preamble.

2012-07-27 Thread Guenter Milde
On 2012-07-26, Carlos Eduardo de Brito Novaes wrote:

> I use lyx for some years, and use some (very few) advanced features. By
> now I intend to create a command to create a list of simbols in abnt
> style. So I wrote this in the preamble, for testing reasons only.

> \newcommand{\simbolo}[2]
> {
>   \ifthenelse{\equal{#1}{}}
> {Then1}
> {Else1}
>  \ifthenelse{\equal{#2}{}}
> {Then2}
> {Else2}
> }

> And in plain latex I would use:

> ...a vector defined in 
>  \simbolo{$R^{n}$}{Euclidian Space of dimension n} is ...

> wich works as expected.

> But in lyx, I had found out that if I insert a ert (wrote ert in <> and the 
> text in $$ is inserted with lyx math mode): 

Don't nest an ERT-inset in a math-inset. Instead, type in a math-box

   \simbolo{
   
and you will get the LaTeX $\simbolo{ } with the cursor between the braces
(open View>LaTeX Source to see the effect).

Now insert the first argument and type

   \{
   
to get an unescaped pair of braces for the second argument.

This is described in the mathematics manual (Help>Maths).
   
> Do you have any suggestions?

Consider creating a math-macro instead of a preamble definition. (Again, see
the mathematics manual for guidance.

Günter




Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread PhilipPirrip
Why don't you try this: 
http://www.ctan.org/tex-archive/macros/latex/contrib/acronym/acronym.pdf


(Though I never worked with it, I think that Insert>Nomenclature 
entry... could do the same within LyX)




Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
Just for information, the actual command definition is presented below.
I plan to use at the very first time a symbol is declared so it will get 
written 
to the list of symbols with the corresponding description.

\newcommand{\simbolo}[2]
{
  \ifthenelse{\equal{#2}{}}
{\addcontentsline{los}{simbolo}{#1}#1}
{\addcontentsline{los}{simbolo}{#1: #2}#1}
}





Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes

I tried to replicate this error by setting a different language on different 
sections
(something I do frequently in citations and for some expressions), but I 
cant reproduce the error anymore. Maybe if I mess up the text a little.

Thanks for the help.



Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes

I tried to replicate this error by setting a different language on different 
sections
(something I do frequently in citations and for some expressions), but I 
cant reproduce the error anymore. Maybe if I mess up the text a little.

Thanks for the help.





Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread Carlos Eduardo de Brito Novaes
This test case worked here too. Just my file behave strange, if I wrote some 
parts I got no errors, but if I copy the section that gave-me errors in your 
example it works fine.
I found out that for some reason the lyx code had an line "\lang brasilian" 
just 
after the section that does not work, I just open the lyx file in a text editor 
and deleted that line. Everything works fine now.




Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread PhilipPirrip

The attached example works for me, an produces


-

Else1 Else2 is















-


simbolo-minimal.lyx
Description: application/lyx


Re: Strange behaviour on user command defined in preamble.

2012-07-26 Thread PhilipPirrip



Do you have any suggestions?


Minimal example .lyx file please.



Re: Strange bug with inputenc, listings and a character in UTF8 in a document header

2012-06-10 Thread Jürgen Spitzmüller
2012/6/10 Marcin Zajączkowski:
> I tried also the third workaround, but for listing in a Text Style menu
> there are active only the bottom three positions (capitalize, uppercase
> and lowercase). Dissolve Text Styles and Customized is inactive. Do I
> have to do something more?

You do not have to put the cursor _in_ the listings, but select the
whole listings inset from outside.

> Btw, why the problem occurs only sometimes?

I suppose it depends whether the encoding is active when the header is
written (at page break?) or not.

Jürgen

> Regards
> Marcin


Re: Strange bug with inputenc, listings and a character in UTF8 in a document header

2012-06-09 Thread Marcin Zajączkowski
On 2012-06-10 00:27, Jürgen Spitzmüller wrote:
> 2012/6/9 Marcin Zajączkowski:
>> I spotted that the problem occurs only when there is a Polish national
>> character in a document header (e.g. \rhead{\bfseries ę}). I don't know
>> why this is a problem. I have set UTF8 encoding in a document. Problem
>> reproducible with Lyx 2.0.3 and a following document:
>> http://timeoff.wsisiz.edu.pl/tmp/mla/problem-with-inputenc-and-listings.lyx
> 
> The problem results from the fact that LyX has to switch to latin9
> (the default encoding of your document's main language, English) for
> listings (since listings does not support unicode), and this latin9
> encoding is active when your header is written. Workarounds: (1) Use
> macros for non-latin9 chars in the header (i.e., \k{e} instead of ę),

Thanks Jürgen for your quick reply.

As a document is in English and the only problematic letter is in my
surname the first solution seems to be the easier to adapt for me.

> (2) set the document language to Polish (given the document is in
> Polish, of course) or (3) select the listing and change the language
> in Edit > Text Style to Polish just for the listing. (2) and (3) will
> cause the switch to be to latin2.

I tried also the third workaround, but for listing in a Text Style menu
there are active only the bottom three positions (capitalize, uppercase
and lowercase). Dissolve Text Styles and Customized is inactive. Do I
have to do something more?

Btw, why the problem occurs only sometimes?

Regards
Marcin


Re: Strange bug with inputenc, listings and a character in UTF8 in a document header

2012-06-09 Thread Jürgen Spitzmüller
2012/6/9 Marcin Zajączkowski:
> I spotted that the problem occurs only when there is a Polish national
> character in a document header (e.g. \rhead{\bfseries ę}). I don't know
> why this is a problem. I have set UTF8 encoding in a document. Problem
> reproducible with Lyx 2.0.3 and a following document:
> http://timeoff.wsisiz.edu.pl/tmp/mla/problem-with-inputenc-and-listings.lyx

The problem results from the fact that LyX has to switch to latin9
(the default encoding of your document's main language, English) for
listings (since listings does not support unicode), and this latin9
encoding is active when your header is written. Workarounds: (1) Use
macros for non-latin9 chars in the header (i.e., \k{e} instead of ę),
(2) set the document language to Polish (given the document is in
Polish, of course) or (3) select the listing and change the language
in Edit > Text Style to Polish just for the listing. (2) and (3) will
cause the switch to be to latin2.

HTH
Jürgen


Re: strange behaviour in increase depth key button

2012-05-03 Thread Jean-Marc Lasgouttes

Le 27/06/2009 23:48, Adrian Diaz a écrit :

Hi friends

i do not understand the behaviour of lyx 1.6.2. When i use the increase
depth key-button
on the lyx editor i can see the efect on the text (i have attached the
file example_problem.lyx)
However when i want to watch in pdf file, something strange has happened
( see the file example_problem_box.pdf).


Hello again Adrian :)

I stumbled on your 2009 message in my mailbox today and noticed that, 
although the problem was correctly diagnosed at the time, nothing 
happened. Assuming you still use LyX, you will be glad to hear that the 
bug is now fixed in trunk for spanish and galician.


JMarc



Re: Strange problem with the LilyPond module

2012-04-05 Thread Julien Rioux

On 05/04/2012 5:52 AM, Tao Cumplido wrote:

Tao Cumplido  gmx.net>  writes:



You may also add the command option "--loglevel=DEBUG" to the
lilypond-book converter.


Where would I do that?


Never mind, I found it. The log below is from the example file lilypond.lyx.

I pasted the log here since gmane didn't allow me to post it.
http://pastebin.com/JVzHBixa




So lilypond-book complains that a -systems.count file is missing. This 
is either a bug in lilypond (it should generate the -systems.count file 
always) or in lilypond-book (it should know that -systems.count files 
are not always generated). In any case in should probably be 
investigated with the smallest possible example and reported to the 
lilypond project.


In the meantime you may try to get around the bug by adding the 
command-line option "--skip-lily-check" to the lilypond-book converter.


Cheers,
Julien



Re: Strange problem with the LilyPond module

2012-04-05 Thread Tao Cumplido
Tao Cumplido  gmx.net> writes:


> > You may also add the command option "--loglevel=DEBUG" to the 
> > lilypond-book converter.
> 
> Where would I do that?

Never mind, I found it. The log below is from the example file lilypond.lyx.

I pasted the log here since gmane didn't allow me to post it.
http://pastebin.com/JVzHBixa



Re: Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Julien Rioux  physics.utoronto.ca> writes:

> 
> Is there anything else in View > View Messages that might be useful in 
> debugging?

As far as I remember no, but I'll try again as soon as I can and post the whole
log.

> You may also add the command option "--loglevel=DEBUG" to the 
> lilypond-book converter.

Where would I do that?

> When you run lilypond-book manually, what is 
> the exact command line that you used?

lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=tmpdir
lilypond.lytex

I tried to Export > LilyPond-Book (LaTeX) but I get an utf-8 error because there
are some unicode characters in my document not recognized by latex, so maybe
it'd be good to have an export option LilyPond-Book (XeTeX) or something.

For now I replaced all lilypond code inside lyx with pregenerated images from
lilypond.

Thanks for your help.






Re: Strange problem with the LilyPond module

2012-04-04 Thread Julien Rioux

On 04/04/2012 7:52 AM, Tao Cumplido wrote:

Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
.../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf "lilypond.lytex"'
finished with exit code 1




Is there anything else in View > View Messages that might be useful in 
debugging? You may also add the command option "--loglevel=DEBUG" to the 
lilypond-book converter. When you run lilypond-book manually, what is 
the exact command line that you used?


--
Julien



Re: strange error in Lyx

2012-02-10 Thread Wolfgang Engelmann

> 
> Try compiling without adding anything to the preamble. To note simply
> states that these packages should be installed on your system. "was" is
> obviously installed, and it consists of the style files "fixmath",
> "gensymb", etc. as you have observed. One of these must be needed by the
> Math manual. But in fact you should not need to edit anything within
> that file in order to get it to compile. (if you do get compile errors,
> please report them of course!)
> 
> Cheers,
> Julien

The direct pdf export from the LyXs Math manual of the help file is working. 
Thanks

Wolfgang


Re: strange error in Lyx

2012-02-09 Thread Julien Rioux

On 09/02/2012 4:07 AM, Wolfgang Engelmann wrote:

I am trying now to understand better the math stuff of LyX by reading
Mathlyx in the help of LyX.

Trying to export Mathlyx to pdf I have downloaded the file (since it is
write protected).
For Mathlyx export it says:
To export this document to PDF, PS or DVI the LaTeX-packages braket,
cancel, eurosym, mathdots, mhchem and was should be installed.

I included those in the preamble, but get

! LaTeX Error: File `was.sty' not found.
Type X to quit or  to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.

l.182 ^^M
*** (cannot \read from terminal in nonstop modes)

I am using texlife 2011

which has under

/tex/latex/was

as a directory

with the styles
fixmath gensymb icomma and upgreek

should there be in this directory also a was-style?
Is it missing in texlife 2011?
Or should I include the styles
fixmath gensymb icomma and upgreek
as usepackages in the preamble instead?

Wolfgang



Try compiling without adding anything to the preamble. To note simply 
states that these packages should be installed on your system. "was" is 
obviously installed, and it consists of the style files "fixmath", 
"gensymb", etc. as you have observed. One of these must be needed by the 
Math manual. But in fact you should not need to edit anything within 
that file in order to get it to compile. (if you do get compile errors, 
please report them of course!)


Cheers,
Julien



Re: strange error in Lyx

2012-02-09 Thread Wolfgang Engelmann
Am Dienstag, 7. Februar 2012, 22:33:48 schrieb Julien Rioux:

> 
> I don't know but you have \mu inside of \mathrm, maybe this is the
> issue?

Thanks, Julien

for your suggestion. I had given up the hope to get an answer. You seem to 
be a soul-engeneer answering those poor guys who answer such complicated 
questions that nobody dares to respond to. I appreciate it! 

But,
here we go:

I am trying now to understand better the math stuff of LyX by reading 
Mathlyx in the help of LyX.

Trying to export Mathlyx to pdf I have downloaded the file (since it is 
write protected). 
For Mathlyx export it says:
To export this document to PDF, PS or DVI the LaTeX-packages braket, 
cancel, eurosym, mathdots, mhchem and was should be installed.

I included those in the preamble, but get

! LaTeX Error: File `was.sty' not found.
Type X to quit or  to proceed,
or enter new name. (Default extension: sty)
Enter file name: 
! Emergency stop.
  
l.182 ^^M 
*** (cannot \read from terminal in nonstop modes)

I am using texlife 2011

which has under 

/tex/latex/was

as a directory

with the styles
fixmath gensymb icomma and upgreek

should there be in this directory also a was-style?
Is it missing in texlife 2011?
Or should I include the styles
fixmath gensymb icomma and upgreek
as usepackages in the preamble instead?

Wolfgang


Re: strange error in Lyx

2012-02-07 Thread Julien Rioux

On 27/01/2012 4:00 AM, Wolfgang Engelmann wrote:

Hallo,

I got a strange error after running LyX
and trying to export it as pdflatex:
pdfTeX error (ext4): \pdendflink ended up in different nesting level than \pd

which I traced to

Lichtflüssen zwischen 0.5
   und 75\thinspace\mathrm{\mu mol/m^{2}/s}
   (siehe Abbildung [fig:Licht-Sharma]). Bei Flüssen bis zu
20\mathrm{\thinspace\mu mol/m^{2}/s}
   änderte sich die Periode nicht

If I take the
20\mathrm{\thinspace\mu mol/m^{2}/s}
out, the error is gone and the pdf output works.

Now if I copy

75\thinspace\mathrm{\mu mol/m^{2}/s}

to the place of
  20\mathrm{\thinspace\mu mol/m^{2}/s}
(replacing it)

I get again the error meaning that it is not the sequence
\thinspace\mathrm
respectively
\mathrm{\thinspace

which caused the error


The strangest finding is, if I put the
Bibtex generated Bibliography
mark at the end of my Koma book (twosided, twocolumn)
in a lyx note thus commenting it out the error vanishs.

This was in fact the way I started the search for the error, because I
thought removing the Bibliography entrance is a fast and effective way to
find out whether a reference is causing the problem.


#
In the meantime I have experimented a bit more stripping my document to a
few lines and it seems that the upgreek is causing the trouble.
--->
Package upgreek Info: Using Euler Roman for upright Greek on input line 31.
\symugrf@m=\mathgroup6
LaTeX Font Info:Overwriting symbol font `ugrf@m' in version `bold'
(Font)  U/eur/m/n -->  U/eur/b/n on input line 38.
)

but why does the erro occur only if I use the math expression twice?

Wolfgang






I don't know but you have \mu inside of \mathrm, maybe this is the issue?

Regards,
Julien



Re: Strange file viewer for file formats

2012-02-07 Thread Julien Rioux

On 18/01/2012 12:07 PM, HHa wrote:

In Tools->properties->file handling->file format I find several choices
for e. g. simple text, latex, pdf, but for each group there is only onw
viewer. What is the purpose of the choices?


It allows you to select the viewer that is launched according to the 
format you would like to view? I think I am missing the point of your 
question, please clarify.


Regards,
Julien



Re: Strange biblatex error on a different machine

2012-01-05 Thread Peter Baumgartner
Dominik,

You were right! The installation of my coauthor is using an older version,
which was uploaded manually to a place in the tex path which has precedence
over the new installation.

I'm a little embarrassed as I should have checked the versions first of all.
Thanks for your help!

Peter 




Re: Strange biblatex error on a different machine

2012-01-05 Thread Dominik Waßenhoven
.:|Peter Baumgartner|:. wrote:

> File: authoryear-icomp.cbx 2011/06/08 v1.5 biblatex citation style

Compare the version number of this file. Is it the same? If not, you
have different versions of biblatex.

Regards,
Dominik.-
-- 



Re: Strange bibtex error with Lyx

2011-11-07 Thread Julien Rioux

On 07/11/2011 6:01 PM, Murat Yildizoglu wrote:

The problem seems to be with natbib in my case. If I choose implicit in the
document bibtex properties and use harvard.sty with the agsm style for my
bibliography, it works.
I like the flexibility of Natbib for citing references.

While using natbib, I have tried plainnat and several authord-date bibtex
styles. Am I doing something stupid? Are these styles compatible with
Natbib (plainnat seems to be, given the information I have read in the
Natbib documentation pdf).

Very strange... Because I have been able to use natbib with LyX before, I
am very surprised by this problem. As you can see in the extracts of the
..bbl file I have attached, all main fields of the references (like title)
are transformed to "newblock" when I use Natbib + author-year in document
properties and plainnat in the references style box, at teh end of my
document.

2011/11/7 Julien Rioux


On 04/11/2011 5:48 AM, Murat Yildizoglu wrote:


Hello,

I am converting a pure latex beamer to a Lyx beamer file. I get a very
strange error that puzzles me. I have searched the net and tried different
things in the exported Latex file, but if I keep the bibliography, the
problem remains. I do not know where to search any more and calling on
you,
hoping that you would have an idea about where to look I give the
corresponding elements below (follow the *** ).

 The error I get:

] (./chap1intro-lyx.bbl


! LaTeX Error: \newblock undefined.


l.1 \begin{thebibliography}{3}



*** I can indeed see such instructions in the bbl file introduced by
Bibtex. I have choosen Natbib (author-year,plainat) in Lyx as the
bibliography style.


\begin{thebibliography}{3}

\providecommand{\natexlab}[1]{**#1}

\providecommand{\url}[1]{\**texttt{#1}}

\expandafter\ifx\csname urlstyle\endcsname\relax

   \providecommand{\doi}[1]{doi: #1}\else

   \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi


\bibitem[Binmore(1999)]{**Binmore99}

Ken Binmore.

\newblock \emph{Jeux et Th\'eorie Des Jeux}.

\newblock De Boeck Universit\'e, Bruxelles, 1999.



*** The bibliography line at the bottom of the Latex file :

\lyxframeend{}\lyxframe{**Bibliographie}

\bibliographystyle{plainnat}

\bibliography{yildi,evol,**biblio}

  \lyxframeend{}

\end{document}


*** My preamble contains the following declarations (exported to
Latex(pdflatex) from Lyx) :


%% LyX 2.0.1 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[french]{beamer}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\setcounter{secnumdepth}{3}

\setcounter{tocdepth}{3}

\usepackage{color}

\usepackage{babel}

\addto\extrasfrench{%

\providecommand{\og}{\**leavevmode\flqq~}%

\providecommand{\fg}{\ifdim\**lastskip>\z@\unskip\fi~\frqq}%

}

\usepackage{amsmath}

\usepackage{amssymb}

\usepackage{graphicx}

\usepackage[authoryear]{**natbib}

\ifx\hypersetup\undefined

\AtBeginDocument{%

\hypersetup{unicode=true,**pdfusetitle,

bookmarks=true,**bookmarksnumbered=false,**bookmarksopen=false,

breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=**true}

}

\else

\hypersetup{unicode=true,**pdfusetitle,

bookmarks=true,**bookmarksnumbered=false,**bookmarksopen=false,

breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=**true}

\fi

\makeatletter

%% Textclass specific LaTeX commands.

% this default might be overridden by plain title style

\newcommand\makebeamertitle{\**frame{\maketitle}}%

\AtBeginDocument{

\let\origtableofcontents=\**tableofcontents

\def\tableofcontents{\@**ifnextchar[{\**origtableofcontents}{\**
gobbletableofcontents}}

\def\gobbletableofcontents#1{\**origtableofcontents}

}

\usepackage{microtype}

\long\def\lyxframe#1{\@**lyxframe#1\@lyxframestop}%

\def\@lyxframe{\@ifnextchar<{\**@@lyxframe}{\@@lyxframe<*>}}%

\def\@@lyxframe<#1>{\@**ifnextchar[{\@@@lyxframe<#1>}{**
\@@@lyxframe<#1>[]}}

\def\@@@lyxframe<#1>[{\@**ifnextchar<{\@lyxframe<#1>**
[}{\lyxframe<#1>[<*>][}}

\def\@lyxframe<#1>[#2]{\@**ifnextchar[{\lyxframe<#1>[**
#2]}{\lyxframe<#1>[#2][]}}

\long\def\lyxframe<#1>[#2]**[#3]#4\@lyxframestop#5\**lyxframeend{%

\frame<#1>[#2][#3]{\**frametitle{#4}#5}}

\def\lyxframeend{} % In case there is a superfluous frame end

%% User specified LaTeX commands.



Hi,

If I remember correctly I think \newblock is usually defined by the BibTeX
style file (.bst file) just like \url, \doi, etc. If that's right then
you're seeing a bug in that style file.

You can quickly fix it by defining this command yourself in the preamble
of your document.

--
Julien







Hi Murat,

What I wrote earlier about \newblock being defined by the style file was 
wrong. It is defined by natbib.sty but somehow undefined when used 
together with beamer.cls; some googling revealed that this is a known 
incompatibility problem between natbib and beamer, and the solution is

\def\

Re: Strange bibtex error with Lyx

2011-11-07 Thread Murat Yildizoglu
The problem seems to be with natbib in my case. If I choose implicit in the
document bibtex properties and use harvard.sty with the agsm style for my
bibliography, it works.
I like the flexibility of Natbib for citing references.

While using natbib, I have tried plainnat and several authord-date bibtex
styles. Am I doing something stupid? Are these styles compatible with
Natbib (plainnat seems to be, given the information I have read in the
Natbib documentation pdf).

Very strange... Because I have been able to use natbib with LyX before, I
am very surprised by this problem. As you can see in the extracts of the
.bbl file I have attached, all main fields of the references (like title)
are transformed to "newblock" when I use Natbib + author-year in document
properties and plainnat in the references style box, at teh end of my
document.

2011/11/7 Julien Rioux 

> On 04/11/2011 5:48 AM, Murat Yildizoglu wrote:
>
>> Hello,
>>
>> I am converting a pure latex beamer to a Lyx beamer file. I get a very
>> strange error that puzzles me. I have searched the net and tried different
>> things in the exported Latex file, but if I keep the bibliography, the
>> problem remains. I do not know where to search any more and calling on
>> you,
>> hoping that you would have an idea about where to look I give the
>> corresponding elements below (follow the *** ).
>>
>>  The error I get:
>>
>> ] (./chap1intro-lyx.bbl
>>
>>
>> ! LaTeX Error: \newblock undefined.
>>
>>
>> l.1 \begin{thebibliography}{3}
>>
>>
>>
>> *** I can indeed see such instructions in the bbl file introduced by
>> Bibtex. I have choosen Natbib (author-year,plainat) in Lyx as the
>> bibliography style.
>>
>>
>> \begin{thebibliography}{3}
>>
>> \providecommand{\natexlab}[1]{**#1}
>>
>> \providecommand{\url}[1]{\**texttt{#1}}
>>
>> \expandafter\ifx\csname urlstyle\endcsname\relax
>>
>>   \providecommand{\doi}[1]{doi: #1}\else
>>
>>   \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi
>>
>>
>> \bibitem[Binmore(1999)]{**Binmore99}
>>
>> Ken Binmore.
>>
>> \newblock \emph{Jeux et Th\'eorie Des Jeux}.
>>
>> \newblock De Boeck Universit\'e, Bruxelles, 1999.
>>
>>
>>
>> *** The bibliography line at the bottom of the Latex file :
>>
>> \lyxframeend{}\lyxframe{**Bibliographie}
>>
>> \bibliographystyle{plainnat}
>>
>> \bibliography{yildi,evol,**biblio}
>>
>>  \lyxframeend{}
>>
>> \end{document}
>>
>>
>> *** My preamble contains the following declarations (exported to
>> Latex(pdflatex) from Lyx) :
>>
>>
>> %% LyX 2.0.1 created this file. For more info, see http://www.lyx.org/.
>>
>> %% Do not edit unless you really know what you are doing.
>>
>> \documentclass[french]{beamer}
>>
>> \usepackage[T1]{fontenc}
>>
>> \usepackage[latin9]{inputenc}
>>
>> \setcounter{secnumdepth}{3}
>>
>> \setcounter{tocdepth}{3}
>>
>> \usepackage{color}
>>
>> \usepackage{babel}
>>
>> \addto\extrasfrench{%
>>
>> \providecommand{\og}{\**leavevmode\flqq~}%
>>
>> \providecommand{\fg}{\ifdim\**lastskip>\z@\unskip\fi~\frqq}%
>>
>> }
>>
>> \usepackage{amsmath}
>>
>> \usepackage{amssymb}
>>
>> \usepackage{graphicx}
>>
>> \usepackage[authoryear]{**natbib}
>>
>> \ifx\hypersetup\undefined
>>
>> \AtBeginDocument{%
>>
>> \hypersetup{unicode=true,**pdfusetitle,
>>
>> bookmarks=true,**bookmarksnumbered=false,**bookmarksopen=false,
>>
>> breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=**true}
>>
>> }
>>
>> \else
>>
>> \hypersetup{unicode=true,**pdfusetitle,
>>
>> bookmarks=true,**bookmarksnumbered=false,**bookmarksopen=false,
>>
>> breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=**true}
>>
>> \fi
>>
>> \makeatletter
>>
>> %% Textclass specific LaTeX commands.
>>
>> % this default might be overridden by plain title style
>>
>> \newcommand\makebeamertitle{\**frame{\maketitle}}%
>>
>> \AtBeginDocument{
>>
>> \let\origtableofcontents=\**tableofcontents
>>
>> \def\tableofcontents{\@**ifnextchar[{\**origtableofcontents}{\**
>> gobbletableofcontents}}
>>
>> \def\gobbletableofcontents#1{\**origtableofcontents}
>>
>> }
>>
>> \usepackage{microtype}
>>
>> \long\def\lyxframe#1{\@**lyxframe#1\@lyxframestop}%
>>
>> \def\@lyxframe{\@ifnextchar<{\**@@lyxframe}{\@@lyxframe<*>}}%
>>
>> \def\@@lyxframe<#1>{\@**ifnextchar[{\@@@lyxframe<#1>}{**
>> \@@@lyxframe<#1>[]}}
>>
>> \def\@@@lyxframe<#1>[{\@**ifnextchar<{\@lyxframe<#1>**
>> [}{\lyxframe<#1>[<*>][}}
>>
>> \def\@lyxframe<#1>[#2]{\@**ifnextchar[{\lyxframe<#1>[**
>> #2]}{\lyxframe<#1>[#2][]}}
>>
>> \long\def\lyxframe<#1>[#2]**[#3]#4\@lyxframestop#5\**lyxframeend{%
>>
>> \frame<#1>[#2][#3]{\**frametitle{#4}#5}}
>>
>> \def\lyxframeend{} % In case there is a superfluous frame end
>>
>> %% User specified LaTeX commands.
>>
>>
> Hi,
>
> If I remember correctly I think \newblock is usually defined by the BibTeX
> style file (.bst file) just like \url, \doi, etc. If that's right then
> you're seeing a bug in that style file.
>
> You can quickly fix it by defining

Re: Strange bibtex error with Lyx

2011-11-07 Thread Murat Yildizoglu
Thanks Julien 
I will check this

--
Murat Yildizoglu
yi...@u-bordeaux4.fr

Le 7 nov. 2011 à 22:11, Julien Rioux  a écrit :

> On 04/11/2011 5:48 AM, Murat Yildizoglu wrote:
>> Hello,
>> 
>> I am converting a pure latex beamer to a Lyx beamer file. I get a very
>> strange error that puzzles me. I have searched the net and tried different
>> things in the exported Latex file, but if I keep the bibliography, the
>> problem remains. I do not know where to search any more and calling on you,
>> hoping that you would have an idea about where to look I give the
>> corresponding elements below (follow the *** ).
>> 
>>  The error I get:
>> 
>> ] (./chap1intro-lyx.bbl
>> 
>> 
>> ! LaTeX Error: \newblock undefined.
>> 
>> 
>> l.1 \begin{thebibliography}{3}
>> 
>> 
>> 
>> *** I can indeed see such instructions in the bbl file introduced by
>> Bibtex. I have choosen Natbib (author-year,plainat) in Lyx as the
>> bibliography style.
>> 
>> 
>> \begin{thebibliography}{3}
>> 
>> \providecommand{\natexlab}[1]{#1}
>> 
>> \providecommand{\url}[1]{\texttt{#1}}
>> 
>> \expandafter\ifx\csname urlstyle\endcsname\relax
>> 
>>   \providecommand{\doi}[1]{doi: #1}\else
>> 
>>   \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi
>> 
>> 
>> \bibitem[Binmore(1999)]{Binmore99}
>> 
>> Ken Binmore.
>> 
>> \newblock \emph{Jeux et Th\'eorie Des Jeux}.
>> 
>> \newblock De Boeck Universit\'e, Bruxelles, 1999.
>> 
>> 
>> 
>> *** The bibliography line at the bottom of the Latex file :
>> 
>> \lyxframeend{}\lyxframe{Bibliographie}
>> 
>> \bibliographystyle{plainnat}
>> 
>> \bibliography{yildi,evol,biblio}
>> 
>>  \lyxframeend{}
>> 
>> \end{document}
>> 
>> 
>> *** My preamble contains the following declarations (exported to
>> Latex(pdflatex) from Lyx) :
>> 
>> 
>> %% LyX 2.0.1 created this file. For more info, see http://www.lyx.org/.
>> 
>> %% Do not edit unless you really know what you are doing.
>> 
>> \documentclass[french]{beamer}
>> 
>> \usepackage[T1]{fontenc}
>> 
>> \usepackage[latin9]{inputenc}
>> 
>> \setcounter{secnumdepth}{3}
>> 
>> \setcounter{tocdepth}{3}
>> 
>> \usepackage{color}
>> 
>> \usepackage{babel}
>> 
>> \addto\extrasfrench{%
>> 
>> \providecommand{\og}{\leavevmode\flqq~}%
>> 
>> \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%
>> 
>> }
>> 
>> \usepackage{amsmath}
>> 
>> \usepackage{amssymb}
>> 
>> \usepackage{graphicx}
>> 
>> \usepackage[authoryear]{natbib}
>> 
>> \ifx\hypersetup\undefined
>> 
>> \AtBeginDocument{%
>> 
>> \hypersetup{unicode=true,pdfusetitle,
>> 
>> bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>> 
>> breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=true}
>> 
>> }
>> 
>> \else
>> 
>> \hypersetup{unicode=true,pdfusetitle,
>> 
>> bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,
>> 
>> breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=true}
>> 
>> \fi
>> 
>> \makeatletter
>> 
>> %% Textclass specific LaTeX commands.
>> 
>> % this default might be overridden by plain title style
>> 
>> \newcommand\makebeamertitle{\frame{\maketitle}}%
>> 
>> \AtBeginDocument{
>> 
>> \let\origtableofcontents=\tableofcontents
>> 
>> \def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
>> 
>> \def\gobbletableofcontents#1{\origtableofcontents}
>> 
>> }
>> 
>> \usepackage{microtype}
>> 
>> \long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%
>> 
>> \def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%
>> 
>> \def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}
>> 
>> \def\@@@lyxframe<#1>[{\@ifnextchar<{\@lyxframe<#1>[}{\lyxframe<#1>[<*>][}}
>> 
>> \def\@lyxframe<#1>[#2]{\@ifnextchar[{\lyxframe<#1>[#2]}{\lyxframe<#1>[#2][]}}
>> 
>> \long\def\lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%
>> 
>> \frame<#1>[#2][#3]{\frametitle{#4}#5}}
>> 
>> \def\lyxframeend{} % In case there is a superfluous frame end
>> 
>> %% User specified LaTeX commands.
>> 
> 
> Hi,
> 
> If I remember correctly I think \newblock is usually defined by the BibTeX 
> style file (.bst file) just like \url, \doi, etc. If that's right then you're 
> seeing a bug in that style file.
> 
> You can quickly fix it by defining this command yourself in the preamble of 
> your document.
> 
> -- 
> Julien
> 


Re: Strange bibtex error with Lyx

2011-11-07 Thread Julien Rioux

On 04/11/2011 5:48 AM, Murat Yildizoglu wrote:

Hello,

I am converting a pure latex beamer to a Lyx beamer file. I get a very
strange error that puzzles me. I have searched the net and tried different
things in the exported Latex file, but if I keep the bibliography, the
problem remains. I do not know where to search any more and calling on you,
hoping that you would have an idea about where to look I give the
corresponding elements below (follow the *** ).

 The error I get:

] (./chap1intro-lyx.bbl


! LaTeX Error: \newblock undefined.


l.1 \begin{thebibliography}{3}



*** I can indeed see such instructions in the bbl file introduced by
Bibtex. I have choosen Natbib (author-year,plainat) in Lyx as the
bibliography style.


\begin{thebibliography}{3}

\providecommand{\natexlab}[1]{#1}

\providecommand{\url}[1]{\texttt{#1}}

\expandafter\ifx\csname urlstyle\endcsname\relax

   \providecommand{\doi}[1]{doi: #1}\else

   \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi


\bibitem[Binmore(1999)]{Binmore99}

Ken Binmore.

\newblock \emph{Jeux et Th\'eorie Des Jeux}.

\newblock De Boeck Universit\'e, Bruxelles, 1999.



*** The bibliography line at the bottom of the Latex file :

\lyxframeend{}\lyxframe{Bibliographie}

\bibliographystyle{plainnat}

\bibliography{yildi,evol,biblio}

  \lyxframeend{}

\end{document}


*** My preamble contains the following declarations (exported to
Latex(pdflatex) from Lyx) :


%% LyX 2.0.1 created this file. For more info, see http://www.lyx.org/.

%% Do not edit unless you really know what you are doing.

\documentclass[french]{beamer}

\usepackage[T1]{fontenc}

\usepackage[latin9]{inputenc}

\setcounter{secnumdepth}{3}

\setcounter{tocdepth}{3}

\usepackage{color}

\usepackage{babel}

\addto\extrasfrench{%

\providecommand{\og}{\leavevmode\flqq~}%

\providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}%

}

\usepackage{amsmath}

\usepackage{amssymb}

\usepackage{graphicx}

\usepackage[authoryear]{natbib}

\ifx\hypersetup\undefined

\AtBeginDocument{%

\hypersetup{unicode=true,pdfusetitle,

bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,

breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=true}

}

\else

\hypersetup{unicode=true,pdfusetitle,

bookmarks=true,bookmarksnumbered=false,bookmarksopen=false,

breaklinks=false,pdfborder={0 0 0},backref=false,colorlinks=true}

\fi

\makeatletter

%% Textclass specific LaTeX commands.

% this default might be overridden by plain title style

\newcommand\makebeamertitle{\frame{\maketitle}}%

\AtBeginDocument{

\let\origtableofcontents=\tableofcontents

\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}

\def\gobbletableofcontents#1{\origtableofcontents}

}

\usepackage{microtype}

\long\def\lyxframe#1{\@lyxframe#1\@lyxframestop}%

\def\@lyxframe{\@ifnextchar<{\@@lyxframe}{\@@lyxframe<*>}}%

\def\@@lyxframe<#1>{\@ifnextchar[{\@@@lyxframe<#1>}{\@@@lyxframe<#1>[]}}

\def\@@@lyxframe<#1>[{\@ifnextchar<{\@lyxframe<#1>[}{\lyxframe<#1>[<*>][}}

\def\@lyxframe<#1>[#2]{\@ifnextchar[{\lyxframe<#1>[#2]}{\lyxframe<#1>[#2][]}}

\long\def\lyxframe<#1>[#2][#3]#4\@lyxframestop#5\lyxframeend{%

\frame<#1>[#2][#3]{\frametitle{#4}#5}}

\def\lyxframeend{} % In case there is a superfluous frame end

%% User specified LaTeX commands.



Hi,

If I remember correctly I think \newblock is usually defined by the 
BibTeX style file (.bst file) just like \url, \doi, etc. If that's right 
then you're seeing a bug in that style file.


You can quickly fix it by defining this command yourself in the preamble 
of your document.


--
Julien



Re: Strange indentation with multiline footnotes

2011-10-06 Thread Guenter Milde
On 2011-10-06, Thomas Strausz wrote:
> Tao Cumplido  gmx.net> writes:

>> I guess this might be more of a Latex question but maybe someone here
>> can help me with that.

>> So always when I insert a footnote that has more text than fits on one line,
>> all subsequent lines are shifted somewhat to the right, which looks
>> weird to me. So I'd rather have either the first line shifted as well,
>> or all other lines not shifted.
>> Is there a way not to do this manually for each footnote?

> Do you use a KOMA package for your writing? If yes, typing
> "\deffootnote{1.5em}{1em}{\textsuperscript{\thefootnotemark}}" should change
> that. That way, you eliminate the separate indention for the first line.

See scrguien.pdf or scrguide.pdf (German) for details.

If you don't use KOMA, several packages provide footnote customization.
You can find links to them and the documentation e.g. with a CTAN search:
http://ctan.org/search.html?search=footnote&search_type=description

There is also a German tutorial:
http://www2.informatik.hu-berlin.de/~ahamann/studies/footnotes.pdf


Günter



Re: Strange indentation with multiline footnotes

2011-10-06 Thread Thomas Strausz
Hello,

Tao Cumplido  gmx.net> writes:

> 
> I guess this might be more of a Latex question but maybe someone here
> can help me with that.
> 
> So always when I insert a footnote that has more text than fits on one line,
> all subsequent lines are shifted somewhat to the right, which looks
> weird to me. So I'd rather have either the first line shifted as well,
> or all other lines not shifted.
> Is there a way not to do this manually for each footnote?
> 
> Regards,
> Tao
> 
> 

Do you use a KOMA package for your writing? If yes, typing
"\deffootnote{1.5em}{1em}{\textsuperscript{\thefootnotemark}}" should change
that. That way, you eliminate the separate indention for the first line.

Regards

Thomas



Re: Strange behavior

2011-09-18 Thread Guenter Milde
On 2011-09-18, Karl Linek wrote:

> I have two files. The first one I wrote with LyX 1.6.7. Then I installed
> LyX 2.0. I copied the file to a USB-stick. Suddenly I got always 4
> errors

On the same machine? What else changed, a new LaTeX distro/version as well?

> "Undefined control sequence."

> for example with the description

> "ist $\unit[1]{\lyxmathsym{\textdegree}C}
>   $ gleich $\unit[1]{K}$.
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined."

> That was not useful. 

It tells, that at this stage, LaTeX does not know the command \unit.

Did you type this command in your document or did LyX insert it?

Did you manually load the package unit.sty (in the user preamble)?
Did you use a module?

> I tried a lot of things. Once I succeeded to reduce
> the error by one.

> The last trial was to copy the text, to make a new file and to paste the
> text. I did the same with all the options and settings. At least I had a
> manually copied file. And...

> It worked. No errors, no complains.

Is the "missing command" /unit still in the exported LaTeX source (you can
check with View>Source or by exporting to LaTeX)?

> I think LyX does not delete all the code if one changes some settings.

It only deletes what it inserts. Also, if you remove a module, LyX will/can
typically not remove code that depends on this module.

Also, if you move a file from one computer to another, LyX will not remove
code that relies on packages only present on the first...

Günter



Re: Strange behavior

2011-09-18 Thread Richard Heck
On 09/18/2011 12:16 PM, Julio Rojas wrote:
> The problem can be twosome. On the one hand, some corrupted temporary
> files created by LyX's compilation can be generating the problem. On
> the other hand, if you compiled a Latex version on the same folder the
> Lyx file is, I think it might be creating some havoc. Le us wait to
> see if the developers can confirm both situations as problem sources.
>
All temporary files generated by LyX are in the temporary folder and so
are not used again. There might be other files in the original document
folder, e.g., *.sty files, that are needed for compilation, and then you
could have a problem if you just copied the LyX file. But LyX does not
put those there.

My guess is that the problem might have been lyx2lyx issue. But it's
hard to know without more info. This error:

"ist $\unit[1]{\lyxmathsym{\textdegree}C}
  $ gleich $\unit[1]{K}$.
The control sequence at the end of the top line
of your error message was never \def'ed. 

looks to me like a missing units.sty, though.

Richard



Re: Strange behavior

2011-09-18 Thread Julio Rojas
The problem can be twosome. On the one hand, some corrupted temporary
files created by LyX's compilation can be generating the problem. On
the other hand, if you compiled a Latex version on the same folder the
Lyx file is, I think it might be creating some havoc. Le us wait to
see if the developers can confirm both situations as problem sources.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Sep 18, 2011 at 5:47 PM, Karl Linek  wrote:
> On Sun, 2011-09-18 at 16:59 +0200, Julio Rojas wrote:
>> Hi Karl, most certainly this problem comes from temporary files
>> created by LaTeX. When you created a new file and copied everything on
>> it, those files where not present and thus, the document compiled. I
>> had my share of those and are always solved the same way. Check if the
>> folder in which the original LyX file was created have some temporary
>> LaTeX files.
>>
> Deleting these files will solve the problem? Thank you, that's useful.
> But I think leaving the files on the harddisk is not a proper way. The
> developers should fix this.
>
> Best regards,
> Karl
>
>
>
>
>


Re: Strange behavior

2011-09-18 Thread Karl Linek
On Sun, 2011-09-18 at 16:59 +0200, Julio Rojas wrote:
> Hi Karl, most certainly this problem comes from temporary files
> created by LaTeX. When you created a new file and copied everything on
> it, those files where not present and thus, the document compiled. I
> had my share of those and are always solved the same way. Check if the
> folder in which the original LyX file was created have some temporary
> LaTeX files.
> 
Deleting these files will solve the problem? Thank you, that's useful.
But I think leaving the files on the harddisk is not a proper way. The
developers should fix this.

Best regards,
Karl






Re: Strange behavior

2011-09-18 Thread Julio Rojas
Hi Karl, most certainly this problem comes from temporary files
created by LaTeX. When you created a new file and copied everything on
it, those files where not present and thus, the document compiled. I
had my share of those and are always solved the same way. Check if the
folder in which the original LyX file was created have some temporary
LaTeX files.

Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Sun, Sep 18, 2011 at 2:50 AM, Karl Linek  wrote:
> Hi,
>
> I have two files. The first one I wrote with LyX 1.6.7. Then I installed
> LyX 2.0. I copied the file to a USB-stick. Suddenly I got always 4
> errors
>
> "Undefined control sequence."
>
> for example with the description
>
> "ist $\unit[1]{\lyxmathsym{\textdegree}C}
>                                              $ gleich $\unit[1]{K}$.
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., `\hobx'), type `I' and the correct
> spelling (e.g., `I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined."
>
> That was not useful. I tried a lot of things. Once I succeeded to reduce
> the error by one.
>
> The last trial was to copy the text, to make a new file and to paste the
> text. I did the same with all the options and settings. At least I had a
> manually copied file. And...
>
> It worked. No errors, no complains.
>
>
> I think LyX does not delete all the code if one changes some settings.
>
> lg,
> Karl
>
>
>
>
>


Re: Strange Latex error using bibtex citations

2011-07-29 Thread Richard Heck
On 07/28/2011 10:28 PM, André wrote:
> Hello.
>
> I'm using LyX 2.0.0 on OSX. I'm having a strange error when I try to
> view the PDF of my lyx file. I removed all the content and left only
> the relevant parts that produce the error that are some 20 citations
> and the corresponding bib file that has these references with no
> content.
>
> The error is:
> {/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
> Runaway argument?
> URL(2011{\natexlab {{}})]{URLVendingWorld} 2011{\natexlab {{}}.
> ! Paragraph ended before \@lbibitem was complete.
> 
>\par
> l.88
>
> I suspect you've forgotten a `}', causing me to apply this
> control sequence to too much text. How can we recover?
> My plan is to forget the whole thing and hope for the best.
>
> ! Argument of \@lbibitem has an extra }.
> 
> \par
> l.92 \bibitem[URL(2011{\natexlab{}}}
> )]{URLwxWidgets}
> I've run across a `}' that doesn't seem to match anything.
> For example, `\def\a#1{...}' and `\a}' would produce
> this error. If you simply proceed now, the `\par' that
> I've just inserted will cause me to report a runaway
> argument that might be the root of the problem. But if
> your `}' was spurious, just type `2' and it will go away.
>
>
> If I change the references style from "plainnat" to "plain" the errors
> disappear, but I would like to understand what is going on. If I
> remove ANY reference, the error message changes. If I remove ANY 2
> references, the errors also go away...
>
> Attached is the simple lyx and bib files. Is this a LyX error or
> should I be asking somewhere else?
>
Looks like some sort of bug in natbib. Here's the end of the auxfile:

\bibcite{URLPython}{URL(2011{w})}
\bibcite{URLSCL3711}{URL(2011{x})}
\bibcite{URLSpongyCastle}{URL(2011{y})}
\bibcite{URLUSBBug}{URL(2011{z})}
\bibcite{URLwxPython}{URL(2011{|})}

That last one is what is causing the problem.

Richard



Re: strange error with tabular

2011-03-16 Thread Paul Rubin
S Nedunuri  cs.utexas.edu> writes:

> 
> yes it does. Thanks!
> 
> Funny that whatever latex processor Lyx is calling doesn't stumble on this.
> 

LyX automatically adds certain packages to the preamble if it spots the need for
them, but it only sees one of a set of known "triggers".  Best guess, what you
were doing didn't hit a known trigger.  You could file a bug report.  I don't
know enough LaTeX to know if there is a fairly concise set of conditions under
which it is obvious that array is needed (or whether it is safe to say that any
time the user futzes with optional commands for columns, array should be 
loaded).

Paul



Re: strange error with tabular

2011-03-15 Thread S Nedunuri
yes it does. Thanks!

Funny that whatever latex processor Lyx is calling doesn't stumble on this.

"Paul Rubin"  wrote in message 
news:loom.20110315t230814-...@post.gmane.org...
> Does adding \usepackage{array} to the preamble cure it?
>
> Paul
>
>
> 





Re: strange error with tabular

2011-03-15 Thread Paul Rubin
Does adding \usepackage{array} to the preamble cure it?

Paul




Re: strange error with tabular

2011-03-15 Thread S Nedunuri
BTW, i forgot to mention i'm using Lyx 1.6.6 and MikTex 2.8

"S Nedunuri"  wrote in message 
news:ilohef$dmb$1...@dough.gmane.org...
> Hello I generated latex from my lyx file and then seperately compile it 
> (in order to use a particular document class not part of the lyx 
> distribution). Normally there's no problem, but when I adjust the widths 
> of columns in my table in Lyx, and then compile the generated latex, I get 
> the following error message from  latex:
>
> ! Use of \@array doesn't match its definition.
> \new@ifnextchar ...served@d = #1\def \reserved@a {
>  #2}\def \reserved@b 
> {#3}\f...
> l.1275 ...{\centering}p{1in}|>{\centering}p{1in}|}
>
> ?
>
> The offending line is:
>
> \begin{tabular}{|c|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|}
>
> Incidentally, not adjusting the column widths generates the following 
> latex which compiles fine:
>
> \begin{tabular}{|c|c|c|c|c|}
>
> Any ideas?
>
>
> 





Re: Strange border appear on my beamer slides

2011-02-26 Thread Uwe Ade
Hello,

that´s it. Thanks for the help. PÜroblem solved..


uwe
Am 25.02.2011 um 15:16 schrieb Liviu Andronic:

> On Fri, Feb 25, 2011 at 3:11 PM, Liviu Andronic  
> wrote:
>> On Fri, Feb 25, 2011 at 12:15 PM, Uwe Ade  wrote:
>>> Hello,
>>> 
>>> i make a hugh  präsentation with beamer. There is one main document witch 
>>> includes six documents. I worked an this  präsentations for some weeks and 
>>> this morning i want check the result, strange borders appear an all slides.
>>> I have do nothing to let them appear, i only edit text. The slides look 
>>> very ugly with this borders.
>>> 
>>> Very strang: If i print the slides, the borders are not printed.
>>> 
>> Perhaps it's only a PDF viewer issue? Have you tried with a different one?
>> 
> OK, I see them in acroread,  but not in Evince. I think it's this
> annoying behaviour regarding frames around links. Have you played with
> Document > Settings > PDF Properties > Hyperlinks > No frames around
> links. If not, experiment.
> 
> Regards
> Liviu



Re: Strange border appear on my beamer slides

2011-02-25 Thread Liviu Andronic
On Fri, Feb 25, 2011 at 3:11 PM, Liviu Andronic  wrote:
> On Fri, Feb 25, 2011 at 12:15 PM, Uwe Ade  wrote:
>> Hello,
>>
>> i make a hugh  präsentation with beamer. There is one main document witch 
>> includes six documents. I worked an this  präsentations for some weeks and 
>> this morning i want check the result, strange borders appear an all slides.
>> I have do nothing to let them appear, i only edit text. The slides look very 
>> ugly with this borders.
>>
>> Very strang: If i print the slides, the borders are not printed.
>>
> Perhaps it's only a PDF viewer issue? Have you tried with a different one?
>
OK, I see them in acroread,  but not in Evince. I think it's this
annoying behaviour regarding frames around links. Have you played with
Document > Settings > PDF Properties > Hyperlinks > No frames around
links. If not, experiment.

Regards
Liviu


Re: Strange border appear on my beamer slides

2011-02-25 Thread Liviu Andronic
On Fri, Feb 25, 2011 at 12:15 PM, Uwe Ade  wrote:
> Hello,
>
> i make a hugh  präsentation with beamer. There is one main document witch 
> includes six documents. I worked an this  präsentations for some weeks and 
> this morning i want check the result, strange borders appear an all slides.
> I have do nothing to let them appear, i only edit text. The slides look very 
> ugly with this borders.
>
> Very strang: If i print the slides, the borders are not printed.
>
Perhaps it's only a PDF viewer issue? Have you tried with a different one?
Liviu


> I put an example an the Mail. The second side shows the slides.
>
> Any ideas , do get this borders to disappear?
>
> uwe
>
>
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Strange effect of lyx under xubuntu (Partly solved)

2011-01-03 Thread Hellmut Weber
Hi Günter and Liviu,
thanks for all your hints.

I found a way to get lyx working again:

* hide directory ~/.config
mv .config dot.config

* login again
thus .config is newly generated
making me loose my xfce configuration.

But now LyX works again perfectly (as usual ;-)

Then i tried to reactivate all the files in dot.config hoping to find
the culprit, but nope:
Although in the end i reactivated all my settings, the effect was gone
and i could not reproduce it.

Since i don't have the time to search intensively the cause of this
effect i'm content to be able to work productively again and will not
dwell any more into this problem.

Just for sake of completeness see my answers to your questions resp
suggestions below:

Am 01.01.2011 22:48, schrieb Guenter Milde:
> On 2010-12-30, Liviu Andronic wrote:
>> On Thu, Dec 30, 2010 at 9:49 PM, Guenter Milde  
>> wrote:
>>> On 2010-12-30, Liviu Andronic wrote:
 On Thu, Dec 30, 2010 at 12:43 AM, Hellmut Weber  
 wrote:
> 
> 
>>> which strangely changed the language of the menus to english, still
>>> shown in greek letters.
> 
>>> I suppose you have (accidentially?) set the UI font
>>> (Werkzeuge>Einstellungen>Aussehen>Bilschirmschriften) to a Greek font
>>> (or Symbol).
IIRC i checked this possibility too, with no result.

>> Isn't this font used for displaying the LyX document? Why would the
>> setting affect menus and dialogues?
> 
> You are right, the menu font is a QT setting.
> 
> To the OP: 
> 
> * does this strange font selection also appear with other QT
>   applications (if they are started after lang=en)?
LyX was to be the only application with this effect.

My top ten apps are:
LyX (for all sorts of text)
thunderbird (email)
firefox (browser)
konqueror (navigation, exit to konsole)
konsole (using computers since pre-GUI days ;-))
(these two because i've been using KDE for several years)
OpenOffice (if i ever need an office suite MS files)
gwenview (elementary image maniplation)
kaffeine (video, dvb-t)
...

>   
> * Are you running KDE? It provides a GUI for checking/setting system fonts.
As mentioned before, actually i now use xfce, but with some KD-apps
which i'm used to since quite some time


Thanks again for your hints

Hellmut


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


Re: Strange effect of lyx under xubuntu

2011-01-01 Thread Guenter Milde
On 2010-12-30, Liviu Andronic wrote:
> On Thu, Dec 30, 2010 at 9:49 PM, Guenter Milde  wrote:
>> On 2010-12-30, Liviu Andronic wrote:
>>> On Thu, Dec 30, 2010 at 12:43 AM, Hellmut Weber  
>>> wrote:


>> which strangely changed the language of the menus to english, still
>> shown in greek letters.

>> I suppose you have (accidentially?) set the UI font
>> (Werkzeuge>Einstellungen>Aussehen>Bilschirmschriften) to a Greek font
>> (or Symbol).

> Isn't this font used for displaying the LyX document? Why would the
> setting affect menus and dialogues?

You are right, the menu font is a QT setting.

To the OP: 

* does this strange font selection also appear with other QT
  applications (if they are started after lang=en)?
  
* Are you running KDE? It provides a GUI for checking/setting system fonts.

Günter



Re: Strange effect of lyx under xubuntu

2010-12-30 Thread Liviu Andronic
On Thu, Dec 30, 2010 at 9:49 PM, Guenter Milde  wrote:
> On 2010-12-30, Liviu Andronic wrote:
>> On Thu, Dec 30, 2010 at 12:43 AM, Hellmut Weber  wrote:
>
>>>   LANG="en_US" lyx
>
>>> makes it come up with all texts in english, menu, dialogs etc.
>>> (In my actual situation written with greek letters, though.)
>
>> This is very, very strange. Maybe an e-mail to lyx-devel is in line.
>
> This is very, very normal, actually the way to get LyX in different
> languages used/recommended long before the UI setting came.
> I use it since years to have an English-speaking LyX for tests/list
> postings and a German-speaking LyX for daily work.
>
I was talking about the Greek letters, not the 'LANG="en_US" lyx' mechanism. :)


> which strangely changed the language of the menus to english, still
> shown in greek letters.
>
> I suppose you have (accidentially?) set the UI font
> (Werkzeuge>Einstellungen>Aussehen>Bilschirmschriften) to a Greek font
> (or Symbol).
>
Isn't this font used for displaying the LyX document? Why would the
setting affect menus and dialogues?

Regards
Liviu



> Try with a different UI font (I recommend DejaVu).
>
> Günter
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Strange effect of lyx under xubuntu

2010-12-30 Thread Guenter Milde
On 2010-12-30, Liviu Andronic wrote:
> On Thu, Dec 30, 2010 at 12:43 AM, Hellmut Weber  wrote:

>>   LANG="en_US" lyx

>> makes it come up with all texts in english, menu, dialogs etc.
>> (In my actual situation written with greek letters, though.)

> This is very, very strange. Maybe an e-mail to lyx-devel is in line.

This is very, very normal, actually the way to get LyX in different
languages used/recommended long before the UI setting came. 
I use it since years to have an English-speaking LyX for tests/list
postings and a German-speaking LyX for daily work.

 which strangely changed the language of the menus to english, still
 shown in greek letters.

I suppose you have (accidentially?) set the UI font
(Werkzeuge>Einstellungen>Aussehen>Bilschirmschriften) to a Greek font
(or Symbol).

Try with a different UI font (I recommend DejaVu).

Günter



Re: Strange effect of lyx under xubuntu

2010-12-29 Thread Liviu Andronic
On Thu, Dec 30, 2010 at 12:43 AM, Hellmut Weber  wrote:
>
>   LANG="en_US" lyx
>
> makes it come up with all texts in english, menu, dialogs etc.
> (In my actual situation written with greek letters, though.)
>
This is very, very strange. Maybe an e-mail to lyx-devel is in line.


>>
>>> which strangely changed the language of the menus to english, still
>>> shown in greek letters.
>>>
>> This is very strange. By any chance have you changed Tools > Prefs >
>> Language > UI language?
> Never touched that.
>
Try experimenting with different settings, to see if it changes something.


>>
>>> Next I reinstalled lyx
>>>
>>> apt-get autoremove lyx
>>>
>>> which should have deleted all configuration files (according to the
>>> apt-get man-page). Then reinstallad it. Same effect again (greek letters)
>>>
>> Have you additionally (re)moved ~/.lyx? I don't think that apt-get
>> catches that.
> Yes, I did. Normally I use the command
>
>   mv .lyx dot.lyx
>
> which hides the directory from lyx.
>
>>
>>> Since I don't have any ecperience with xubuntu so far, I'm totally lost
>>> for the moment.
>>>
>>> Anybody of experience with xubuntu could point out some setting I have
>>> set erroneously?
>>>
>> I'm using Xubuntu 10.04 without any such fireworks in either 1.6.7 or
>> 2.0.0 beta2.
>> l...@liv-laptop:~$ locale
>> LANG=en_US.UTF-8
>>
>> A couple more wild guesses, check qtconfig-qt4 for anything related,
>> and perhaps try using some different font family there.
> Could you, please, be somewhat more explicit here. I never tackled with
> qt, so I don't have any idea where to look for that.
>
Install qt4-qtconfig, then run qtconfig-qt4. Then experiment with
different fonts, or other settings.

Regards
Liviu


> Many thanks for your nterest in my problem
>
>
> Cheers
>
> Hellmut
>
>
> --
> Dr. Hellmut Weber         m...@hellmutweber.de
> Degenfeldstraße 2         tel   +49-89-3081172
> D-80803 München-Schwabing mobil +49-172-8450321
> please: No DOCs, no PPTs. why: tinyurl.com/cbgq
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Strange effect of lyx under xubuntu

2010-12-29 Thread Hellmut Weber
Hi Liviu,
thank you very much for your hints ;-)

Am 27.12.2010 23:16, schrieb Liviu Andronic:
> On Mon, Dec 27, 2010 at 9:57 PM, Hellmut Weber  wrote:
>> Hi list,
>> I frecently switched to xubuntu
>> and installed lyx using the command
>>
>> apt-get install lyx
>>
>> I worked fine fro a while, as usual ;-)
>>
>> Now it seems that I have changed something in the settings of xfce with
>> the effect that lyx starts with all the menus in **greek** letters for
>> the gernam entries.
>>
> I wouldn't expect Xfce settings to have impact on LyX. It's either
> more general---some Qt or system wide modifications---or more
> specific---something relating to LyX only.
I didn't have another reasonable hypothesis on what could be the reason
for the observed behaviour.

> 
>> System: xubuntu 10.10
>> Lyx: 1.6.7-r1
>> locale: de_DE.UTF-8
>>
>> I have searched all reasonable files in ~/.lyx and in /usr/share/lyx.
>> I also tried commands like
>>
>> LANG="de_DE" lyx
>>
> I've never seen this have an effect on LyX.
It does have, however. On my system with german locale, calling lyx with

   LANG="en_US" lyx

makes it come up with all texts in english, menu, dialogs etc.
(In my actual situation written with greek letters, though.)

> 
>> which strangely changed the language of the menus to english, still
>> shown in greek letters.
>>
> This is very strange. By any chance have you changed Tools > Prefs >
> Language > UI language?
Never touched that.

> 
>> Next I reinstalled lyx
>>
>> apt-get autoremove lyx
>>
>> which should have deleted all configuration files (according to the
>> apt-get man-page). Then reinstallad it. Same effect again (greek letters)
>>
> Have you additionally (re)moved ~/.lyx? I don't think that apt-get
> catches that.
Yes, I did. Normally I use the command

   mv .lyx dot.lyx

which hides the directory from lyx.

> 
>> Since I don't have any ecperience with xubuntu so far, I'm totally lost
>> for the moment.
>>
>> Anybody of experience with xubuntu could point out some setting I have
>> set erroneously?
>>
> I'm using Xubuntu 10.04 without any such fireworks in either 1.6.7 or
> 2.0.0 beta2.
> l...@liv-laptop:~$ locale
> LANG=en_US.UTF-8
> 
> A couple more wild guesses, check qtconfig-qt4 for anything related,
> and perhaps try using some different font family there.
Could you, please, be somewhat more explicit here. I never tackled with
qt, so I don't have any idea where to look for that.

Many thanks for your nterest in my problem


Cheers

Hellmut


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


  1   2   3   >