Re: Feature Request - new file command from insert file dialog box.

2008-01-10 Thread Abdelrazak Younes

Ryan Cross wrote:

Yes, I meant in the Child Document Dialog (though there are other dialogs
for inserting files that might benefit from a similar function).

I have created this issue -
http://bugzilla.lyx.org/show_bug.cgi?id=4475please let me know if it
is insufficient.


It is, thanks. I've confirmed the request.

Abdel.



Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-10 Thread Ryan Cross
Yes, I do - I've got all my files in a working copy of an svn repo, so I
decided to also keep a copy of the layout file there as well. Is this a new
feature or something so that I don't need to "install" new layout classes in
the system area?

Is there a preference for which to remove? Also, will I need to do a
reconfigure for it to take?

And, just for good measure, any comment on why the "0"s are appearing? is
this related to the same issue?

Thanks,
Ryan


(P.S. sorry for the double post Bo, forgot to include the list)


On 1/11/08, Bo Peng <[EMAIL PROTECTED]> wrote:
>
> On Jan 10, 2008 7:30 PM, Ryan Cross <[EMAIL PROTECTED]> wrote:
> > I'm going to fight through this for a day or two while i await some more
> > advice on how to fix this, otherwise I'll revert back again. However,
> I'm
> > noticing another issue - possibly related - which is with the supposedly
> > fixed chapter layout in the outliner. It now properly shows the chapter
> > headings (previously did not in 1.5.2) but now none of the section
> headings
> > are properly numbered, they are all "0"s and in the appendicies, just
> "?"s
> > for the section headings. Any one else know about this?
>
> I think I know what is going on. Do you have a local unswthesis.layout
> file as well a system one, or things of that sort? If so, please
> remove your local one (the one in your document path) or your system
> one (the one under ~/.lyx/layouts).
>
> Bo
>


Torna-te um pioneiro do Portal Emprego.pt.

2008-01-10 Thread truninger
To view the message, please use an HTML compatible email viewer!



Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-10 Thread Bo Peng
On Jan 10, 2008 7:30 PM, Ryan Cross <[EMAIL PROTECTED]> wrote:
> I'm going to fight through this for a day or two while i await some more
> advice on how to fix this, otherwise I'll revert back again. However, I'm
> noticing another issue - possibly related - which is with the supposedly
> fixed chapter layout in the outliner. It now properly shows the chapter
> headings (previously did not in 1.5.2) but now none of the section headings
> are properly numbered, they are all "0"s and in the appendicies, just "?"s
> for the section headings. Any one else know about this?

I think I know what is going on. Do you have a local unswthesis.layout
file as well a system one, or things of that sort? If so, please
remove your local one (the one in your document path) or your system
one (the one under ~/.lyx/layouts).

Bo


Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-10 Thread Ryan Cross
I'm going to fight through this for a day or two while i await some more
advice on how to fix this, otherwise I'll revert back again. However, I'm
noticing another issue - possibly related - which is with the supposedly
fixed chapter layout in the outliner. It now properly shows the chapter
headings (previously did not in 1.5.2) but now none of the section headings
are properly numbered, they are all "0"s and in the appendicies, just "?"s
for the section headings. Any one else know about this?

-Ryan

On Jan 11, 2008 12:03 PM, Ryan Cross <[EMAIL PROTECTED]> wrote:

> I have tried running a reconfigure, I still get the same error.
>
> Included file `D:\general_svn\UNSWResearch\Thesis\introduction.lyx'
> has textclass `unswthesis'
> while parent file has textclass `unswthesis'
>
> I am not sure why there is a problem here, this is the second time that I
> have installed 1.5.3 and I would like to use it because of the outline bug
> that was corrected, but if I can't compile documents with it, it doesnt'
> make much use.
>
> -Ryan
>
>
> On Jan 10, 2008 6:29 PM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
>
> > Ryan Cross wrote:
> > > HI,
> > >
> > > I decided to upgrade to 1.5.3 today (windows) and tried working with a
> > file
> > > that has several child documents included. When trying to view the pdf
> > (and
> > > thus opening all the child docs), I am getting an error that the child
> > docs
> > > have a different text class than the parent file. However, the classes
> > are
> > > the same - I even did a diff on the files and the text class lines are
> >
> > > identical. I rolled back to 1.5.2 and didn't have any issues there.
> >
> > This is weird as the 1.5.x series are not supposed to have any format
> > change. Please try to reconfigure 1.5.3 to see if it helps.
> >
> > Abdel.
> >
> >
>


Re: 1.5.3 bug? - using child documents with same class causing error

2008-01-10 Thread Ryan Cross
I have tried running a reconfigure, I still get the same error.

Included file `D:\general_svn\UNSWResearch\Thesis\introduction.lyx'
has textclass `unswthesis'
while parent file has textclass `unswthesis'

