Re: points de suspensions

2012-02-25 Thread Liviu Andronic
On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com wrote:
 Yes, french Babel is loaded, and the french normal ... has no non-breaking 
 spaces  as english form has.

Then I'm not sure. French Babel seems to say that the ellipsis should
be the same as in English. If you simply need three subsequent dots,
why don't you insert directly '...' (three dots)? Perhaps someone else
can help.


 My question about replace simple space with non-breaking spaces is to quote a 
 verbatim.

I'm not sure what exactly you mean, but I don't think that 'verbatim'
concerns itself at all with non-breaking spaces and other miscellanea.


 For exemple: I'm very glade to be here (N, L45)
 I need a non-breaking spaces between N, and L45 to avoid this:
 I'm very glade to be here (N,
 L45)
 I did type the text and so I'd like to use find/replace if possible...

If you need non-breaking spaces in those places, simply insert
'protected spaces' as I suggested earlier. Even manually it shouldn't
take very long. You can use 'Advanced find  replace' to replace with
'ctrl+space', but you need to find a suitable 'find' pattern.

Regards
Liviu


 Thanks for your answers




 2012/2/25 Liviu Andronic landronim...@gmail.com

 Bonjour
 Comme la liste est en anglais, je répondrai dans cette langue.


 2012/2/25 Cyril Dupuis cyril.h.dup...@gmail.com:
  - les points de suspensions sont disposés à l'anglaise, avec un espace
  insécable entre chaque point. Est-il possible de modifier ce comportement ?
 
 What is the French behaviour in this case? I would expect that if you
 load French Babel (do you?), the it should take care of most (all?)
 Frech hyphenation and punctuation peculiarities. Again, what exactly
 do you expect to get?


  - j'aimerais faire des rechercher/remplacer pour échanger certains espaces
  simples avec des espaces insécables, mais même en faisant un copier/coller,
  je n'arrive pas à indiquer à lyx de remplacer par un espace insécable...
 
 In French, to the best of my knowledge, a non-breaking space is being
 used before
 »
 :
 ;
 !
 ?

 and after
 «

 As long as you use French Babel, LaTeX (and LyX) will automatically
 take care of these for you. For example, simply write Bonjour, ça
 va? (notice that there is no space before ?, non-breaking or
 otherwise) and LaTeX will automatically insert a non-breaking space
 before ? in the PDF output. Just try it. Same holds for the other
 characters.

 If for some reason you need to manually insert non-breaking spaces,
 then this is easy: either ctrl+space or insert  formatting 
 protected space.

 Regards
 Liviu





--
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: points de suspensions

2012-02-25 Thread Cyril Dupuis
“You can't have everything. Where would you put it? - Stephen
Wrighthttp://www.quotesdaddy.com/quote/589113/stephen-wright/you-cant-have-everything-where-would-you-put-it
”  Get this email app!
http://www.wisestamp.com/apps/quotes?utm_source=extensionutm_medium=emailutm_term=quotesutm_campaign=apps

 Get a signature like this.
http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
CLICK
HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17



2012/2/25 Liviu Andronic landronim...@gmail.com

 On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 wrote:
  Yes, french Babel is loaded, and the french normal ... has no
 non-breaking spaces  as english form has.
 
 Then I'm not sure. French Babel seems to say that the ellipsis should
 be the same as in English. If you simply need three subsequent dots,
 why don't you insert directly '...' (three dots)? Perhaps someone else
 can help.

 Lyx automatically replace the 3 dots  with ellipsis :/
you can have a look here for the reference
http://fr.wikipedia.org/wiki/Points_de_suspension (french)


  My question about replace simple space with non-breaking spaces is to
 quote a verbatim.
 
 I'm not sure what exactly you mean, but I don't think that 'verbatim'
 concerns itself at all with non-breaking spaces and other miscellanea.


  For exemple: I'm very glade to be here (N, L45)
  I need a non-breaking spaces between N, and L45 to avoid this:
  I'm very glade to be here (N,
  L45)
  I did type the text and so I'd like to use find/replace if possible...
 
 If you need non-breaking spaces in those places, simply insert
 'protected spaces' as I suggested earlier. Even manually it shouldn't
 take very long. You can use 'Advanced find  replace' to replace with
 'ctrl+space', but you need to find a suitable 'find' pattern.


With find/replace, lyx makes no difference between space and non-breaking
space, and this is my problem...
I try to edit the source code, but with no results


 Regards
 Liviu


  Thanks for your answers
 
 
 
 
  2012/2/25 Liviu Andronic landronim...@gmail.com
 
  Bonjour
  Comme la liste est en anglais, je répondrai dans cette langue.
 
 
  2012/2/25 Cyril Dupuis cyril.h.dup...@gmail.com:
   - les points de suspensions sont disposés à l'anglaise, avec un espace
   insécable entre chaque point. Est-il possible de modifier ce
 comportement ?
  
  What is the French behaviour in this case? I would expect that if you
  load French Babel (do you?), the it should take care of most (all?)
  Frech hyphenation and punctuation peculiarities. Again, what exactly
  do you expect to get?
 
 
   - j'aimerais faire des rechercher/remplacer pour échanger certains
 espaces
   simples avec des espaces insécables, mais même en faisant un
 copier/coller,
   je n'arrive pas à indiquer à lyx de remplacer par un espace
 insécable...
  
  In French, to the best of my knowledge, a non-breaking space is being
  used before
  »
  :
  ;
  !
  ?
 
  and after
  «
 
  As long as you use French Babel, LaTeX (and LyX) will automatically
  take care of these for you. For example, simply write Bonjour, ça
  va? (notice that there is no space before ?, non-breaking or
  otherwise) and LaTeX will automatically insert a non-breaking space
  before ? in the PDF output. Just try it. Same holds for the other
  characters.
 
  If for some reason you need to manually insert non-breaking spaces,
  then this is easy: either ctrl+space or insert  formatting 
  protected space.
 
  Regards
  Liviu
 
 



 --
 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: points de suspensions

2012-02-25 Thread Liviu Andronic
On Sat, Feb 25, 2012 at 9:32 AM, Cyril Dupuis cyril.h.dup...@gmail.com wrote:



 “You can't have everything. Where would you put it? - Stephen Wright ”
   Get this email app!
 Get a signature like this. CLICK HERE.


 2012/2/25 Liviu Andronic landronim...@gmail.com

 On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 wrote:
  Yes, french Babel is loaded, and the french normal ... has no
  non-breaking spaces  as english form has.
 
 Then I'm not sure. French Babel seems to say that the ellipsis should
 be the same as in English. If you simply need three subsequent dots,
 why don't you insert directly '...' (three dots)? Perhaps someone else
 can help.

 Lyx automatically replace the 3 dots  with ellipsis :/

Are you sure? I cannot see this behaviour in either French or English
documents: When I insert three dots '...' I just get 3 dots, in LyX
and in LaTeX. To get the \ldots{}, I need to specifically insert the
ellipse special character.


 you can have a look here for the reference
 http://fr.wikipedia.org/wiki/Points_de_suspension (french)



 If you need non-breaking spaces in those places, simply insert
 'protected spaces' as I suggested earlier. Even manually it shouldn't
 take very long. You can use 'Advanced find  replace' to replace with
 'ctrl+space', but you need to find a suitable 'find' pattern.


 With find/replace, lyx makes no difference between space and non-breaking
 space, and this is my problem...

Try _Advanced_ Find  Replace.

Liviu


Re: points de suspensions

2012-02-25 Thread Cyril Dupuis
“I know that you believe you understand what you think I said, but I'm not
sure you realize that what you heard is not what I meant. - Robert
McCloskeyhttp://www.quotesdaddy.com/quote/711703/robert-mccloskey/i-know-that-you-believe-you-understand-what-you-think
”  Get this email app!
http://www.wisestamp.com/apps/quotes?utm_source=extensionutm_medium=emailutm_term=quotesutm_campaign=apps

 Get a signature like this.
http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
CLICK
HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17



2012/2/25 Liviu Andronic landronim...@gmail.com

 On Sat, Feb 25, 2012 at 9:32 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 wrote:
 
 
 
  “You can't have everything. Where would you put it? - Stephen Wright ”
Get this email app!
  Get a signature like this. CLICK HERE.
 
 
  2012/2/25 Liviu Andronic landronim...@gmail.com
 
  On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 
  wrote:
   Yes, french Babel is loaded, and the french normal ... has no
   non-breaking spaces  as english form has.
  
  Then I'm not sure. French Babel seems to say that the ellipsis should
  be the same as in English. If you simply need three subsequent dots,
  why don't you insert directly '...' (three dots)? Perhaps someone else
  can help.
 
  Lyx automatically replace the 3 dots  with ellipsis :/
 
 Are you sure? I cannot see this behaviour in either French or English
 documents: When I insert three dots '...' I just get 3 dots, in LyX
 and in LaTeX. To get the \ldots{}, I need to specifically insert the
 ellipse special character.


You're right ! The problem is that I copied/paste from OOo, and OOo makes
this replacement.



  you can have a look here for the reference
  http://fr.wikipedia.org/wiki/Points_de_suspension (french)
 


  If you need non-breaking spaces in those places, simply insert
  'protected spaces' as I suggested earlier. Even manually it shouldn't
  take very long. You can use 'Advanced find  replace' to replace with
  'ctrl+space', but you need to find a suitable 'find' pattern.
 
 
  With find/replace, lyx makes no difference between space and non-breaking
  space, and this is my problem...
 
 Try _Advanced_ Find  Replace.


Yes, it's a little better. I can replace with non-breaking spaces, but
find don't make the difference...
Well, anyway, I got enought to make a goog job :)

Thank you for all !



 Liviu



Re: 5 questions from a new user

2012-02-25 Thread Jürgen Spitzmüller
Pascal Fischer wrote:
 1. I've read, that it is needed to install spellcheck-dictionaries for
 other languages and additional modules (e.g. for linguistic documents)
 seperately. Where do I find these and how do I install them so that
 Lyx uses them?

