Can not change table padding in Lyx

2013-04-24 Thread Junchao Zhang
Hello,
  I use LyX 2.0 on Linux. I want to decrease table padding in a table. I
read http://tex.stackexchange.com/questions/35493/table-padding-in-lyx
  I included \usepackage{booktabs} in the LaTex preamble. In the lyx file,
I have
[image: Inline image 1]

 But from the generated pdf file, it seems this approach doesn't work.
 What is wrong with my code?
 Thanks

-- Junchao Zhang
image.png

Can not change table padding in Lyx

2013-04-24 Thread Junchao Zhang
Hello,
  I use LyX 2.0 on Linux. I want to decrease table padding in a table. I
read http://tex.stackexchange.com/questions/35493/table-padding-in-lyx
  I included \usepackage{booktabs} in the LaTex preamble. In the lyx file,
I have
[image: Inline image 1]

 But from the generated pdf file, it seems this approach doesn't work.
 What is wrong with my code?
 Thanks

-- Junchao Zhang
image.png

Can not change table padding in Lyx

2013-04-24 Thread Junchao Zhang
Hello,
  I use LyX 2.0 on Linux. I want to decrease table padding in a table. I
read http://tex.stackexchange.com/questions/35493/table-padding-in-lyx
  I included \usepackage{booktabs} in the LaTex preamble. In the lyx file,
I have
[image: Inline image 1]

 But from the generated pdf file, it seems this approach doesn't work.
 What is wrong with my code?
 Thanks

-- Junchao Zhang
<>

Re: Spell checker has no dictionaries

2013-01-17 Thread Junchao Zhang
Hi, Stephan,
   I find I just need to put dictionary files under $(HOME)/.lyx/dicts/
  That is, the dictionaries need to be found by LyX, not just hunspell.

  Thanks
--Junchao Zhang
On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:

  Dear all,
I installed hunspell, then I installed Lyx.

 Dear Junchao,

 hunspell and LyX are two independent programs. LyX has builtin hunspell
 support or not.

  When I configured Lyx, I could see Lyx found hunspell.

 I understand this as: you can see hunspell as available spell checker in
 preferences, right?

I set
  export DICPATH=/home/jczhang/usr/share/dict/
  export DICTIONARY=en_US
in my bashrc
 
If I invoke hunspell -D, it will give
  AVAILABLE DICTIONARIES (path is not mandatory for -d option):
  /home/jczhang/usr/share/dict//en_US
  /home/jczhang/usr/share/dict//en_AU
  /home/jczhang/usr/share/dict//en_CA
  ...
  LOADED DICTIONARY:
  /home/jczhang/usr/share/dict//en_US.aff
  /home/jczhang/usr/share/dict//en_US.dic
  Hunspell 1.3.2
 
I choose the spellchecker engine in Lyx as hunspell.
However, when I do spellcheck in Lyx, it just pops a window Spell
 checker has no dictionaries, and no other clues.

 LyX does not find the dictionaries in your home directory.
 You have to point it there in LyX path's preferences.
 Try to enter /home/jczhang/usr/share/dict and see if it helps.

 Regards,
 Stephan




-- 
Junchao Zhang


Re: Spell checker has no dictionaries

2013-01-17 Thread Junchao Zhang
Hi, Stephan,
   I find I just need to put dictionary files under $(HOME)/.lyx/dicts/
  That is, the dictionaries need to be found by LyX, not just hunspell.

  Thanks
--Junchao Zhang
On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt st.w...@gmx.net wrote:

 Am 17.01.2013 um 20:07 schrieb Junchao Zhang junchao.zh...@gmail.com:

  Dear all,
I installed hunspell, then I installed Lyx.

 Dear Junchao,

 hunspell and LyX are two independent programs. LyX has builtin hunspell
 support or not.

  When I configured Lyx, I could see Lyx found hunspell.

 I understand this as: you can see hunspell as available spell checker in
 preferences, right?

I set
  export DICPATH=/home/jczhang/usr/share/dict/
  export DICTIONARY=en_US
in my bashrc
 