I am not sure why there is a problem here, this is the second time that I
have installed 1.5.3 and I would like to use it because of the outline bug
that was corrected, but if I can't compile documents with it, it doesnt'
make much use.

-Ryan

On Jan 10, 2008 6:29 PM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:

> Ryan Cross wrote:
> > HI,
> >
> > I decided to upgrade to 1.5.3 today (windows) and tried working with a
> file
> > that has several child documents included. When trying to view the pdf
> (and
> > thus opening all the child docs), I am getting an error that the child
> docs
> > have a different text class than the parent file. However, the classes
> are
> > the same - I even did a diff on the files and the text class lines are
> > identical. I rolled back to 1.5.2 and didn't have any issues there.
>
> This is weird as the 1.5.x series are not supposed to have any format
> change. Please try to reconfigure 1.5.3 to see if it helps.
>
> Abdel.
>
>


Re: Feature Request - new file command from insert file dialog box.

2008-01-10 Thread Ryan Cross
Yes, I meant in the Child Document Dialog (though there are other dialogs
for inserting files that might benefit from a similar function).

I have created this issue -
http://bugzilla.lyx.org/show_bug.cgi?id=4475please let me know if it
is insufficient.

-Ryan

On Jan 10, 2008 6:27 PM, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:

> Ryan Cross wrote:
> > Not sure if this would be the best place to post this, but it dawned on
> me
> > today that it would be really useful if I could have an option in the
> insert
> > file dialog box to create a new file,
>
> You mean in the 'Child Document' dialog right?
>
> > instead of just browsing for an
> > existing one. Ideally, this option would create a new lyx file will all
> the
> > appropriate document settings from the parent file.
>
> Yes, that would be helpful, please put an enhancement entry in
> 'bugzilla.lyx.org'.
>
> Abdel.
>
>


Re: DocBook Support?

2008-01-10 Thread Sourena Mohammadi

Hi,
How can I unsubscribe from this mailing list. I have attempted several  
times to unsubscribe but it doesn't work.

--sourena


Re: [Bulk] Moderncv issues resolved - page on Wiki

2008-01-10 Thread Filippo Zangheri
David Hewitt wrote:
>> Thanks mostly to the expertise of others, I was able to create a Wiki page
>> that describes some simple fixes to the moderncv class for creating nifty
>> CVs in (and out of) LyX.
>>
>> http://wiki.lyx.org/Examples/ModernCVClassIssues
>>
>> Corrections, comments, etc. welcome.
> 
> Hi David,
> 
> [1] I suggest correcting the alignment mismatch in a more drastic way:
> in "moderncv.cls" around line 333 the \cvline command is defined like this:
> 
> \newcommand*{\cvline}[3][.25em]{%
>   [EMAIL PROTECTED]
> 
> after the second line you can add the following line:
> 
> \vspace*{-1.1em}
> 
> so that the entire command definition looks like this:
> 
> 
> 
> \newcommand*{\cvline}[3][.25em]{%
>   [EMAIL PROTECTED]
>   \vspace*{-1.1em}% fixes an alignment mismatch between first leftmark 
> and related text
> [EMAIL PROTECTED]
>   \else%
> \\[#1]\fi%
>   \raggedleft\hintfont{#2} }
> 
> 
> 
> Now you can avoid putting all those "Space: " after each Section 
> title.

There's the need for a precisation.

Actually, my "drastic" correction is useful only either if you will always use 
LyX to write moderncv
documents, or if you will always append 1 or 2 empty lines after every 
\section{} entry in your
plaintext moderncv documents, e.g.

something like this:


\section{Professional Experience}
  \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}


wouldn't work with my correction, but you would need to write this:


\section{Professional Experience}

  \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}


or


\section{Professional Experience}\\
  \cventry{Jul--Aug 2007}{foo}{bar}{?}{?}{?}


Under these 2 circumstances one can safely add my correction.

Thank you for your kind attention ;-) !


-- 
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu


Re: left justify floats?

2008-01-10 Thread bigblop

Hm it seems that I cannot include a pdf file even though it get shown in the
pdfpreview. I get the error:

"Error converting to loadable format"

in LyX. When I press the edit button after clicking on the float I get:

No information for editing PDF (ps2pdf)

Is it not possible to include PDF in LyX files?


Siegfried MEUNIER-GUTTIN-CLUZEL wrote:
> 
> To change the horizontal position of a float,  I position the cursor 
> inside the float and I use the menu Edit>Paragraph Settings and I choose 
> the position.
> 
> Hope it helps.
> 
> Siegfried.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/left-justify-floats--tp14686440p14742246.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: onehalfspace mystery

2008-01-10 Thread Donn
Hi - my net went down suddenly and I don't know when it will come up. This is 
in the outbox waiting to go. There may have been replies since that make it 
redundant.

On Wednesday, 09 January 2008 15:07:39 Juergen Spitzmueller wrote:
> For the time being, you can use the ERT workarounds outlines on the wiki
> page I referred to.
Okay, so I have to try search/replace in an editor. I get this kind of thing-

In the lyx file (in a text editor) it was:
\begin_layout Standard
\paragraph_spacing double
\align center
\size largest
\begin_inset Formula $\thickapprox$
\end_inset
\newpage
\end_layout

I change it to (see second line from top):
\begin_layout Standard
\DoubleSpacing
\align center
\size largest
\begin_inset Formula $\thickapprox$
\end_inset
\newpage
\end_layout

I get an error:
Unknown token:
Unknown token: \DoubleSpacing \align center

It's ignoring the newline between the two.

What's the best way to repair the entire file because it's too long to go to 
each element and format to 'spacing default' via the gui.

\d
-- 
Fonty Python and other dev news at:
http://otherwiseingle.blogspot.com/


Re: keyboard shortcuts

2008-01-10 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Abdelrazak Younes wrote:

Tobias Krause wrote:
This is weird and something I cannot reproduce under Windows. Maybe 
it is a bug of Qt under X11? 


It does not seem to be a X11 bug: I use windows (Vista) and LyX 1.5.3


Really? Then it might be a bug in Qt under Vista as I use XP, or maybe 
it is a bug of Vista :-)




