Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-10 Thread Jean-Marc Lasgouttes

Le 10/10/13 01:03, Gwen Barnes a écrit :

Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is
almost a full second lag before the screen starts to change, and then it
moves jerkily until it gets to where it's going.  Based on some comments
I found online, I have found that the lag goes away if I make my LyX
window tiny -- but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?


The problem is a weakness in LyX display mechanism: text is drawn 
several characters at a time, while metrics (measurement of size) is 
done character-per-character. On windows and linux, it is not a problem, 
but on a Mac, where fonts use ligatures, it means that the cursor does 
not appear where it should.


To alleviate that, by default mac builds draws the screen char-by-char 
too. It works, but it is quite slow...

You can see what the effect is by adding
\force_paint_single_char 0
in the preferences file.

Unfortunately, this situation will not improve in version 2.1.

There is a branch that tackles this problem, but it is not ready yet.

JMarc


Re: lyx 2.0.6 install: gcc unknown type name 'not'

2013-10-10 Thread Wolfgang Engelmann
Am Wednesday, 9. October 2013, 14:10:48 schrieb Hiromu SAKAMOTO:
 Wolfgang Engelmann engelm...@uni-tuebingen.de Wrote:
 
  Hi,
  in trying to install lyx 2.0.6
  I get in the  configure log file this
  
  configure:5575: checking whether byte ordering is bigendian
  configure:5590: gcc -c -g -O2  conftest.c 5
  conftest.c:22:9: error: unknown type name 'not'
  conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__
 
 attribute__'
 
  before 'universal'
  conftest.c:22:15: error: unknown type name 'universal'
  configure:5590: $? = 1
  
  configure: failed program was:
  | /* confdefs.h */
  
  I am using debian-wheezy
  and have gcc installed
  What am I missing?
  
  Wolfgang
 
 Hello!
 
 Please type
 gcc --version.
 LyX needs gcc 4.X. If your comiler is gcc 3.X, ./configure may end with
 failure.
 
 You  need another packages such as Qt, get text.
 
 Before typing './configure', please read README and INSTALL carefully.
 And please type
 ./configure --help
 
 And please tell us your computers architecture. (i386 or x86_64 ?)

Thanks for the help.
I have gcc --version 
gcc (Debian 4.7.2-5) 4.7.2

and x86_64

Installation worked, but starting my
lyx-206   
gives me this output (sorry in German)
  
[1] 6619
   
wolfgang@wolfgang:~$ socktools.cpp (115): lyx: Could not bind address 
'/tmp/lyx_tmpdir.MT6619/lyxsocket' to socket descriptor: Keine Berechtigung 
  
Warning: Festplatten-Fehler:



LyX konnte kein temporäres Verzeichnis '/tmp/lyx_tmpdir.MT6619/lyx_tmpbuf0' 
erstellen (Festplatte ist vielleicht voll?)

-MY COMMENTS: HARDDISK FULL - But I have a 2TIB harddisk and not more than 
a third is used. I also removed the /tmp/lyx_tmpdir.MT and tried again

lyx: SIGSEGV-Signal empfangen!
Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich haben 
Sie keine Daten verloren.
Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet, und 
erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
Tschüs.
Error: LyX ist abgestürzt!

SIGSEGV-Signal empfangen!
Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich haben 
Sie keine Daten verloren.
Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet, und 
erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
Tschüs.

HERE MY QUESTIONS (silly ones, I am afraid):

1- What do I have to change in my system to get the errors in English?

2- Is it recommendable to install texlive2013 first before I try to install 
lyx?
(I have 2012 and tried to install 2013)

3- There is a repository of lyx 2.0.6 
 http://linuxg.net/how-to-install-lyx-2-0-6-2-1-0-beta-1-\
on-ubuntu-13-10-13-04-12-10-12-04-and-linux-mint-16-15-14-13/
for ubuntu and linux-mint
would it work also for Debian wheezy? Or should I switch to one of those?






Re: Japanese in an English doc

2013-10-10 Thread Richard Opheim
Looking at the .pdf, I'm quite envious. After working on this for a couple
of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
support Japanese in an English document.


On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for the example, Richard. The attached example compiles to PDF
 (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
 or ps2pdf. I have no idea if it's the correct way to do it (it does
 not use CJK).

 Scott

 On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim rvaci...@gmail.com wrote:
  Please find attached minimal example that reproduces error message. I've
  changed the class to article as per FAQ. My OS is Windows 8, and I'm
 using
  MiKTek 2.9, updated yesterday.
 
 
  On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim rvaci...@gmail.com
 wrote:
   OK, I selected the test Japanese character, then selected Edit-Text
   Style-Customized-Language Japanese (CJK).  I made sure to adjust
   Document-Settings-Language-Encoding to Unicode (CJK) (utf8) and
   reconfigure. I was still not successful, although I did get a slightly
   different error message:
   Package inputenc Error: Unicode char \u8:**---not set up for use with
   LaTex.
 
  Hi Richard,
 
  In problems like these, it's very helpful to send a minimal LyX
  example that shows the problem you're having. See here:
  wiki.lyx.org/FAQ/MinimalExample
 
  Also, which operating system and TeX installation do you use?
 
  Scott
 
 
 
 
  --
  Richard Opheim
  Skype name: richard.opheim
 
  Self-publishing Consultant
  Editing---Layout---Musical Scores---Images---Ebooks
 
  https://sites.google.com/site/opheimrichard/home
 
  blog:
  http://foliocirculaire.blogspot.com
 
  If, instead of welcoming criticism and inquiry, the admirers of a great
  author accept his writings as authoritative, both in their excellences
 and
  in their defects, the most serious injury is done to truth. In matters of
  philosophy and science, authority has ever been the great opponent of
 truth.
  A despotic calm is usually the triumph of error. In the republic of the
  sciences, sedition and even anarchy are beneficial in the long run to the
  greatest happiness of the greatest number.
 
  W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.




-- 
Richard Opheim
Skype name: richard.opheim

Self-publishing Consultant
Editing---Layout---Musical Scores---Images---Ebooks

https://sites.google.com/site/opheimrichard/home
https://sites.google.com/site/opheimrichard/home

blog:
http://foliocirculaire.blogspot.com

If, instead of welcoming criticism and inquiry, the admirers of a great
author accept his writings as authoritative, both in their excellences and
in their defects, the most serious injury is done to truth. In matters of
philosophy and science, authority has ever been the great opponent of
truth. A despotic calm is usually the triumph of error. In the republic of
the sciences, sedition and even anarchy are beneficial in the long run to
the greatest happiness of the greatest number.

W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.


Lyx 2.0.6: Document settings can't be changed (OK greyed out)

