Fwd: Problem using old Lyx document

2010-02-26 Thread Murat Yildizoglu
Hi Michael,
Do you use the geometry package in your document? It has a lot changed
during the last years (the last version is not compatible anymore with
version 2, for example). If you use it in the old way (it was enough
to tell the page size to have a large text width), you should give it
explicit page margins to get back your old margins. This is just a
hint in the fishing game ;-)

Regards,

Murat

2010/2/25 Michael Born michael.b...@aei.mpg.de:
 Hello Lyx-experts,

 I have an 80 page lyx document from year 2000 on paper and as a .lyx
 file. Now I want to create a PDF file, and have some trouble :-(
 When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
 now just 70 pages. Lyx seems to put some text outside my page format (A4).
 I can imagine that there are Latex-packages missing...

 Is there a HOWTO about working with 10 years old .lyx files?
 The latex protocol menu entry of Lyx just shows two label warnings.
 How can I find out if something (and what) is missing?

 Cheers,
 Michael

 PS: the first lines of the .lyx

 #LyX 1.1 created this file. For more info see http://www.lyx.org/
 \lyxformat 2.16
 \textclass article
 \begin_preamble





-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Lyx 2.0

2010-02-26 Thread Dotan Cohen
 Steve and others,
 For those using Linux, may I strongly recommend GNU Stow for this
 purpose? It puts the compiled version in a safe place (ie, away from
 anthing that your package manager is interested in) and puts symbolic
 links to this safe place. It is a brilliant system for working outside
 the normal package management system.

 http://www.gnu.org/software/stow/

 http://en.wikipedia.org/wiki/GNU_Stow

 http://www.linux.com/archive/feature/127393

 Install stow with your normal package manager.


Thanks, Alan, that looks like a great idea.


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Jose Quesada
Hi,

Just a quick note to say that I really like the idea. It'd make LyX a great
tool for jotting ideas (notetaking). I'm already using it in this way. Btw
word 2010 has similar improvements on the outliner sidebar, taken from
oneNote (oneNote is a great piece of software, the only thing I miss since
moving to linux, plenty of good design ideas there).

Thanks,
-Jose

On Fri, Feb 26, 2010 at 5:18 AM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 So I svn'ed LyX 2, built it, and ran it. So far so good except outlines. I
 ran
 it against one of my existing books and its associated layout file and
 seealso.inc, and it worked.

 One fascinating thing is for the first time in my history with LyX, I got
 it
 to recognize a layout file first crack out of the box. All I had to do was
 put
 the correctly named .layout in the same directory as the document, and
 bang,
 it worked. I know 1.6.x was *advertised* to work that way, but it didn't.
 Later I'll do some experiments to see if 2.0.x really works that way every
 time, or whether I just got lucky the first time with 2.0.x.  In the past
 I've
 found layout recognition to be a hit or miss intermittent.

 In August I put in a request for a couple improvements to LyX outline mode
 that would stratospherically launch productivity. See it here:

 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html

 http://www.lyx.org/trac/ticket/6174

 The enhancement described, or even something close, would enable authors to
 construct from scratch outlines within LyX, enhancing the organization and
 value of their documents. It would also limit mistakes as the author flips
 between outline view and document view. I see right now it's owned by
 nobody, and it would be wonderful if it could be addressed. If the
 enhancement as I described it is too difficult to code in time for release,
 I
 can work with the developer to simplify the enhancement while still
 retaining
 its value.

 Anyway, my next step will be to observe and document how all the features
 added since 1.5.x work. 1.6.x had a lot of different inserts. 1.6 has
 layout
 modules, which I haven't explored yet. I hear 2.0 allows you to shut off
 spellcheck in certain styles, which probably means there's LOTS of
 customization that can be done at the style level.

 Anyway, thanks for the great software.

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt




-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: raw latex commands on a lyx doc?

2010-02-26 Thread Guenter Milde
On 2010-02-26, Jose Quesada wrote:

 I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
 done all the steps described in the documentation and this wiki post:

 http://wiki.lyx.org/Layouts/CreatingLayouts

...

 This seems to work. Now I need to be able to set values for \dueContractual,
 \status etc.
...
 Since these are raw tex commands, how do I assign values to them in Lyx?

The quick and dirty way:

* Commands that can/must be given in the document preamble (before the
  \begin{document} in the *.tex file) are inserted (togehter with their
  arguments) under DocumentSettingsLaTeX Preamble. You can simply copy
  and past from the *.tex example file.
  
  E.g.  \usepackage{parskip}
  
* Commands in the document body should be inserted as raw LaTeX (evil
  red text, ERT). Press Ctrl-l or use the TeX button on the toolbar to
  open a ERT inset and again you can copy and past from a *.tex example
  file.
  
  E.g. \fontencoding{X2}\selectfont \char88 \char120
  
Günter  



Re: Preamble lyx 1.6 revtex4

2010-02-26 Thread Guenter Milde
On 2010-02-25, Scott, Robert wrote:

 I am attempting to use revtex 4 as a template to write a paper. The problem=
  is that I need to alter some of the latex code in the 'preamble' but there=
  seems to be no method for accessing this in later versions of Lyx. Earlier=
  version refer to a menu called layout

DocumentSettingsLaTeX preamble

Günter



Re: Mystified by \selectlanguage [modified]

2010-02-26 Thread Guenter Milde
On 2010-02-25, Manoj Rajagopalan wrote:

I've traced this to the use of the babel package - it seems to be 
 automatically set for use in Tools-Preferences...-Language 
 settings-Language dialog.

AFAIK, babel is loaded by default if you use any Language other than
English (US), be it as document language or for text parts.

 What I find strange is that LyX seems to be introducing the
 \selectlanguage and \foreignlanguage commands in what appears to be a
 random fashion. 

Normally not.

 When I create a new equation-reference, I get something
 like:

   \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

This might be a bug (but see below).

 How does the british language enter my document - the default is
 probably just English on my system. Even my \documentclass command
 (on latex export) shows the british option!

The most comman source of this kind of problems is copy and
paste from a document in another language as the language attribute is
preserved.

Another bug is that, if you select a document part containing an inset
resetting the language is not (always) done inside the inset. Instead,
you have to go into the inset, mark the content and repeat the language
reset command :-( Combine this with the feature that the blue underline
will be not visible for the closed inset, you see the source of much
confusion.

Günter



Re: text-mode macros?

2010-02-26 Thread Guenter Milde
On 2010-02-25, rgheck wrote:
 On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:

 I use math-macros in lyx but I was wondering if there is any way to 
 achieve macros in text-mode. 

 There's a bug about this, an enhancement request. So no.

While there is no direct analogon to math-macros, you can define text
macros as custom insets in *.layout or *.module files.

For me, the right way to solve the enhancement request would be to
allow/complete the embedding of modules into documents.

Günter



Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Guenter Milde
On 2010-02-25, Liviu Andronic wrote:

 Anyways, I cannot get
 past the black boxes with the yat character (see attached). I am not
 sure why.

Did you try a different screen font (like DejaVu)?



Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Liviu Andronic
On 2/26/10, Guenter Milde mi...@users.berlios.de wrote:
 Did you try a different screen font (like DejaVu)?

I have selected Bistream Vera Serif (and Sans) for both Screen and
Document fonts. Although the yat character is correctly rendered in
LyX, View XeTeX will create a PDF with boxes instead of the character.
Liviu


Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Guenter Milde
On 2010-02-25, Andrey wrote:

 It seems that XeTeX is indeed a feasible way to print some old-orthography
 Russian letters. And this is great!

 However, a more ambitious task, which is similar to enabling Greek
 polytonic, would be to enable the true Church Slavonic in LyX, which
 would be amazingly useful. 

This would only be feasible, if Church Slavonic is already supported by
babel. In any case, XeTeX is the easier way to go.

 Church Slavonic looks quite different to ordinary Russian [...] and is
 rich in diacritics, so it requires its own fonts, such as Irmologion or
 Triodion (can be seen here - http://www.irmologion.ru/fonts.html).

Using different fonts for Church Slavonic is not necessary (if you do not
intend to reproduce the look and feel of the Synodial publications).
What is needed are fonts supporting the additional characters and
accents.

BTW: Irmologion is regarded a nonprofessional first try by its author,
who recommends to use Hirmos instead: 
  
  Если у Вас нет необходимости поддерживать совместимость с Irmologion, я
  рекомендую использовать более удачный аналог синодальной гарнитуры --
  Hirmos.

 I am not sure Church Slavonic characters are included in Unicode. 

They are. (Although there is no such thing as a Church Slavonic
character just like there are no English characters, I believe you
mean: characters used/needed for writing Church Slavonic).
The fonts at www.irmologion.ru are Unicode encoded.

 What I know, however, is that attempts have been made to create TeX
 packages that make it possible to typeset in Church Slavonic - one such
 package is HipTeX (http://www.sobor.org/hip/); 

 another (and supposedly better one, since it is more recent and avoids
 certain drawbacks of HipTeX) is CSLTeX
 (http://sites.google.com/site/csltex/). 

 They can be downloaded by clicking the zip files, but, unfortunately,
 documentation to both of them is in Russian. 

If all you need is the occasional church slavonic example in a scholarly
paper, I'd recommend to use the hipfonts or the cslav package together
with raw latex (ERT).

 Can these developments be somehow incorporated in LyX?

In principle, this should be possible. However, it needs someone
familiar with the cyrillic support in TeX and an interested developer.
Feel free to file an enhancement ticket at http://www.lyx.org/trac/ .

Günter



Re: text-mode macros?

2010-02-26 Thread rgheck

On 02/26/2010 04:26 AM, Guenter Milde wrote:

On 2010-02-25, rgheck wrote:
   

On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:
 
   

 I use math-macros in lyx but I was wondering if there is any way to
achieve macros in text-mode.
   
   

There's a bug about this, an enhancement request. So no.
 

While there is no direct analogon to math-macros, you can define text
macros as custom insets in *.layout or *.module files.

   
I'm not sure what you mean. What the bug requests is something akin to 
math macros. I'm not sure how using custom insets helps.


rh



Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Abdelrazak Younes

On 02/26/2010 05:18 AM, Steve Litt wrote:

In August I put in a request for a couple improvements to LyX outline mode
that would stratospherically launch productivity. See it here:

http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html

http://www.lyx.org/trac/ticket/6174

The enhancement described, or even something close, would enable authors to
construct from scratch outlines within LyX, enhancing the organization and
value of their documents. It would also limit mistakes as the author flips
between outline view and document view. I see right now it's owned by
nobody, and it would be wonderful if it could be addressed. If the
enhancement as I described it is too difficult to code in time for release, I
can work with the developer to simplify the enhancement while still retaining
its value.


One way to trigger the interest of a developper is to create a sponsor 
project like we've done for the inline spellchecker or the compare 
feature; see:


http://www.lyx.org/Donate

I can set up such a project for you if there's interest in sponsorship 
in the list (not for me).


Abdel.



Re: Lyx 2.0

2010-02-26 Thread j...@att
This is my first attempt to post to the list so if it is incorrect, please let 
me know.

I'm attempting to compile Lyx 2.0 on my MacBook Pro.  I used port to get what's 
indicated in INSTALL.MacOSX.
./configure worked ok.

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.


When I do make I get the following result.  Any suggestions about how to 
proceed?

Undefined symbols:
  _iconv_close, referenced from:
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  lyx::IconvProcessor::~IconvProcessor()in liblyxsupport.a(unicode.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  _iconv, referenced from:
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  (anonymous namespace)::iconv_codecvt_facet::do_out(__mbstate_t, wchar_t 
const*, wchar_t const*, wchar_t const*, char*, char*, char*) constin 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::do_in(__mbstate_t, char 
const*, char const*, char const*, wchar_t*, wchar_t*, wchar_t*) constin 
liblyxsupport.a(docstream.o)
  __nl_find_msg in libintl.a(dcigettext.o)
  _iconv_open, referenced from:
  lyx::IconvProcessor::init() in liblyxsupport.a(unicode.o)
  lyx::operator(std::basic_istreamwchar_t, std::char_traitswchar_t , 
lyx::SetEnc)in liblyxsupport.a(docstream.o)
  lyx::operator(std::basic_ostreamwchar_t, std::char_traitswchar_t , 
lyx::SetEnc)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ifdocstream(lyx::ifdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ifdocstream(lyx::ifdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ofdocstream(lyx::ofdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ofdocstream(lyx::ofdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  __nl_find_msg in libintl.a(dcigettext.o)
  __nl_find_msg in libintl.a(dcigettext.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




Re: LyX 2: So far so good, except outlines

2010-02-26 Thread obregonmateo
I also miss having a good outlining mode in LyX. At the moment I use Freemind 
mindmaps that I then pull into LyX via LaTeX.

I cannot work on this project now however.

Mateo.

On Friday 26 February 2010, Abdelrazak Younes wrote:
 On 02/26/2010 05:18 AM, Steve Litt wrote:
  In August I put in a request for a couple improvements to LyX outline mode
  that would stratospherically launch productivity. See it here:
 
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
 
  http://www.lyx.org/trac/ticket/6174
 
  The enhancement described, or even something close, would enable authors to
  construct from scratch outlines within LyX, enhancing the organization and
  value of their documents. It would also limit mistakes as the author flips
  between outline view and document view. I see right now it's owned by
  nobody, and it would be wonderful if it could be addressed. If the
  enhancement as I described it is too difficult to code in time for release, 
  I
  can work with the developer to simplify the enhancement while still 
  retaining
  its value.
 
 One way to trigger the interest of a developper is to create a sponsor 
 project like we've done for the inline spellchecker or the compare 
 feature; see:
 
 http://www.lyx.org/Donate
 
 I can set up such a project for you if there's interest in sponsorship 
 in the list (not for me).
 
 Abdel.
 
 




Re: Lyx 2.0

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 8:32 AM, j...@att john.feez...@att.net wrote:
 This is my first attempt to post to the list so if it is incorrect, please 
 let me know.

 I'm attempting to compile Lyx 2.0 on my MacBook Pro.  I used port to get 
 what's indicated in INSTALL.MacOSX.
 ./configure worked ok.
 
 Configuration of LyX was successful.
 Type 'make' to compile the program,
 and then 'make install' to install it.
 

 When I do make I get the following result.  Any suggestions about how to 
 proceed?
 
 Undefined symbols:

This looks to me like you didn't do the last step of the instructions
for compiling Qt4: find the qt4 lib directory and enter

rm *.la

(You might need sudo rm *.la depending on where you installed Qt4.)

If I'm right that you didn't do that, you'll need to do make clean
and reconfigure.

BH


Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Steve Litt
On Friday 26 February 2010 07:31:49 Abdelrazak Younes wrote:
 On 02/26/2010 05:18 AM, Steve Litt wrote:
  In August I put in a request for a couple improvements to LyX outline
  mode that would stratospherically launch productivity. See it here:
 
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
 
  http://www.lyx.org/trac/ticket/6174
 
  The enhancement described, or even something close, would enable authors
  to construct from scratch outlines within LyX, enhancing the organization
  and value of their documents. It would also limit mistakes as the author
  flips between outline view and document view. I see right now it's owned
  by nobody, and it would be wonderful if it could be addressed. If the
  enhancement as I described it is too difficult to code in time for
  release, I can work with the developer to simplify the enhancement while
  still retaining its value.
 
 One way to trigger the interest of a developper is to create a sponsor
 project like we've done for the inline spellchecker or the compare
 feature; see:
 
 http://www.lyx.org/Donate
 
 I can set up such a project for you if there's interest in sponsorship
 in the list (not for me).
 
 Abdel.
 

Hi Abdel,

The trouble I see with that is a project can languish waiting to get up to the 
minimum to get the project started, whereas if it were just whoever wants 
it take it, it might get done right away.

However, I'll pledge that WHEN a developer completes the better outline mode, 
I'll Paypal him/her $40 US Dollars. If a lot of people do the same, that would 
be pretty nice.

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Stefano Franchi
On 02/26/10, Steve Litt sl...@troubleshooters.com wrote:
On Friday 26 February 2010 07:31:49 Abdelrazak Younes wrote:
 On 02/26/2010 05:18 AM, Steve Litt wrote:
 One way to trigger the interest of a developper is to create a sponsor
 project like we've done for the inline spellchecker or the compare
 feature; see:
 
 http://www.lyx.org/Donate
 
 I can set up such a project for you if there's interest in sponsorship
 in the list (not for me).
 
 Abdel.

Hi Abdel,

The trouble I see with that is a project can languish waiting to get up to
the minimum to get the project started, whereas if it were just whoever
wants it take it, it might get done right away.

However, I'll pledge that WHEN a developer completes the better outline
mode, I'll Paypal him/her $40 US Dollars. If a lot of people do the same,
that would be pretty nice.


Sounds like a good idea, although based on a good deal of mutual trust. But I 
believe in human nature. So count me in.

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Outlines fallback plan

2010-02-26 Thread Steve Litt
Hi all,

I'm sure it won't come to this, but if nobody else does the outline mode 
improvement I'll have to do it.

Could someone please tell me the source files encompassing the current outline 
functionality, as well as the source files implementing an input box with 
buttons and a text box? Basically the change involves the addition of a couple 
buttons and a text box.

Like I said, I doubt it will come to this. Nobody wants Steve Litt writing LyX 
code -- I'm neither a C++ guy nor a Qt guy, and the biggest free software 
project I've worked on has about 5 developers and I did it in Perl :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



RE: [help] impossible to use Lyx with miktex 2.8?

2010-02-26 Thread franck.meyer
Hi,

I've retried for the 6th time...
Same error : all lyx layouts not available...
Please find attached  the last lyx installation report.
Before I've checked and cleaned all the  register base (Windows XP - FR).
May be it's a problem of the French version?
May be it's a curse problem?

Surely without diagnostic tools inside Lyx I think one cannot find the problem.
I've followed all the instructions people on these list gave to me...
Thanks a lot to all people who tried to help!, but I think may be now it's 
better to give up.

 rapportInstllationLyx.txt 
Regards,
Frank.


_
De : MEYER Franck RD-TECH-LAN 
Envoyé : jeudi 25 février 2010 12:31
À : 'lyx-users@lists.lyx.org'
Cc : 'lyx...@lists.lyx.org'
Objet : [help] impossible to use Lyx with miktex 2.8?


Hi,

It seems impossible to use Lyx 1.6 with miktex 2.8 on my laptop on windows XP.
Each time lyx doesn't recognize the document classes, saying that the layout 
are not available (article, scrbook,...)
I 've tried 5 installations / desintallations of all miktex and Lyx.
I'am administrator on my laptop
I've downloaded all the available latex packages 
I' ve tried to use the standard lyx installer and the alt one.
I've used each time the reconfigure options of lyx..
Some people said it is a known issue in the mailing list archive, OK but what 
is the solution?, I can't find it.
I 'am on this issue for one week, I am becoming a little bit desperate...

More than that I have on another windows XP PC (desktop) an old mikex 2.7 with 
Lyx 1.6 working perfectly well...
But miktex 2.7 is now not available.

I'am going to test Texlive if it is possible.

Regards,
Frank Meyer.


Frank Meyer
France Telecom RD/TECH/ASAP(LD128)
2 avenue Pierre Marzin 22307 Lannion Cedex 
E-mail : franck.me...@orange-ftgroup.com
Telephone : +33 (0)2 96 05 28 89
http://www.francetelecom.com/rd



*
This message and any attachments (the message) are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.


+checking for latex2rtf...   no
+checking for latex2rt...   no
checking for a RTF - HTML converter...
+checking for unrtf...   no
checking for a PS to PDF converter...
+checking for ps2pdf13...   yes
checking for a PS to TXT converter...
+checking for pstotext...   no
checking for a PS to TXT converter...
+checking for ps2ascii...   yes
checking for a PS to EPS converter...
+checking for ps2eps...   no
checking for a PDF to PS converter...
+checking for pdf2ps...   yes
checking for a PDF to EPS converter...
+checking for pdftops...   no
checking for a DVI to TXT converter...
+checking for catdvi...   no
checking for a DVI to PS converter...
+checking for dvips...   yes
checking for a DVI to PDF converter...
+checking for dvipdfmx...   yes
checking for dvipng...
+checking for dvipng...   yes
checking for a fax program...
+checking for kdeprintfax...   no
+checking for ksendfax...   no
+checking for hylapex...   no
checking for a FIG - EPS/PPM converter...
+checking for fig2dev...   no
checking for a TIFF - PS converter...
+checking for tiff2ps...   no
checking for a TGIF - EPS/PPM converter...
+checking for tgif...   no
checking for a WMF - EPS converter...
+checking for metafile2eps...   yes
checking for an EMF - EPS converter...
+checking for metafile2eps...   yes
checking for an EPS - PDF converter...
+checking for epstopdf...   yes
checking for a Grace - Image converter...
+checking for gracebat...   no
checking for a Dot - PDF converter...
+checking for dot...   no
checking for a Dia - PNG converter...
+checking for dia...   no
checking for a Dia - EPS converter...
+checking for dia...   no
checking for a LilyPond - EPS/PDF/PNG converter...
+checking for lilypond...   no
checking for a Noteedit - LilyPond converter...
+checking for noteedit...   no
checking for SGML-tools 2.x (DocBook), db2x scripts or xsltproc...
+checking for sgmltools...   no
+checking for db2dvi...   no
+checking for xsltproc...   no
Checking whether TeX allows spaces in file names...  yes
checking for a *roff formatter...
+checking for groff...   no
+checking for nroff...   no
checking for ChkTeX...
+checking for chktex...   no
checking for BibTeX...
+checking for bibtex...   yes
checking for JBibTeX, the Japanese BibTeX...
+checking for jbibtex...   no
+checking for bibtex...   yes
checking for an index processor...
+checking for texindy...   no
+checking for makeindex...   yes
checking for an index processor appropriate to Japanese...
+checking for mendex...   no
+checking for jmakeindex...   no
+checking for makeindex...   yes
checking for a nomenclature processor...
+checking for makeindex...   yes
checking for a 

LyX 2-dev on MacOSX compiled

2010-02-26 Thread Joachim Osnabryg

Happy

to announce that I compiled successfully the LyX 2.0 svn version on MacOSX  
10.4 Tiger today.


Thanks to the hints from Julio Rojas and Guenter Milde, and the especially  
the kindly helping of BH bewih...@gmail.com, all on  
gmane.editors.lyx.general (ML lyx-users@lists.lyx.org) within the thread  
Lyx 2.0.


The general way I followed is described in the INSTALL.MacOSX which you  
get if downloading the source files by

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

After assuring that the PREREQUISITES mentioned therein were already  
fullfilled on my Mac,

I made the following:

I cd'd to the top of the LyX source hierarchy (in my case: $ cd  
/Developer/Applications/lyx-devel/ ), and entered:


$ ./autogen.sh

after that - in the case of _my_ Mac - I continued with:

$ ./configure --prefix=/Applications/LyX.app --with-version-suffix=-svn  
--with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


$  make

$ make install

… and had a LyX Version 2.0.0svn on the place of my former LyX 1.6.

And it seems to work properly, so far.

But:
this result, the _overwriting_ of the former LyX 1.6 had not been intended  
by me. To keep the actual LyX 1.6.5 installation, what should I had typed  
within the $ ./configure command?


$ ./configure --prefix=/Applications/LyX-svn.app --with-…
or
$ ./configure --prefix=/some other path than that to  
Applications/LyX.app --with-…


??
Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

And, if I want to recover the mistake I made, what to do?

I guess the easyest way would be, to do the procedure of compiling the LyX  
Version 2.0.0svn again but with a corrected $ ./configure command (which  
one?) and then install LyX 1.6.5 again, right? Other recommendations?


joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 2.0.0svn



Re: [help] impossible to use Lyx with miktex 2.8?

2010-02-26 Thread Uwe Stöhr

franck.me...@orange-ftgroup.com schrieb:


I’ve retried for the 6th time…

Same error : all lyx layouts not available…


The text file you attached shows that LaTeX was successfully installed 
and that LyX could find the LaTeX packages. So it is definitively no an 
issue of MiKTeX.
I therefore don't understand why LyX tells you that it cannot find the 
layout files when you simple create a new document.


The reason must be a path mismatch on your PC but I cannot help you 
further, except of one note: LyX won't work when it is installed in a 
path that contains accented characters. This problem arises when your 
Windows username is for example françois.


regards Uwe


Re: Outlines fallback plan

2010-02-26 Thread rgheck

On 02/26/2010 12:13 PM, Steve Litt wrote:

Hi all,

I'm sure it won't come to this, but if nobody else does the outline mode
improvement I'll have to do it.

   
We'd welcome it. It may not be that bad, and we can help you clean up 
the code.



Could someone please tell me the source files encompassing the current outline
functionality, as well as the source files implementing an input box with
buttons and a text box? Basically the change involves the addition of a couple
buttons and a text box.

   
The outliner is in GuiToc.{h,cpp} and TocWidget.{h,cpp}, both in 
src/frontends/qt4/. You probably need to deal with TocWidget more.


The easiest way to add the buttons is to load src/frontends/ui/TocUi.ui 
into QtDesigner and put them in. Note that, if you're going to have them 
add sections, they should only be active when we're in that mode. To get 
them to do what you want, see such routines as on_MoveDownTB_clicked(). 
You'll presumably need to do a series of things: Create a new paragraph 
(you are already in one); type out the section stuff; break the 
paragraph again (since you may have been in the middle of a paragraph); 
then set the layout.


The text box could just be a QInputDialog, such as is used in the 
askForText routine in GuiAlert. Or maybe you could just call askForText. 
But you may want to allow the user to choose what kind of section to 
create, and that would be more complex. You could also just create what 
makes sense at that point and then the user can change it if it isn't 
right.


rh

PS Obviously, future questions should go to devel.



Re: raw latex commands on a lyx doc?

2010-02-26 Thread Jose Quesada
Thanks Guenter, your solution works.

On Fri, Feb 26, 2010 at 10:02 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-02-26, Jose Quesada wrote:

  I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
  done all the steps described in the documentation and this wiki post:

  http://wiki.lyx.org/Layouts/CreatingLayouts

 ...

  This seems to work. Now I need to be able to set values for
 \dueContractual,
  \status etc.
 ...
  Since these are raw tex commands, how do I assign values to them in Lyx?

 The quick and dirty way:

 * Commands that can/must be given in the document preamble (before the
  \begin{document} in the *.tex file) are inserted (togehter with their
  arguments) under DocumentSettingsLaTeX Preamble. You can simply copy
  and past from the *.tex example file.

  E.g.  \usepackage{parskip}

 * Commands in the document body should be inserted as raw LaTeX (evil
  red text, ERT). Press Ctrl-l or use the TeX button on the toolbar to
  open a ERT inset and again you can copy and past from a *.tex example
  file.

  E.g. \fontencoding{X2}\selectfont \char88 \char120

 Günter




-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Jose Quesada
A question for the rest of the list too, and linux heads...

I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

I placed the .cls and figures here
/usr/share/texmf-texlive/tex/latex

LyX sees the layout just fine, but renders it like 'book'.
this is the layout:
---
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[larkc, book]{larkc}
Format 11
Input book.layout
---
What is the correct way to troubleshot this? Are there any logs? Since it
renders, but not what I want, it's hard to see what goes on.
LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
Thanks,
-Jose

-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: Problem using old Lyx document

2010-02-26 Thread Michael Born
Thank you for the info.
I looked through the .lyx files to find a small one for illustrating the
problem, but there is no small example :-(
The whole document consists of 2 .lyx files and 42 pictures - that is
25MB in all. Compressed it is 1.3MB large. Is it allowed to attach such
a large file to a bug report?
The next problem is that I don't have an original PDF of the document. I
just have the 80 page paper. But I think it can be seen easily that the
page boundaries are violated.


@Murat
It seems the document does not use the geometry package, but just
includes some eps/ps files.

Regards,
Michael


Uwe Stöhr schrieb:
 Am 25.02.2010 11:03, schrieb Michael Born:
 
 I have an 80 page lyx document from year 2000 on paper and as a .lyx
 file. Now I want to create a PDF file, and have some trouble :-(
 When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
 now just 70 pages. Lyx seems to put some text outside my page format
 (A4).
 I can imagine that there are Latex-packages missing...

 Is there a HOWTO about working with 10 years old .lyx files?
 
 LyX should handle this automatically for you, but the conversion of such
 an old fileformat obviously failed.
 You could help using fixing this by creating a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome
 Please attach there an old LyX example file. It would also be very
 helpful when you can attach the original PDF (created with LyX 1.1) and
 the current PDF output.
 
 If your file contains confidential files, you can alternatively send me
 the 3 files in a private mail.
 
 The latex protocol menu entry of LyX just shows two label warnings.
 How can I find out if something (and what) is missing?
 
 Hard to say without a LyX file. The label warnings can be ignored, so
 the LaTeX-code seems to be OK. When there would be missing
 LaTeX-packages you would not have been able to compile the file.
 
 regards Uwe
 



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Manoj Rajagopalan

Did you run the texhash command (no args) from the command line after you 
placed the .cls file in the texlive dir? You might have to run that as root.

-- Manoj


On Friday 26 February 2010 03:41:36 pm Jose Quesada wrote:
 A question for the rest of the list too, and linux heads...

 I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

 I placed the .cls and figures here
 /usr/share/texmf-texlive/tex/latex

 LyX sees the layout just fine, but renders it like 'book'.
 this is the layout:
 ---
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[larkc, book]{larkc}
 Format 11
 Input book.layout
 ---
 What is the correct way to troubleshot this? Are there any logs? Since it
 renders, but not what I want, it's hard to see what goes on.
 LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
 Thanks,
 -Jose



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Steve Litt
On Friday 26 February 2010 15:41:36 Jose Quesada wrote:
 A question for the rest of the list too, and linux heads...
 
 I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.
 
 I placed the .cls and figures here
 /usr/share/texmf-texlive/tex/latex
 
 LyX sees the layout just fine, but renders it like 'book'.
 this is the layout:

There's no way to answer this without knowing what LyX version. They all work 
differently with regard to finding .layouts, and therefore I would presume 
.cls files.

I wrote about the .layout problem here:

http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX 2-dev on MacOSX compiled

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 2:29 PM, Joachim Osnabryg o...@jpberlin.de wrote:
 But:
 this result, the _overwriting_ of the former LyX 1.6 had not been intended
 by me. To keep the actual LyX 1.6.5 installation, what should I had typed
 within the $ ./configure command?

 $ ./configure --prefix=/Applications/LyX-svn.app --with-…
 or
 $ ./configure --prefix=/some other path than that to Applications/LyX.app
 --with-…

 ??
 Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

You can do either approach -- it depends on what you want. I prefer to
distinguish the two versions of LyX by their file name, so I do the
former.

I'm not sure what you think is unclear in INSTALL.MacOSX. Do you have
proposed changes?

 And, if I want to recover the mistake I made, what to do?

 I guess the easyest way would be, to do the procedure of compiling the LyX
 Version 2.0.0svn again but with a corrected $ ./configure command (which
 one?) and then install LyX 1.6.5 again, right? Other recommendations?

Yes -- that's right.

BH


Re: Lyx 2.0

2010-02-26 Thread j...@gmail
Made the changes you suggested; still receiving the same error messages.
I'm running Snow Leopard, could that be a factor? Other suggestions?

On Feb 26, 2010 8:09 AM, BH bewih...@gmail.com wrote:

On Fri, Feb 26, 2010 at 8:32 AM, j...@att john.feez...@att.net wrote:
 This is my first attempt to ...
This looks to me like you didn't do the last step of the instructions
for compiling Qt4: find the qt4 lib directory and enter

rm *.la

(You might need sudo rm *.la depending on where you installed Qt4.)

If I'm right that you didn't do that, you'll need to do make clean
and reconfigure.

BH


Fwd: Problem using old Lyx document

2010-02-26 Thread Murat Yildizoglu
Hi Michael,
Do you use the geometry package in your document? It has a lot changed
during the last years (the last version is not compatible anymore with
version 2, for example). If you use it in the old way (it was enough
to tell the page size to have a large text width), you should give it
explicit page margins to get back your old margins. This is just a
hint in the fishing game ;-)

Regards,

Murat

2010/2/25 Michael Born michael.b...@aei.mpg.de:
 Hello Lyx-experts,

 I have an 80 page lyx document from year 2000 on paper and as a .lyx
 file. Now I want to create a PDF file, and have some trouble :-(
 When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
 now just 70 pages. Lyx seems to put some text outside my page format (A4).
 I can imagine that there are Latex-packages missing...

 Is there a HOWTO about working with 10 years old .lyx files?
 The latex protocol menu entry of Lyx just shows two label warnings.
 How can I find out if something (and what) is missing?

 Cheers,
 Michael

 PS: the first lines of the .lyx

 #LyX 1.1 created this file. For more info see http://www.lyx.org/
 \lyxformat 2.16
 \textclass article
 \begin_preamble





-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Lyx 2.0

2010-02-26 Thread Dotan Cohen
 Steve and others,
 For those using Linux, may I strongly recommend GNU Stow for this
 purpose? It puts the compiled version in a safe place (ie, away from
 anthing that your package manager is interested in) and puts symbolic
 links to this safe place. It is a brilliant system for working outside
 the normal package management system.

 http://www.gnu.org/software/stow/

 http://en.wikipedia.org/wiki/GNU_Stow

 http://www.linux.com/archive/feature/127393

 Install stow with your normal package manager.


Thanks, Alan, that looks like a great idea.


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Jose Quesada
Hi,

Just a quick note to say that I really like the idea. It'd make LyX a great
tool for jotting ideas (notetaking). I'm already using it in this way. Btw
word 2010 has similar improvements on the outliner sidebar, taken from
oneNote (oneNote is a great piece of software, the only thing I miss since
moving to linux, plenty of good design ideas there).

Thanks,
-Jose

On Fri, Feb 26, 2010 at 5:18 AM, Steve Litt sl...@troubleshooters.comwrote:

 Hi all,

 So I svn'ed LyX 2, built it, and ran it. So far so good except outlines. I
 ran
 it against one of my existing books and its associated layout file and
 seealso.inc, and it worked.

 One fascinating thing is for the first time in my history with LyX, I got
 it
 to recognize a layout file first crack out of the box. All I had to do was
 put
 the correctly named .layout in the same directory as the document, and
 bang,
 it worked. I know 1.6.x was *advertised* to work that way, but it didn't.
 Later I'll do some experiments to see if 2.0.x really works that way every
 time, or whether I just got lucky the first time with 2.0.x.  In the past
 I've
 found layout recognition to be a hit or miss intermittent.

 In August I put in a request for a couple improvements to LyX outline mode
 that would stratospherically launch productivity. See it here:

 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html

 http://www.lyx.org/trac/ticket/6174

 The enhancement described, or even something close, would enable authors to
 construct from scratch outlines within LyX, enhancing the organization and
 value of their documents. It would also limit mistakes as the author flips
 between outline view and document view. I see right now it's owned by
 nobody, and it would be wonderful if it could be addressed. If the
 enhancement as I described it is too difficult to code in time for release,
 I
 can work with the developer to simplify the enhancement while still
 retaining
 its value.

 Anyway, my next step will be to observe and document how all the features
 added since 1.5.x work. 1.6.x had a lot of different inserts. 1.6 has
 layout
 modules, which I haven't explored yet. I hear 2.0 allows you to shut off
 spellcheck in certain styles, which probably means there's LOTS of
 customization that can be done at the style level.

 Anyway, thanks for the great software.

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt




-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: raw latex commands on a lyx doc?

2010-02-26 Thread Guenter Milde
On 2010-02-26, Jose Quesada wrote:

 I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
 done all the steps described in the documentation and this wiki post:

 http://wiki.lyx.org/Layouts/CreatingLayouts

...

 This seems to work. Now I need to be able to set values for \dueContractual,
 \status etc.
...
 Since these are raw tex commands, how do I assign values to them in Lyx?

The quick and dirty way:

* Commands that can/must be given in the document preamble (before the
  \begin{document} in the *.tex file) are inserted (togehter with their
  arguments) under DocumentSettingsLaTeX Preamble. You can simply copy
  and past from the *.tex example file.
  
  E.g.  \usepackage{parskip}
  
* Commands in the document body should be inserted as raw LaTeX (evil
  red text, ERT). Press Ctrl-l or use the TeX button on the toolbar to
  open a ERT inset and again you can copy and past from a *.tex example
  file.
  
  E.g. \fontencoding{X2}\selectfont \char88 \char120
  
Günter  



Re: Preamble lyx 1.6 revtex4

2010-02-26 Thread Guenter Milde
On 2010-02-25, Scott, Robert wrote:

 I am attempting to use revtex 4 as a template to write a paper. The problem=
  is that I need to alter some of the latex code in the 'preamble' but there=
  seems to be no method for accessing this in later versions of Lyx. Earlier=
  version refer to a menu called layout

DocumentSettingsLaTeX preamble

Günter



Re: Mystified by \selectlanguage [modified]

2010-02-26 Thread Guenter Milde
On 2010-02-25, Manoj Rajagopalan wrote:

I've traced this to the use of the babel package - it seems to be 
 automatically set for use in Tools-Preferences...-Language 
 settings-Language dialog.

AFAIK, babel is loaded by default if you use any Language other than
English (US), be it as document language or for text parts.

 What I find strange is that LyX seems to be introducing the
 \selectlanguage and \foreignlanguage commands in what appears to be a
 random fashion. 

Normally not.

 When I create a new equation-reference, I get something
 like:

   \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

This might be a bug (but see below).

 How does the british language enter my document - the default is
 probably just English on my system. Even my \documentclass command
 (on latex export) shows the british option!

The most comman source of this kind of problems is copy and
paste from a document in another language as the language attribute is
preserved.

Another bug is that, if you select a document part containing an inset
resetting the language is not (always) done inside the inset. Instead,
you have to go into the inset, mark the content and repeat the language
reset command :-( Combine this with the feature that the blue underline
will be not visible for the closed inset, you see the source of much
confusion.

Günter



Re: text-mode macros?

2010-02-26 Thread Guenter Milde
On 2010-02-25, rgheck wrote:
 On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:

 I use math-macros in lyx but I was wondering if there is any way to 
 achieve macros in text-mode. 

 There's a bug about this, an enhancement request. So no.

While there is no direct analogon to math-macros, you can define text
macros as custom insets in *.layout or *.module files.

For me, the right way to solve the enhancement request would be to
allow/complete the embedding of modules into documents.

Günter



Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Guenter Milde
On 2010-02-25, Liviu Andronic wrote:

 Anyways, I cannot get
 past the black boxes with the yat character (see attached). I am not
 sure why.

Did you try a different screen font (like DejaVu)?



Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Liviu Andronic
On 2/26/10, Guenter Milde mi...@users.berlios.de wrote:
 Did you try a different screen font (like DejaVu)?

I have selected Bistream Vera Serif (and Sans) for both Screen and
Document fonts. Although the yat character is correctly rendered in
LyX, View XeTeX will create a PDF with boxes instead of the character.
Liviu


Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Guenter Milde
On 2010-02-25, Andrey wrote:

 It seems that XeTeX is indeed a feasible way to print some old-orthography
 Russian letters. And this is great!

 However, a more ambitious task, which is similar to enabling Greek
 polytonic, would be to enable the true Church Slavonic in LyX, which
 would be amazingly useful. 

This would only be feasible, if Church Slavonic is already supported by
babel. In any case, XeTeX is the easier way to go.

 Church Slavonic looks quite different to ordinary Russian [...] and is
 rich in diacritics, so it requires its own fonts, such as Irmologion or
 Triodion (can be seen here - http://www.irmologion.ru/fonts.html).

Using different fonts for Church Slavonic is not necessary (if you do not
intend to reproduce the look and feel of the Synodial publications).
What is needed are fonts supporting the additional characters and
accents.

BTW: Irmologion is regarded a nonprofessional first try by its author,
who recommends to use Hirmos instead: 
  
  Если у Вас нет необходимости поддерживать совместимость с Irmologion, я
  рекомендую использовать более удачный аналог синодальной гарнитуры --
  Hirmos.

 I am not sure Church Slavonic characters are included in Unicode. 

They are. (Although there is no such thing as a Church Slavonic
character just like there are no English characters, I believe you
mean: characters used/needed for writing Church Slavonic).
The fonts at www.irmologion.ru are Unicode encoded.

 What I know, however, is that attempts have been made to create TeX
 packages that make it possible to typeset in Church Slavonic - one such
 package is HipTeX (http://www.sobor.org/hip/); 

 another (and supposedly better one, since it is more recent and avoids
 certain drawbacks of HipTeX) is CSLTeX
 (http://sites.google.com/site/csltex/). 

 They can be downloaded by clicking the zip files, but, unfortunately,
 documentation to both of them is in Russian. 

If all you need is the occasional church slavonic example in a scholarly
paper, I'd recommend to use the hipfonts or the cslav package together
with raw latex (ERT).

 Can these developments be somehow incorporated in LyX?

In principle, this should be possible. However, it needs someone
familiar with the cyrillic support in TeX and an interested developer.
Feel free to file an enhancement ticket at http://www.lyx.org/trac/ .

Günter



Re: text-mode macros?

2010-02-26 Thread rgheck

On 02/26/2010 04:26 AM, Guenter Milde wrote:

On 2010-02-25, rgheck wrote:
   

On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:
 
   

 I use math-macros in lyx but I was wondering if there is any way to
achieve macros in text-mode.
   
   

There's a bug about this, an enhancement request. So no.
 

While there is no direct analogon to math-macros, you can define text
macros as custom insets in *.layout or *.module files.

   
I'm not sure what you mean. What the bug requests is something akin to 
math macros. I'm not sure how using custom insets helps.


rh



Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Abdelrazak Younes

On 02/26/2010 05:18 AM, Steve Litt wrote:

In August I put in a request for a couple improvements to LyX outline mode
that would stratospherically launch productivity. See it here:

http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html

http://www.lyx.org/trac/ticket/6174

The enhancement described, or even something close, would enable authors to
construct from scratch outlines within LyX, enhancing the organization and
value of their documents. It would also limit mistakes as the author flips
between outline view and document view. I see right now it's owned by
nobody, and it would be wonderful if it could be addressed. If the
enhancement as I described it is too difficult to code in time for release, I
can work with the developer to simplify the enhancement while still retaining
its value.


One way to trigger the interest of a developper is to create a sponsor 
project like we've done for the inline spellchecker or the compare 
feature; see:


http://www.lyx.org/Donate

I can set up such a project for you if there's interest in sponsorship 
in the list (not for me).


Abdel.



Re: Lyx 2.0

2010-02-26 Thread j...@att
This is my first attempt to post to the list so if it is incorrect, please let 
me know.

I'm attempting to compile Lyx 2.0 on my MacBook Pro.  I used port to get what's 
indicated in INSTALL.MacOSX.
./configure worked ok.

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.


When I do make I get the following result.  Any suggestions about how to 
proceed?

Undefined symbols:
  _iconv_close, referenced from:
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  lyx::IconvProcessor::~IconvProcessor()in liblyxsupport.a(unicode.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  _iconv, referenced from:
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  (anonymous namespace)::iconv_codecvt_facet::do_out(__mbstate_t, wchar_t 
const*, wchar_t const*, wchar_t const*, char*, char*, char*) constin 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::do_in(__mbstate_t, char 
const*, char const*, char const*, wchar_t*, wchar_t*, wchar_t*) constin 
liblyxsupport.a(docstream.o)
  __nl_find_msg in libintl.a(dcigettext.o)
  _iconv_open, referenced from:
  lyx::IconvProcessor::init() in liblyxsupport.a(unicode.o)
  lyx::operator(std::basic_istreamwchar_t, std::char_traitswchar_t , 
lyx::SetEnc)in liblyxsupport.a(docstream.o)
  lyx::operator(std::basic_ostreamwchar_t, std::char_traitswchar_t , 
lyx::SetEnc)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ifdocstream(lyx::ifdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ifdocstream(lyx::ifdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ofdocstream(lyx::ofdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncodinglyx::ofdocstream(lyx::ofdocstream, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar  const, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  __nl_find_msg in libintl.a(dcigettext.o)
  __nl_find_msg in libintl.a(dcigettext.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




Re: LyX 2: So far so good, except outlines

2010-02-26 Thread obregonmateo
I also miss having a good outlining mode in LyX. At the moment I use Freemind 
mindmaps that I then pull into LyX via LaTeX.

I cannot work on this project now however.

Mateo.

On Friday 26 February 2010, Abdelrazak Younes wrote:
 On 02/26/2010 05:18 AM, Steve Litt wrote:
  In August I put in a request for a couple improvements to LyX outline mode
  that would stratospherically launch productivity. See it here:
 
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
 
  http://www.lyx.org/trac/ticket/6174
 
  The enhancement described, or even something close, would enable authors to
  construct from scratch outlines within LyX, enhancing the organization and
  value of their documents. It would also limit mistakes as the author flips
  between outline view and document view. I see right now it's owned by
  nobody, and it would be wonderful if it could be addressed. If the
  enhancement as I described it is too difficult to code in time for release, 
  I
  can work with the developer to simplify the enhancement while still 
  retaining
  its value.
 
 One way to trigger the interest of a developper is to create a sponsor 
 project like we've done for the inline spellchecker or the compare 
 feature; see:
 
 http://www.lyx.org/Donate
 
 I can set up such a project for you if there's interest in sponsorship 
 in the list (not for me).
 
 Abdel.
 
 




Re: Lyx 2.0

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 8:32 AM, j...@att john.feez...@att.net wrote:
 This is my first attempt to post to the list so if it is incorrect, please 
 let me know.

 I'm attempting to compile Lyx 2.0 on my MacBook Pro.  I used port to get 
 what's indicated in INSTALL.MacOSX.
 ./configure worked ok.
 
 Configuration of LyX was successful.
 Type 'make' to compile the program,
 and then 'make install' to install it.
 

 When I do make I get the following result.  Any suggestions about how to 
 proceed?
 
 Undefined symbols:

This looks to me like you didn't do the last step of the instructions
for compiling Qt4: find the qt4 lib directory and enter

rm *.la

(You might need sudo rm *.la depending on where you installed Qt4.)

If I'm right that you didn't do that, you'll need to do make clean
and reconfigure.

BH


Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Steve Litt
On Friday 26 February 2010 07:31:49 Abdelrazak Younes wrote:
 On 02/26/2010 05:18 AM, Steve Litt wrote:
  In August I put in a request for a couple improvements to LyX outline
  mode that would stratospherically launch productivity. See it here:
 
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
 
  http://www.lyx.org/trac/ticket/6174
 
  The enhancement described, or even something close, would enable authors
  to construct from scratch outlines within LyX, enhancing the organization
  and value of their documents. It would also limit mistakes as the author
  flips between outline view and document view. I see right now it's owned
  by nobody, and it would be wonderful if it could be addressed. If the
  enhancement as I described it is too difficult to code in time for
  release, I can work with the developer to simplify the enhancement while
  still retaining its value.
 
 One way to trigger the interest of a developper is to create a sponsor
 project like we've done for the inline spellchecker or the compare
 feature; see:
 
 http://www.lyx.org/Donate
 
 I can set up such a project for you if there's interest in sponsorship
 in the list (not for me).
 
 Abdel.
 

Hi Abdel,

The trouble I see with that is a project can languish waiting to get up to the 
minimum to get the project started, whereas if it were just whoever wants 
it take it, it might get done right away.

However, I'll pledge that WHEN a developer completes the better outline mode, 
I'll Paypal him/her $40 US Dollars. If a lot of people do the same, that would 
be pretty nice.

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Stefano Franchi
On 02/26/10, Steve Litt sl...@troubleshooters.com wrote:
On Friday 26 February 2010 07:31:49 Abdelrazak Younes wrote:
 On 02/26/2010 05:18 AM, Steve Litt wrote:
 One way to trigger the interest of a developper is to create a sponsor
 project like we've done for the inline spellchecker or the compare
 feature; see:
 
 http://www.lyx.org/Donate
 
 I can set up such a project for you if there's interest in sponsorship
 in the list (not for me).
 
 Abdel.

Hi Abdel,

The trouble I see with that is a project can languish waiting to get up to
the minimum to get the project started, whereas if it were just whoever
wants it take it, it might get done right away.

However, I'll pledge that WHEN a developer completes the better outline
mode, I'll Paypal him/her $40 US Dollars. If a lot of people do the same,
that would be pretty nice.


Sounds like a good idea, although based on a good deal of mutual trust. But I 
believe in human nature. So count me in.

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Outlines fallback plan

2010-02-26 Thread Steve Litt
Hi all,

I'm sure it won't come to this, but if nobody else does the outline mode 
improvement I'll have to do it.

Could someone please tell me the source files encompassing the current outline 
functionality, as well as the source files implementing an input box with 
buttons and a text box? Basically the change involves the addition of a couple 
buttons and a text box.

Like I said, I doubt it will come to this. Nobody wants Steve Litt writing LyX 
code -- I'm neither a C++ guy nor a Qt guy, and the biggest free software 
project I've worked on has about 5 developers and I did it in Perl :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



RE: [help] impossible to use Lyx with miktex 2.8?

2010-02-26 Thread franck.meyer
Hi,

I've retried for the 6th time...
Same error : all lyx layouts not available...
Please find attached  the last lyx installation report.
Before I've checked and cleaned all the  register base (Windows XP - FR).
May be it's a problem of the French version?
May be it's a curse problem?

Surely without diagnostic tools inside Lyx I think one cannot find the problem.
I've followed all the instructions people on these list gave to me...
Thanks a lot to all people who tried to help!, but I think may be now it's 
better to give up.

 rapportInstllationLyx.txt 
Regards,
Frank.


_
De : MEYER Franck RD-TECH-LAN 
Envoyé : jeudi 25 février 2010 12:31
À : 'lyx-users@lists.lyx.org'
Cc : 'lyx...@lists.lyx.org'
Objet : [help] impossible to use Lyx with miktex 2.8?


Hi,

It seems impossible to use Lyx 1.6 with miktex 2.8 on my laptop on windows XP.
Each time lyx doesn't recognize the document classes, saying that the layout 
are not available (article, scrbook,...)
I 've tried 5 installations / desintallations of all miktex and Lyx.
I'am administrator on my laptop
I've downloaded all the available latex packages 
I' ve tried to use the standard lyx installer and the alt one.
I've used each time the reconfigure options of lyx..
Some people said it is a known issue in the mailing list archive, OK but what 
is the solution?, I can't find it.
I 'am on this issue for one week, I am becoming a little bit desperate...

More than that I have on another windows XP PC (desktop) an old mikex 2.7 with 
Lyx 1.6 working perfectly well...
But miktex 2.7 is now not available.

I'am going to test Texlive if it is possible.

Regards,
Frank Meyer.


Frank Meyer
France Telecom RD/TECH/ASAP(LD128)
2 avenue Pierre Marzin 22307 Lannion Cedex 
E-mail : franck.me...@orange-ftgroup.com
Telephone : +33 (0)2 96 05 28 89
http://www.francetelecom.com/rd



*
This message and any attachments (the message) are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.


+checking for latex2rtf...   no
+checking for latex2rt...   no
checking for a RTF - HTML converter...
+checking for unrtf...   no
checking for a PS to PDF converter...
+checking for ps2pdf13...   yes
checking for a PS to TXT converter...
+checking for pstotext...   no
checking for a PS to TXT converter...
+checking for ps2ascii...   yes
checking for a PS to EPS converter...
+checking for ps2eps...   no
checking for a PDF to PS converter...
+checking for pdf2ps...   yes
checking for a PDF to EPS converter...
+checking for pdftops...   no
checking for a DVI to TXT converter...
+checking for catdvi...   no
checking for a DVI to PS converter...
+checking for dvips...   yes
checking for a DVI to PDF converter...
+checking for dvipdfmx...   yes
checking for dvipng...
+checking for dvipng...   yes
checking for a fax program...
+checking for kdeprintfax...   no
+checking for ksendfax...   no
+checking for hylapex...   no
checking for a FIG - EPS/PPM converter...
+checking for fig2dev...   no
checking for a TIFF - PS converter...
+checking for tiff2ps...   no
checking for a TGIF - EPS/PPM converter...
+checking for tgif...   no
checking for a WMF - EPS converter...
+checking for metafile2eps...   yes
checking for an EMF - EPS converter...
+checking for metafile2eps...   yes
checking for an EPS - PDF converter...
+checking for epstopdf...   yes
checking for a Grace - Image converter...
+checking for gracebat...   no
checking for a Dot - PDF converter...
+checking for dot...   no
checking for a Dia - PNG converter...
+checking for dia...   no
checking for a Dia - EPS converter...
+checking for dia...   no
checking for a LilyPond - EPS/PDF/PNG converter...
+checking for lilypond...   no
checking for a Noteedit - LilyPond converter...
+checking for noteedit...   no
checking for SGML-tools 2.x (DocBook), db2x scripts or xsltproc...
+checking for sgmltools...   no
+checking for db2dvi...   no
+checking for xsltproc...   no
Checking whether TeX allows spaces in file names...  yes
checking for a *roff formatter...
+checking for groff...   no
+checking for nroff...   no
checking for ChkTeX...
+checking for chktex...   no
checking for BibTeX...
+checking for bibtex...   yes
checking for JBibTeX, the Japanese BibTeX...
+checking for jbibtex...   no
+checking for bibtex...   yes
checking for an index processor...
+checking for texindy...   no
+checking for makeindex...   yes
checking for an index processor appropriate to Japanese...
+checking for mendex...   no
+checking for jmakeindex...   no
+checking for makeindex...   yes
checking for a nomenclature processor...
+checking for makeindex...   yes
checking for a 

LyX 2-dev on MacOSX compiled

2010-02-26 Thread Joachim Osnabryg

Happy

to announce that I compiled successfully the LyX 2.0 svn version on MacOSX  
10.4 Tiger today.


Thanks to the hints from Julio Rojas and Guenter Milde, and the especially  
the kindly helping of BH bewih...@gmail.com, all on  
gmane.editors.lyx.general (ML lyx-users@lists.lyx.org) within the thread  
Lyx 2.0.


The general way I followed is described in the INSTALL.MacOSX which you  
get if downloading the source files by

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

After assuring that the PREREQUISITES mentioned therein were already  
fullfilled on my Mac,

I made the following:

I cd'd to the top of the LyX source hierarchy (in my case: $ cd  
/Developer/Applications/lyx-devel/ ), and entered:


$ ./autogen.sh

after that - in the case of _my_ Mac - I continued with:

$ ./configure --prefix=/Applications/LyX.app --with-version-suffix=-svn  
--with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


$  make

$ make install

… and had a LyX Version 2.0.0svn on the place of my former LyX 1.6.

And it seems to work properly, so far.

But:
this result, the _overwriting_ of the former LyX 1.6 had not been intended  
by me. To keep the actual LyX 1.6.5 installation, what should I had typed  
within the $ ./configure command?


$ ./configure --prefix=/Applications/LyX-svn.app --with-…
or
$ ./configure --prefix=/some other path than that to  
Applications/LyX.app --with-…


??
Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

And, if I want to recover the mistake I made, what to do?

I guess the easyest way would be, to do the procedure of compiling the LyX  
Version 2.0.0svn again but with a corrected $ ./configure command (which  
one?) and then install LyX 1.6.5 again, right? Other recommendations?


joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 2.0.0svn



Re: [help] impossible to use Lyx with miktex 2.8?

2010-02-26 Thread Uwe Stöhr

franck.me...@orange-ftgroup.com schrieb:


I’ve retried for the 6th time…

Same error : all lyx layouts not available…


The text file you attached shows that LaTeX was successfully installed 
and that LyX could find the LaTeX packages. So it is definitively no an 
issue of MiKTeX.
I therefore don't understand why LyX tells you that it cannot find the 
layout files when you simple create a new document.


The reason must be a path mismatch on your PC but I cannot help you 
further, except of one note: LyX won't work when it is installed in a 
path that contains accented characters. This problem arises when your 
Windows username is for example françois.


regards Uwe


Re: Outlines fallback plan

2010-02-26 Thread rgheck

On 02/26/2010 12:13 PM, Steve Litt wrote:

Hi all,

I'm sure it won't come to this, but if nobody else does the outline mode
improvement I'll have to do it.

   
We'd welcome it. It may not be that bad, and we can help you clean up 
the code.



Could someone please tell me the source files encompassing the current outline
functionality, as well as the source files implementing an input box with
buttons and a text box? Basically the change involves the addition of a couple
buttons and a text box.

   
The outliner is in GuiToc.{h,cpp} and TocWidget.{h,cpp}, both in 
src/frontends/qt4/. You probably need to deal with TocWidget more.


The easiest way to add the buttons is to load src/frontends/ui/TocUi.ui 
into QtDesigner and put them in. Note that, if you're going to have them 
add sections, they should only be active when we're in that mode. To get 
them to do what you want, see such routines as on_MoveDownTB_clicked(). 
You'll presumably need to do a series of things: Create a new paragraph 
(you are already in one); type out the section stuff; break the 
paragraph again (since you may have been in the middle of a paragraph); 
then set the layout.


The text box could just be a QInputDialog, such as is used in the 
askForText routine in GuiAlert. Or maybe you could just call askForText. 
But you may want to allow the user to choose what kind of section to 
create, and that would be more complex. You could also just create what 
makes sense at that point and then the user can change it if it isn't 
right.


rh

PS Obviously, future questions should go to devel.



Re: raw latex commands on a lyx doc?

2010-02-26 Thread Jose Quesada
Thanks Guenter, your solution works.

On Fri, Feb 26, 2010 at 10:02 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2010-02-26, Jose Quesada wrote:

  I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
  done all the steps described in the documentation and this wiki post:

  http://wiki.lyx.org/Layouts/CreatingLayouts

 ...

  This seems to work. Now I need to be able to set values for
 \dueContractual,
  \status etc.
 ...
  Since these are raw tex commands, how do I assign values to them in Lyx?

 The quick and dirty way:

 * Commands that can/must be given in the document preamble (before the
  \begin{document} in the *.tex file) are inserted (togehter with their
  arguments) under DocumentSettingsLaTeX Preamble. You can simply copy
  and past from the *.tex example file.

  E.g.  \usepackage{parskip}

 * Commands in the document body should be inserted as raw LaTeX (evil
  red text, ERT). Press Ctrl-l or use the TeX button on the toolbar to
  open a ERT inset and again you can copy and past from a *.tex example
  file.

  E.g. \fontencoding{X2}\selectfont \char88 \char120

 Günter




-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Jose Quesada
A question for the rest of the list too, and linux heads...

I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

I placed the .cls and figures here
/usr/share/texmf-texlive/tex/latex

LyX sees the layout just fine, but renders it like 'book'.
this is the layout:
---
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[larkc, book]{larkc}
Format 11
Input book.layout
---
What is the correct way to troubleshot this? Are there any logs? Since it
renders, but not what I want, it's hard to see what goes on.
LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
Thanks,
-Jose

-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: Problem using old Lyx document

2010-02-26 Thread Michael Born
Thank you for the info.
I looked through the .lyx files to find a small one for illustrating the
problem, but there is no small example :-(
The whole document consists of 2 .lyx files and 42 pictures - that is
25MB in all. Compressed it is 1.3MB large. Is it allowed to attach such
a large file to a bug report?
The next problem is that I don't have an original PDF of the document. I
just have the 80 page paper. But I think it can be seen easily that the
page boundaries are violated.


@Murat
It seems the document does not use the geometry package, but just
includes some eps/ps files.

Regards,
Michael


Uwe Stöhr schrieb:
 Am 25.02.2010 11:03, schrieb Michael Born:
 
 I have an 80 page lyx document from year 2000 on paper and as a .lyx
 file. Now I want to create a PDF file, and have some trouble :-(
 When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
 now just 70 pages. Lyx seems to put some text outside my page format
 (A4).
 I can imagine that there are Latex-packages missing...

 Is there a HOWTO about working with 10 years old .lyx files?
 
 LyX should handle this automatically for you, but the conversion of such
 an old fileformat obviously failed.
 You could help using fixing this by creating a bug report at
 http://www.lyx.org/trac/wiki/BugTrackerHome
 Please attach there an old LyX example file. It would also be very
 helpful when you can attach the original PDF (created with LyX 1.1) and
 the current PDF output.
 
 If your file contains confidential files, you can alternatively send me
 the 3 files in a private mail.
 
 The latex protocol menu entry of LyX just shows two label warnings.
 How can I find out if something (and what) is missing?
 
 Hard to say without a LyX file. The label warnings can be ignored, so
 the LaTeX-code seems to be OK. When there would be missing
 LaTeX-packages you would not have been able to compile the file.
 
 regards Uwe
 



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Manoj Rajagopalan

Did you run the texhash command (no args) from the command line after you 
placed the .cls file in the texlive dir? You might have to run that as root.

-- Manoj


On Friday 26 February 2010 03:41:36 pm Jose Quesada wrote:
 A question for the rest of the list too, and linux heads...

 I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

 I placed the .cls and figures here
 /usr/share/texmf-texlive/tex/latex

 LyX sees the layout just fine, but renders it like 'book'.
 this is the layout:
 ---
 #% Do not delete the line below; configure depends on this
 #  \DeclareLaTeXClass[larkc, book]{larkc}
 Format 11
 Input book.layout
 ---
 What is the correct way to troubleshot this? Are there any logs? Since it
 renders, but not what I want, it's hard to see what goes on.
 LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
 Thanks,
 -Jose



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Steve Litt
On Friday 26 February 2010 15:41:36 Jose Quesada wrote:
 A question for the rest of the list too, and linux heads...
 
 I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.
 
 I placed the .cls and figures here
 /usr/share/texmf-texlive/tex/latex
 
 LyX sees the layout just fine, but renders it like 'book'.
 this is the layout:

There's no way to answer this without knowing what LyX version. They all work 
differently with regard to finding .layouts, and therefore I would presume 
.cls files.

I wrote about the .layout problem here:

http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX 2-dev on MacOSX compiled

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 2:29 PM, Joachim Osnabryg o...@jpberlin.de wrote:
 But:
 this result, the _overwriting_ of the former LyX 1.6 had not been intended
 by me. To keep the actual LyX 1.6.5 installation, what should I had typed
 within the $ ./configure command?

 $ ./configure --prefix=/Applications/LyX-svn.app --with-…
 or
 $ ./configure --prefix=/some other path than that to Applications/LyX.app
 --with-…

 ??
 Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

You can do either approach -- it depends on what you want. I prefer to
distinguish the two versions of LyX by their file name, so I do the
former.

I'm not sure what you think is unclear in INSTALL.MacOSX. Do you have
proposed changes?

 And, if I want to recover the mistake I made, what to do?

 I guess the easyest way would be, to do the procedure of compiling the LyX
 Version 2.0.0svn again but with a corrected $ ./configure command (which
 one?) and then install LyX 1.6.5 again, right? Other recommendations?

Yes -- that's right.

BH


Re: Lyx 2.0

2010-02-26 Thread j...@gmail
Made the changes you suggested; still receiving the same error messages.
I'm running Snow Leopard, could that be a factor? Other suggestions?

On Feb 26, 2010 8:09 AM, BH bewih...@gmail.com wrote:

On Fri, Feb 26, 2010 at 8:32 AM, j...@att john.feez...@att.net wrote:
 This is my first attempt to ...
This looks to me like you didn't do the last step of the instructions
for compiling Qt4: find the qt4 lib directory and enter

rm *.la

(You might need sudo rm *.la depending on where you installed Qt4.)

If I'm right that you didn't do that, you'll need to do make clean
and reconfigure.

BH


Fwd: Problem using old Lyx document

2010-02-26 Thread Murat Yildizoglu
Hi Michael,
Do you use the geometry package in your document? It has a lot changed
during the last years (the last version is not compatible anymore with
version 2, for example). If you use it in the old way (it was enough
to tell the page size to have a large text width), you should give it
explicit page margins to get back your old margins. This is just a
hint in the fishing game ;-)

Regards,

Murat

2010/2/25 Michael Born :
> Hello Lyx-experts,
>
> I have an 80 page lyx document from year 2000 on paper and as a .lyx
> file. Now I want to create a PDF file, and have some trouble :-(
> When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
> now just 70 pages. Lyx seems to put some text outside my page format (A4).
> I can imagine that there are Latex-packages missing...
>
> Is there a HOWTO about working with 10 years old .lyx files?
> The "latex protocol" menu entry of Lyx just shows two label warnings.
> How can I find out if something (and what) is missing?
>
> Cheers,
> Michael
>
> PS: the first lines of the .lyx
>
> #LyX 1.1 created this file. For more info see http://www.lyx.org/
> \lyxformat 2.16
> \textclass article
> \begin_preamble
>




-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Lyx 2.0

2010-02-26 Thread Dotan Cohen
> Steve and others,
> For those using Linux, may I strongly recommend GNU Stow for this
> purpose? It puts the compiled version in a "safe" place (ie, away from
> anthing that your package manager is interested in) and puts symbolic
> links to this safe place. It is a brilliant system for working outside
> the normal package management system.
>
> http://www.gnu.org/software/stow/
>
> http://en.wikipedia.org/wiki/GNU_Stow
>
> http://www.linux.com/archive/feature/127393
>
> Install stow with your normal package manager.
>

Thanks, Alan, that looks like a great idea.


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Jose Quesada
Hi,

Just a quick note to say that I really like the idea. It'd make LyX a great
tool for jotting ideas (notetaking). I'm already using it in this way. Btw
word 2010 has similar improvements on the outliner sidebar, taken from
oneNote (oneNote is a great piece of software, the only thing I miss since
moving to linux, plenty of good design ideas there).

Thanks,
-Jose

On Fri, Feb 26, 2010 at 5:18 AM, Steve Litt wrote:

> Hi all,
>
> So I svn'ed LyX 2, built it, and ran it. So far so good except outlines. I
> ran
> it against one of my existing books and its associated layout file and
> seealso.inc, and it worked.
>
> One fascinating thing is for the first time in my history with LyX, I got
> it
> to recognize a layout file first crack out of the box. All I had to do was
> put
> the correctly named .layout in the same directory as the document, and
> bang,
> it worked. I know 1.6.x was *advertised* to work that way, but it didn't.
> Later I'll do some experiments to see if 2.0.x really works that way every
> time, or whether I just got lucky the first time with 2.0.x.  In the past
> I've
> found layout recognition to be a hit or miss intermittent.
>
> In August I put in a request for a couple improvements to LyX outline mode
> that would stratospherically launch productivity. See it here:
>
> http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
>
> http://www.lyx.org/trac/ticket/6174
>
> The enhancement described, or even something close, would enable authors to
> construct from scratch outlines within LyX, enhancing the organization and
> value of their documents. It would also limit mistakes as the author flips
> between outline view and document view. I see right now it's owned by
> "nobody", and it would be wonderful if it could be addressed. If the
> enhancement as I described it is too difficult to code in time for release,
> I
> can work with the developer to simplify the enhancement while still
> retaining
> its value.
>
> Anyway, my next step will be to observe and document how all the features
> added since 1.5.x work. 1.6.x had a lot of different inserts. 1.6 has
> layout
> modules, which I haven't explored yet. I hear 2.0 allows you to shut off
> spellcheck in certain styles, which probably means there's LOTS of
> customization that can be done at the style level.
>
> Anyway, thanks for the great software.
>
> SteveT
>
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
>
>


-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: raw latex commands on a lyx doc?

2010-02-26 Thread Guenter Milde
On 2010-02-26, Jose Quesada wrote:

> I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
> done all the steps described in the documentation and this wiki post:

> http://wiki.lyx.org/Layouts/CreatingLayouts

...

> This seems to work. Now I need to be able to set values for \dueContractual,
> \status etc.
...
> Since these are raw tex commands, how do I assign values to them in Lyx?

The quick and dirty way:

* Commands that can/must be given in the document preamble (before the
  \begin{document} in the *.tex file) are inserted (togehter with their
  arguments) under Document>Settings>LaTeX Preamble. You can simply copy
  and past from the *.tex example file.
  
  E.g.  \usepackage{parskip}
  
* Commands in the document body should be inserted as raw LaTeX (evil
  red text, ERT). Press Ctrl-l or use the TeX button on the toolbar to
  open a ERT inset and again you can copy and past from a *.tex example
  file.
  
  E.g. \fontencoding{X2}\selectfont \char88 \char120
  
Günter  



Re: Preamble lyx 1.6 revtex4

2010-02-26 Thread Guenter Milde
On 2010-02-25, Scott, Robert wrote:

> I am attempting to use revtex 4 as a template to write a paper. The problem=
>  is that I need to alter some of the latex code in the 'preamble' but there=
>  seems to be no method for accessing this in later versions of Lyx. Earlier=
>  version refer to a menu called layout

Document>Settings>LaTeX preamble

Günter



Re: Mystified by \selectlanguage [modified]

2010-02-26 Thread Guenter Milde
On 2010-02-25, Manoj Rajagopalan wrote:

>I've traced this to the use of the babel package - it seems to be 
> automatically set for use in Tools->Preferences...->Language 
> settings->Language dialog.

AFAIK, babel is loaded by default if you use any Language other than
English (US), be it as document language or for text parts.

> What I find strange is that LyX seems to be introducing the
> \selectlanguage and \foreignlanguage commands in what appears to be a
> random fashion. 

Normally not.

> When I create a new equation-reference, I get something
> like:

>   \eqref{\selectlanguage{british}eq:myequation\selectlanguage{english}}

This might be a bug (but see below).

> How does the "british" language enter my document - the default is
> probably just "English" on my system. Even my \documentclass command
> (on latex export) shows the british option!

The most comman source of this kind of problems is copy and
paste from a document in another language as the language attribute is
preserved.

Another bug is that, if you select a document part containing an inset
resetting the language is not (always) done inside the inset. Instead,
you have to go into the inset, mark the content and repeat the language
reset command :-( Combine this with the feature that the blue underline
will be not visible for the closed inset, you see the source of much
confusion.

Günter



Re: text-mode macros?

2010-02-26 Thread Guenter Milde
On 2010-02-25, rgheck wrote:
> On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:

>> I use math-macros in lyx but I was wondering if there is any way to 
>> achieve macros in text-mode. 

> There's a bug about this, an enhancement request. So no.

While there is no direct analogon to math-macros, you can define text
macros as custom insets in *.layout or *.module files.

For me, the right way to solve the enhancement request would be to
allow/complete the embedding of modules into documents.

Günter



Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Guenter Milde
On 2010-02-25, Liviu Andronic wrote:

> Anyways, I cannot get
> past the black boxes with the yat character (see attached). I am not
> sure why.

Did you try a different screen font (like DejaVu)?



Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Liviu Andronic
On 2/26/10, Guenter Milde  wrote:
> Did you try a different screen font (like DejaVu)?
>
I have selected Bistream Vera Serif (and Sans) for both Screen and
Document fonts. Although the yat character is correctly rendered in
LyX, View XeTeX will create a PDF with boxes instead of the character.
Liviu


Re: Pre-reform Russian characters in LyX

2010-02-26 Thread Guenter Milde
On 2010-02-25, Andrey wrote:

> It seems that XeTeX is indeed a feasible way to print some old-orthography
> Russian letters. And this is great!

> However, a more ambitious task, which is similar to enabling Greek
> polytonic, would be to enable the true Church Slavonic in LyX, which
> would be amazingly useful. 

This would only be feasible, if Church Slavonic is already supported by
babel. In any case, XeTeX is the easier way to go.

> Church Slavonic looks quite different to ordinary Russian [...] and is
> rich in diacritics, so it requires its own fonts, such as Irmologion or
> Triodion (can be seen here - http://www.irmologion.ru/fonts.html).

Using different fonts for Church Slavonic is not necessary (if you do not
intend to reproduce the look and feel of the Synodial publications).
What is needed are fonts supporting the additional characters and
accents.

BTW: Irmologion is regarded a "nonprofessional first try" by its author,
who recommends to use Hirmos instead: 
  
  Если у Вас нет необходимости поддерживать совместимость с Irmologion, я
  рекомендую использовать более удачный аналог синодальной гарнитуры --
  Hirmos.

> I am not sure Church Slavonic characters are included in Unicode. 

They are. (Although there is no such thing as a "Church Slavonic
character" just like there are no "English characters", I believe you
mean: characters used/needed for writing Church Slavonic).
The fonts at www.irmologion.ru are Unicode encoded.

> What I know, however, is that attempts have been made to create TeX
> packages that make it possible to typeset in Church Slavonic - one such
> package is HipTeX (http://www.sobor.org/hip/); 

> another (and supposedly better one, since it is more recent and avoids
> certain drawbacks of HipTeX) is CSLTeX
> (http://sites.google.com/site/csltex/). 

> They can be downloaded by clicking the zip files, but, unfortunately,
> documentation to both of them is in Russian. 

If all you need is the occasional church slavonic example in a scholarly
paper, I'd recommend to use the hipfonts or the cslav package together
with raw latex (ERT).

> Can these developments be somehow incorporated in LyX?

In principle, this should be possible. However, it needs someone
familiar with the cyrillic support in TeX and an interested developer.
Feel free to file an enhancement ticket at http://www.lyx.org/trac/ .

Günter



Re: text-mode macros?

2010-02-26 Thread rgheck

On 02/26/2010 04:26 AM, Guenter Milde wrote:

On 2010-02-25, rgheck wrote:
   

On 02/25/2010 10:13 AM, Manoj Rajagopalan wrote:
 
   

 I use math-macros in lyx but I was wondering if there is any way to
achieve macros in text-mode.
   
   

There's a bug about this, an enhancement request. So no.
 

While there is no direct analogon to math-macros, you can define text
macros as custom insets in *.layout or *.module files.

   
I'm not sure what you mean. What the bug requests is something akin to 
math macros. I'm not sure how using custom insets helps.


rh



Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Abdelrazak Younes

On 02/26/2010 05:18 AM, Steve Litt wrote:

In August I put in a request for a couple improvements to LyX outline mode
that would stratospherically launch productivity. See it here:

http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html

http://www.lyx.org/trac/ticket/6174

The enhancement described, or even something close, would enable authors to
construct from scratch outlines within LyX, enhancing the organization and
value of their documents. It would also limit mistakes as the author flips
between outline view and document view. I see right now it's owned by
"nobody", and it would be wonderful if it could be addressed. If the
enhancement as I described it is too difficult to code in time for release, I
can work with the developer to simplify the enhancement while still retaining
its value.


One way to trigger the interest of a developper is to create a sponsor 
project like we've done for the inline spellchecker or the compare 
feature; see:


http://www.lyx.org/Donate

I can set up such a project for you if there's interest in sponsorship 
in the list (not for me).


Abdel.



Re: Lyx 2.0

2010-02-26 Thread j...@att
This is my first attempt to post to the list so if it is incorrect, please let 
me know.

I'm attempting to compile Lyx 2.0 on my MacBook Pro.  I used port to get what's 
indicated in INSTALL.MacOSX.
./configure worked ok.

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.


When I do make I get the following result.  Any suggestions about how to 
proceed?

Undefined symbols:
  "_iconv_close", referenced from:
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  lyx::IconvProcessor::~IconvProcessor()in liblyxsupport.a(unicode.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet()in 
liblyxsupport.a(docstream.o)
  "_iconv", referenced from:
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  lyx::IconvProcessor::convert(char const*, unsigned long, char*, unsigned 
long)in liblyxsupport.a(unicode.o)
  (anonymous namespace)::iconv_codecvt_facet::do_out(__mbstate_t&, wchar_t 
const*, wchar_t const*, wchar_t const*&, char*, char*, char*&) constin 
liblyxsupport.a(docstream.o)
  (anonymous namespace)::iconv_codecvt_facet::do_in(__mbstate_t&, char 
const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&) constin 
liblyxsupport.a(docstream.o)
  __nl_find_msg in libintl.a(dcigettext.o)
  "_iconv_open", referenced from:
  lyx::IconvProcessor::init() in liblyxsupport.a(unicode.o)
  lyx::operator<<(std::basic_istream&, 
lyx::SetEnc)in liblyxsupport.a(docstream.o)
  lyx::operator<<(std::basic_ostream&, 
lyx::SetEnc)in liblyxsupport.a(docstream.o)
  void lyx::setEncoding(lyx::ifdocstream&, 
std::basic_string const&, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncoding(lyx::ifdocstream&, 
std::basic_string const&, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncoding(lyx::ofdocstream&, 
std::basic_string const&, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  void lyx::setEncoding(lyx::ofdocstream&, 
std::basic_string const&, 
std::_Ios_Openmode)in liblyxsupport.a(docstream.o)
  __nl_find_msg in libintl.a(dcigettext.o)
  __nl_find_msg in libintl.a(dcigettext.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2




Re: LyX 2: So far so good, except outlines

2010-02-26 Thread obregonmateo
I also miss having a good outlining mode in LyX. At the moment I use Freemind 
mindmaps that I then pull into LyX via LaTeX.

I cannot work on this project now however.

Mateo.

On Friday 26 February 2010, Abdelrazak Younes wrote:
> On 02/26/2010 05:18 AM, Steve Litt wrote:
> > In August I put in a request for a couple improvements to LyX outline mode
> > that would stratospherically launch productivity. See it here:
> >
> > http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
> >
> > http://www.lyx.org/trac/ticket/6174
> >
> > The enhancement described, or even something close, would enable authors to
> > construct from scratch outlines within LyX, enhancing the organization and
> > value of their documents. It would also limit mistakes as the author flips
> > between outline view and document view. I see right now it's owned by
> > "nobody", and it would be wonderful if it could be addressed. If the
> > enhancement as I described it is too difficult to code in time for release, 
> > I
> > can work with the developer to simplify the enhancement while still 
> > retaining
> > its value.
> 
> One way to trigger the interest of a developper is to create a sponsor 
> project like we've done for the inline spellchecker or the compare 
> feature; see:
> 
> http://www.lyx.org/Donate
> 
> I can set up such a project for you if there's interest in sponsorship 
> in the list (not for me).
> 
> Abdel.
> 
> 




Re: Lyx 2.0

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 8:32 AM, j...@att  wrote:
> This is my first attempt to post to the list so if it is incorrect, please 
> let me know.
>
> I'm attempting to compile Lyx 2.0 on my MacBook Pro.  I used port to get 
> what's indicated in INSTALL.MacOSX.
> ./configure worked ok.
> 
> Configuration of LyX was successful.
> Type 'make' to compile the program,
> and then 'make install' to install it.
> 
>
> When I do make I get the following result.  Any suggestions about how to 
> proceed?
> 
> Undefined symbols:

This looks to me like you didn't do the last step of the instructions
for compiling Qt4: find the qt4 lib directory and enter

rm *.la

(You might need "sudo rm *.la" depending on where you installed Qt4.)

If I'm right that you didn't do that, you'll need to do "make clean"
and reconfigure.

BH


Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Steve Litt
On Friday 26 February 2010 07:31:49 Abdelrazak Younes wrote:
> On 02/26/2010 05:18 AM, Steve Litt wrote:
> > In August I put in a request for a couple improvements to LyX outline
> > mode that would stratospherically launch productivity. See it here:
> >
> > http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg154181.html
> >
> > http://www.lyx.org/trac/ticket/6174
> >
> > The enhancement described, or even something close, would enable authors
> > to construct from scratch outlines within LyX, enhancing the organization
> > and value of their documents. It would also limit mistakes as the author
> > flips between outline view and document view. I see right now it's owned
> > by "nobody", and it would be wonderful if it could be addressed. If the
> > enhancement as I described it is too difficult to code in time for
> > release, I can work with the developer to simplify the enhancement while
> > still retaining its value.
> 
> One way to trigger the interest of a developper is to create a sponsor
> project like we've done for the inline spellchecker or the compare
> feature; see:
> 
> http://www.lyx.org/Donate
> 
> I can set up such a project for you if there's interest in sponsorship
> in the list (not for me).
> 
> Abdel.
> 

Hi Abdel,

The trouble I see with that is a project can languish waiting to get up to the 
"minimum to get the project started", whereas if it were just "whoever wants 
it take it", it might get done right away.

However, I'll pledge that WHEN a developer completes the better outline mode, 
I'll Paypal him/her $40 US Dollars. If a lot of people do the same, that would 
be pretty nice.

StevET

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX 2: So far so good, except outlines

2010-02-26 Thread Stefano Franchi
On 02/26/10, Steve Litt  wrote:
>On Friday 26 February 2010 07:31:49 Abdelrazak Younes wrote:
>> On 02/26/2010 05:18 AM, Steve Litt wrote:
>> One way to trigger the interest of a developper is to create a sponsor
>> project like we've done for the inline spellchecker or the compare
>> feature; see:
>> 
>> http://www.lyx.org/Donate
>> 
>> I can set up such a project for you if there's interest in sponsorship
>> in the list (not for me).
>> 
>> Abdel.
>
>Hi Abdel,
>
>The trouble I see with that is a project can languish waiting to get up to
>the "minimum to get the project started", whereas if it were just "whoever
>wants it take it", it might get done right away.
>
>However, I'll pledge that WHEN a developer completes the better outline
>mode, I'll Paypal him/her $40 US Dollars. If a lot of people do the same,
>that would be pretty nice.
>

Sounds like a good idea, although based on a good deal of mutual trust. But I 
believe in human nature. So count me in.

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Outlines fallback plan

2010-02-26 Thread Steve Litt
Hi all,

I'm sure it won't come to this, but if nobody else does the outline mode 
improvement I'll have to do it.

Could someone please tell me the source files encompassing the current outline 
functionality, as well as the source files implementing an input box with 
buttons and a text box? Basically the change involves the addition of a couple 
buttons and a text box.

Like I said, I doubt it will come to this. Nobody wants Steve Litt writing LyX 
code -- I'm neither a C++ guy nor a Qt guy, and the biggest free software 
project I've worked on has about 5 developers and I did it in Perl :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



RE: [help] impossible to use Lyx with miktex 2.8?

2010-02-26 Thread franck.meyer
Hi,

I've retried for the 6th time...
Same error : all lyx layouts not available...
Please find attached  the last lyx installation report.
Before I've checked and cleaned all the  register base (Windows XP - FR).
May be it's a problem of the French version?
May be it's a curse problem?

Surely without diagnostic tools inside Lyx I think one cannot find the problem.
I've followed all the instructions people on these list gave to me...
Thanks a lot to all people who tried to help!, but I think may be now it's 
better to give up.

 <> 
Regards,
Frank.


_
De : MEYER Franck RD-TECH-LAN 
Envoyé : jeudi 25 février 2010 12:31
À : 'lyx-users@lists.lyx.org'
Cc : 'lyx...@lists.lyx.org'
Objet : [help] impossible to use Lyx with miktex 2.8?


Hi,

It seems impossible to use Lyx 1.6 with miktex 2.8 on my laptop on windows XP.
Each time lyx doesn't recognize the document classes, saying that the layout 
are not available (article, scrbook,...)
I 've tried 5 installations / desintallations of all miktex and Lyx.
I'am administrator on my laptop
I've downloaded all the available latex packages 
I' ve tried to use the standard lyx installer and the alt one.
I've used each time the reconfigure options of lyx..
Some people said it is a known issue in the mailing list archive, OK but what 
is the solution?, I can't find it.
I 'am on this issue for one week, I am becoming a little bit desperate...

More than that I have on another windows XP PC (desktop) an old mikex 2.7 with 
Lyx 1.6 working perfectly well...
But miktex 2.7 is now not available.

I'am going to test Texlive if it is possible.

Regards,
Frank Meyer.


Frank Meyer
France Telecom R/TECH/ASAP(LD128)
2 avenue Pierre Marzin 22307 Lannion Cedex 
E-mail : franck.me...@orange-ftgroup.com
Telephone : +33 (0)2 96 05 28 89
http://www.francetelecom.com/rd



*
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.


+checking for "latex2rtf"...   no
+checking for "latex2rt"...   no
checking for a RTF -> HTML converter...
+checking for "unrtf"...   no
checking for a PS to PDF converter...
+checking for "ps2pdf13"...   yes
checking for a PS to TXT converter...
+checking for "pstotext"...   no
checking for a PS to TXT converter...
+checking for "ps2ascii"...   yes
checking for a PS to EPS converter...
+checking for "ps2eps"...   no
checking for a PDF to PS converter...
+checking for "pdf2ps"...   yes
checking for a PDF to EPS converter...
+checking for "pdftops"...   no
checking for a DVI to TXT converter...
+checking for "catdvi"...   no
checking for a DVI to PS converter...
+checking for "dvips"...   yes
checking for a DVI to PDF converter...
+checking for "dvipdfmx"...   yes
checking for dvipng...
+checking for "dvipng"...   yes
checking for a fax program...
+checking for "kdeprintfax"...   no
+checking for "ksendfax"...   no
+checking for "hylapex"...   no
checking for a FIG -> EPS/PPM converter...
+checking for "fig2dev"...   no
checking for a TIFF -> PS converter...
+checking for "tiff2ps"...   no
checking for a TGIF -> EPS/PPM converter...
+checking for "tgif"...   no
checking for a WMF -> EPS converter...
+checking for "metafile2eps"...   yes
checking for an EMF -> EPS converter...
+checking for "metafile2eps"...   yes
checking for an EPS -> PDF converter...
+checking for "epstopdf"...   yes
checking for a Grace -> Image converter...
+checking for "gracebat"...   no
checking for a Dot -> PDF converter...
+checking for "dot"...   no
checking for a Dia -> PNG converter...
+checking for "dia"...   no
checking for a Dia -> EPS converter...
+checking for "dia"...   no
checking for a LilyPond -> EPS/PDF/PNG converter...
+checking for "lilypond"...   no
checking for a Noteedit -> LilyPond converter...
+checking for "noteedit"...   no
checking for SGML-tools 2.x (DocBook), db2x scripts or xsltproc...
+checking for "sgmltools"...   no
+checking for "db2dvi"...   no
+checking for "xsltproc"...   no
Checking whether TeX allows spaces in file names...  yes
checking for a *roff formatter...
+checking for "groff"...   no
+checking for "nroff"...   no
checking for ChkTeX...
+checking for "chktex"...   no
checking for BibTeX...
+checking for "bibtex"...   yes
checking for JBibTeX, the Japanese BibTeX...
+checking for "jbibtex"...   no
+checking for "bibtex"...   yes
checking for an index processor...
+checking for "texindy"...   no
+checking for "makeindex"...   yes
checking for an index processor appropriate to Japanese...
+checking for "mendex"...   no
+checking for "jmakeindex"...   no
+checking for "makeindex"...   yes
checking for 

LyX 2-dev on MacOSX compiled

2010-02-26 Thread Joachim Osnabryg

Happy

to announce that I compiled successfully the LyX 2.0 svn version on MacOSX  
10.4 Tiger today.


Thanks to the hints from Julio Rojas and Guenter Milde, and the especially  
the kindly helping of "BH" , all on  
gmane.editors.lyx.general (ML lyx-users@lists.lyx.org) within the thread  
"Lyx 2.0".


The general way I followed is described in the INSTALL.MacOSX which you  
get if downloading the source files by

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

After assuring that the PREREQUISITES mentioned therein were already  
fullfilled on my Mac,

I made the following:

I cd'd to the top of the LyX source hierarchy (in my case: $ cd  
/Developer/Applications/lyx-devel/ ), and entered:


$ ./autogen.sh

after that - in the case of _my_ Mac - I continued with:

$ ./configure --prefix=/Applications/LyX.app --with-version-suffix=-svn  
--with-qt4-dir=/opt/local/libexec/qt4-mac/ --with-included-gettext  
--enable-optimization=-O2  --disable-stdlib-debug


$  make

$ make install

… and had a LyX Version 2.0.0svn on the place of my former LyX 1.6.

And it seems to work properly, so far.

But:
this result, the _overwriting_ of the former LyX 1.6 had not been intended  
by me. To keep the actual LyX 1.6.5 installation, what should I had typed  
within the $ ./configure command?


$ ./configure --prefix=/Applications/LyX-svn.app --with-…
or
$ ./configure --prefix=/Applications>/LyX.app --with-…


??
Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

And, if I want to recover the mistake I made, what to do?

I guess the easyest way would be, to do the procedure of compiling the LyX  
Version 2.0.0svn again but with a corrected $ ./configure command (which  
one?) and then install LyX 1.6.5 again, right? Other recommendations?


joachim
--
MacBook Pro intel OSX 10.4.11 Tiger - Aquamacs Distribution 1.9
GNU Emacs 22.3.1 (i386-apple-darwin9.8.0, Carbon Version 1.6.0)
Mac BacicTeX 2009 - LyX 2.0.0svn



Re: [help] impossible to use Lyx with miktex 2.8?

2010-02-26 Thread Uwe Stöhr

franck.me...@orange-ftgroup.com schrieb:


I’ve retried for the 6th time…

Same error : all lyx layouts not available…


The text file you attached shows that LaTeX was successfully installed 
and that LyX could find the LaTeX packages. So it is definitively no an 
issue of MiKTeX.
I therefore don't understand why LyX tells you that it cannot find the 
layout files when you simple create a new document.


The reason must be a path mismatch on your PC but I cannot help you 
further, except of one note: LyX won't work when it is installed in a 
path that contains accented characters. This problem arises when your 
Windows username is for example "françois".


regards Uwe


Re: Outlines fallback plan

2010-02-26 Thread rgheck

On 02/26/2010 12:13 PM, Steve Litt wrote:

Hi all,

I'm sure it won't come to this, but if nobody else does the outline mode
improvement I'll have to do it.

   
We'd welcome it. It may not be that bad, and we can help you clean up 
the code.



Could someone please tell me the source files encompassing the current outline
functionality, as well as the source files implementing an input box with
buttons and a text box? Basically the change involves the addition of a couple
buttons and a text box.

   
The outliner is in GuiToc.{h,cpp} and TocWidget.{h,cpp}, both in 
src/frontends/qt4/. You probably need to deal with TocWidget more.


The easiest way to add the buttons is to load src/frontends/ui/TocUi.ui 
into QtDesigner and put them in. Note that, if you're going to have them 
add sections, they should only be active when we're in that mode. To get 
them to do what you want, see such routines as on_MoveDownTB_clicked(). 
You'll presumably need to do a series of things: Create a new paragraph 
(you are already in one); type out the section stuff; break the 
paragraph again (since you may have been in the middle of a paragraph); 
then set the layout.


The text box could just be a QInputDialog, such as is used in the 
askForText routine in GuiAlert. Or maybe you could just call askForText. 
But you may want to allow the user to choose what kind of section to 
create, and that would be more complex. You could also just create what 
"makes sense" at that point and then the user can change it if it isn't 
right.


rh

PS Obviously, future questions should go to devel.



Re: raw latex commands on a lyx doc?

2010-02-26 Thread Jose Quesada
Thanks Guenter, your solution works.

On Fri, Feb 26, 2010 at 10:02 AM, Guenter Milde wrote:

> On 2010-02-26, Jose Quesada wrote:
>
> > I'm new to LyX. I need to use a .cls file (larkc.cls attached), and have
> > done all the steps described in the documentation and this wiki post:
>
> > http://wiki.lyx.org/Layouts/CreatingLayouts
>
> ...
>
> > This seems to work. Now I need to be able to set values for
> \dueContractual,
> > \status etc.
> ...
> > Since these are raw tex commands, how do I assign values to them in Lyx?
>
> The quick and dirty way:
>
> * Commands that can/must be given in the document preamble (before the
>  \begin{document} in the *.tex file) are inserted (togehter with their
>  arguments) under Document>Settings>LaTeX Preamble. You can simply copy
>  and past from the *.tex example file.
>
>  E.g.  \usepackage{parskip}
>
> * Commands in the document body should be inserted as raw LaTeX (evil
>  red text, ERT). Press Ctrl-l or use the TeX button on the toolbar to
>  open a ERT inset and again you can copy and past from a *.tex example
>  file.
>
>  E.g. \fontencoding{X2}\selectfont \char88 \char120
>
> Günter
>
>


-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Jose Quesada
A question for the rest of the list too, and linux heads...

I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.

I placed the .cls and figures here
/usr/share/texmf-texlive/tex/latex

LyX sees the layout just fine, but renders it like 'book'.
this is the layout:
---
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[larkc, book]{larkc}
Format 11
Input book.layout
---
What is the correct way to troubleshot this? Are there any logs? Since it
renders, but not what I want, it's hard to see what goes on.
LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
Thanks,
-Jose

-- 
Best,
-Jose

Jose Quesada, PhD.
Max Planck Institute,
Center for Adaptive Behavior and Cognition,
Berlin
http://www.josequesada.name/
http://twitter.com/Quesada


Re: Problem using old Lyx document

2010-02-26 Thread Michael Born
Thank you for the info.
I looked through the .lyx files to find a small one for illustrating the
problem, but there is no small example :-(
The whole document consists of 2 .lyx files and 42 pictures - that is
25MB in all. Compressed it is 1.3MB large. Is it allowed to attach such
a large file to a bug report?
The next problem is that I don't have an original PDF of the document. I
just have the 80 page paper. But I think it can be seen easily that the
page boundaries are violated.


@Murat
It seems the document does not use the geometry package, but just
includes some eps/ps files.

Regards,
Michael


Uwe Stöhr schrieb:
> Am 25.02.2010 11:03, schrieb Michael Born:
> 
>> I have an 80 page lyx document from year 2000 on paper and as a .lyx
>> file. Now I want to create a PDF file, and have some trouble :-(
>> When I process the document with Lyx 1.6.4 (OpenSUSE 11.1 64bit), it is
>> now just 70 pages. Lyx seems to put some text outside my page format
>> (A4).
>> I can imagine that there are Latex-packages missing...
>>
>> Is there a HOWTO about working with 10 years old .lyx files?
> 
> LyX should handle this automatically for you, but the conversion of such
> an old fileformat obviously failed.
> You could help using fixing this by creating a bug report at
> http://www.lyx.org/trac/wiki/BugTrackerHome
> Please attach there an old LyX example file. It would also be very
> helpful when you can attach the original PDF (created with LyX 1.1) and
> the current PDF output.
> 
> If your file contains confidential files, you can alternatively send me
> the 3 files in a private mail.
> 
>> The "latex protocol" menu entry of LyX just shows two label warnings.
>> How can I find out if something (and what) is missing?
> 
> Hard to say without a LyX file. The label warnings can be ignored, so
> the LaTeX-code seems to be OK. When there would be missing
> LaTeX-packages you would not have been able to compile the file.
> 
> regards Uwe
> 



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Manoj Rajagopalan

Did you run the texhash command (no args) from the command line after you 
placed the .cls file in the texlive dir? You might have to run that as root.

-- Manoj


On Friday 26 February 2010 03:41:36 pm Jose Quesada wrote:
> A question for the rest of the list too, and linux heads...
>
> I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.
>
> I placed the .cls and figures here
> /usr/share/texmf-texlive/tex/latex
>
> LyX sees the layout just fine, but renders it like 'book'.
> this is the layout:
> ---
> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[larkc, book]{larkc}
> Format 11
> Input book.layout
> ---
> What is the correct way to troubleshot this? Are there any logs? Since it
> renders, but not what I want, it's hard to see what goes on.
> LyX 1.6.4, on karmic. Exact same files, LyX 1.6.5 on mikTeX on win works.
> Thanks,
> -Jose



Re: correct way to troubleshot .cls/layout problems?

2010-02-26 Thread Steve Litt
On Friday 26 February 2010 15:41:36 Jose Quesada wrote:
> A question for the rest of the list too, and linux heads...
> 
> I got LyX to see the larkc.cls on win but it doesn't work on ubuntu.
> 
> I placed the .cls and figures here
> /usr/share/texmf-texlive/tex/latex
> 
> LyX sees the layout just fine, but renders it like 'book'.
> this is the layout:

There's no way to answer this without knowing what LyX version. They all work 
differently with regard to finding .layouts, and therefore I would presume 
.cls files.

I wrote about the .layout problem here:

http://www.troubleshooters.com/linux/lyx/surefire_layout.htm

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: LyX 2-dev on MacOSX compiled

2010-02-26 Thread BH
On Fri, Feb 26, 2010 at 2:29 PM, Joachim Osnabryg  wrote:
> But:
> this result, the _overwriting_ of the former LyX 1.6 had not been intended
> by me. To keep the actual LyX 1.6.5 installation, what should I had typed
> within the $ ./configure command?
>
> $ ./configure --prefix=/Applications/LyX-svn.app --with-…
> or
> $ ./configure --prefix=//LyX.app
> --with-…
>
> ??
> Wouldn't be bad, if this would be made somewhat clear in INSTALL.MacOSX!

You can do either approach -- it depends on what you want. I prefer to
distinguish the two versions of LyX by their file name, so I do the
former.

I'm not sure what you think is unclear in INSTALL.MacOSX. Do you have
proposed changes?

> And, if I want to recover the mistake I made, what to do?
>
> I guess the easyest way would be, to do the procedure of compiling the LyX
> Version 2.0.0svn again but with a corrected $ ./configure command (which
> one?) and then install LyX 1.6.5 again, right? Other recommendations?

Yes -- that's right.

BH


Re: Lyx 2.0

2010-02-26 Thread j...@gmail
Made the changes you suggested; still receiving the same error messages.
I'm running Snow Leopard, could that be a factor? Other suggestions?

On Feb 26, 2010 8:09 AM, "BH"  wrote:

On Fri, Feb 26, 2010 at 8:32 AM, j...@att  wrote:
> This is my first attempt to ...
This looks to me like you didn't do the last step of the instructions
for compiling Qt4: find the qt4 lib directory and enter

rm *.la

(You might need "sudo rm *.la" depending on where you installed Qt4.)

If I'm right that you didn't do that, you'll need to do "make clean"
and reconfigure.

BH