On Windows, the spellcheck dictionaries should be installed by default. As for 
the linguistics extensions, you should start with the Linguistics Manual (Help 
 Specific Manuals  Linguistics Manual) and with this HowTo:

http://wiki.lyx.org/LyX/LinguistLyX

HTH
Jürgen


LyX Server Downtime - server on the move

2012-02-25 Thread Lars Gullik Bjønnes
Hi all,

The LyX server running the web pages, the wiki and subversion will
be moved from one virtual server to another during next week. This move will
consist of a complete re-install since the virtual-servers in question are not
compatible.

The Downtime will be from Tuesday evening/night, until the IP addresses has been
moved over and I have had time to verify that everything is working on
the new server
in general. There might be a downtime of ~24hrs, but I expect a lot less.

The Downtime will affect all services running on this server: web,
wiki and subversion.

Mailing lists will NOT be affected.

Questions/comments can be sent to me directly, or the devel list.

--
        Lgb


Re: shared library run problem

2012-02-25 Thread Stephan Witt
Am 25.02.2012 um 05:57 schrieb Sajjad:

 I compiled both qt and lyx from source. The installation instructions for qt 
 did not mention anything about this issue and it is working fine.
 
 Is there any way to send the parameter while configuring lyx so that the 
 compilation is done against the 32 -bit instead ?

Why did you compile Qt form source? Didn't you have it already installed?
I think it's better to use the system Qt and install the missing developer 
package if needed. 
You have to be sure to provide the correct version of Qt at runtime if you want 
to use your own package.
To verify that you may use ldd /path/to/lyx to check what Qt-libraries are 
linked at run time. 
Perhaps you have to adjust your LD_LIBRARY_PATH variable accordingly.

Stephan

 
 I am using the 64-bit ubuntu. 
 
 
 
 On Fri, Feb 24, 2012 at 6:34 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/24/2012 09:51 AM, Sajjad wrote:
  hello forum,
 
  I just managed to compile LyX from source and it compiled fine. The qt
  path is mentioned while configuring and configuring.
 
  Now when i try to run lyx or lyxclient i get the following error:
 
  /
  sajjad@sajjad:~$ lyxclient: error while loading shared libraries:
  libQtGui.so.4: wrong ELF class: ELFCLASS32
  
 
 It looks like LyX has been compiled as a 64 bit app, but what's being
 found are 32 bit libraries. I'm afraid I don't know why this would be.
 But maybe that's a clue?
 
 Richard
 
 



Auto response - re:Re: shared library run problem [pfCase:2108434, pfTicket:7384782]

2012-02-25 Thread support
pfTicket: 7384782

Thank you for e-mailing the Casino Support Desk.

We have assigned your query one of our Support Consultants and you should 
receive a response soon.

While we do our best to ensure that all e-mails are responded to as quickly as 
possible, it can – on rare occasions – take a bit of time for us to get a 
response back to you

Should you urgently require a response, we would suggest that you please 
contact us via our Toll Free Numbers, listed below

Kind Regards

Casino Support

Support Hours
24 Hours a Day, 7 Days a Week 

Contact Numbers

Argentina: 08004440973
Australia: 1-800-658460
Austria: 085080
Belgium: 080049216
Canada: 18667452416
Chile: 12300207689
Cyprus: 80077315
Denmark: 80887134
Finland: 800919692
Germany: 0803370
Greece: 00 800-127-304
Hong Kong: 800-903483
Italy: 800986542
Malaysia: 1800812500
Mexico: 18669724381
Netherlands: 08000204703
New Zealand: 0800449767
Norway: 80019453
Portugal: 800-814053
Singapore: 800-1204340
Spain: 800 3000 87
Sweden: 0200-899-162
Switzerland: 081722
Thailand: 1-801-20665859
UK: 0-808-2386055


mathspec disables instant preview

2012-02-25 Thread d c
I ahve just discovered, arduously, that using mathspec prevents preview from 
working. Is this a bug, feature, or other?



Re: mathspec and new theorem disable instant preview

2012-02-25 Thread d c

d c gmane.99.kyoto at spamgourmet.com writes:

 
 I ahve just discovered, arduously, that using mathspec prevents preview from 
 working. Is this a bug, feature, or other?
 
 


sorry I realized I was being perhaps cryptic.

specifically:
\usepackage[no-math]{mathspec} 
in my preamble seems to make instant preview stop functioning. 
I am using xetex, and I have tried many combinations of settings, but it all 
seems to boil down to this line.
I want to be able to set the font for math. 
Perhaps another package for this exists?

In a possible related vein, I also noticed that 
adding the following to my preamble also is breaking instant preview:

\newtheoremstyle{mytheorem} %hnamei
{\topsep}%  Space above
{\topsep}%  Space below
{\ttfamily} % hBody fonti
{} % hIndent amounti1
{\ttfamily} % hTheorem head fonti
{:} % hPunctuation after theorem headi
{.5em} % hSpace after theorem headi2
{} % hTheorem head spec (can be left empty, meaning ‘normal’)i
\theoremstyle{mytheorem} % this should set the current theorem style to 
mytheorem?
\newtheorem{mytheorem}{My Theorems} %this loads the new theorem style and uses 
My Theorems as its heading 
%\newtheorem{thm}{Theorem}
--

These may or may not be related. They work (that is to say act to break) 
independently of each other.




Re: shared library run problem

2012-02-25 Thread Sajjad
Hello


I am using an old machine and repository support went out. I recently
updated the qt version to 4.8.0 from source.

While configuring the lyx source i am providing wiith the qt path and it
did not complain at all:

//

sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure
--with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'
configuring LyX version 2.0.0
checking for build type... release
checking for version suffix...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.5/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.5/site-packages
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking whether to use included boost library... yes
checking whether to use included MyThes library... yes
checking size of wchar_t... 4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t
cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t
*outbytesleft);
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... no
checking for moc... /usr/local/Trolltech/Qt-4.8.0///bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/Trolltech/Qt-4.8.0///bin/uic
checking for rcc-qt4... no
checking for rcc... /usr/local/Trolltech/Qt-4.8.0///bin/rcc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned 

Re: count math symbols with statistics

2012-02-25 Thread Frank Fun
Hi,

I am using the lyx 1.6.4 tools - statistics menu item to count the
words in my manuscript.  The manuscript contains a lot of mathematical
symbols which I would like to count as words however.  Lyx counts
characters, but this is unhelpful for me since I would like to count
each individual mathematical operator as a word.  

For example, I would like a statement such as the following equation,
x^y + f, to count as six words (three for the words, three for the
symbols x^y, +, and f).  Instead, lyx counts that statement as three
words.  Any help would be appreciated.

Fun



need working example of copier to customize pdf output

2012-02-25 Thread Paul Johnson
I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.


I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder,
I just want that additional command to run.  But I don't want this 2x2
PDF type for all PDF I create,
just for the Beamer slide projects.

Thanks in advance.


[1] I've got example output here, in case you want to see what I mean:

http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

I just upload the full working directory, let the students take the
source code or the pdf output,
or the 2x2 pdf output.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


RE: Including landscape lyx document to portrait document

2012-02-25 Thread Hannu Vuolasaho




 Date: Fri, 24 Feb 2012 12:29:43 -0500
 From: rgh...@comcast.net
 To: vuo...@msn.com
 CC: lyx-users@lists.lyx.org
 Subject: Re: Including landscape lyx document to portrait document

 On 02/24/2012 06:29 AM, Hannu Vuolasaho wrote:
 
  How do I include the landscape document and how do I get the labels working 
  from there? Or am I asking something impossible or is it just unholy union 
  where is nothing good?
 
 This can be done but will need ERT. Try this:
 +AKAAoACg- http://texblog.org/2007/11/10/landscape-in-latex/

Thanks. Two small  red boxes and one in preample did the trict.

Hannu Vuolasho

  

Re: need working example of copier to customize pdf output

2012-02-25 Thread Yihui Xie
I'm not sure if a copier or converter can be associated to a
particular document class, but this task does not seem to be closely
tied to LyX since it is just pdf-to-pdf conversion. I mean you can
write a shell script named, say, pdfnup22, and put it in your PATH so
that each time you call pdfnup22 to convert all your slides to the 2x2
layout. To restrict the conversion only on certain files, I guess you
can name all your slides with a special pattern, e.g. something like
^.*-lecture.pdf$, then pdfnup22 lists all files with this pattern and
convert them all. This conversion can be done on demand, instead of
each time you export PDF from LyX.

Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Feb 25, 2012 at 12:43 PM, Paul Johnson pauljoh...@gmail.com wrote:
 I'm generating a lot of slide shows for my statistics class. Sometimes
 I forget to run the followup program
 to create a compressed version of the presentation. It want to make
 that automatic.[1]

 When I export a document in pdf from a Beamer slides project, I also
 want this shell program to run.
 It automatically creates another pdf document that is 4 slides on one page.

 #!/bin/bash

 pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


 pdfnup is from package called pdfjam on Debian Linux. The output is
 awesome, quick, convenient.


 I am reading the LyX customization manual about copiers, but I just
 can't understand it!

 I don't want to destroy the existing copy behavior that writes the PDF
 output to the document folder,
 I just want that additional command to run.  But I don't want this 2x2
 PDF type for all PDF I create,
 just for the Beamer slide projects.

 Thanks in advance.


 [1] I've got example output here, in case you want to see what I mean:

 http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

 I just upload the full working directory, let the students take the
 source code or the pdf output,
 or the 2x2 pdf output.

 --
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas


Re: shared library run problem

2012-02-25 Thread Richard Heck

On 02/25/2012 08:48 AM, Sajjad wrote:

Hello


I am using an old machine and repository support went out. I recently 
updated the qt version to 4.8.0 from source.


While configuring the lyx source i am providing wiith the qt path and 
it did not complain at all:


This is just a matter of finding the headers. It doesn't have anything 
to do with which libraries the system is trying to load when LyX 
requests them. Try, as Stephan suggested:

 ldd /path/to/lyx

Richard


//

sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure 
--with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'

configuring LyX version 2.0.0
checking for build type... release
checking for version suffix...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... 
${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages

checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking whether to use included boost library... yes
checking whether to use included MyThes library... yes
checking size of wchar_t... 4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv 
(iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, 
size_t *outbytesleft);

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... no
checking for moc... /usr/local/Trolltech/Qt-4.8.0///bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/Trolltech/Qt-4.8.0///bin/uic
checking for rcc-qt4... no
checking for rcc... /usr/local/Trolltech/Qt-4.8.0///bin/rcc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... 

Re: count math symbols with statistics

2012-02-25 Thread Richard Heck

On 02/25/2012 10:11 AM, Frank Fun wrote:

Hi,

I am using the lyx 1.6.4 tools -  statistics menu item to count the
words in my manuscript.  The manuscript contains a lot of mathematical
symbols which I would like to count as words however.  Lyx counts
characters, but this is unhelpful for me since I would like to count
each individual mathematical operator as a word.

For example, I would like a statement such as the following equation,
x^y + f, to count as six words (three for the words, three for the
symbols x^y, +, and f).  Instead, lyx counts that statement as three
words.  Any help would be appreciated.

There's no way to affect this without modifying the source, I suspect. 
You can file an enhancement request concerning this issue, if you wish.


Richard



Re: need working example of copier to customize pdf output

2012-02-25 Thread Richard Heck

On 02/25/2012 01:43 PM, Paul Johnson wrote:

I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.

I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder, I just want that additional command to run.  But 
I don't want this 2x2 PDF type for all PDF I create, just for the Beamer slide 
projects.

Copiers are tied to formats, so you will need to create a new format 
first. Call it PDF (beamer), or something of the sort. When you do, 
you can assign a copier program. The copier will have to be responsible 
for the actual copying, as well as the conversion you want. Write a 
little shell script that takes two arguments, the input file and its 
output location. So something like:


#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make 
it executable, and then enter

pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard



Re: shared library run problem

2012-02-25 Thread Sajjad
Hi

i ran the suggested diagnostics and found the following result:


sajjad@sajjad:~$ ldd /usr/local/bin/lyx
linux-vdso.so.1 = (0x7fff853ff000)
libenchant.so.1 = /usr/lib/libenchant.so.1 (0x7fd3d926b000)
libgmodule-2.0.so.0 = /usr/lib/libgmodule-2.0.so.0 (0x7fd3d9067000)
libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0x7fd3d8da2000)
libz.so.1 = /usr/lib/libz.so.1 (0x7fd3d8b8a000)
libQtGui.so.4 = not found
libQtCore.so.4 = not found
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7fd3d887d000)
libm.so.6 = /lib/libm.so.6 (0x7fd3d85f8000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x7fd3d83e)
libc.so.6 = /lib/libc.so.6 (0x7fd3d806e000)
libpthread.so.0 = /lib/libpthread.so.0 (0x7fd3d7e52000)
libdl.so.2 = /lib/libdl.so.2 (0x7fd3d7c4e000)
libpcre.so.3 = /lib/libpcre.so.3 (0x7fd3d7a25000)
/lib64/ld-linux-x86-64.so.2 (0x7fd3d9476000)






It shows that the qt library is not found. As you have seen in the previous
post, the output of the ./configure shows that the qt library is found.
While configuring  i did mention the full qt path.

What should i check now ?


Regards
Sajjad


On Sat, Feb 25, 2012 at 9:49 PM, Richard Heck rgh...@comcast.net wrote:

  On 02/25/2012 08:48 AM, Sajjad wrote:

 Hello


  I am using an old machine and repository support went out. I recently
 updated the qt version to 4.8.0 from source.

  While configuring the lyx source i am providing wiith the qt path and it
 did not complain at all:

  This is just a matter of finding the headers. It doesn't have anything
 to do with which libraries the system is trying to load when LyX requests
 them. Try, as Stephan suggested:
  ldd /path/to/lyx

 Richard



 //

  sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure
 --with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'
 configuring LyX version 2.0.0
 checking for build type... release
 checking for version suffix...
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking target system type... x86_64-unknown-linux-gnu
 checking what packaging should be used... posix
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for a Python interpreter with version = 2.3.4... python
 checking for python... /usr/bin/python
 checking for python version... 2.5
 checking for python platform... linux2
 checking for python script directory...
 ${prefix}/lib/python2.5/site-packages
 checking for python extension module directory...
 ${exec_prefix}/lib/python2.5/site-packages
 checking for style of include used by make... GNU
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking dependency style of gcc... gcc3
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking whether byte ordering is bigendian... no
 checking what frontend should be used for the GUI... qt4
 checking for a good enough C++ compiler... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking dependency style of g++... gcc3
 checking how to run the C++ preprocessor... g++ -E
 checking for gcc... gcc
 checking whether we are using the GNU Objective C compiler... no
 checking whether gcc accepts -g... no
 checking dependency style of gcc... gcc3
 checking dependency style of gcc... (cached) gcc3
 checking for extra library directory... NONE
 checking for extra include directory... NONE
 checking for extra lib+include directory... NONE
 checking for main in -lshlwapi... no
 checking for main in -lpsapi... no
 checking for main in -lgdi32... no
 checking whether to use included boost library... 

Can't export to DVI

2012-02-25 Thread Anubhav Chattoraj
Using LyX 2.0.2 on a Windows 7 x64.

I have the exact problem described on this thread:
http://comments.gmane.org/gmane.editors.lyx.devel/134251

I tried replacing clean_dvi.py with the one from LyX 1.6.9, which worked
for the guy who posted that thread. Didn't help; I still get the same
error.


Re: points de suspensions

2012-02-25 Thread Liviu Andronic
On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com wrote:
 Yes, french Babel is loaded, and the french normal ... has no non-breaking 
 spaces  as english form has.

Then I'm not sure. French Babel seems to say that the ellipsis should
be the same as in English. If you simply need three subsequent dots,
why don't you insert directly '...' (three dots)? Perhaps someone else
can help.


 My question about replace simple space with non-breaking spaces is to quote a 
 verbatim.

I'm not sure what exactly you mean, but I don't think that 'verbatim'
concerns itself at all with non-breaking spaces and other miscellanea.


 For exemple: I'm very glade to be here (N, L45)
 I need a non-breaking spaces between N, and L45 to avoid this:
 I'm very glade to be here (N,
 L45)
 I did type the text and so I'd like to use find/replace if possible...

If you need non-breaking spaces in those places, simply insert
'protected spaces' as I suggested earlier. Even manually it shouldn't
take very long. You can use 'Advanced find  replace' to replace with
'ctrl+space', but you need to find a suitable 'find' pattern.

Regards
Liviu


 Thanks for your answers




 2012/2/25 Liviu Andronic landronim...@gmail.com

 Bonjour
 Comme la liste est en anglais, je répondrai dans cette langue.


 2012/2/25 Cyril Dupuis cyril.h.dup...@gmail.com:
  - les points de suspensions sont disposés à l'anglaise, avec un espace
  insécable entre chaque point. Est-il possible de modifier ce comportement ?
 
 What is the French behaviour in this case? I would expect that if you
 load French Babel (do you?), the it should take care of most (all?)
 Frech hyphenation and punctuation peculiarities. Again, what exactly
 do you expect to get?


  - j'aimerais faire des rechercher/remplacer pour échanger certains espaces
  simples avec des espaces insécables, mais même en faisant un copier/coller,
  je n'arrive pas à indiquer à lyx de remplacer par un espace insécable...
 
 In French, to the best of my knowledge, a non-breaking space is being
 used before
 »
 :
 ;
 !
 ?

 and after
 «

 As long as you use French Babel, LaTeX (and LyX) will automatically
 take care of these for you. For example, simply write Bonjour, ça
 va? (notice that there is no space before ?, non-breaking or
 otherwise) and LaTeX will automatically insert a non-breaking space
 before ? in the PDF output. Just try it. Same holds for the other
 characters.

 If for some reason you need to manually insert non-breaking spaces,
 then this is easy: either ctrl+space or insert  formatting 
 protected space.

 Regards
 Liviu





--
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: points de suspensions

2012-02-25 Thread Cyril Dupuis
“You can't have everything. Where would you put it? - Stephen
Wrighthttp://www.quotesdaddy.com/quote/589113/stephen-wright/you-cant-have-everything-where-would-you-put-it
”  Get this email app!
http://www.wisestamp.com/apps/quotes?utm_source=extensionutm_medium=emailutm_term=quotesutm_campaign=apps

 Get a signature like this.
http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
CLICK
HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17



2012/2/25 Liviu Andronic landronim...@gmail.com

 On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 wrote:
  Yes, french Babel is loaded, and the french normal ... has no
 non-breaking spaces  as english form has.
 
 Then I'm not sure. French Babel seems to say that the ellipsis should
 be the same as in English. If you simply need three subsequent dots,
 why don't you insert directly '...' (three dots)? Perhaps someone else
 can help.

 Lyx automatically replace the 3 dots  with ellipsis :/
you can have a look here for the reference
http://fr.wikipedia.org/wiki/Points_de_suspension (french)


  My question about replace simple space with non-breaking spaces is to
 quote a verbatim.
 
 I'm not sure what exactly you mean, but I don't think that 'verbatim'
 concerns itself at all with non-breaking spaces and other miscellanea.


  For exemple: I'm very glade to be here (N, L45)
  I need a non-breaking spaces between N, and L45 to avoid this:
  I'm very glade to be here (N,
  L45)
  I did type the text and so I'd like to use find/replace if possible...
 
 If you need non-breaking spaces in those places, simply insert
 'protected spaces' as I suggested earlier. Even manually it shouldn't
 take very long. You can use 'Advanced find  replace' to replace with
 'ctrl+space', but you need to find a suitable 'find' pattern.