If I invoke hunspell -D, it will give
  AVAILABLE DICTIONARIES (path is not mandatory for -d option):
  /home/jczhang/usr/share/dict//en_US
  /home/jczhang/usr/share/dict//en_AU
  /home/jczhang/usr/share/dict//en_CA
  ...
  LOADED DICTIONARY:
  /home/jczhang/usr/share/dict//en_US.aff
  /home/jczhang/usr/share/dict//en_US.dic
  Hunspell 1.3.2
 
I choose the spellchecker engine in Lyx as hunspell.
However, when I do spellcheck in Lyx, it just pops a window Spell
 checker has no dictionaries, and no other clues.

 LyX does not find the dictionaries in your home directory.
 You have to point it there in LyX path's preferences.
 Try to enter /home/jczhang/usr/share/dict and see if it helps.

 Regards,
 Stephan




-- 
Junchao Zhang


Re: Spell checker has no dictionaries

2013-01-17 Thread Junchao Zhang
Hi, Stephan,
   I find I just need to put dictionary files under $(HOME)/.lyx/dicts/
  That is, the dictionaries need to be found by LyX, not just hunspell.

  Thanks
--Junchao Zhang
On Thu, Jan 17, 2013 at 5:07 PM, Stephan Witt <st.w...@gmx.net> wrote:

> Am 17.01.2013 um 20:07 schrieb Junchao Zhang <junchao.zh...@gmail.com>:
>
> > Dear all,
> >   I installed hunspell, then I installed Lyx.
>
> Dear Junchao,
>
> hunspell and LyX are two independent programs. LyX has builtin hunspell
> support or not.
>
> > When I configured Lyx, I could see Lyx found hunspell.
>
> I understand this as: you can see hunspell as available spell checker in
> preferences, right?
>
> >   I set
> > export DICPATH=/home/jczhang/usr/share/dict/
> > export DICTIONARY=en_US
> >   in my bashrc
> >
> >   If I invoke hunspell -D, it will give
> > AVAILABLE DICTIONARIES (path is not mandatory for -d option):
> > /home/jczhang/usr/share/dict//en_US
> > /home/jczhang/usr/share/dict//en_AU
> > /home/jczhang/usr/share/dict//en_CA
> > ...
> > LOADED DICTIONARY:
> > /home/jczhang/usr/share/dict//en_US.aff
> > /home/jczhang/usr/share/dict//en_US.dic
> > Hunspell 1.3.2
> >
> >   I choose the spellchecker engine in Lyx as hunspell.
> >   However, when I do spellcheck in Lyx, it just pops a window "Spell
> checker has no dictionaries", and no other clues.
>
> LyX does not find the dictionaries in your home directory.
> You have to point it there in LyX path's preferences.
> Try to enter /home/jczhang/usr/share/dict and see if it helps.
>
> Regards,
> Stephan




-- 
Junchao Zhang


Compilation error of lyx-2.0.0rc2

2011-04-07 Thread Junchao Zhang
On a Centos 5.5 x86_64 system, use gcc 4.3.2. When I type make,  I get:

/usr/lib64/qt4/include/QtGui/qimage.h:56: warning: suggest parentheses
around  within ||
GuiSpellchecker.cpp: At global scope:
GuiSpellchecker.cpp:73: error: 'Ui' has not been declared
GuiSpellchecker.cpp:73: error: ISO C++ forbids declaration of
'SpellcheckerUi' with no type
GuiSpellchecker.cpp:73: error: expected ';' before 'ui'


Junchao Zhang


Compilation error of lyx-2.0.0rc2

2011-04-07 Thread Junchao Zhang
On a Centos 5.5 x86_64 system, use gcc 4.3.2. When I type make,  I get:

/usr/lib64/qt4/include/QtGui/qimage.h:56: warning: suggest parentheses
around  within ||
GuiSpellchecker.cpp: At global scope:
GuiSpellchecker.cpp:73: error: 'Ui' has not been declared
GuiSpellchecker.cpp:73: error: ISO C++ forbids declaration of
'SpellcheckerUi' with no type
GuiSpellchecker.cpp:73: error: expected ';' before 'ui'


Junchao Zhang


Compilation error of lyx-2.0.0rc2