I can reproduce it on XP.  You have to hold the Alt key down for both 
characters (as if you were type Alt-i Alt-f when inserting a footnote), 
and you have to hit the second character rather quickly.


Sure but I was talking about the other bug, when you type 'Alt-i f' 
(releasing the Alt and i keys before typing f).




Not actually a problem for me, though:  I can't type that fast.  :-)


This one is not a bug anyway.

Abdel.



Re: keyboard shortcuts

2008-01-10 Thread Paul A. Rubin

Abdelrazak Younes wrote:

Tobias Krause wrote:
This is weird and something I cannot reproduce under Windows. Maybe 
it is a bug of Qt under X11? 


It does not seem to be a X11 bug: I use windows (Vista) and LyX 1.5.3


Really? Then it might be a bug in Qt under Vista as I use XP, or maybe 
it is a bug of Vista :-)




I can reproduce it on XP.  You have to hold the Alt key down for both 
characters (as if you were type Alt-i Alt-f when inserting a footnote), 
and you have to hit the second character rather quickly.


Not actually a problem for me, though:  I can't type that fast.  :-)

/Paul



Re: Alt-space on Windows?

2008-01-10 Thread William Adams

On Jan 10, 2008, at 2:48 AM, [EMAIL PROTECTED] wrote:

Btw, using keyboard shortcuts when demonstrating LyX turned out to  
be non-ideal because the person watching wasn't able to follow -  
it's too fast. A somewhat crazy idea for a demonstration mode LyX  
could be to have some kind of log window open that lists what you  
have been done. (Corresponding LFUN and keyboard shortcut?).



When I used to teach people how to use FreeHand, I would go through  
steps at full speed, both as an example of how quickly things could be  
done, and 'cause I found it difficult to do repetitive tasks slowly,  
then, undo back to the beginning (FH allowed one to set undo levels up  
to 100) and step through so that I could explain things slowly.


William

--
William Adams
senior graphic designer
Fry Communications




Re: [Bulk] Moderncv issues resolved - page on Wiki

2008-01-10 Thread Filippo Zangheri
David Hewitt wrote:
> Thanks mostly to the expertise of others, I was able to create a Wiki page
> that describes some simple fixes to the moderncv class for creating nifty
> CVs in (and out of) LyX.
> 
> http://wiki.lyx.org/Examples/ModernCVClassIssues
> 
> Corrections, comments, etc. welcome.

Hi David,

[1] I suggest correcting the alignment mismatch in a more drastic way:
in "moderncv.cls" around line 333 the \cvline command is defined like this:

\newcommand*{\cvline}[3][.25em]{%
  [EMAIL PROTECTED]

after the second line you can add the following line:

\vspace*{-1.1em}

so that the entire command definition looks like this:



\newcommand*{\cvline}[3][.25em]{%
  [EMAIL PROTECTED]
\vspace*{-1.1em}% fixes an alignment mismatch between first leftmark 
and related text
[EMAIL PROTECTED]
  \else%
\\[#1]\fi%
  \raggedleft\hintfont{#2} }



Now you can avoid putting all those "Space: " after each Section 
title.



[2] I've corrected a bug in the "moderncv.cls" class file, around line 367 
there is:

\ifthenelse{\equal{#6}{}}{}{\newline{}\small#6}

and should be replaced with the following:

\ifthenelse{\equal{#6}{}}{}{\newline{}{\small#6}}

Without this modification, when you add some text after a \cventry with 6 
non-empty parameters
(and only if the \cventry has all 6 parameters not being empty), the additional 
text inherits the
"\small" size, which is not desirable.


If you like these changes, I think you could add this to the wiki.
Thank you!
Greetings.


-- 
Filippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu


lyx 1.5.3 compilation problems

2008-01-10 Thread vincent.pinon
Hello,

I am compiling Lyx 1.5.3 on
Red Hat Enterprise Linux WS release 3 (Taroon Update 8)
with a local qt 4.3.3 install :
I have been facing the same problem as Lyx 1.5.2 user :
the proposed patch solved the problem.
Maybe to adopt for future release ?

Cheers,

Vincent.

Re: lyx 1.5.2 compilation problems

Jean-Marc Lasgouttes
Tue, 16 Oct 2007 05:58:36 -0700

Javid Atai <[EMAIL PROTECTED]> writes:

> Hi,
>
> I am trying to compile lyx-1.5.2 on my linux
>  box which runs RH9 (gcc 3.2.2-5, kernel 2.4.20-31.9).
> I have already installed Qt-4.2.2 successfully.
>
> I get the following error message during compilation:

Could you try the following patch?

JMarc


svndiff src/frontends/qt4/

Index: src/frontends/qt4/GuiApplication.cpp
===
--- src/frontends/qt4/GuiApplication.cpp(révision 20971)
+++ src/frontends/qt4/GuiApplication.cpp(copie de travail)
@@ -92,6 +92,22 @@ namespace frontend {
 
 GuiApplication * guiApp;
 
+
+// Mac specific stuff goes here...
+
+class MenuTranslator : public QTranslator {
+public:
+   virtual ~MenuTranslator() {};
+   virtual QString translate(const char * context, 
+ const char * sourceText, 
+ const char * comment = 0) const;
+};
+
+///
+// You can find more platform specific stuff
+// at the end of this file...
+///
+
 
 GuiApplication::~GuiApplication()
 {
@@ -373,15 +389,6 @@ bool GuiApplication::x11EventFilter(XEve
 
 // Mac specific stuff goes here...
 
-class MenuTranslator : public QTranslator {
-public:
-   virtual ~MenuTranslator() {};
-   virtual QString translate(const char * context, 
- const char * sourceText, 
- const char * comment = 0) const;
-};
-
-
 QString MenuTranslator::translate(const char * /*context*/, 
  const char * sourceText, 
  const char *) const


 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.




Re: Alt-space on Windows?

2008-01-10 Thread Abdelrazak Younes

[EMAIL PROTECTED] wrote:

On Wed, 9 Jan 2008, Paul A. Rubin wrote:


rgheck wrote:

 [EMAIL PROTECTED] wrote:
>  Should Alt-space work on windows to access the drowp down list 
that lets >  you select paragraph style?

>
 On Linux, it's Alt-P, space.



Also in Windows.  In Windows, alt-space opens the little control menu 
in the upper left corner of every window.


*blush* I'm so embarrassed... I was showing someone LyX, and I 
remembered A-p s, A-p 1, A-p 2, A-p a, A-p A, A-p t, A-p i, A-p e etc, 
but not how to open the drop list...


Thanks,
/Christian

Btw, using keyboard shortcuts when demonstrating LyX turned out to be 
non-ideal because the person watching wasn't able to follow - it's too 
fast. A somewhat crazy idea for a demonstration mode LyX could be to 
have some kind of log window open that lists what you have been done. 
(Corresponding LFUN and keyboard shortcut?).


An 'action watcher' would be nice to have indeed. It could basically be 
a stack of all messages sent to the status bar, this should be easy to 
implement.


Abdel.



Re: keyboard shortcuts

2008-01-10 Thread Abdelrazak Younes

Tobias Krause wrote:
This is weird and something I cannot reproduce under Windows. Maybe it 
is a bug of Qt under X11? 


It does not seem to be a X11 bug: I use windows (Vista) and LyX 1.5.3


Really? Then it might be a bug in Qt under Vista as I use XP, or maybe 
it is a bug of Vista :-)


Abdel.