2013-10-10 Thread Gerold Hintz
I am running LyX 2.0.6 on Windows 7 SP1. I'm having an issue with
changing any document settings of any file, the buttons *OK *and
*Apply *just remain greyed out. (Someone posted the same issue running
2.0.7dev on ubunto on stackexchange here
http://tex.stackexchange.com/questions/136577/cant-modify-document-settings-on-lyx)

Any help is appreciated.
- Gerold


lyx branches problem

2013-10-10 Thread Csikos Bela
Liviu, Guenter: 

Thank you for drawing my attention to branches in lyx.

I did not know about it before.

I tried to convert an existing document to use branches.

I find branches very attractive but I have a problem.

In my document I have enumerate lists. One item has statements in two

languages. After converting the lines to branches I get error at compilation:

! LaTeX Error: There's no line here to end.

What can cause this error?

I attach a working and a converted non-working example file

(no-branches-OK.lyx, branch-not-working.lyx).

Thanks,

bcsikos



no-branches-OK.lyx
Description: Binary data


branch-not-working.lyx
Description: Binary data


Re: Japanese in an English doc

2013-10-10 Thread Liviu Andronic
On Thu, Oct 10, 2013 at 3:25 PM, Richard Opheim rvaci...@gmail.com wrote:
 Looking at the .pdf, I'm quite envious. After working on this for a couple
 of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
 support Japanese in an English document.

I don't think so. If you want to diminish the hassle, in Doc Settings
use Fonts  Use non-TeX fonts, then select an OpenType font that has
glyphs for Japanese and then your document should work nicely. Compile
with XeTeX or similar.

Liviu



 On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for the example, Richard. The attached example compiles to PDF
 (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
 or ps2pdf. I have no idea if it's the correct way to do it (it does
 not use CJK).

 Scott

 On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim rvaci...@gmail.com wrote:
  Please find attached minimal example that reproduces error message. I've
  changed the class to article as per FAQ. My OS is Windows 8, and I'm
  using
  MiKTek 2.9, updated yesterday.
 
 
  On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim rvaci...@gmail.com
  wrote:
   OK, I selected the test Japanese character, then selected Edit-Text
   Style-Customized-Language Japanese (CJK).  I made sure to adjust
   Document-Settings-Language-Encoding to Unicode (CJK) (utf8) and
   reconfigure. I was still not successful, although I did get a
   slightly
   different error message:
   Package inputenc Error: Unicode char \u8:**---not set up for use
   with
   LaTex.
 
  Hi Richard,
 
  In problems like these, it's very helpful to send a minimal LyX
  example that shows the problem you're having. See here:
  wiki.lyx.org/FAQ/MinimalExample
 
  Also, which operating system and TeX installation do you use?
 
  Scott
 
 
 
 
  --
  Richard Opheim
  Skype name: richard.opheim
 
  Self-publishing Consultant
  Editing---Layout---Musical Scores---Images---Ebooks
 
  https://sites.google.com/site/opheimrichard/home
 
  blog:
  http://foliocirculaire.blogspot.com
 
  If, instead of welcoming criticism and inquiry, the admirers of a great
  author accept his writings as authoritative, both in their excellences
  and
  in their defects, the most serious injury is done to truth. In matters
  of
  philosophy and science, authority has ever been the great opponent of
  truth.
  A despotic calm is usually the triumph of error. In the republic of the
  sciences, sedition and even anarchy are beneficial in the long run to
  the
  greatest happiness of the greatest number.
 
  W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.




 --
 Richard Opheim
 Skype name: richard.opheim

 Self-publishing Consultant
 Editing---Layout---Musical Scores---Images---Ebooks

 https://sites.google.com/site/opheimrichard/home

 blog:
 http://foliocirculaire.blogspot.com

 If, instead of welcoming criticism and inquiry, the admirers of a great
 author accept his writings as authoritative, both in their excellences and
 in their defects, the most serious injury is done to truth. In matters of
 philosophy and science, authority has ever been the great opponent of truth.
 A despotic calm is usually the triumph of error. In the republic of the
 sciences, sedition and even anarchy are beneficial in the long run to the
 greatest happiness of the greatest number.

 W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.



-- 
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: Japanese in an English doc

2013-10-10 Thread Scott Kostyshak
Did you try the .lyx file I attached? It doesn't compile for you using
ps2pdf or dvipdfm(x)?

Scott

On Thu, Oct 10, 2013 at 9:25 AM, Richard Opheim rvaci...@gmail.com wrote:
 Looking at the .pdf, I'm quite envious. After working on this for a couple
 of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
 support Japanese in an English document.


 On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for the example, Richard. The attached example compiles to PDF
 (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
 or ps2pdf. I have no idea if it's the correct way to do it (it does
 not use CJK).

 Scott

 On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim rvaci...@gmail.com wrote:
  Please find attached minimal example that reproduces error message. I've
  changed the class to article as per FAQ. My OS is Windows 8, and I'm
  using
  MiKTek 2.9, updated yesterday.
 
 
  On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim rvaci...@gmail.com
  wrote:
   OK, I selected the test Japanese character, then selected Edit-Text
   Style-Customized-Language Japanese (CJK).  I made sure to adjust
   Document-Settings-Language-Encoding to Unicode (CJK) (utf8) and
   reconfigure. I was still not successful, although I did get a
   slightly
   different error message:
   Package inputenc Error: Unicode char \u8:**---not set up for use
   with
   LaTex.
 
  Hi Richard,
 
  In problems like these, it's very helpful to send a minimal LyX
  example that shows the problem you're having. See here:
  wiki.lyx.org/FAQ/MinimalExample
 
  Also, which operating system and TeX installation do you use?
 
  Scott
 
 
 
 
  --
  Richard Opheim
  Skype name: richard.opheim
 
  Self-publishing Consultant
  Editing---Layout---Musical Scores---Images---Ebooks
 
  https://sites.google.com/site/opheimrichard/home
 
  blog:
  http://foliocirculaire.blogspot.com
 
  If, instead of welcoming criticism and inquiry, the admirers of a great
  author accept his writings as authoritative, both in their excellences
  and
  in their defects, the most serious injury is done to truth. In matters
  of
  philosophy and science, authority has ever been the great opponent of
  truth.
  A despotic calm is usually the triumph of error. In the republic of the
  sciences, sedition and even anarchy are beneficial in the long run to
  the
  greatest happiness of the greatest number.
 
  W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.




 --
 Richard Opheim
 Skype name: richard.opheim

 Self-publishing Consultant
 Editing---Layout---Musical Scores---Images---Ebooks

 https://sites.google.com/site/opheimrichard/home

 blog:
 http://foliocirculaire.blogspot.com

 If, instead of welcoming criticism and inquiry, the admirers of a great
 author accept his writings as authoritative, both in their excellences and
 in their defects, the most serious injury is done to truth. In matters of
 philosophy and science, authority has ever been the great opponent of truth.
 A despotic calm is usually the triumph of error. In the republic of the
 sciences, sedition and even anarchy are beneficial in the long run to the
 greatest happiness of the greatest number.

 W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.


Re: lyx 2.0.6 install: gcc unknown type name 'not'

2013-10-10 Thread Wolfgang Engelmann
On Thursday, 10. October 2013 13:22:50 Wolfgang Engelmann wrote:
 Am Wednesday, 9. October 2013, 14:10:48 schrieb Hiromu SAKAMOTO:
  Wolfgang Engelmann engelm...@uni-tuebingen.de Wrote:
  
   Hi,
   in trying to install lyx 2.0.6
   I get in the  configure log file this
   
   configure:5575: checking whether byte ordering is bigendian
   configure:5590: gcc -c -g -O2  conftest.c 5
   conftest.c:22:9: error: unknown type name 'not'
   conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__
  
  attribute__'
  
   before 'universal'
   conftest.c:22:15: error: unknown type name 'universal'
   configure:5590: $? = 1
   
   configure: failed program was:
   | /* confdefs.h */
   
   I am using debian-wheezy
   and have gcc installed
   What am I missing?
   
   Wolfgang
  
  Hello!
  
  Please type
  
  gcc --version.
  
  LyX needs gcc 4.X. If your comiler is gcc 3.X, ./configure may end
  with failure.
  
  You  need another packages such as Qt, get text.
  
  Before typing './configure', please read README and INSTALL carefully.
  And please type
  ./configure --help
  
  And please tell us your computers architecture. (i386 or x86_64 ?)
 
 Thanks for the help.
 I have gcc --version
 gcc (Debian 4.7.2-5) 4.7.2
 
 and x86_64
 
 Installation worked, but starting my
 lyx-206 
 gives me this output (sorry in German)
 
 [1] 6619
 wolfgang@wolfgang:~$ socktools.cpp (115): lyx: Could not bind address
 '/tmp/lyx_tmpdir.MT6619/lyxsocket' to socket descriptor: Keine
 Berechtigung Warning: Festplatten-Fehler:
 
 LyX konnte kein temporäres Verzeichnis
 '/tmp/lyx_tmpdir.MT6619/lyx_tmpbuf0' erstellen (Festplatte ist
 vielleicht voll?)
 
 -MY COMMENTS: HARDDISK FULL - But I have a 2TIB harddisk and not more
 than a third is used. I also removed the /tmp/lyx_tmpdir.MT and tried
 again
 
 lyx: SIGSEGV-Signal empfangen!
 Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich
 haben Sie keine Daten verloren.
 Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet,
 und erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
 Tschüs.
 Error: LyX ist abgestürzt!
 
 SIGSEGV-Signal empfangen!
 Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich
 haben Sie keine Daten verloren.
 Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet,
 und erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
 Tschüs.
 
 HERE MY QUESTIONS (silly ones, I am afraid):
 
 1- What do I have to change in my system to get the errors in English?

 Did solve this myself (locale...)

The other two questions remain

Wolfgang

 
 2- Is it recommendable to install texlive2013 first before I try to
 install lyx?
 (I have 2012 and tried to install 2013)
 
 3- There is a repository of lyx 2.0.6
  http://linuxg.net/how-to-install-lyx-2-0-6-2-1-0-beta-1-\
 on-ubuntu-13-10-13-04-12-10-12-04-and-linux-mint-16-15-14-13/
 for ubuntu and linux-mint
 would it work also for Debian wheezy? Or should I switch to one of
 those?


Re: how to add a caption to a Box inset?

2013-10-10 Thread Frank Leone
Justin Wood Justin.Wood at murdoch.edu.au writes:

 
 Jürgen,(all,)Nothing I try will make the content of this custom boxfloat 
honour paragraph spacing. For example, this hack (based on your original 
code) doesn't work, but if I use ERT to create a framedpar explicitly, it 
works fine. The only difference my novice eyes can see is the fact that 
boxfloat is of course a float, wrapped in the {float} package which is used 
to define the custom boxfloat type with a LyX 
module.\newenvironment{framedpar}{\begin{framed}%  \setlength{\parskip}
{20pt}% big number to test%  \setlength{\parsep}{10pt}  }%{\end{framed}}% 
end framedpar% Jurgen's Box Float mods\ at ifundefined{fs at boxed}{}% 
do nothing if not in use{%  \usepackage{framed}  \newcommand\floatc at 
simplerule[2]{\flushleft{\ at fs at cfont #1 #2}}  \renewcommand\fs at 
boxed{%   \def\ at fs at cfont{\bfseries}\let\ at fs at capt\floatc 
at simplerule    \def\ at fs at pre{\begin{framedpar}}%    \def\ at 
fs at post{\end{framedpar}}%    \def\ at fs at mid{\kern8pt}%    \let\ 
at fs at iftopcapt\iftrue}}%I'm now thinking there's something in the 
{float} module that prevents it? Is this something you've come across 
before?Thanks so much for your help (and patience!).
 
 
 ~:Justin Wood:~
 PhD candidate, Energy  Engineering school, Murdoch University
 
 On 16 September 2010 16:19, Justin Wood Justin.Wood at murdoch.edu.au 
wrote:2. separate paragraphs with blank line the same as LyX does for normal 
text; add blank line after Box caption too.
 
 
 
 

Dear Jürgen and others,

Thanks a lot for the boxfloat, it is exactly what I needed. Now I however 
want to have a figure float within the boxfloat. If I however try to do 
this, I get the error:

LaTeX error: No counter 'subboxfloat' defined.

How can I make sure he understand sub-boxes/sub-figures inside a boxfloat?

Thanks a lot in advance!

   best,

Frank



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-10 Thread Jean-Marc Lasgouttes

Le 10/10/13 01:03, Gwen Barnes a écrit :

Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is
almost a full second lag before the screen starts to change, and then it
moves jerkily until it gets to where it's going.  Based on some comments
I found online, I have found that the lag goes away if I make my LyX
window tiny -- but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?


The problem is a weakness in LyX display mechanism: text is drawn 
several characters at a time, while metrics (measurement of size) is 
done character-per-character. On windows and linux, it is not a problem, 
but on a Mac, where fonts use ligatures, it means that the cursor does 
not appear where it should.


To alleviate that, by default mac builds draws the screen char-by-char 
too. It works, but it is quite slow...

You can see what the effect is by adding
\force_paint_single_char 0
in the preferences file.

Unfortunately, this situation will not improve in version 2.1.

There is a branch that tackles this problem, but it is not ready yet.

JMarc


Re: lyx 2.0.6 install: gcc unknown type name 'not'

2013-10-10 Thread Wolfgang Engelmann
Am Wednesday, 9. October 2013, 14:10:48 schrieb Hiromu SAKAMOTO:
 Wolfgang Engelmann engelm...@uni-tuebingen.de Wrote:
 
  Hi,
  in trying to install lyx 2.0.6
  I get in the  configure log file this
  
  configure:5575: checking whether byte ordering is bigendian
  configure:5590: gcc -c -g -O2  conftest.c 5
  conftest.c:22:9: error: unknown type name 'not'
  conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__
 
 attribute__'
 
  before 'universal'
  conftest.c:22:15: error: unknown type name 'universal'
  configure:5590: $? = 1
  
  configure: failed program was:
  | /* confdefs.h */
  
  I am using debian-wheezy
  and have gcc installed
  What am I missing?
  
  Wolfgang
 
 Hello!
 
 Please type
 gcc --version.
 LyX needs gcc 4.X. If your comiler is gcc 3.X, ./configure may end with
 failure.
 
 You  need another packages such as Qt, get text.
 
 Before typing './configure', please read README and INSTALL carefully.
 And please type
 ./configure --help
 
 And please tell us your computers architecture. (i386 or x86_64 ?)

Thanks for the help.
I have gcc --version 
gcc (Debian 4.7.2-5) 4.7.2

and x86_64

Installation worked, but starting my
lyx-206   
gives me this output (sorry in German)
  
[1] 6619
   
wolfgang@wolfgang:~$ socktools.cpp (115): lyx: Could not bind address 
'/tmp/lyx_tmpdir.MT6619/lyxsocket' to socket descriptor: Keine Berechtigung 
  
Warning: Festplatten-Fehler:



LyX konnte kein temporäres Verzeichnis '/tmp/lyx_tmpdir.MT6619/lyx_tmpbuf0' 
erstellen (Festplatte ist vielleicht voll?)

-MY COMMENTS: HARDDISK FULL - But I have a 2TIB harddisk and not more than 
a third is used. I also removed the /tmp/lyx_tmpdir.MT and tried again

lyx: SIGSEGV-Signal empfangen!
Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich haben 
Sie keine Daten verloren.
Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet, und 
erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
Tschüs.
Error: LyX ist abgestürzt!

SIGSEGV-Signal empfangen!
Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich haben 
Sie keine Daten verloren.
Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet, und 
erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
Tschüs.

HERE MY QUESTIONS (silly ones, I am afraid):

1- What do I have to change in my system to get the errors in English?

2- Is it recommendable to install texlive2013 first before I try to install 
lyx?
(I have 2012 and tried to install 2013)

3- There is a repository of lyx 2.0.6 
 http://linuxg.net/how-to-install-lyx-2-0-6-2-1-0-beta-1-\
on-ubuntu-13-10-13-04-12-10-12-04-and-linux-mint-16-15-14-13/
for ubuntu and linux-mint
would it work also for Debian wheezy? Or should I switch to one of those?






Re: Japanese in an English doc

2013-10-10 Thread Richard Opheim
Looking at the .pdf, I'm quite envious. After working on this for a couple
of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
support Japanese in an English document.


On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for the example, Richard. The attached example compiles to PDF
 (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
 or ps2pdf. I have no idea if it's the correct way to do it (it does
 not use CJK).

 Scott

 On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim rvaci...@gmail.com wrote:
  Please find attached minimal example that reproduces error message. I've
  changed the class to article as per FAQ. My OS is Windows 8, and I'm
 using
  MiKTek 2.9, updated yesterday.
 
 
  On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak skost...@lyx.org
 wrote:
 
  On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim rvaci...@gmail.com
 wrote:
   OK, I selected the test Japanese character, then selected Edit-Text
   Style-Customized-Language Japanese (CJK).  I made sure to adjust
   Document-Settings-Language-Encoding to Unicode (CJK) (utf8) and
   reconfigure. I was still not successful, although I did get a slightly
   different error message:
   Package inputenc Error: Unicode char \u8:**---not set up for use with
   LaTex.
 
  Hi Richard,
 
  In problems like these, it's very helpful to send a minimal LyX
  example that shows the problem you're having. See here:
  wiki.lyx.org/FAQ/MinimalExample
 
  Also, which operating system and TeX installation do you use?
 
  Scott
 
 
 
 
  --
  Richard Opheim
  Skype name: richard.opheim
 
  Self-publishing Consultant
  Editing---Layout---Musical Scores---Images---Ebooks
 
  https://sites.google.com/site/opheimrichard/home
 
  blog:
  http://foliocirculaire.blogspot.com
 
  If, instead of welcoming criticism and inquiry, the admirers of a great
  author accept his writings as authoritative, both in their excellences
 and
  in their defects, the most serious injury is done to truth. In matters of
  philosophy and science, authority has ever been the great opponent of
 truth.
  A despotic calm is usually the triumph of error. In the republic of the
  sciences, sedition and even anarchy are beneficial in the long run to the
  greatest happiness of the greatest number.
 
  W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.




-- 
Richard Opheim
Skype name: richard.opheim

Self-publishing Consultant
Editing---Layout---Musical Scores---Images---Ebooks

https://sites.google.com/site/opheimrichard/home
https://sites.google.com/site/opheimrichard/home

blog:
http://foliocirculaire.blogspot.com

If, instead of welcoming criticism and inquiry, the admirers of a great
author accept his writings as authoritative, both in their excellences and
in their defects, the most serious injury is done to truth. In matters of
philosophy and science, authority has ever been the great opponent of
truth. A despotic calm is usually the triumph of error. In the republic of
the sciences, sedition and even anarchy are beneficial in the long run to
the greatest happiness of the greatest number.

W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.


Lyx 2.0.6: Document settings can't be changed (OK greyed out)

2013-10-10 Thread Gerold Hintz
I am running LyX 2.0.6 on Windows 7 SP1. I'm having an issue with
changing any document settings of any file, the buttons *OK *and
*Apply *just remain greyed out. (Someone posted the same issue running
2.0.7dev on ubunto on stackexchange here
http://tex.stackexchange.com/questions/136577/cant-modify-document-settings-on-lyx)

Any help is appreciated.
- Gerold


lyx branches problem

2013-10-10 Thread Csikos Bela
Liviu, Guenter: 

Thank you for drawing my attention to branches in lyx.

I did not know about it before.

I tried to convert an existing document to use branches.

I find branches very attractive but I have a problem.

In my document I have enumerate lists. One item has statements in two

languages. After converting the lines to branches I get error at compilation:

! LaTeX Error: There's no line here to end.

What can cause this error?

I attach a working and a converted non-working example file

(no-branches-OK.lyx, branch-not-working.lyx).

Thanks,

bcsikos



no-branches-OK.lyx
Description: Binary data


branch-not-working.lyx
Description: Binary data


Re: Japanese in an English doc

2013-10-10 Thread Liviu Andronic
On Thu, Oct 10, 2013 at 3:25 PM, Richard Opheim rvaci...@gmail.com wrote:
 Looking at the .pdf, I'm quite envious. After working on this for a couple
 of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
 support Japanese in an English document.

I don't think so. If you want to diminish the hassle, in Doc Settings
use Fonts  Use non-TeX fonts, then select an OpenType font that has
glyphs for Japanese and then your document should work nicely. Compile
with XeTeX or similar.

Liviu



 On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for the example, Richard. The attached example compiles to PDF
 (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
 or ps2pdf. I have no idea if it's the correct way to do it (it does
 not use CJK).

 Scott

 On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim rvaci...@gmail.com wrote:
  Please find attached minimal example that reproduces error message. I've
  changed the class to article as per FAQ. My OS is Windows 8, and I'm
  using
  MiKTek 2.9, updated yesterday.
 
 
  On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim rvaci...@gmail.com
  wrote:
   OK, I selected the test Japanese character, then selected Edit-Text
   Style-Customized-Language Japanese (CJK).  I made sure to adjust
   Document-Settings-Language-Encoding to Unicode (CJK) (utf8) and
   reconfigure. I was still not successful, although I did get a
   slightly
   different error message:
   Package inputenc Error: Unicode char \u8:**---not set up for use
   with
   LaTex.
 
  Hi Richard,
 
  In problems like these, it's very helpful to send a minimal LyX
  example that shows the problem you're having. See here:
  wiki.lyx.org/FAQ/MinimalExample
 
  Also, which operating system and TeX installation do you use?
 
  Scott
 
 
 
 
  --
  Richard Opheim
  Skype name: richard.opheim
 
  Self-publishing Consultant
  Editing---Layout---Musical Scores---Images---Ebooks
 
  https://sites.google.com/site/opheimrichard/home
 
  blog:
  http://foliocirculaire.blogspot.com
 
  If, instead of welcoming criticism and inquiry, the admirers of a great
  author accept his writings as authoritative, both in their excellences
  and
  in their defects, the most serious injury is done to truth. In matters
  of
  philosophy and science, authority has ever been the great opponent of
  truth.
  A despotic calm is usually the triumph of error. In the republic of the
  sciences, sedition and even anarchy are beneficial in the long run to
  the
  greatest happiness of the greatest number.
 
  W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.




 --
 Richard Opheim
 Skype name: richard.opheim

 Self-publishing Consultant
 Editing---Layout---Musical Scores---Images---Ebooks

 https://sites.google.com/site/opheimrichard/home

 blog:
 http://foliocirculaire.blogspot.com

 If, instead of welcoming criticism and inquiry, the admirers of a great
 author accept his writings as authoritative, both in their excellences and
 in their defects, the most serious injury is done to truth. In matters of
 philosophy and science, authority has ever been the great opponent of truth.
 A despotic calm is usually the triumph of error. In the republic of the
 sciences, sedition and even anarchy are beneficial in the long run to the
 greatest happiness of the greatest number.

 W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.



-- 
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: Japanese in an English doc

2013-10-10 Thread Scott Kostyshak
Did you try the .lyx file I attached? It doesn't compile for you using
ps2pdf or dvipdfm(x)?

Scott

On Thu, Oct 10, 2013 at 9:25 AM, Richard Opheim rvaci...@gmail.com wrote:
 Looking at the .pdf, I'm quite envious. After working on this for a couple
 of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
 support Japanese in an English document.


 On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak skost...@lyx.org wrote:

 Thanks for the example, Richard. The attached example compiles to PDF
 (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
 or ps2pdf. I have no idea if it's the correct way to do it (it does
 not use CJK).

 Scott

 On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim rvaci...@gmail.com wrote:
  Please find attached minimal example that reproduces error message. I've
  changed the class to article as per FAQ. My OS is Windows 8, and I'm
  using
  MiKTek 2.9, updated yesterday.
 
 
  On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak skost...@lyx.org
  wrote:
 
  On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim rvaci...@gmail.com
  wrote:
   OK, I selected the test Japanese character, then selected Edit-Text
   Style-Customized-Language Japanese (CJK).  I made sure to adjust
   Document-Settings-Language-Encoding to Unicode (CJK) (utf8) and
   reconfigure. I was still not successful, although I did get a
   slightly
   different error message:
   Package inputenc Error: Unicode char \u8:**---not set up for use
   with
   LaTex.
 
  Hi Richard,
 
  In problems like these, it's very helpful to send a minimal LyX
  example that shows the problem you're having. See here:
  wiki.lyx.org/FAQ/MinimalExample
 
  Also, which operating system and TeX installation do you use?
 
  Scott
 
 
 
 
  --
  Richard Opheim
  Skype name: richard.opheim
 
  Self-publishing Consultant
  Editing---Layout---Musical Scores---Images---Ebooks
 
  https://sites.google.com/site/opheimrichard/home
 
  blog:
  http://foliocirculaire.blogspot.com
 
  If, instead of welcoming criticism and inquiry, the admirers of a great
  author accept his writings as authoritative, both in their excellences
  and
  in their defects, the most serious injury is done to truth. In matters
  of
  philosophy and science, authority has ever been the great opponent of
  truth.
  A despotic calm is usually the triumph of error. In the republic of the
  sciences, sedition and even anarchy are beneficial in the long run to
  the
  greatest happiness of the greatest number.
 
  W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.




 --
 Richard Opheim
 Skype name: richard.opheim

 Self-publishing Consultant
 Editing---Layout---Musical Scores---Images---Ebooks

 https://sites.google.com/site/opheimrichard/home

 blog:
 http://foliocirculaire.blogspot.com

 If, instead of welcoming criticism and inquiry, the admirers of a great
 author accept his writings as authoritative, both in their excellences and
 in their defects, the most serious injury is done to truth. In matters of
 philosophy and science, authority has ever been the great opponent of truth.
 A despotic calm is usually the triumph of error. In the republic of the
 sciences, sedition and even anarchy are beneficial in the long run to the
 greatest happiness of the greatest number.

 W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.


Re: lyx 2.0.6 install: gcc unknown type name 'not'

2013-10-10 Thread Wolfgang Engelmann
On Thursday, 10. October 2013 13:22:50 Wolfgang Engelmann wrote:
 Am Wednesday, 9. October 2013, 14:10:48 schrieb Hiromu SAKAMOTO:
  Wolfgang Engelmann engelm...@uni-tuebingen.de Wrote:
  
   Hi,
   in trying to install lyx 2.0.6
   I get in the  configure log file this
   
   configure:5575: checking whether byte ordering is bigendian
   configure:5590: gcc -c -g -O2  conftest.c 5
   conftest.c:22:9: error: unknown type name 'not'
   conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__
  
  attribute__'
  
   before 'universal'
   conftest.c:22:15: error: unknown type name 'universal'
   configure:5590: $? = 1
   
   configure: failed program was:
   | /* confdefs.h */
   
   I am using debian-wheezy
   and have gcc installed
   What am I missing?
   
   Wolfgang
  
  Hello!
  
  Please type
  
  gcc --version.
  
  LyX needs gcc 4.X. If your comiler is gcc 3.X, ./configure may end
  with failure.
  
  You  need another packages such as Qt, get text.
  
  Before typing './configure', please read README and INSTALL carefully.
  And please type
  ./configure --help
  
  And please tell us your computers architecture. (i386 or x86_64 ?)
 
 Thanks for the help.
 I have gcc --version
 gcc (Debian 4.7.2-5) 4.7.2
 
 and x86_64
 
 Installation worked, but starting my
 lyx-206 
 gives me this output (sorry in German)
 
 [1] 6619
 wolfgang@wolfgang:~$ socktools.cpp (115): lyx: Could not bind address
 '/tmp/lyx_tmpdir.MT6619/lyxsocket' to socket descriptor: Keine
 Berechtigung Warning: Festplatten-Fehler:
 
 LyX konnte kein temporäres Verzeichnis
 '/tmp/lyx_tmpdir.MT6619/lyx_tmpbuf0' erstellen (Festplatte ist
 vielleicht voll?)
 
 -MY COMMENTS: HARDDISK FULL - But I have a 2TIB harddisk and not more
 than a third is used. I also removed the /tmp/lyx_tmpdir.MT and tried
 again
 
 lyx: SIGSEGV-Signal empfangen!
 Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich
 haben Sie keine Daten verloren.
 Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet,
 und erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
 Tschüs.
 Error: LyX ist abgestürzt!
 
 SIGSEGV-Signal empfangen!
 Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich
 haben Sie keine Daten verloren.
 Bitte lesen Sie im LyX-Menü 'Hilfe-Einführung', wie man Fehler meldet,
 und erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
 Tschüs.
 
 HERE MY QUESTIONS (silly ones, I am afraid):
 
 1- What do I have to change in my system to get the errors in English?

 Did solve this myself (locale...)

The other two questions remain

Wolfgang

 
 2- Is it recommendable to install texlive2013 first before I try to
 install lyx?
 (I have 2012 and tried to install 2013)
 
 3- There is a repository of lyx 2.0.6
  http://linuxg.net/how-to-install-lyx-2-0-6-2-1-0-beta-1-\
 on-ubuntu-13-10-13-04-12-10-12-04-and-linux-mint-16-15-14-13/
 for ubuntu and linux-mint
 would it work also for Debian wheezy? Or should I switch to one of
 those?


Re: how to add a caption to a Box inset?

2013-10-10 Thread Frank Leone
Justin Wood Justin.Wood at murdoch.edu.au writes:

 
 Jürgen,(all,)Nothing I try will make the content of this custom boxfloat 
honour paragraph spacing. For example, this hack (based on your original 
code) doesn't work, but if I use ERT to create a framedpar explicitly, it 
works fine. The only difference my novice eyes can see is the fact that 
boxfloat is of course a float, wrapped in the {float} package which is used 
to define the custom boxfloat type with a LyX 
module.\newenvironment{framedpar}{\begin{framed}%  \setlength{\parskip}
{20pt}% big number to test%  \setlength{\parsep}{10pt}  }%{\end{framed}}% 
end framedpar% Jurgen's Box Float mods\ at ifundefined{fs at boxed}{}% 
do nothing if not in use{%  \usepackage{framed}  \newcommand\floatc at 
simplerule[2]{\flushleft{\ at fs at cfont #1 #2}}  \renewcommand\fs at 
boxed{%   \def\ at fs at cfont{\bfseries}\let\ at fs at capt\floatc 
at simplerule    \def\ at fs at pre{\begin{framedpar}}%    \def\ at 
fs at post{\end{framedpar}}%    \def\ at fs at mid{\kern8pt}%    \let\ 
at fs at iftopcapt\iftrue}}%I'm now thinking there's something in the 
{float} module that prevents it? Is this something you've come across 
before?Thanks so much for your help (and patience!).
 
 
 ~:Justin Wood:~
 PhD candidate, Energy  Engineering school, Murdoch University
 
 On 16 September 2010 16:19, Justin Wood Justin.Wood at murdoch.edu.au 
wrote:2. separate paragraphs with blank line the same as LyX does for normal 
text; add blank line after Box caption too.
 
 
 
 

Dear Jürgen and others,

Thanks a lot for the boxfloat, it is exactly what I needed. Now I however 
want to have a figure float within the boxfloat. If I however try to do 
this, I get the error:

LaTeX error: No counter 'subboxfloat' defined.

How can I make sure he understand sub-boxes/sub-figures inside a boxfloat?

Thanks a lot in advance!

   best,

Frank



Re: LyX 2.0.6 scroll lag on Mac 10.8.5

2013-10-10 Thread Jean-Marc Lasgouttes

Le 10/10/13 01:03, Gwen Barnes a écrit :

Hi folks,

I am using LyX 2.0.6 on Mac 10.8.5.  Whenever I try to scroll, for
instance, with the mouse wheel, or with trackpad gestures, there is
almost a full second lag before the screen starts to change, and then it
moves jerkily until it gets to where it's going.  Based on some comments
I found online, I have found that the lag goes away if I make my LyX
window tiny -- but then the window is not useful to me.

Any ideas what the problem might be, and things I could try to fix it?


The problem is a weakness in LyX display mechanism: text is drawn 
several characters at a time, while metrics (measurement of size) is 
done character-per-character. On windows and linux, it is not a problem, 
but on a Mac, where fonts use ligatures, it means that the cursor does 
not appear where it should.


To alleviate that, by default mac builds draws the screen char-by-char 
too. It works, but it is quite slow...

You can see what the effect is by adding
\force_paint_single_char 0
in the preferences file.

Unfortunately, this situation will not improve in version 2.1.

There is a branch that tackles this problem, but it is not ready yet.

JMarc


Re: lyx 2.0.6 install: gcc unknown type name 'not'

2013-10-10 Thread Wolfgang Engelmann
Am Wednesday, 9. October 2013, 14:10:48 schrieb Hiromu SAKAMOTO:
> Wolfgang Engelmann  Wrote:
> 
> > Hi,
> > in trying to install lyx 2.0.6
> > I get in the  configure log file this
> > 
> > configure:5575: checking whether byte ordering is bigendian
> > configure:5590: gcc -c -g -O2  conftest.c >&5
> > conftest.c:22:9: error: unknown type name 'not'
> > conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__
> 
> attribute__'
> 
> > before 'universal'
> > conftest.c:22:15: error: unknown type name 'universal'
> > configure:5590: $? = 1
> > 
> > configure: failed program was:
> > | /* confdefs.h */
> > 
> > I am using debian-wheezy
> > and have gcc installed
> > What am I missing?
> > 
> > Wolfgang
> 
> Hello!
> 
> Please type
> gcc --version.
> LyX needs gcc 4.X. If your comiler is gcc 3.X, ./configure may end with
> failure.
> 
> You  need another packages such as Qt, get text.
> 
> Before typing './configure', please read README and INSTALL carefully.
> And please type
> ./configure --help
> 
> And please tell us your computers architecture. (i386 or x86_64 ?)

Thanks for the help.
I have gcc --version 
gcc (Debian 4.7.2-5) 4.7.2

and x86_64

Installation worked, but starting my
lyx-206 &  
gives me this output (sorry in German)
  
[1] 6619
   
wolfgang@wolfgang:~$ socktools.cpp (115): lyx: Could not bind address 
'/tmp/lyx_tmpdir.MT6619/lyxsocket' to socket descriptor: Keine Berechtigung 
  
Warning: Festplatten-Fehler:



LyX konnte kein temporäres Verzeichnis '/tmp/lyx_tmpdir.MT6619/lyx_tmpbuf0' 
erstellen (Festplatte ist vielleicht voll?)

->MY COMMENTS: HARDDISK FULL - But I have a 2TIB harddisk and not more than 
a third is used. I also removed the /tmp/lyx_tmpdir.MT and tried again

lyx: SIGSEGV-Signal empfangen!
Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich haben 
Sie keine Daten verloren.
Bitte lesen Sie im LyX-Menü 'Hilfe->Einführung', wie man Fehler meldet, und 
erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
Tschüs.
Error: LyX ist abgestürzt!

SIGSEGV-Signal empfangen!
Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich haben 
Sie keine Daten verloren.
Bitte lesen Sie im LyX-Menü 'Hilfe->Einführung', wie man Fehler meldet, und 
erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
Tschüs.

HERE MY QUESTIONS (silly ones, I am afraid):

1- What do I have to change in my system to get the errors in English?

2- Is it recommendable to install texlive2013 first before I try to install 
lyx?
(I have 2012 and tried to install 2013)

3- There is a repository of lyx 2.0.6 
 http://linuxg.net/how-to-install-lyx-2-0-6-2-1-0-beta-1-\
on-ubuntu-13-10-13-04-12-10-12-04-and-linux-mint-16-15-14-13/
for ubuntu and linux-mint
would it work also for Debian wheezy? Or should I switch to one of those?






Re: Japanese in an English doc

2013-10-10 Thread Richard Opheim
Looking at the .pdf, I'm quite envious. After working on this for a couple
of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
support Japanese in an English document.


On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak  wrote:

> Thanks for the example, Richard. The attached example compiles to PDF
> (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
> or ps2pdf. I have no idea if it's the correct way to do it (it does
> not use CJK).
>
> Scott
>
> On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim  wrote:
> > Please find attached minimal example that reproduces error message. I've
> > changed the class to article as per FAQ. My OS is Windows 8, and I'm
> using
> > MiKTek 2.9, updated yesterday.
> >
> >
> > On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak 
> wrote:
> >>
> >> On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim 
> wrote:
> >> > OK, I selected the test Japanese character, then selected Edit-Text
> >> > Style-Customized-Language "Japanese (CJK)".  I made sure to adjust
> >> > Document-Settings-Language-Encoding to "Unicode (CJK) (utf8)" and
> >> > reconfigure. I was still not successful, although I did get a slightly
> >> > different error message:
> >> > "Package inputenc Error: Unicode char \u8:**---not set up for use with
> >> > LaTex."
> >>
> >> Hi Richard,
> >>
> >> In problems like these, it's very helpful to send a minimal LyX
> >> example that shows the problem you're having. See here:
> >> wiki.lyx.org/FAQ/MinimalExample
> >>
> >> Also, which operating system and TeX installation do you use?
> >>
> >> Scott
> >
> >
> >
> >
> > --
> > Richard Opheim
> > Skype name: richard.opheim
> >
> > Self-publishing Consultant
> > Editing---Layout---Musical Scores---Images---Ebooks
> >
> > https://sites.google.com/site/opheimrichard/home
> >
> > blog:
> > http://foliocirculaire.blogspot.com
> >
> > "If, instead of welcoming criticism and inquiry, the admirers of a great
> > author accept his writings as authoritative, both in their excellences
> and
> > in their defects, the most serious injury is done to truth. In matters of
> > philosophy and science, authority has ever been the great opponent of
> truth.
> > A despotic calm is usually the triumph of error. In the republic of the
> > sciences, sedition and even anarchy are beneficial in the long run to the
> > greatest happiness of the greatest number."
> >
> > W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.
>



-- 
Richard Opheim
Skype name: richard.opheim

Self-publishing Consultant
Editing---Layout---Musical Scores---Images---Ebooks

https://sites.google.com/site/opheimrichard/home


blog:
http://foliocirculaire.blogspot.com

"If, instead of welcoming criticism and inquiry, the admirers of a great
author accept his writings as authoritative, both in their excellences and
in their defects, the most serious injury is done to truth. In matters of
philosophy and science, authority has ever been the great opponent of
truth. A despotic calm is usually the triumph of error. In the republic of
the sciences, sedition and even anarchy are beneficial in the long run to
the greatest happiness of the greatest number."

W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.


Lyx 2.0.6: Document settings can't be changed (OK greyed out)

2013-10-10 Thread Gerold Hintz
I am running LyX 2.0.6 on Windows 7 SP1. I'm having an issue with
changing any document settings of any file, the buttons *OK *and
*Apply *just remain greyed out. (Someone posted the same issue running
2.0.7dev on ubunto on stackexchange here
)

Any help is appreciated.
- Gerold


lyx branches problem

2013-10-10 Thread Csikos Bela
Liviu, Guenter: 

Thank you for drawing my attention to branches in lyx.

I did not know about it before.

I tried to convert an existing document to use branches.

I find branches very attractive but I have a problem.

In my document I have enumerate lists. One item has statements in two

languages. After converting the lines to branches I get error at compilation:

! LaTeX Error: There's no line here to end.

What can cause this error?

I attach a working and a converted non-working example file

(no-branches-OK.lyx, branch-not-working.lyx).

Thanks,

bcsikos



no-branches-OK.lyx
Description: Binary data


branch-not-working.lyx
Description: Binary data


Re: Japanese in an English doc

2013-10-10 Thread Liviu Andronic
On Thu, Oct 10, 2013 at 3:25 PM, Richard Opheim  wrote:
> Looking at the .pdf, I'm quite envious. After working on this for a couple
> of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
> support Japanese in an English document.
>
I don't think so. If you want to diminish the hassle, in Doc Settings
use Fonts > Use non-TeX fonts, then select an OpenType font that has
glyphs for Japanese and then your document should work nicely. Compile
with XeTeX or similar.

Liviu


>
> On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak  wrote:
>>
>> Thanks for the example, Richard. The attached example compiles to PDF
>> (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
>> or ps2pdf. I have no idea if it's the correct way to do it (it does
>> not use CJK).
>>
>> Scott
>>
>> On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim  wrote:
>> > Please find attached minimal example that reproduces error message. I've
>> > changed the class to article as per FAQ. My OS is Windows 8, and I'm
>> > using
>> > MiKTek 2.9, updated yesterday.
>> >
>> >
>> > On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak 
>> > wrote:
>> >>
>> >> On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim 
>> >> wrote:
>> >> > OK, I selected the test Japanese character, then selected Edit-Text
>> >> > Style-Customized-Language "Japanese (CJK)".  I made sure to adjust
>> >> > Document-Settings-Language-Encoding to "Unicode (CJK) (utf8)" and
>> >> > reconfigure. I was still not successful, although I did get a
>> >> > slightly
>> >> > different error message:
>> >> > "Package inputenc Error: Unicode char \u8:**---not set up for use
>> >> > with
>> >> > LaTex."
>> >>
>> >> Hi Richard,
>> >>
>> >> In problems like these, it's very helpful to send a minimal LyX
>> >> example that shows the problem you're having. See here:
>> >> wiki.lyx.org/FAQ/MinimalExample
>> >>
>> >> Also, which operating system and TeX installation do you use?
>> >>
>> >> Scott
>> >
>> >
>> >
>> >
>> > --
>> > Richard Opheim
>> > Skype name: richard.opheim
>> >
>> > Self-publishing Consultant
>> > Editing---Layout---Musical Scores---Images---Ebooks
>> >
>> > https://sites.google.com/site/opheimrichard/home
>> >
>> > blog:
>> > http://foliocirculaire.blogspot.com
>> >
>> > "If, instead of welcoming criticism and inquiry, the admirers of a great
>> > author accept his writings as authoritative, both in their excellences
>> > and
>> > in their defects, the most serious injury is done to truth. In matters
>> > of
>> > philosophy and science, authority has ever been the great opponent of
>> > truth.
>> > A despotic calm is usually the triumph of error. In the republic of the
>> > sciences, sedition and even anarchy are beneficial in the long run to
>> > the
>> > greatest happiness of the greatest number."
>> >
>> > W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.
>
>
>
>
> --
> Richard Opheim
> Skype name: richard.opheim
>
> Self-publishing Consultant
> Editing---Layout---Musical Scores---Images---Ebooks
>
> https://sites.google.com/site/opheimrichard/home
>
> blog:
> http://foliocirculaire.blogspot.com
>
> "If, instead of welcoming criticism and inquiry, the admirers of a great
> author accept his writings as authoritative, both in their excellences and
> in their defects, the most serious injury is done to truth. In matters of
> philosophy and science, authority has ever been the great opponent of truth.
> A despotic calm is usually the triumph of error. In the republic of the
> sciences, sedition and even anarchy are beneficial in the long run to the
> greatest happiness of the greatest number."
>
> W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.



-- 
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: Japanese in an English doc

2013-10-10 Thread Scott Kostyshak
Did you try the .lyx file I attached? It doesn't compile for you using
ps2pdf or dvipdfm(x)?

Scott

On Thu, Oct 10, 2013 at 9:25 AM, Richard Opheim  wrote:
> Looking at the .pdf, I'm quite envious. After working on this for a couple
> of days, I'm reluctantly coming to the conclusion that MikTeX/LyX doesn't
> support Japanese in an English document.
>
>
> On Thu, Oct 10, 2013 at 9:26 AM, Scott Kostyshak  wrote:
>>
>> Thanks for the example, Richard. The attached example compiles to PDF
>> (also attached) for me on Ubuntu with TeX Live, using either dvipdfm
>> or ps2pdf. I have no idea if it's the correct way to do it (it does
>> not use CJK).
>>
>> Scott
>>
>> On Wed, Oct 9, 2013 at 8:08 PM, Richard Opheim  wrote:
>> > Please find attached minimal example that reproduces error message. I've
>> > changed the class to article as per FAQ. My OS is Windows 8, and I'm
>> > using
>> > MiKTek 2.9, updated yesterday.
>> >
>> >
>> > On Thu, Oct 10, 2013 at 12:16 AM, Scott Kostyshak 
>> > wrote:
>> >>
>> >> On Wed, Oct 9, 2013 at 8:21 AM, Richard Opheim 
>> >> wrote:
>> >> > OK, I selected the test Japanese character, then selected Edit-Text
>> >> > Style-Customized-Language "Japanese (CJK)".  I made sure to adjust
>> >> > Document-Settings-Language-Encoding to "Unicode (CJK) (utf8)" and
>> >> > reconfigure. I was still not successful, although I did get a
>> >> > slightly
>> >> > different error message:
>> >> > "Package inputenc Error: Unicode char \u8:**---not set up for use
>> >> > with
>> >> > LaTex."
>> >>
>> >> Hi Richard,
>> >>
>> >> In problems like these, it's very helpful to send a minimal LyX
>> >> example that shows the problem you're having. See here:
>> >> wiki.lyx.org/FAQ/MinimalExample
>> >>
>> >> Also, which operating system and TeX installation do you use?
>> >>
>> >> Scott
>> >
>> >
>> >
>> >
>> > --
>> > Richard Opheim
>> > Skype name: richard.opheim
>> >
>> > Self-publishing Consultant
>> > Editing---Layout---Musical Scores---Images---Ebooks
>> >
>> > https://sites.google.com/site/opheimrichard/home
>> >
>> > blog:
>> > http://foliocirculaire.blogspot.com
>> >
>> > "If, instead of welcoming criticism and inquiry, the admirers of a great
>> > author accept his writings as authoritative, both in their excellences
>> > and
>> > in their defects, the most serious injury is done to truth. In matters
>> > of
>> > philosophy and science, authority has ever been the great opponent of
>> > truth.
>> > A despotic calm is usually the triumph of error. In the republic of the
>> > sciences, sedition and even anarchy are beneficial in the long run to
>> > the
>> > greatest happiness of the greatest number."
>> >
>> > W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.
>
>
>
>
> --
> Richard Opheim
> Skype name: richard.opheim
>
> Self-publishing Consultant
> Editing---Layout---Musical Scores---Images---Ebooks
>
> https://sites.google.com/site/opheimrichard/home
>
> blog:
> http://foliocirculaire.blogspot.com
>
> "If, instead of welcoming criticism and inquiry, the admirers of a great
> author accept his writings as authoritative, both in their excellences and
> in their defects, the most serious injury is done to truth. In matters of
> philosophy and science, authority has ever been the great opponent of truth.
> A despotic calm is usually the triumph of error. In the republic of the
> sciences, sedition and even anarchy are beneficial in the long run to the
> greatest happiness of the greatest number."
>
> W.S. Jevons, Theory of Political Economy, 1871, pp. 275-6.


Re: lyx 2.0.6 install: gcc unknown type name 'not'

2013-10-10 Thread Wolfgang Engelmann
On Thursday, 10. October 2013 13:22:50 Wolfgang Engelmann wrote:
> Am Wednesday, 9. October 2013, 14:10:48 schrieb Hiromu SAKAMOTO:
> > Wolfgang Engelmann  Wrote:
> > 
> > > Hi,
> > > in trying to install lyx 2.0.6
> > > I get in the  configure log file this
> > > 
> > > configure:5575: checking whether byte ordering is bigendian
> > > configure:5590: gcc -c -g -O2  conftest.c >&5
> > > conftest.c:22:9: error: unknown type name 'not'
> > > conftest.c:22:15: error: expected '=', ',', ';', 'asm' or '__
> > 
> > attribute__'
> > 
> > > before 'universal'
> > > conftest.c:22:15: error: unknown type name 'universal'
> > > configure:5590: $? = 1
> > > 
> > > configure: failed program was:
> > > | /* confdefs.h */
> > > 
> > > I am using debian-wheezy
> > > and have gcc installed
> > > What am I missing?
> > > 
> > > Wolfgang
> > 
> > Hello!
> > 
> > Please type
> > 
> > gcc --version.
> > 
> > LyX needs gcc 4.X. If your comiler is gcc 3.X, ./configure may end
> > with failure.
> > 
> > You  need another packages such as Qt, get text.
> > 
> > Before typing './configure', please read README and INSTALL carefully.
> > And please type
> > ./configure --help
> > 
> > And please tell us your computers architecture. (i386 or x86_64 ?)
> 
> Thanks for the help.
> I have gcc --version
> gcc (Debian 4.7.2-5) 4.7.2
> 
> and x86_64
> 
> Installation worked, but starting my
> lyx-206 &
> gives me this output (sorry in German)
> 
> [1] 6619
> wolfgang@wolfgang:~$ socktools.cpp (115): lyx: Could not bind address
> '/tmp/lyx_tmpdir.MT6619/lyxsocket' to socket descriptor: Keine
> Berechtigung Warning: Festplatten-Fehler:
> 
> LyX konnte kein temporäres Verzeichnis
> '/tmp/lyx_tmpdir.MT6619/lyx_tmpbuf0' erstellen (Festplatte ist
> vielleicht voll?)
> 
> ->MY COMMENTS: HARDDISK FULL - But I have a 2TIB harddisk and not more
> than a third is used. I also removed the /tmp/lyx_tmpdir.MT and tried
> again
> 
> lyx: SIGSEGV-Signal empfangen!
> Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich
> haben Sie keine Daten verloren.
> Bitte lesen Sie im LyX-Menü 'Hilfe->Einführung', wie man Fehler meldet,
> und erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
> Tschüs.
> Error: LyX ist abgestürzt!
> 
> SIGSEGV-Signal empfangen!
> Sie haben einen Fehler in LyX gefunden. Entschuldigung; hoffentlich
> haben Sie keine Daten verloren.
> Bitte lesen Sie im LyX-Menü 'Hilfe->Einführung', wie man Fehler meldet,
> und erstellen Sie einen Fehlerbericht, falls notwendig. Vielen Dank!
> Tschüs.
> 
> HERE MY QUESTIONS (silly ones, I am afraid):
> 
> 1- What do I have to change in my system to get the errors in English?

 Did solve this myself (locale...)

The other two questions remain

Wolfgang

> 
> 2- Is it recommendable to install texlive2013 first before I try to
> install lyx?
> (I have 2012 and tried to install 2013)
> 
> 3- There is a repository of lyx 2.0.6
>  http://linuxg.net/how-to-install-lyx-2-0-6-2-1-0-beta-1-\
> on-ubuntu-13-10-13-04-12-10-12-04-and-linux-mint-16-15-14-13/
> for ubuntu and linux-mint
> would it work also for Debian wheezy? Or should I switch to one of
> those?


Re: how to add a caption to a Box inset?

2013-10-10 Thread Frank Leone
Justin Wood  murdoch.edu.au> writes:

> 
> Jürgen,(all,)Nothing I try will make the content of this custom boxfloat 
honour paragraph spacing. For example, this hack (based on your original 
code) doesn't work, but if I use ERT to create a framedpar explicitly, it 
works fine. The only difference my novice eyes can see is the fact that 
boxfloat is of course a float, wrapped in the {float} package which is used 
to define the custom boxfloat type with a LyX 
module.\newenvironment{framedpar}{\begin{framed}%  \setlength{\parskip}
{20pt}% big number to test%  \setlength{\parsep}{10pt}  }%{\end{framed}}% 
end framedpar% Jurgen's Box Float mods\  ifundefined{fs  boxed}{}% 
do nothing if not in use{%  \usepackage{framed}  \newcommand\floatc  
simplerule[2]{\flushleft{\  fs  cfont #1 #2}}  \renewcommand\fs  
boxed{%   \def\  fs  cfont{\bfseries}\let\  fs  capt\floatc 
 simplerule    \def\  fs  pre{\begin{framedpar}}%    \def\  
fs  post{\end{framedpar}}%    \def\  fs  mid{\kern8pt}%    \let\ 
 fs  iftopcapt\iftrue}}%I'm now thinking there's something in the 
{float} module that prevents it? Is this something you've come across 
before?Thanks so much for your help (and patience!).
> 
> 
> ~:Justin Wood:~
> PhD candidate, Energy & Engineering school, Murdoch University
> 
> On 16 September 2010 16:19, Justin Wood  murdoch.edu.au> 
wrote:2. separate paragraphs with blank line the same as LyX does for normal 
text; add blank line after Box caption too.
> 
> 
> 
> 

Dear Jürgen and others,

Thanks a lot for the boxfloat, it is exactly what I needed. Now I however 
want to have a figure float within the boxfloat. If I however try to do 
this, I get the error:

LaTeX error: No counter 'subboxfloat' defined.

How can I make sure he understand sub-boxes/sub-figures inside a boxfloat?

Thanks a lot in advance!

   best,

Frank