With find/replace, lyx makes no difference between space and non-breaking
space, and this is my problem...
I try to edit the source code, but with no results


 Regards
 Liviu


  Thanks for your answers
 
 
 
 
  2012/2/25 Liviu Andronic landronim...@gmail.com
 
  Bonjour
  Comme la liste est en anglais, je répondrai dans cette langue.
 
 
  2012/2/25 Cyril Dupuis cyril.h.dup...@gmail.com:
   - les points de suspensions sont disposés à l'anglaise, avec un espace
   insécable entre chaque point. Est-il possible de modifier ce
 comportement ?
  
  What is the French behaviour in this case? I would expect that if you
  load French Babel (do you?), the it should take care of most (all?)
  Frech hyphenation and punctuation peculiarities. Again, what exactly
  do you expect to get?
 
 
   - j'aimerais faire des rechercher/remplacer pour échanger certains
 espaces
   simples avec des espaces insécables, mais même en faisant un
 copier/coller,
   je n'arrive pas à indiquer à lyx de remplacer par un espace
 insécable...
  
  In French, to the best of my knowledge, a non-breaking space is being
  used before
  »
  :
  ;
  !
  ?
 
  and after
  «
 
  As long as you use French Babel, LaTeX (and LyX) will automatically
  take care of these for you. For example, simply write Bonjour, ça
  va? (notice that there is no space before ?, non-breaking or
  otherwise) and LaTeX will automatically insert a non-breaking space
  before ? in the PDF output. Just try it. Same holds for the other
  characters.
 
  If for some reason you need to manually insert non-breaking spaces,
  then this is easy: either ctrl+space or insert  formatting 
  protected space.
 
  Regards
  Liviu
 
 



 --
 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: points de suspensions

2012-02-25 Thread Liviu Andronic
On Sat, Feb 25, 2012 at 9:32 AM, Cyril Dupuis cyril.h.dup...@gmail.com wrote:



 “You can't have everything. Where would you put it? - Stephen Wright ”
   Get this email app!
 Get a signature like this. CLICK HERE.


 2012/2/25 Liviu Andronic landronim...@gmail.com

 On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 wrote:
  Yes, french Babel is loaded, and the french normal ... has no
  non-breaking spaces  as english form has.
 
 Then I'm not sure. French Babel seems to say that the ellipsis should
 be the same as in English. If you simply need three subsequent dots,
 why don't you insert directly '...' (three dots)? Perhaps someone else
 can help.

 Lyx automatically replace the 3 dots  with ellipsis :/

Are you sure? I cannot see this behaviour in either French or English
documents: When I insert three dots '...' I just get 3 dots, in LyX
and in LaTeX. To get the \ldots{}, I need to specifically insert the
ellipse special character.


 you can have a look here for the reference
 http://fr.wikipedia.org/wiki/Points_de_suspension (french)



 If you need non-breaking spaces in those places, simply insert
 'protected spaces' as I suggested earlier. Even manually it shouldn't
 take very long. You can use 'Advanced find  replace' to replace with
 'ctrl+space', but you need to find a suitable 'find' pattern.


 With find/replace, lyx makes no difference between space and non-breaking
 space, and this is my problem...

Try _Advanced_ Find  Replace.

Liviu


Re: points de suspensions

2012-02-25 Thread Cyril Dupuis
“I know that you believe you understand what you think I said, but I'm not
sure you realize that what you heard is not what I meant. - Robert
McCloskeyhttp://www.quotesdaddy.com/quote/711703/robert-mccloskey/i-know-that-you-believe-you-understand-what-you-think
”  Get this email app!
http://www.wisestamp.com/apps/quotes?utm_source=extensionutm_medium=emailutm_term=quotesutm_campaign=apps

 Get a signature like this.
http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17
CLICK
HERE.http://r1.wisestamp.com/r/landing?promo=17dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_17



2012/2/25 Liviu Andronic landronim...@gmail.com

 On Sat, Feb 25, 2012 at 9:32 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 wrote:
 
 
 
  “You can't have everything. Where would you put it? - Stephen Wright ”
Get this email app!
  Get a signature like this. CLICK HERE.
 
 
  2012/2/25 Liviu Andronic landronim...@gmail.com
 
  On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis cyril.h.dup...@gmail.com
 
  wrote:
   Yes, french Babel is loaded, and the french normal ... has no
   non-breaking spaces  as english form has.
  
  Then I'm not sure. French Babel seems to say that the ellipsis should
  be the same as in English. If you simply need three subsequent dots,
  why don't you insert directly '...' (three dots)? Perhaps someone else
  can help.
 
  Lyx automatically replace the 3 dots  with ellipsis :/
 
 Are you sure? I cannot see this behaviour in either French or English
 documents: When I insert three dots '...' I just get 3 dots, in LyX
 and in LaTeX. To get the \ldots{}, I need to specifically insert the
 ellipse special character.


You're right ! The problem is that I copied/paste from OOo, and OOo makes
this replacement.



  you can have a look here for the reference
  http://fr.wikipedia.org/wiki/Points_de_suspension (french)
 


  If you need non-breaking spaces in those places, simply insert
  'protected spaces' as I suggested earlier. Even manually it shouldn't
  take very long. You can use 'Advanced find  replace' to replace with
  'ctrl+space', but you need to find a suitable 'find' pattern.
 
 
  With find/replace, lyx makes no difference between space and non-breaking
  space, and this is my problem...
 
 Try _Advanced_ Find  Replace.


Yes, it's a little better. I can replace with non-breaking spaces, but
find don't make the difference...
Well, anyway, I got enought to make a goog job :)

Thank you for all !



 Liviu



Re: 5 questions from a new user

2012-02-25 Thread Jürgen Spitzmüller
Pascal Fischer wrote:
 1. I've read, that it is needed to install spellcheck-dictionaries for
 other languages and additional modules (e.g. for linguistic documents)
 seperately. Where do I find these and how do I install them so that
 Lyx uses them?

On Windows, the spellcheck dictionaries should be installed by default. As for 
the linguistics extensions, you should start with the Linguistics Manual (Help 
 Specific Manuals  Linguistics Manual) and with this HowTo:

http://wiki.lyx.org/LyX/LinguistLyX

HTH
Jürgen


LyX Server Downtime - server on the move

2012-02-25 Thread Lars Gullik Bjønnes
Hi all,

The LyX server running the web pages, the wiki and subversion will
be moved from one virtual server to another during next week. This move will
consist of a complete re-install since the virtual-servers in question are not
compatible.

The Downtime will be from Tuesday evening/night, until the IP addresses has been
moved over and I have had time to verify that everything is working on
the new server
in general. There might be a downtime of ~24hrs, but I expect a lot less.

The Downtime will affect all services running on this server: web,
wiki and subversion.

Mailing lists will NOT be affected.

Questions/comments can be sent to me directly, or the devel list.

--
        Lgb


Re: shared library run problem

2012-02-25 Thread Stephan Witt
Am 25.02.2012 um 05:57 schrieb Sajjad:

 I compiled both qt and lyx from source. The installation instructions for qt 
 did not mention anything about this issue and it is working fine.
 
 Is there any way to send the parameter while configuring lyx so that the 
 compilation is done against the 32 -bit instead ?

Why did you compile Qt form source? Didn't you have it already installed?
I think it's better to use the system Qt and install the missing developer 
package if needed. 
You have to be sure to provide the correct version of Qt at runtime if you want 
to use your own package.
To verify that you may use ldd /path/to/lyx to check what Qt-libraries are 
linked at run time. 
Perhaps you have to adjust your LD_LIBRARY_PATH variable accordingly.

Stephan

 
 I am using the 64-bit ubuntu. 
 
 
 
 On Fri, Feb 24, 2012 at 6:34 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/24/2012 09:51 AM, Sajjad wrote:
  hello forum,
 
  I just managed to compile LyX from source and it compiled fine. The qt
  path is mentioned while configuring and configuring.
 
  Now when i try to run lyx or lyxclient i get the following error:
 
  /
  sajjad@sajjad:~$ lyxclient: error while loading shared libraries:
  libQtGui.so.4: wrong ELF class: ELFCLASS32
  
 
 It looks like LyX has been compiled as a 64 bit app, but what's being
 found are 32 bit libraries. I'm afraid I don't know why this would be.
 But maybe that's a clue?
 
 Richard
 
 



Auto response - re:Re: shared library run problem [pfCase:2108434, pfTicket:7384782]

2012-02-25 Thread support
pfTicket: 7384782

Thank you for e-mailing the Casino Support Desk.

We have assigned your query one of our Support Consultants and you should 
receive a response soon.

While we do our best to ensure that all e-mails are responded to as quickly as 
possible, it can – on rare occasions – take a bit of time for us to get a 
response back to you

Should you urgently require a response, we would suggest that you please 
contact us via our Toll Free Numbers, listed below

Kind Regards

Casino Support

Support Hours
24 Hours a Day, 7 Days a Week 

Contact Numbers

Argentina: 08004440973
Australia: 1-800-658460
Austria: 085080
Belgium: 080049216
Canada: 18667452416
Chile: 12300207689
Cyprus: 80077315
Denmark: 80887134
Finland: 800919692
Germany: 0803370
Greece: 00 800-127-304
Hong Kong: 800-903483
Italy: 800986542
Malaysia: 1800812500
Mexico: 18669724381
Netherlands: 08000204703
New Zealand: 0800449767
Norway: 80019453
Portugal: 800-814053
Singapore: 800-1204340
Spain: 800 3000 87
Sweden: 0200-899-162
Switzerland: 081722
Thailand: 1-801-20665859
UK: 0-808-2386055


mathspec disables instant preview