2011-04-07 Thread Junchao Zhang
On a Centos 5.5 x86_64 system, use gcc 4.3.2. When I type make,  I get:

/usr/lib64/qt4/include/QtGui/qimage.h:56: warning: suggest parentheses
around && within ||
GuiSpellchecker.cpp: At global scope:
GuiSpellchecker.cpp:73: error: 'Ui' has not been declared
GuiSpellchecker.cpp:73: error: ISO C++ forbids declaration of
'SpellcheckerUi' with no type
GuiSpellchecker.cpp:73: error: expected ';' before 'ui'


Junchao Zhang


weird footnote symbol

2011-04-06 Thread Junchao Zhang
Hi,
  I use Lyx 1.6.9 to write my document. It has two footnotes. When I export
it to pdf,  both footnotes look like  9* The work is supported ... .
  I don't know where is the 9 from. I only want a simple *.
  Previouly, I didn't have this problem  It happens after I installed some
packages, added the following in the preamble.

\usepackage{url}
\setlength\tabcolsep{1.2pt}
\usepackage{slashbox}


  How can I get rid of the annoying '9'?

  Thanks
Junchao Zhang


weird footnote symbol

2011-04-06 Thread Junchao Zhang
Hi,
  I use Lyx 1.6.9 to write my document. It has two footnotes. When I export
it to pdf,  both footnotes look like  9* The work is supported ... .
  I don't know where is the 9 from. I only want a simple *.
  Previouly, I didn't have this problem  It happens after I installed some
packages, added the following in the preamble.

\usepackage{url}
\setlength\tabcolsep{1.2pt}
\usepackage{slashbox}


  How can I get rid of the annoying '9'?

  Thanks
Junchao Zhang


weird footnote symbol

2011-04-06 Thread Junchao Zhang
Hi,
  I use Lyx 1.6.9 to write my document. It has two footnotes. When I export
it to pdf,  both footnotes look like " 9* The work is supported ... ".
  I don't know where is the 9 from. I only want a simple *.
  Previouly, I didn't have this problem  It happens after I installed some
packages, added the following in the preamble.

\usepackage{url}
\setlength\tabcolsep{1.2pt}
\usepackage{slashbox}


  How can I get rid of the annoying '9'?

  Thanks
Junchao Zhang


Re: xxxxx.layout

2010-11-25 Thread Junchao Zhang
I run into this problem too.
I installed texlive2010 and lyx 1.6.7 under my directory.
By tlmgr, I installed IEEEconf.cls.
kpsewhich tex IEEEtran.cls shows
 /home/jczhang/usr/local/texlive/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls
When I click Lyx's Tools-- Tex Informantion, I can see lyx has found
IEEEtran.cls
Help--About Lyx shows Library directory is ~/usr/share/lyx. I can find
 layouts/IEEEtran.layout under this directory.

I run Lyx Tools--Reconfigure several times, but in Document class  drop
list, it is still Unavailable : artical (IEEEtran)

Any idea?
Thanks

Junchao Zhang

2010/11/25 Richard Heck rgh...@comcast.net

  On 11/25/2010 06:00 PM, Juan Abasolo Isasa wrote:


 ___
 En Inglés con GoogleTraslate:

 10.04 Kubuntu use Spanish custom and custom Linux Mint KDE 9 Basque.

 LyX 1.6.5 installed. from repositories

 In the two I get this error (in Basque, equivalent):


 The layout file requested by this document

 x.layout,

 is not usable. This is probably due to a file

 LaTeX class or style you need is not available. See manual

 Customization for more information.

 LyX will not produce output. 

 This happens with most of the templates that are in open new from
 template
 aa.lyx
 aastex.lyx
 ACM-siggraph.lyx
 ACM-sigplan.lyx
 agu_article.lyx
 apa.lyx
 ...

 Do work
 dinbrief.lyx
 docbock_article.lyx
 ...

  This is normal. Your base LaTeX installation does not provide every class
 that LyX is capable of using. If you have some reason that you need to use
 these classes, then you can install the LaTeX packages in the usual way.
 There is lots of information about how to do so on the Internet, and your
 LaTeX distribution (TeXLive?) may contain a tool to help with this.

 Richard