2012-02-25 Thread d c
I ahve just discovered, arduously, that using mathspec prevents preview from 
working. Is this a bug, feature, or other?



Re: mathspec and new theorem disable instant preview

2012-02-25 Thread d c

d c gmane.99.kyoto at spamgourmet.com writes:

 
 I ahve just discovered, arduously, that using mathspec prevents preview from 
 working. Is this a bug, feature, or other?
 
 


sorry I realized I was being perhaps cryptic.

specifically:
\usepackage[no-math]{mathspec} 
in my preamble seems to make instant preview stop functioning. 
I am using xetex, and I have tried many combinations of settings, but it all 
seems to boil down to this line.
I want to be able to set the font for math. 
Perhaps another package for this exists?

In a possible related vein, I also noticed that 
adding the following to my preamble also is breaking instant preview:

\newtheoremstyle{mytheorem} %hnamei
{\topsep}%  Space above
{\topsep}%  Space below
{\ttfamily} % hBody fonti
{} % hIndent amounti1
{\ttfamily} % hTheorem head fonti
{:} % hPunctuation after theorem headi
{.5em} % hSpace after theorem headi2
{} % hTheorem head spec (can be left empty, meaning ‘normal’)i
\theoremstyle{mytheorem} % this should set the current theorem style to 
mytheorem?
\newtheorem{mytheorem}{My Theorems} %this loads the new theorem style and uses 
My Theorems as its heading 
%\newtheorem{thm}{Theorem}
--

These may or may not be related. They work (that is to say act to break) 
independently of each other.




Re: shared library run problem

2012-02-25 Thread Sajjad
Hello


I am using an old machine and repository support went out. I recently
updated the qt version to 4.8.0 from source.

While configuring the lyx source i am providing wiith the qt path and it
did not complain at all:

//

sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure
--with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'
configuring LyX version 2.0.0
checking for build type... release
checking for version suffix...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.5/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.5/site-packages
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking whether to use included boost library... yes
checking whether to use included MyThes library... yes
checking size of wchar_t... 4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t
cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t
*outbytesleft);
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... no
checking for moc... /usr/local/Trolltech/Qt-4.8.0///bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/Trolltech/Qt-4.8.0///bin/uic
checking for rcc-qt4... no
checking for rcc... /usr/local/Trolltech/Qt-4.8.0///bin/rcc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned 

Re: count math symbols with statistics

2012-02-25 Thread Frank Fun
Hi,

I am using the lyx 1.6.4 tools - statistics menu item to count the
words in my manuscript.  The manuscript contains a lot of mathematical
symbols which I would like to count as words however.  Lyx counts
characters, but this is unhelpful for me since I would like to count
each individual mathematical operator as a word.  

For example, I would like a statement such as the following equation,
x^y + f, to count as six words (three for the words, three for the
symbols x^y, +, and f).  Instead, lyx counts that statement as three
words.  Any help would be appreciated.

Fun



need working example of copier to customize pdf output

2012-02-25 Thread Paul Johnson
I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.


I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder,
I just want that additional command to run.  But I don't want this 2x2
PDF type for all PDF I create,
just for the Beamer slide projects.

Thanks in advance.


[1] I've got example output here, in case you want to see what I mean:

http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

I just upload the full working directory, let the students take the
source code or the pdf output,
or the 2x2 pdf output.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


RE: Including landscape lyx document to portrait document

2012-02-25 Thread Hannu Vuolasaho




 Date: Fri, 24 Feb 2012 12:29:43 -0500
 From: rgh...@comcast.net
 To: vuo...@msn.com
 CC: lyx-users@lists.lyx.org
 Subject: Re: Including landscape lyx document to portrait document

 On 02/24/2012 06:29 AM, Hannu Vuolasaho wrote:
 
  How do I include the landscape document and how do I get the labels working 
  from there? Or am I asking something impossible or is it just unholy union 
  where is nothing good?
 
 This can be done but will need ERT. Try this:
 +AKAAoACg- http://texblog.org/2007/11/10/landscape-in-latex/

Thanks. Two small  red boxes and one in preample did the trict.

Hannu Vuolasho

  

Re: need working example of copier to customize pdf output

2012-02-25 Thread Yihui Xie
I'm not sure if a copier or converter can be associated to a
particular document class, but this task does not seem to be closely
tied to LyX since it is just pdf-to-pdf conversion. I mean you can
write a shell script named, say, pdfnup22, and put it in your PATH so
that each time you call pdfnup22 to convert all your slides to the 2x2
layout. To restrict the conversion only on certain files, I guess you
can name all your slides with a special pattern, e.g. something like
^.*-lecture.pdf$, then pdfnup22 lists all files with this pattern and
convert them all. This conversion can be done on demand, instead of
each time you export PDF from LyX.

Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Feb 25, 2012 at 12:43 PM, Paul Johnson pauljoh...@gmail.com wrote:
 I'm generating a lot of slide shows for my statistics class. Sometimes
 I forget to run the followup program
 to create a compressed version of the presentation. It want to make
 that automatic.[1]

 When I export a document in pdf from a Beamer slides project, I also
 want this shell program to run.
 It automatically creates another pdf document that is 4 slides on one page.

 #!/bin/bash

 pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


 pdfnup is from package called pdfjam on Debian Linux. The output is
 awesome, quick, convenient.


 I am reading the LyX customization manual about copiers, but I just
 can't understand it!

 I don't want to destroy the existing copy behavior that writes the PDF
 output to the document folder,
 I just want that additional command to run.  But I don't want this 2x2
 PDF type for all PDF I create,
 just for the Beamer slide projects.

 Thanks in advance.


 [1] I've got example output here, in case you want to see what I mean:

 http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

 I just upload the full working directory, let the students take the
 source code or the pdf output,
 or the 2x2 pdf output.

 --
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas


Re: shared library run problem

2012-02-25 Thread Richard Heck

On 02/25/2012 08:48 AM, Sajjad wrote:

Hello


I am using an old machine and repository support went out. I recently 
updated the qt version to 4.8.0 from source.


While configuring the lyx source i am providing wiith the qt path and 
it did not complain at all:


This is just a matter of finding the headers. It doesn't have anything 
to do with which libraries the system is trying to load when LyX 
requests them. Try, as Stephan suggested:

 ldd /path/to/lyx

Richard


//

sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure 
--with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'

configuring LyX version 2.0.0
checking for build type... release
checking for version suffix...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version = 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... 
${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages

checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking whether to use included boost library... yes
checking whether to use included MyThes library... yes
checking size of wchar_t... 4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv 
(iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, 
size_t *outbytesleft);

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... no
checking for moc... /usr/local/Trolltech/Qt-4.8.0///bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/Trolltech/Qt-4.8.0///bin/uic
checking for rcc-qt4... no
checking for rcc... /usr/local/Trolltech/Qt-4.8.0///bin/rcc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... 

Re: count math symbols with statistics

2012-02-25 Thread Richard Heck

On 02/25/2012 10:11 AM, Frank Fun wrote:

Hi,

I am using the lyx 1.6.4 tools -  statistics menu item to count the
words in my manuscript.  The manuscript contains a lot of mathematical
symbols which I would like to count as words however.  Lyx counts
characters, but this is unhelpful for me since I would like to count
each individual mathematical operator as a word.

For example, I would like a statement such as the following equation,
x^y + f, to count as six words (three for the words, three for the
symbols x^y, +, and f).  Instead, lyx counts that statement as three
words.  Any help would be appreciated.

There's no way to affect this without modifying the source, I suspect. 
You can file an enhancement request concerning this issue, if you wish.


Richard



Re: need working example of copier to customize pdf output

2012-02-25 Thread Richard Heck

On 02/25/2012 01:43 PM, Paul Johnson wrote:

I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called pdfjam on Debian Linux. The output is
awesome, quick, convenient.

I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder, I just want that additional command to run.  But 
I don't want this 2x2 PDF type for all PDF I create, just for the Beamer slide 
projects.

Copiers are tied to formats, so you will need to create a new format 
first. Call it PDF (beamer), or something of the sort. When you do, 
you can assign a copier program. The copier will have to be responsible 
for the actual copying, as well as the conversion you want. Write a 
little shell script that takes two arguments, the input file and its 
output location. So something like:


#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make 
it executable, and then enter

pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard



Re: shared library run problem

2012-02-25 Thread Sajjad
Hi

i ran the suggested diagnostics and found the following result:


sajjad@sajjad:~$ ldd /usr/local/bin/lyx
linux-vdso.so.1 = (0x7fff853ff000)
libenchant.so.1 = /usr/lib/libenchant.so.1 (0x7fd3d926b000)
libgmodule-2.0.so.0 = /usr/lib/libgmodule-2.0.so.0 (0x7fd3d9067000)
libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0x7fd3d8da2000)
libz.so.1 = /usr/lib/libz.so.1 (0x7fd3d8b8a000)
libQtGui.so.4 = not found
libQtCore.so.4 = not found
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x7fd3d887d000)
libm.so.6 = /lib/libm.so.6 (0x7fd3d85f8000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x7fd3d83e)
libc.so.6 = /lib/libc.so.6 (0x7fd3d806e000)
libpthread.so.0 = /lib/libpthread.so.0 (0x7fd3d7e52000)
libdl.so.2 = /lib/libdl.so.2 (0x7fd3d7c4e000)
libpcre.so.3 = /lib/libpcre.so.3 (0x7fd3d7a25000)
/lib64/ld-linux-x86-64.so.2 (0x7fd3d9476000)






It shows that the qt library is not found. As you have seen in the previous
post, the output of the ./configure shows that the qt library is found.
While configuring  i did mention the full qt path.

What should i check now ?


Regards
Sajjad


On Sat, Feb 25, 2012 at 9:49 PM, Richard Heck rgh...@comcast.net wrote:

  On 02/25/2012 08:48 AM, Sajjad wrote:

 Hello


  I am using an old machine and repository support went out. I recently
 updated the qt version to 4.8.0 from source.

  While configuring the lyx source i am providing wiith the qt path and it
 did not complain at all:

  This is just a matter of finding the headers. It doesn't have anything
 to do with which libraries the system is trying to load when LyX requests
 them. Try, as Stephan suggested:
  ldd /path/to/lyx

 Richard



 //

  sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure
 --with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'
 configuring LyX version 2.0.0
 checking for build type... release
 checking for version suffix...
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking target system type... x86_64-unknown-linux-gnu
 checking what packaging should be used... posix
 checking whether to enable maintainer-specific portions of Makefiles... no
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for a Python interpreter with version = 2.3.4... python
 checking for python... /usr/bin/python
 checking for python version... 2.5
 checking for python platform... linux2
 checking for python script directory...
 ${prefix}/lib/python2.5/site-packages
 checking for python extension module directory...
 ${exec_prefix}/lib/python2.5/site-packages
 checking for style of include used by make... GNU
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking dependency style of gcc... gcc3
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking whether byte ordering is bigendian... no
 checking what frontend should be used for the GUI... qt4
 checking for a good enough C++ compiler... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking dependency style of g++... gcc3
 checking how to run the C++ preprocessor... g++ -E
 checking for gcc... gcc
 checking whether we are using the GNU Objective C compiler... no
 checking whether gcc accepts -g... no
 checking dependency style of gcc... gcc3
 checking dependency style of gcc... (cached) gcc3
 checking for extra library directory... NONE
 checking for extra include directory... NONE
 checking for extra lib+include directory... NONE
 checking for main in -lshlwapi... no
 checking for main in -lpsapi... no
 checking for main in -lgdi32... no
 checking whether to use included boost library... 

Can't export to DVI

2012-02-25 Thread Anubhav Chattoraj
Using LyX 2.0.2 on a Windows 7 x64.

I have the exact problem described on this thread:
http://comments.gmane.org/gmane.editors.lyx.devel/134251

I tried replacing clean_dvi.py with the one from LyX 1.6.9, which worked
for the guy who posted that thread. Didn't help; I still get the same
error.


Re: points de suspensions

2012-02-25 Thread Liviu Andronic
On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis  wrote:
> Yes, french Babel is loaded, and the french normal "..." has no non-breaking 
> spaces  as english form has.
>
Then I'm not sure. French Babel seems to say that the ellipsis should
be the same as in English. If you simply need three subsequent dots,
why don't you insert directly '...' (three dots)? Perhaps someone else
can help.


> My question about replace simple space with non-breaking spaces is to quote a 
> verbatim.
>
I'm not sure what exactly you mean, but I don't think that 'verbatim'
concerns itself at all with non-breaking spaces and other miscellanea.


> For exemple: "I'm very glade to be here" (N, L45)
> I need a non-breaking spaces between "N," and "L45" to avoid this:
> "I'm very glade to be here" (N,
> L45)
> I did type the text and so I'd like to use find/replace if possible...
>
If you need non-breaking spaces in those places, simply insert
'protected spaces' as I suggested earlier. Even manually it shouldn't
take very long. You can use 'Advanced find & replace' to replace with
'ctrl+space', but you need to find a suitable 'find' pattern.

Regards
Liviu


> Thanks for your answers
>
>
>
>
> 2012/2/25 Liviu Andronic 
>>
>> Bonjour
>> Comme la liste est en anglais, je répondrai dans cette langue.
>>
>>
>> 2012/2/25 Cyril Dupuis :
>> > - les points de suspensions sont disposés à l'anglaise, avec un espace
>> > insécable entre chaque point. Est-il possible de modifier ce comportement ?
>> >
>> What is the French behaviour in this case? I would expect that if you
>> load French Babel (do you?), the it should take care of most (all?)
>> Frech hyphenation and punctuation peculiarities. Again, what exactly
>> do you expect to get?
>>
>>
>> > - j'aimerais faire des rechercher/remplacer pour échanger certains espaces
>> > simples avec des espaces insécables, mais même en faisant un copier/coller,
>> > je n'arrive pas à indiquer à lyx de remplacer par un espace insécable...
>> >
>> In French, to the best of my knowledge, a non-breaking space is being
>> used before
>> »
>> :
>> ;
>> !
>> ?
>>
>> and after
>> «
>>
>> As long as you use French Babel, LaTeX (and LyX) will automatically
>> take care of these for you. For example, simply write "Bonjour, ça
>> va?" (notice that there is no space before "?", non-breaking or
>> otherwise) and LaTeX will automatically insert a non-breaking space
>> before "?" in the PDF output. Just try it. Same holds for the other
>> characters.
>>
>> If for some reason you need to manually insert non-breaking spaces,
>> then this is easy: either ctrl+space or insert > formatting >
>> protected space.
>>
>> Regards
>> Liviu
>
>



--
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: points de suspensions

2012-02-25 Thread Cyril Dupuis
“"You can't have everything. Where would you put it?" - Stephen
Wright
”  Get this email app!


 Get a signature like this.

CLICK
HERE.



2012/2/25 Liviu Andronic 

> On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis 
> wrote:
> > Yes, french Babel is loaded, and the french normal "..." has no
> non-breaking spaces  as english form has.
> >
> Then I'm not sure. French Babel seems to say that the ellipsis should
> be the same as in English. If you simply need three subsequent dots,
> why don't you insert directly '...' (three dots)? Perhaps someone else
> can help.
>
> Lyx automatically replace the 3 dots  with ellipsis :/
you can have a look here for the reference
http://fr.wikipedia.org/wiki/Points_de_suspension (french)

>
> > My question about replace simple space with non-breaking spaces is to
> quote a verbatim.
> >
> I'm not sure what exactly you mean, but I don't think that 'verbatim'
> concerns itself at all with non-breaking spaces and other miscellanea.
>
>
> > For exemple: "I'm very glade to be here" (N, L45)
> > I need a non-breaking spaces between "N," and "L45" to avoid this:
> > "I'm very glade to be here" (N,
> > L45)
> > I did type the text and so I'd like to use find/replace if possible...
> >
> If you need non-breaking spaces in those places, simply insert
> 'protected spaces' as I suggested earlier. Even manually it shouldn't
> take very long. You can use 'Advanced find & replace' to replace with
> 'ctrl+space', but you need to find a suitable 'find' pattern.
>

With find/replace, lyx makes no difference between space and non-breaking
space, and this is my problem...
I try to edit the source code, but with no results

>
> Regards
> Liviu
>
>
> > Thanks for your answers
> >
> >
> >
> >
> > 2012/2/25 Liviu Andronic 
> >>
> >> Bonjour
> >> Comme la liste est en anglais, je répondrai dans cette langue.
> >>
> >>
> >> 2012/2/25 Cyril Dupuis :
> >> > - les points de suspensions sont disposés à l'anglaise, avec un espace
> >> > insécable entre chaque point. Est-il possible de modifier ce
> comportement ?
> >> >
> >> What is the French behaviour in this case? I would expect that if you
> >> load French Babel (do you?), the it should take care of most (all?)
> >> Frech hyphenation and punctuation peculiarities. Again, what exactly
> >> do you expect to get?
> >>
> >>
> >> > - j'aimerais faire des rechercher/remplacer pour échanger certains
> espaces
> >> > simples avec des espaces insécables, mais même en faisant un
> copier/coller,
> >> > je n'arrive pas à indiquer à lyx de remplacer par un espace
> insécable...
> >> >
> >> In French, to the best of my knowledge, a non-breaking space is being
> >> used before
> >> »
> >> :
> >> ;
> >> !
> >> ?
> >>
> >> and after
> >> «
> >>
> >> As long as you use French Babel, LaTeX (and LyX) will automatically
> >> take care of these for you. For example, simply write "Bonjour, ça
> >> va?" (notice that there is no space before "?", non-breaking or
> >> otherwise) and LaTeX will automatically insert a non-breaking space
> >> before "?" in the PDF output. Just try it. Same holds for the other
> >> characters.
> >>
> >> If for some reason you need to manually insert non-breaking spaces,
> >> then this is easy: either ctrl+space or insert > formatting >
> >> protected space.
> >>
> >> Regards
> >> Liviu
> >
> >
>
>
>
> --
> 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: points de suspensions

2012-02-25 Thread Liviu Andronic
On Sat, Feb 25, 2012 at 9:32 AM, Cyril Dupuis  wrote:
>
>
>
> “"You can't have everything. Where would you put it?" - Stephen Wright ”
>   Get this email app!
> Get a signature like this. CLICK HERE.
>
>
> 2012/2/25 Liviu Andronic 
>>
>> On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis 
>> wrote:
>> > Yes, french Babel is loaded, and the french normal "..." has no
>> > non-breaking spaces  as english form has.
>> >
>> Then I'm not sure. French Babel seems to say that the ellipsis should
>> be the same as in English. If you simply need three subsequent dots,
>> why don't you insert directly '...' (three dots)? Perhaps someone else
>> can help.
>>
> Lyx automatically replace the 3 dots  with ellipsis :/
>
Are you sure? I cannot see this behaviour in either French or English
documents: When I insert three dots '...' I just get 3 dots, in LyX
and in LaTeX. To get the \ldots{}, I need to specifically insert the
ellipse special character.


> you can have a look here for the reference
> http://fr.wikipedia.org/wiki/Points_de_suspension (french)
>


>> If you need non-breaking spaces in those places, simply insert
>> 'protected spaces' as I suggested earlier. Even manually it shouldn't
>> take very long. You can use 'Advanced find & replace' to replace with
>> 'ctrl+space', but you need to find a suitable 'find' pattern.
>
>
> With find/replace, lyx makes no difference between space and non-breaking
> space, and this is my problem...
>
Try _Advanced_ Find & Replace.

Liviu


Re: points de suspensions

2012-02-25 Thread Cyril Dupuis
“"I know that you believe you understand what you think I said, but I'm not
sure you realize that what you heard is not what I meant." - Robert
McCloskey
”  Get this email app!


 Get a signature like this.