Re: xxxxx.layout

2010-11-25 Thread Junchao Zhang
I run into this problem too.
I installed texlive2010 and lyx 1.6.7 under my directory.
By tlmgr, I installed IEEEconf.cls.
kpsewhich tex IEEEtran.cls shows
 /home/jczhang/usr/local/texlive/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls
When I click Lyx's Tools-- Tex Informantion, I can see lyx has found
IEEEtran.cls
Help--About Lyx shows Library directory is ~/usr/share/lyx. I can find
 layouts/IEEEtran.layout under this directory.

I run Lyx Tools--Reconfigure several times, but in Document class  drop
list, it is still Unavailable : artical (IEEEtran)

Any idea?
Thanks

Junchao Zhang

2010/11/25 Richard Heck rgh...@comcast.net

  On 11/25/2010 06:00 PM, Juan Abasolo Isasa wrote:


 ___
 En Inglés con GoogleTraslate:

 10.04 Kubuntu use Spanish custom and custom Linux Mint KDE 9 Basque.

 LyX 1.6.5 installed. from repositories

 In the two I get this error (in Basque, equivalent):


 The layout file requested by this document

 x.layout,

 is not usable. This is probably due to a file

 LaTeX class or style you need is not available. See manual

 Customization for more information.

 LyX will not produce output. 

 This happens with most of the templates that are in open new from
 template
 aa.lyx
 aastex.lyx
 ACM-siggraph.lyx
 ACM-sigplan.lyx
 agu_article.lyx
 apa.lyx
 ...

 Do work
 dinbrief.lyx
 docbock_article.lyx
 ...

  This is normal. Your base LaTeX installation does not provide every class
 that LyX is capable of using. If you have some reason that you need to use
 these classes, then you can install the LaTeX packages in the usual way.
 There is lots of information about how to do so on the Internet, and your
 LaTeX distribution (TeXLive?) may contain a tool to help with this.

 Richard




Re: xxxxx.layout

2010-11-25 Thread Junchao Zhang
I run into this problem too.
I installed texlive2010 and lyx 1.6.7 under my directory.
By tlmgr, I installed IEEEconf.cls.
"kpsewhich tex IEEEtran.cls" shows
 "/home/jczhang/usr/local/texlive/texmf-dist/tex/latex/IEEEtran/IEEEtran.cls"
When I click Lyx's Tools--> Tex Informantion, I can see lyx has found
IEEEtran.cls
"Help-->About Lyx" shows Library directory is ~/usr/share/lyx. I can find
 layouts/IEEEtran.layout under this directory.

I run Lyx Tools-->Reconfigure several times, but in "Document class " drop
list, it is still "Unavailable : artical (IEEEtran)"

Any idea?
Thanks

Junchao Zhang

2010/11/25 Richard Heck <rgh...@comcast.net>

>  On 11/25/2010 06:00 PM, Juan Abasolo Isasa wrote:
>
>
> ___
> En Inglés con GoogleTraslate:
>
> 10.04 Kubuntu use Spanish custom and custom Linux Mint KDE 9 Basque.
>
> LyX 1.6.5 installed. from repositories
>
> In the two I get this error (in Basque, equivalent):
>
>
> "The layout file requested by this document
>
> x.layout,
>
> is not usable. This is probably due to a file
>
> LaTeX class or style you need is not available. See manual
>
> Customization for more information.
>
> LyX will not produce output. "
>
> This happens with most of the templates that are in "open new from
> template"
> aa.lyx
> aastex.lyx
> ACM-siggraph.lyx
> ACM-sigplan.lyx
> agu_article.lyx
> apa.lyx
> ...
>
> Do work
> dinbrief.lyx
> docbock_article.lyx
> ...
>
>  This is normal. Your base LaTeX installation does not provide every class
> that LyX is capable of using. If you have some reason that you need to use
> these classes, then you can install the LaTeX packages in the usual way.
> There is lots of information about how to do so on the Internet, and your
> LaTeX distribution (TeXLive?) may contain a tool to help with this.
>
> Richard
>
>