CLICK
HERE.



2012/2/25 Liviu Andronic 

> On Sat, Feb 25, 2012 at 9:32 AM, Cyril Dupuis 
> wrote:
> >
> >
> >
> > “"You can't have everything. Where would you put it?" - Stephen Wright ”
> >   Get this email app!
> > Get a signature like this. CLICK HERE.
> >
> >
> > 2012/2/25 Liviu Andronic 
> >>
> >> On Sat, Feb 25, 2012 at 8:48 AM, Cyril Dupuis  >
> >> wrote:
> >> > Yes, french Babel is loaded, and the french normal "..." has no
> >> > non-breaking spaces  as english form has.
> >> >
> >> Then I'm not sure. French Babel seems to say that the ellipsis should
> >> be the same as in English. If you simply need three subsequent dots,
> >> why don't you insert directly '...' (three dots)? Perhaps someone else
> >> can help.
> >>
> > Lyx automatically replace the 3 dots  with ellipsis :/
> >
> Are you sure? I cannot see this behaviour in either French or English
> documents: When I insert three dots '...' I just get 3 dots, in LyX
> and in LaTeX. To get the \ldots{}, I need to specifically insert the
> ellipse special character.
>

You're right ! The problem is that I copied/paste from OOo, and OOo makes
this replacement.

>
>
> > you can have a look here for the reference
> > http://fr.wikipedia.org/wiki/Points_de_suspension (french)
> >
>
>
> >> If you need non-breaking spaces in those places, simply insert
> >> 'protected spaces' as I suggested earlier. Even manually it shouldn't
> >> take very long. You can use 'Advanced find & replace' to replace with
> >> 'ctrl+space', but you need to find a suitable 'find' pattern.
> >
> >
> > With find/replace, lyx makes no difference between space and non-breaking
> > space, and this is my problem...
> >
> Try _Advanced_ Find & Replace.
>

Yes, it's a little better. I can "replace" with non-breaking spaces, but
"find" don't make the difference...
Well, anyway, I got enought to make a goog job :)

Thank you for all !


>
> Liviu
>


Re: 5 questions from a new user

2012-02-25 Thread Jürgen Spitzmüller
Pascal Fischer wrote:
> 1. I've read, that it is needed to install spellcheck-dictionaries for
> other languages and additional modules (e.g. for linguistic documents)
> seperately. Where do I find these and how do I install them so that
> Lyx uses them?

On Windows, the spellcheck dictionaries should be installed by default. As for 
the linguistics extensions, you should start with the Linguistics Manual (Help 
> Specific Manuals > Linguistics Manual) and with this HowTo:

http://wiki.lyx.org/LyX/LinguistLyX

HTH
Jürgen


LyX Server Downtime - server on the move

2012-02-25 Thread Lars Gullik Bjønnes
Hi all,

The LyX server running the web pages, the wiki and subversion will
be moved from one virtual server to another during next week. This move will
consist of a complete re-install since the virtual-servers in question are not
compatible.

The Downtime will be from Tuesday evening/night, until the IP addresses has been
moved over and I have had time to verify that everything is working on
the new server
in general. There might be a downtime of ~24hrs, but I expect a lot less.

The Downtime will affect all services running on this server: web,
wiki and subversion.

Mailing lists will NOT be affected.

Questions/comments can be sent to me directly, or the devel list.

--
        Lgb


Re: shared library run problem

2012-02-25 Thread Stephan Witt
Am 25.02.2012 um 05:57 schrieb Sajjad:

> I compiled both qt and lyx from source. The installation instructions for qt 
> did not mention anything about this issue and it is working fine.
> 
> Is there any way to send the parameter while configuring lyx so that the 
> compilation is done against the 32 -bit instead ?

Why did you compile Qt form source? Didn't you have it already installed?
I think it's better to use the system Qt and install the missing developer 
package if needed. 
You have to be sure to provide the correct version of Qt at runtime if you want 
to use your own package.
To verify that you may use "ldd /path/to/lyx" to check what Qt-libraries are 
linked at run time. 
Perhaps you have to adjust your LD_LIBRARY_PATH variable accordingly.

Stephan

> 
> I am using the 64-bit ubuntu. 
> 
> 
> 
> On Fri, Feb 24, 2012 at 6:34 PM, Richard Heck  wrote:
> On 02/24/2012 09:51 AM, Sajjad wrote:
> > hello forum,
> >
> > I just managed to compile LyX from source and it compiled fine. The qt
> > path is mentioned while configuring and configuring.
> >
> > Now when i try to run "lyx" or "lyxclient" i get the following error:
> >
> > /
> > sajjad@sajjad:~$ lyxclient: error while loading shared libraries:
> > libQtGui.so.4: wrong ELF class: ELFCLASS32
> > 
> >
> It looks like LyX has been compiled as a 64 bit app, but what's being
> found are 32 bit libraries. I'm afraid I don't know why this would be.
> But maybe that's a clue?
> 
> Richard
> 
> 



Auto response - re:Re: shared library run problem [pfCase:2108434, pfTicket:7384782]

2012-02-25 Thread support
pfTicket: 7384782

Thank you for e-mailing the Casino Support Desk.

We have assigned your query one of our Support Consultants and you should 
receive a response soon.

While we do our best to ensure that all e-mails are responded to as quickly as 
possible, it can – on rare occasions – take a bit of time for us to get a 
response back to you

Should you urgently require a response, we would suggest that you please 
contact us via our Toll Free Numbers, listed below

Kind Regards

Casino Support

Support Hours
24 Hours a Day, 7 Days a Week 

Contact Numbers

Argentina: 08004440973
Australia: 1-800-658460
Austria: 085080
Belgium: 080049216
Canada: 18667452416
Chile: 12300207689
Cyprus: 80077315
Denmark: 80887134
Finland: 800919692
Germany: 0803370
Greece: 00 800-127-304
Hong Kong: 800-903483
Italy: 800986542
Malaysia: 1800812500
Mexico: 18669724381
Netherlands: 08000204703
New Zealand: 0800449767
Norway: 80019453
Portugal: 800-814053
Singapore: 800-1204340
Spain: 800 3000 87
Sweden: 0200-899-162
Switzerland: 081722
Thailand: 1-801-20665859
UK: 0-808-2386055


mathspec disables instant preview

2012-02-25 Thread d c
I ahve just discovered, arduously, that using mathspec prevents preview from 
working. Is this a bug, feature, or other?



Re: mathspec and new theorem disable instant preview

2012-02-25 Thread d c

d c  spamgourmet.com> writes:

> 
> I ahve just discovered, arduously, that using mathspec prevents preview from 
> working. Is this a bug, feature, or other?
> 
> 


sorry I realized I was being perhaps cryptic.

specifically:
\usepackage[no-math]{mathspec} 
in my preamble seems to make instant preview stop functioning. 
I am using xetex, and I have tried many combinations of settings, but it all 
seems to boil down to this line.
I want to be able to set the font for math. 
Perhaps another package for this exists?

In a possible related vein, I also noticed that 
adding the following to my preamble also is breaking instant preview:

\newtheoremstyle{mytheorem} %hnamei
{\topsep}%  Space above
{\topsep}%  Space below
{\ttfamily} % hBody fonti
{} % hIndent amounti1
{\ttfamily} % hTheorem head fonti
{:} % hPunctuation after theorem headi
{.5em} % hSpace after theorem headi2
{} % hTheorem head spec (can be left empty, meaning ‘normal’)i
\theoremstyle{mytheorem} % this should set the current theorem style to 
mytheorem?
\newtheorem{mytheorem}{My Theorems} %this loads the new theorem style and uses 
"My Theorems" as its heading 
%\newtheorem{thm}{Theorem}
--

These may or may not be related. They work (that is to say act to break) 
independently of each other.




Re: shared library run problem

2012-02-25 Thread Sajjad
Hello


I am using an old machine and repository support went out. I recently
updated the qt version to 4.8.0 from source.

While configuring the lyx source i am providing wiith the qt path and it
did not complain at all:

//

sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure
--with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'
configuring LyX version 2.0.0
checking for build type... release
checking for version suffix...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version >= 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.5/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.5/site-packages
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking whether to use included boost library... yes
checking whether to use included MyThes library... yes
checking size of wchar_t... 4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t
cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t
*outbytesleft);
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... no
checking for moc... /usr/local/Trolltech/Qt-4.8.0///bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/Trolltech/Qt-4.8.0///bin/uic
checking for rcc-qt4... no
checking for rcc... /usr/local/Trolltech/Qt-4.8.0///bin/rcc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for unsigned 

Re: count math symbols with "statistics"

2012-02-25 Thread Frank Fun
Hi,

I am using the lyx 1.6.4 "tools -> statistics" menu item to count the
words in my manuscript.  The manuscript contains a lot of mathematical
symbols which I would like to count as words however.  Lyx counts
characters, but this is unhelpful for me since I would like to count
each individual mathematical operator as a word.  

For example, I would like a statement such as "the following equation,
x^y + f," to count as six words (three for the words, three for the
symbols x^y, +, and f).  Instead, lyx counts that statement as three
words.  Any help would be appreciated.

Fun



need working example of copier to customize pdf output

2012-02-25 Thread Paul Johnson
I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called "pdfjam" on Debian Linux. The output is
awesome, quick, convenient.


I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder,
I just want that additional command to run.  But I don't want this 2x2
PDF type for all PDF I create,
just for the Beamer slide projects.

Thanks in advance.


[1] I've got example output here, in case you want to see what I mean:

http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS

I just upload the full working directory, let the students take the
source code or the pdf output,
or the 2x2 pdf output.

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


RE: Including landscape lyx document to portrait document

2012-02-25 Thread Hannu Vuolasaho




> Date: Fri, 24 Feb 2012 12:29:43 -0500
> From: rgh...@comcast.net
> To: vuo...@msn.com
> CC: lyx-users@lists.lyx.org
> Subject: Re: Including landscape lyx document to portrait document
>
> On 02/24/2012 06:29 AM, Hannu Vuolasaho wrote:
> >
> > How do I include the landscape document and how do I get the labels working 
> > from there? Or am I asking something impossible or is it just unholy union 
> > where is nothing good?
> >
> This can be done but will need ERT. Try this:
> +AKAAoACg- http://texblog.org/2007/11/10/landscape-in-latex/

Thanks. Two small  red boxes and one in preample did the trict.

Hannu Vuolasho

  

Re: need working example of copier to customize pdf output

2012-02-25 Thread Yihui Xie
I'm not sure if a copier or converter can be associated to a
particular document class, but this task does not seem to be closely
tied to LyX since it is just pdf-to-pdf conversion. I mean you can
write a shell script named, say, pdfnup22, and put it in your PATH so
that each time you call pdfnup22 to convert all your slides to the 2x2
layout. To restrict the conversion only on certain files, I guess you
can name all your slides with a special pattern, e.g. something like
^.*-lecture.pdf$, then pdfnup22 lists all files with this pattern and
convert them all. This conversion can be done on demand, instead of
each time you export PDF from LyX.

Or if you like point-and-click, you can make a pdfnup22.sh in your
directory and change its mode to be executable; then each time you
want to convert the slides, just click it and you are done.

Regards,
Yihui
--
Yihui Xie 
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Sat, Feb 25, 2012 at 12:43 PM, Paul Johnson  wrote:
> I'm generating a lot of slide shows for my statistics class. Sometimes
> I forget to run the followup program
> to create a compressed version of the presentation. It want to make
> that automatic.[1]
>
> When I export a document in pdf from a Beamer slides project, I also
> want this shell program to run.
> It automatically creates another pdf document that is 4 slides on one page.
>
> #!/bin/bash
>
> pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1
>
>
> pdfnup is from package called "pdfjam" on Debian Linux. The output is
> awesome, quick, convenient.
>
>
> I am reading the LyX customization manual about copiers, but I just
> can't understand it!
>
> I don't want to destroy the existing copy behavior that writes the PDF
> output to the document folder,
> I just want that additional command to run.  But I don't want this 2x2
> PDF type for all PDF I create,
> just for the Beamer slide projects.
>
> Thanks in advance.
>
>
> [1] I've got example output here, in case you want to see what I mean:
>
> http://pj.freefaculty.org/guides/stat/Regression/ElementaryOLS
>
> I just upload the full working directory, let the students take the
> source code or the pdf output,
> or the 2x2 pdf output.
>
> --
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas


Re: shared library run problem

2012-02-25 Thread Richard Heck

On 02/25/2012 08:48 AM, Sajjad wrote:

Hello


I am using an old machine and repository support went out. I recently 
updated the qt version to 4.8.0 from source.


While configuring the lyx source i am providing wiith the qt path and 
it did not complain at all:


This is just a matter of finding the headers. It doesn't have anything 
to do with which libraries the system is trying to load when LyX 
requests them. Try, as Stephan suggested:

> ldd /path/to/lyx

Richard


//

sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure 
--with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'

configuring LyX version 2.0.0
checking for build type... release
checking for version suffix...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking what packaging should be used... posix
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a Python interpreter with version >= 2.3.4... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... 
${prefix}/lib/python2.5/site-packages
checking for python extension module directory... 
${exec_prefix}/lib/python2.5/site-packages

checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking what frontend should be used for the GUI... qt4
checking for a good enough C++ compiler... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for extra library directory... NONE
checking for extra include directory... NONE
checking for extra lib+include directory... NONE
checking for main in -lshlwapi... no
checking for main in -lpsapi... no
checking for main in -lgdi32... no
checking whether to use included boost library... yes
checking whether to use included MyThes library... yes
checking size of wchar_t... 4
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... install-shextern size_t iconv 
(iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, 
size_t *outbytesleft);

checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for QT4_CORE... yes
checking for QT4_FRONTEND... yes
checking for moc-qt4... no
checking for moc... /usr/local/Trolltech/Qt-4.8.0///bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/Trolltech/Qt-4.8.0///bin/uic
checking for rcc-qt4... no
checking for rcc... /usr/local/Trolltech/Qt-4.8.0///bin/rcc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... yes
checking for ranlib... ranlib
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... 

Re: count math symbols with "statistics"

2012-02-25 Thread Richard Heck

On 02/25/2012 10:11 AM, Frank Fun wrote:

Hi,

I am using the lyx 1.6.4 "tools ->  statistics" menu item to count the
words in my manuscript.  The manuscript contains a lot of mathematical
symbols which I would like to count as words however.  Lyx counts
characters, but this is unhelpful for me since I would like to count
each individual mathematical operator as a word.

For example, I would like a statement such as "the following equation,
x^y + f," to count as six words (three for the words, three for the
symbols x^y, +, and f).  Instead, lyx counts that statement as three
words.  Any help would be appreciated.

There's no way to affect this without modifying the source, I suspect. 
You can file an enhancement request concerning this issue, if you wish.


Richard



Re: need working example of copier to customize pdf output

2012-02-25 Thread Richard Heck

On 02/25/2012 01:43 PM, Paul Johnson wrote:

I'm generating a lot of slide shows for my statistics class. Sometimes
I forget to run the followup program
to create a compressed version of the presentation. It want to make
that automatic.[1]

When I export a document in pdf from a Beamer slides project, I also
want this shell program to run.
It automatically creates another pdf document that is 4 slides on one page.

#!/bin/bash

pdfnup --nup 2x2 --suffix '2x2' --frame true --batch $1


pdfnup is from package called "pdfjam" on Debian Linux. The output is
awesome, quick, convenient.

I am reading the LyX customization manual about copiers, but I just
can't understand it!

I don't want to destroy the existing copy behavior that writes the PDF
output to the document folder, I just want that additional command to run.  But 
I don't want this 2x2 PDF type for all PDF I create, just for the Beamer slide 
projects.

Copiers are tied to formats, so you will need to create a new format 
first. Call it "PDF (beamer)", or something of the sort. When you do, 
you can assign a copier program. The copier will have to be responsible 
for the actual copying, as well as the conversion you want. Write a 
little shell script that takes two arguments, the input file and its 
output location. So something like:


#!/bin/bash
INFILE="$1";
OUTFILE="$2";
if [ -z "$OUTFILE" ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output "$OUTFILE" --batch "$1";

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make 
it executable, and then enter

pdfcopier.sh "$$i" "$$o"
into the copier field for your new format.

Richard



Re: shared library run problem

2012-02-25 Thread Sajjad
Hi

i ran the suggested diagnostics and found the following result:


sajjad@sajjad:~$ ldd /usr/local/bin/lyx
linux-vdso.so.1 => (0x7fff853ff000)
libenchant.so.1 => /usr/lib/libenchant.so.1 (0x7fd3d926b000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x7fd3d9067000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7fd3d8da2000)
libz.so.1 => /usr/lib/libz.so.1 (0x7fd3d8b8a000)
libQtGui.so.4 => not found
libQtCore.so.4 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7fd3d887d000)
libm.so.6 => /lib/libm.so.6 (0x7fd3d85f8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fd3d83e)
libc.so.6 => /lib/libc.so.6 (0x7fd3d806e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x7fd3d7e52000)
libdl.so.2 => /lib/libdl.so.2 (0x7fd3d7c4e000)
libpcre.so.3 => /lib/libpcre.so.3 (0x7fd3d7a25000)
/lib64/ld-linux-x86-64.so.2 (0x7fd3d9476000)






It shows that the qt library is not found. As you have seen in the previous
post, the output of the ./configure shows that the qt library is found.
While configuring  i did mention the full qt path.

What should i check now ?


Regards
Sajjad


On Sat, Feb 25, 2012 at 9:49 PM, Richard Heck  wrote:

>  On 02/25/2012 08:48 AM, Sajjad wrote:
>
> Hello
>
>
>  I am using an old machine and repository support went out. I recently
> updated the qt version to 4.8.0 from source.
>
>  While configuring the lyx source i am providing wiith the qt path and it
> did not complain at all:
>
>  This is just a matter of finding the headers. It doesn't have anything
> to do with which libraries the system is trying to load when LyX requests
> them. Try, as Stephan suggested:
> > ldd /path/to/lyx
>
> Richard
>
>
>
> //
>
>  sajjad@sajjad:~/Downloads/LyX/lyx-2.0.0$ ./configure
> --with-qt4-dir='/usr/local/Trolltech/Qt-4.8.0/'
> configuring LyX version 2.0.0
> checking for build type... release
> checking for version suffix...
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> checking what packaging should be used... posix
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for a Python interpreter with version >= 2.3.4... python
> checking for python... /usr/bin/python
> checking for python version... 2.5
> checking for python platform... linux2
> checking for python script directory...
> ${prefix}/lib/python2.5/site-packages
> checking for python extension module directory...
> ${exec_prefix}/lib/python2.5/site-packages
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking whether byte ordering is bigendian... no
> checking what frontend should be used for the GUI... qt4
> checking for a good enough C++ compiler... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... no
> checking whether gcc accepts -g... no
> checking dependency style of gcc... gcc3
> checking dependency style of gcc... (cached) gcc3
> checking for extra library directory... NONE
> checking for extra include directory... NONE
> checking for extra lib+include directory... NONE
> checking for main in -lshlwapi... no
> checking for main 

Can't export to DVI

2012-02-25 Thread Anubhav Chattoraj
Using LyX 2.0.2 on a Windows 7 x64.

I have the exact problem described on this thread:
http://comments.gmane.org/gmane.editors.lyx.devel/134251

I tried replacing clean_dvi.py with the one from LyX 1.6.9, which worked
for the guy who posted that thread. Didn't help; I still get the same
error.