line thickness of \hrule
Hi, I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} Thank's Francois -- +-+ | François Beaubert | | Ecole des Mines de Nantes | | 4 rue Alfred Kastler BP 20722 44307 Nantes Cedex 3 France | | Telephone : (0/33)2.51.85.82.58 Telecopie : (0/33)2.51.85.82.99| | [EMAIL PROTECTED] | +-+
Re: QT compile problems.
Aide == Aide Florent [EMAIL PROTECTED] writes: Aide Hi, translations. By making the french translation up to date you will get more/all the english strings into french. Aide I looked into the fr.po file but everything is correctly Aide translated... Maybe the po file needs to be regenerated to Aide reflect the new strings ? Florent, if you want to help on translation for 1.3.0cvs, please contact [EMAIL PROTECTED], who is in charge of docs and interface translation for now. Maybe he can use some help, but I bet that he is waiting for the first prerelease before updating fr.po. JMarc
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 09:47:02AM +0100, François BEAUBERT wrote: I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} You could put \hrule height=3pt width=\textwidth in ERT I believe. If you need it several times, define a macro in the preamble. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: building lyx1.2.1 on MacOSX
Torsten == Torsten Hahn [EMAIL PROTECTED] writes: Torsten ld: Undefined symbols: Torsten boost::detail::crc_table_t(unsigned long)32, Torsten (unsigned)79764919, (bool)1::table_ make[3]: *** [lyx] Error This one will be fixed in 1.2.2. The fix can be found for now the following bugzilla comment: http://bugzilla.lyx.org/show_bug.cgi?id=425#c13 JMarc
Re: export to LaTeX replace by \textless{} and by \textgreater{}. Why?
Dekel == Dekel Tsur [EMAIL PROTECTED] writes: Dekel On Sun, Dec 08, 2002 at 08:45:01PM -0500, Noel Beaney wrote: I have used \usepackage[T1]{fontenc} in the preamble to overcome this problem. Dekel The correct solution is to open the preferences dialog, go to Dekel the Output Misc tab, and change the TeX encoding to T1. However, if it was not set already, there may be a problem in your distribution. JMarc
Re: line thickness of \hrule
Andre Poenitz sagte: On Tue, Dec 10, 2002 at 09:47:02AM +0100, François BEAUBERT wrote: I want to adjust the thickness of the line when you use the \hrule in l yx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} You could put \hrule height=3pt width=\textwidth in ERT I believe. you should use LaTeX, not TeX \rule{\textwidth}{3pt} or \hrulefill Herbert -- Dr.-Ing Herbert Voss [EMAIL PROTECTED]
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 10:15:30AM +0100, Herbert Voss wrote: You could put \hrule height=3pt width=\textwidth in ERT I believe. you should use LaTeX, not TeX Hmp... I've seen too much TeX lately... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 09:47:02AM +0100, Fran?ois BEAUBERT wrote: I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} Add to the preamble: \renewcommand{\lyxline}[1]{ {#1 \vspace{1ex} \hrule height 1pt width \columnwidth \vspace{1ex}} }
Re: Using Noun Style for SGML tags
José Matos wrote: On Friday 06 December 2002 10:04, Chris Lale wrote: I am using DocBook article (SGML)in Lyx 1.1.6fix4. I make much use of a few inline SGML tags eg filenamesome text/filename. Instead of adding this kind of hacks I would prefer to work in the full solution, as it is easier to maintain in the long term. And the proper fix is to add support for styles in lyx. If you still want to make this work, I can give some tips where to look for. Actually you only need to change the code in one function, so it shouldn't be too hard. If this means modifying text configuration files, yes please - I will have a go. I am not proficient in C though. Now if you want to fake some styles we can use the colours, that clearly don't have any counterparts in docbook and use them for different styles. But this only shows how much we need real user defined styles in lyx. I did try this (modified from the troubleshooters.com Linux Productivity Magazine), but it did not work in 'DocBook article (SGML)': Layout LaTex Preamble... % %%% Pseudo character styles indexed by color %%% \usepackage{ifthen} \providecommand{\textcolor}[2]{#2} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{blue}}{{filename{#2}/filename}}{}% SGML filename tags \ifthenelse{\equal{#1}{magenta}}{{\large{\texttt{#2{}%Large text \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{blue}}{}{#2}%fallthrough } Here is the text in Lyx ('myfile' is blue and 'Large' is magenta): newbie test myfile Large text This produced unaltered text when viewed in DVI. With Export DocBook, the SGML file contained no filename tags: para newbie test myfile /para para Large text /para Also, the preamble was printed at the top of both the DVI and the SGML documents. If I change the document from 'DocBook article (SGML)' to 'article' and view in DVI, the magenta text is in large type, and the preamble is not printed at the top. Any ideas? Cheers, Chris. -- : ___ Chris Lale [EMAIL PROTECTED] : : / \ : : | _/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: qt and math panel
El Mar 10 Dic 2002 02:26, escribió: I'm proud to say that my freshly compiled LyX doesn't have that problem. That's Qt2. Maybe the problem is with Qt3? Just trying to identify... Maybe you are rigth, I am using QT3. But for now i return to the 'safe' xforms. Osvaldo John -- Dr. Osvaldo Fornaro [EMAIL PROTECTED] Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: qt and math panel
El Mar 10 Dic 2002 02:26, escribió: I'm proud to say that my freshly compiled LyX doesn't have that problem. That's Qt2. Maybe the problem is with Qt3? Just trying to identify... Hi again, why my just downloaded cvs tree say Fri, May 3, 2002 as release date in src/version.C.in? don't must to be more recent? Thanks, Osvaldo John -- Dr. Osvaldo Fornaro [EMAIL PROTECTED] Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: qt and math panel
Osvaldo == Osvaldo Fornaro [EMAIL PROTECTED] writes: Osvaldo El Mar 10 Dic 2002 02:26, escribió: I'm proud to say that my freshly compiled LyX doesn't have that problem. That's Qt2. Maybe the problem is with Qt3? Just trying to identify... Osvaldo Hi again, why my just downloaded cvs tree say Fri, May 3, Osvaldo 2002 as release date in src/version.C.in? don't must to be Osvaldo more recent? It is normal. We do not update this date every day! In general the date is only updated on releases. JMarc
Re: Using Noun Style for SGML tags
On Tuesday 10 December 2002 10:26, Chris Lale wrote: proper fix is to add support for styles in lyx. If you still want to make this work, I can give some tips where to look for. Actually you only need to change the code in one function, so it shouldn't be too hard. If this means modifying text configuration files, yes please - I will have a go. I am not proficient in C though. I was speaking of a C++ function, Buffer::simpleDocBookOnePar in src/buffer.C I did try this (modified from the troubleshooters.com Linux Productivity Magazine), but it did not work in 'DocBook article (SGML)': Layout LaTex Preamble... % %%% Pseudo character styles indexed by color %%% \usepackage{ifthen} \providecommand{\textcolor}[2]{#2} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{blue}}{{filename{#2}/filename}}{}% SGML filename tags \ifthenelse{\equal{#1}{magenta}}{{\large{\texttt{#2{}%Large text \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{blue}}{}{#2}%fallthrough } This trick will only work with latex, I was proposing a similar hack but for docbook, we would need to output the colour changes, something that we don't do now. This is the part that needs coding. [...] Any ideas? Cheers, Chris. -- José Abílio
Re: qt and math panel
On Mon, Dec 09, 2002 at 04:28:49PM -0300, Osvaldo Fornaro wrote: Hi list, I just compiled 1.3 with qt frontend without any problem. However math panel seems to be a wrong behavior, for example does not permit to select any of []{}, etc, except (). Same as greek letters, arrows, etc. Is it a known behavior? I updated my CVS to the newest one. The math-panel problems have gone. I have redhat 8 + qt 3.0.5. I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Some of my key-bindings do not work and I have to find their new counterparts: accent-vector, math-row-insert/delete, math-column-insert/delete, dialog-tabular-insert. I heard that lyx1.2 is not supposed to be able to read files from 1.3, is that true? Last time, lyx1.3 messed up my 1.2 file and I had to enter everything again in 1.2. I am glad that I can not find any immediate problem and will continue to test it. It is much better than what I saw last month. Regards, -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 09:56:00AM -0600, Bo Peng wrote: I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Not really as I don't consider it a bug. You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. Some of my key-bindings do not work and I have to find their new counterparts: accent-vector math-insert \vec or M-m v math-row-insert/delete, tabular-feature insert-row or M-m r i tabular-feature delete-row or M-m r d math-column-insert/delete, dialog-tabular-insert. M-m w i M-m w d I heard that lyx1.2 is not supposed to be able to read files from 1.3, is that true? Not sure, but may be. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Fwd: Re: linux magazine about lyx
-- Weitergeleitete Nachricht -- Subject: Re: linux magazine about lyx Date: Mon, 9 Dec 2002 22:03:58 +0100 From: Gerhard Lindel [EMAIL PROTECTED] To: Tuukka Toivonen [EMAIL PROTECTED] Am Montag, 9. Dezember 2002 16:20 schrieb Tuukka Toivonen: If nobody noticed, there was an article about LyX in the latest Linux Magazine. It looked like it would have continuation in later issues. (I think there's probably many Linux Magazines, this one looked like the UK one). In the german magazine called LINUX User is a series started in number 10.2002 about Lyx. www.linux-user.de gerhard ---
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:00:41PM +0100, Andre Poenitz wrote: On Tue, Dec 10, 2002 at 09:56:00AM -0600, Bo Peng wrote: I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Not really as I don't consider it a bug. You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. I have expressed my opinion before but I would like to say it again. Yes, it is user's fault but if this mistake is so easy to make (in a formula, C-M to enter some text, enter some math without C-M again) and so difficult to identify (lyx displays and saves/loads it 'correctly'!), should lyx be nice enough to do something? What makes a fix reasonable is that lyx 1.2 gracefully allows users to enter \alpha,\sum etc without worrying about text or math mode and we are spoiled! When I encountered this problem in lyx1.3, my only thought was a bug. Put this to an extreme, whatever users can enter into lyx 'normally' through keyboard, menu, (preamble, ERT do not count here), they should not expect compiling errors. Is this reasonable? There is another similar example we have discussed before, user opens a new document, insert math-case, compiling error! It is very difficult to do this with latex but we should at least go this direction. If you are not going to fix this problem, would you at least warn the users in whatsnew.txt? (I doubt how many people will read it though.) -- Bo Peng
Re: qt and math panel
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo On Tue, Dec 10, 2002 at 05:00:41PM +0100, Andre Poenitz wrote: On Tue, Dec 10, 2002 at 09:56:00AM -0600, Bo Peng wrote: I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Not really as I don't consider it a bug. You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. Bo I have expressed my opinion before but I would like to say it Bo again. Yes, it is user's fault but if this mistake is so easy to Bo make (in a formula, C-M to enter some text, enter some math Bo without C-M again) and so difficult to identify (lyx displays and Bo saves/loads it 'correctly'!), should lyx be nice enough to do Bo something? I agree that it is next to impossible to guess what is wrong once the error has been made. At least color or minibuffer display should show what is going on. JMarc
Re: qt and math panel
On Tue, Dec 10, 2002 at 10:28:43AM -0600, Bo Peng wrote: You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. I have expressed my opinion before So did I ;-) What makes a fix reasonable is that lyx 1.2 gracefully allows users to enter \alpha,\sum etc without worrying about text or math mode and we are spoiled! You could try again to explain how this should be handled in a easy-to-understandi (for me and the users...) one-size-fits-all manner. I could disallow direct entering of \alpha in math text mode but apart from not liking that idea there is no simple way to extend this to conversion (mark something, press C-m). Put this to an extreme, whatever users can enter into lyx 'normally' through keyboard, menu, (preamble, ERT do not count here), they should not expect compiling errors. Is this reasonable? Sure. But math is not normal ;-) Not in LyX, not even in TeX... There is another similar example we have discussed before, user opens a new document, insert math-case, compiling error! I would switch AMS on by default, that would cure the problem. But that drew too much flak a while ago... If you are not going to fix this problem, would you at least warn the users in whatsnew.txt? (I doubt how many people will read it though.) Never heard such a thing exists... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:48:14PM +0100, Jean-Marc Lasgouttes wrote: I agree that it is next to impossible to guess what is wrong once the error has been made. At least color or minibuffer display should show what is going on. The minibuffer shows the textrm when the cursor passes over the wrong alpha. I could try to change the colour to black for fonts called text*, if that helps. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Tue, Dec 10, 2002 at 05:48:14PM +0100, Jean-Marc Lasgouttes Andre wrote: I agree that it is next to impossible to guess what is wrong once the error has been made. At least color or minibuffer display should show what is going on. Andre The minibuffer shows the textrm when the cursor passes over Andre the wrong alpha. Are you sure it does? I do not see it here. Andre I could try to change the colour to black for fonts called Andre text*, if that helps. That would certainly be welcome. JMarc
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:02:18PM +0100, Jean-Marc Lasgouttes wrote: Andre The minibuffer shows the textrm when the cursor passes over Andre the wrong alpha. Are you sure it does? I do not see it here. Fairly sure... Andre I could try to change the colour to black for fonts called Andre text*, if that helps. That would certainly be welcome. Patch attached. It basically says don't change the colour just because it is a symbol, take the colour of the surroundings instead. Which gives now blue or black \alphas depending on whether it is ordinary math or math text. Lars? Andre' Index: math_support.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_support.C,v retrieving revision 1.63 diff -u -p -r1.63 math_support.C --- math_support.C 9 Dec 2002 13:04:15 - 1.63 +++ math_support.C 10 Dec 2002 17:04:16 - @@ -538,14 +538,14 @@ fontinfo fontinfos[] = { {mathrm, LyXFont::ROMAN_FAMILY, inh_series, inh_shape, LColor::math}, {mathsf, LyXFont::SANS_FAMILY, inh_series, inh_shape, LColor::math}, {mathbb, LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::math}, - {cmex, LyXFont::CMEX_FAMILY, inh_series, inh_shape, LColor::math}, - {cmm,LyXFont::CMM_FAMILY, inh_series, inh_shape, LColor::math}, - {cmr,LyXFont::CMR_FAMILY, inh_series, inh_shape, LColor::math}, - {cmsy, LyXFont::CMSY_FAMILY, inh_series, inh_shape, LColor::math}, - {eufrak, LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::math}, - {msa,LyXFont::MSA_FAMILY, inh_series, inh_shape, LColor::math}, - {msb,LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::math}, - {wasy, LyXFont::WASY_FAMILY, inh_series, inh_shape, LColor::math}, + {cmex, LyXFont::CMEX_FAMILY, inh_series, inh_shape, LColor::none}, + {cmm,LyXFont::CMM_FAMILY, inh_series, inh_shape, LColor::none}, + {cmr,LyXFont::CMR_FAMILY, inh_series, inh_shape, LColor::none}, + {cmsy, LyXFont::CMSY_FAMILY, inh_series, inh_shape, LColor::none}, + {eufrak, LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::none}, + {msa,LyXFont::MSA_FAMILY, inh_series, inh_shape, LColor::none}, + {msb,LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::none}, + {wasy, LyXFont::WASY_FAMILY, inh_series, inh_shape, LColor::none}, {text, inh_family, inh_series, inh_shape, LColor::black}, {textbf, inh_family, LyXFont::BOLD_SERIES, inh_shape, LColor::black}, {textit, inh_family, inh_series, LyXFont::ITALIC_SHAPE, LColor::black},
Re: qt and math panel
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Tue, Dec 10, 2002 at 06:02:18PM +0100, Jean-Marc Lasgouttes Andre wrote: The minibuffer shows the textrm when the cursor passes Andre over the wrong alpha. Are you sure it does? I do not see it here. Andre Fairly sure... Can you tell me what are the steps needed to see that? I did a simple 1/ type \alpha 2/ select this text 3/ M-m m If I move the cursor in the math inset I see nothing interesting. JMarc
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:13:03PM +0100, Jean-Marc Lasgouttes wrote: Andre Fairly sure... Can you tell me what are the steps needed to see that? I did a simple 1/ type \alpha 2/ select this text 3/ M-m m Completely sufficient. If I move the cursor in the math inset I see nothing interesting. When moving from left to right you should see in the minibuffer: Font Default Paragraph 0 Math editor mode. Math editor mode Type simple Font textrm Math editor mode Type simple Font textrm Symbol alpha Math editor mode Type simple Font Default Paragraph 0 Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:52:21PM +0100, Andre Poenitz wrote: There is another similar example we have discussed before, user opens a new document, insert math-case, compiling error! I would switch AMS on by default, that would cure the problem. But that drew too much flak a while ago... We can not blame users' lack of knowledge of latex, this might exactly be the reason why they use lyx instead of plain latex. I introduced lyx to many of my friends and they all became happy lyx-ers. However, most of them encountered this problem sooner or later and had to ask me for a solution. It definitely needs a while for new users to know how (and why) to add \usepackage{amsmath} to preamble. If this problem is not in bugzilla, I would like to add it as feature request. -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:13:03PM +0100, Jean-Marc Lasgouttes wrote: Can you tell me what are the steps needed to see that? I did a simple 1/ type \alpha 2/ select this text 3/ M-m m A more natural way to produce this error is when a user want to input things like $=1 \text{w.p. } \alpha$. 1) M-m m enter math mode 2) =1 math-mode 3) M-m m enter text mode 4) w.p. pure text 5) M-m g a\alpha in the wrong place. I mean, no one would really select \alpha and try to convert it to text mode. This error occurs most likely when user is in textmode and try to enter some math symbol, -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:04:59PM +0100, Andre Poenitz wrote: Andre I could try to change the colour to black for fonts called Andre text*, if that helps. That would certainly be welcome. Patch attached. It basically says don't change the colour just because it is a symbol, take the colour of the surroundings instead. Which gives now blue or black \alphas depending on whether it is ordinary math or math text. Thank you Andre'! This will definitely help. Anyway, what is the improvements of 1.3's math-mode than 1.2.1? I understand that 1.3 change this behavior (from binary math/text to nested) on purpose but as far as I concern, I am pretty satisfied with what lyx1.2's math-mode does and see no need of change... -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 11:36:55AM -0600, Bo Peng wrote: solution. It definitely needs a while for new users to know how (and why) to add \usepackage{amsmath} to preamble. There's a checkbox in document dialog If this problem is not in bugzilla, I would like to add it as feature request. No point, it is lyx-devel flamewar subject john -- Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true. - Paul Graham
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:52:21PM +0100, Andre Poenitz wrote: What makes a fix reasonable is that lyx 1.2 gracefully allows users to enter \alpha,\sum etc without worrying about text or math mode and we are spoiled! You could try again to explain how this should be handled in a easy-to-understandi (for me and the users...) one-size-fits-all manner. I could disallow direct entering of \alpha in math text mode but apart from not liking that idea there is no simple way to extend this to conversion (mark something, press C-m). Yes I also think you should do that. I think it is fine to not allow insertion of any of the symbols defined in lib/symbols into \textrm (even though some of them may be usable in text mode).
Re: qt and math panel
On Tue, Dec 10, 2002 at 11:01:19PM +0200, Dekel Tsur wrote: rstandi (for me and the users...) one-size-fits-all manner. I could disallow direct entering of \alpha in math text mode but apart from not liking that idea there is no simple way to extend this to conversion (mark something, press C-m). Yes I also think you should do that. I think it is fine to not allow insertion of any of the symbols defined in lib/symbols into \textrm (even though some of them may be usable in text mode). In lyx1.2, entering \alpha in text mode will result in a math-mode \alpha. Why cannot this be continued? Andre' said that lyx used binary switch and now uses nested switch between text/math modes but I guess it is still possible to automatically turn to math-mode when math symbol is input in text mode. -- Bo Peng
Table confusion
o why do I have to set a fixed width in order to control a cells' vertical alignment ? And why does it make no difference when I do choose it ? o why doesn't xforms let me set widths to text% etc. ? o how can I set horiztonal alignment on just a cell ? regards john -- Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true. - Paul Graham
cvs 1.3 lyx doc (Tutorial, TOC etc)
I could not find Tutorial.lyx etc from lyx-devel cvs. Is it supposed to be here? As a result, I can not use Help-Tutorial. (no share/lyx/doc/Tutorial.lyx etc.) -- Bo Peng
Re: cvs 1.3 lyx doc (Tutorial, TOC etc)
On Tue, Dec 10, 2002 at 04:21:43PM -0600, Bo Peng wrote: I could not find Tutorial.lyx etc from lyx-devel cvs. Is it supposed to be here? As a result, I can not use Help-Tutorial. (no share/lyx/doc/Tutorial.lyx etc.) it's in lyxdoc CVS module john -- Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true. - Paul Graham
Re: building lyx1.2.1 on MacOSX
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Just curious. If you are already using fink, then why do you need to compile Lyx separately? If you are using 0.5.0 version of fink, then Lyx 1.2.1 is provided as a pre-complied binary that can be installed using dselect. If for some reason you want to compile from source, then you can do this via fink - - -- fink install lyx will compile version 1.2.1 from source. If you have a version of fink prior to 0.5.0 -- 0.4.1 for example -- then I can see why you might want to compile fink from scratch since the lyx that is offered as binaries in previous versions of fink is 1.1.6-fix3. But, the files necessary to compile 1.2.1 are available in the unstable directories. Simply edit your fink.conf file (the default location is /sw/etc/fink.conf) to include the unstable tree then do fink install lyx. This will compile 1.2.1. Since version 0.5.0 resolves the issues present in 0.4.1 with respect to 10.2.x compatibility, you may want to upgrade to 0.5.0 in any case. Hope this helps. Tomoharu Nishino On Sunday, December 8, 2002, at 02:38 AM, Torsten Hahn wrote: Hi, i use MacOSX 10.2.2 an tried to build lyx. I uses fink to install the xforms library (version 0.89-2). Then i downloaded the lyx1.2.1 source from the lyx.org website. Now the ./configure script does not find the xforms-library files and headers, because they are in /sw/lib and /sw/include. How can i tell ./configure to use these path's also ? Thanks, Torsten. -- Dipl. Nat. Torsten Hahn Institut für Experimentelle Physik / TU Bergakademie Freiberg mail: [EMAIL PROTECTED] Tel.: +49 (0) 3731 392670 -BEGIN PGP SIGNATURE- Version: PGP 8.0 iQA/AwUBPfZhmUtUKCjW1vDuEQIHZwCfZDxJnkMv55xuGV+zNq+pdM9AfNgAnRWf T5LNsS3Ek/BZ9YFeAgsbFvjW =RaQt -END PGP SIGNATURE-
cvs1.3: screen font problem?
I can not remember what I changed from the preference dialog but suddenly, lyx 1.3cvs can not display Greek letters correctly. \alpha is displayed as trademark sign, \delta is \pm... What is happening? -- Bo Peng
Re: latex font question
Thanks I was just wanting to know how this was done as I could not find anything in the .cls or .layout files that would do this. I was also wondering if I could use this to replace words with some scientific notation without seeing all the mess in lyx. Andre Poenitz wrote: On Tue, Dec 10, 2002 at 04:54:28PM +1030, Owen Lucas wrote: I want to know where and how Latex recognises Latex and puts the word Latex in the latex wacky superscript subscript font? ie where it sees LaTeX it puts \LaTeX{} LaTeX never does this. In case of LyX there is some braindead hard-coded mapping in src/paragraph_pimpl.C. Andre'
LyX-Code Paragraph Environment
Can someone please help me modify the size of the text when using the LyX-Code paragraph environment? Ideally I would like to create a new paragraph environment, but thought that it would be easier to modify an existing one. Thanks in advance. Cheers, Paul
Filling tables with text
I have a long text file that I wish to put in a Lyx table. Is there anyway to do this without having to cut and past individual values in to each cell? cheers owen Ag 328.07 0.0001 Al 396.15 0.1 As 193.70 0.1 Au 267.60 0.005 Be 234.86 0.01 Bi 223.06 0.005 Ca 422.67 0.02 Cd 228.80 0.0l Co 240.73 0.005 Cr 357.87 0.05 Cu 324.70 0.001 Fe 248.33 0.008 Ga 417.21 0.01 Ge 265.12 0.1 Hg 253.65 0.08 In 410.48 0.1 Ir 254.40 100 Mg 285.21 0.001 Mn 279.48 0.006 Mo 313.26 0.5 Ni 232.00 0.003 Pb 405.78 0.01 Pd 340.46 0.04 Pt 265.95 50 Rh 369.24 3 Ru 372.80 100 Sb 231.15 0.05 Se 196.03 0.04 Si 251.61 0.6 Sn 303.41 0.1 Sr 460.73 0.03 Te 214.28 0.04 Ti 319.99 4 Tl 377.57 0.008 V 318.40 0.07 Zn 213.86 0.2
Re: latex font question
what do you mean by putting words in scientific notation? Owen Lucas wrote: Thanks I was just wanting to know how this was done as I could not find anything in the .cls or .layout files that would do this. I was also wondering if I could use this to replace words with some scientific notation without seeing all the mess in lyx. Andre Poenitz wrote: On Tue, Dec 10, 2002 at 04:54:28PM +1030, Owen Lucas wrote: I want to know where and how Latex recognises Latex and puts the word Latex in the latex wacky superscript subscript font? ie where it sees LaTeX it puts \LaTeX{} LaTeX never does this. In case of LyX there is some braindead hard-coded mapping in src/paragraph_pimpl.C. Andre'
Re: qt and math panel
On Tue, Dec 10, 2002 at 11:52:55AM -0600, Bo Peng wrote: Thank you Andre'! This will definitely help. I just commited the patch. Anyway, what is the improvements of 1.3's math-mode than 1.2.1? Improvements... the big one is probably the ability to handle \mbox, \fbox and other mode switching commands more or less correctly. Handling of {}. Apart from that it is mostly internal stuff. A couple of new symbols like support for wasy etc. Somewhat better parser. Some bug fixes. I understand that 1.3 change this behavior (from binary math/text to nested) on purpose but as far as I concern, I am pretty satisfied with what lyx1.2's math-mode does and see no need of change... And some people are satisfied with 1.1.6. The problem is, the older versions do some things conceptually wrong. Like nested math/text which was impossible to support with 1.1/1.2 internal structures. (I do not mean switching just once from math to text, but to embed new math in the text. And, yes, this is done pretty often in plain LaTeX). So we basically had a choice: Live with 1.1.6/1.2 and never be able to implement e.g. \mbox, or try to get it right. I opted for the latter, but I do not claim that it is right now already, but it is certainly better. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
On Tue, Dec 10, 2002 at 03:22:12PM -0600, Bo Peng wrote: In lyx1.2, entering \alpha in text mode will result in a math-mode \alpha. Why cannot this be continued? Andre' said that lyx used binary switch and now uses nested switch between text/math modes but I guess it is still possible to automatically turn to math-mode when math symbol is input in text mode. Should \alpha in text mode switch back to the enclosing level of math or create a new level of math? What if the enclosing level is another level of text? Like an \fbox in an \fbox? Should it break that, too? I still believe there is no obviously correct solution and unless we find one I'd rather stick to the you get what you order mantra. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Filling tables with text
save your file as CSV file with tab seperated column. with the program csv2lyx you can get a lyx file from this csv. The program could be found in the download lyx directory (as I remember). If not I can send the program for you. Wayan On Wed, 11 Dec 2002, Owen Lucas wrote: | Date: Wed, 11 Dec 2002 17:19:42 +1030 | From: Owen Lucas [EMAIL PROTECTED] | To: [EMAIL PROTECTED] | Subject: Filling tables with text | | I have a long text file that I wish to put in a Lyx table. Is there | anyway to do this without having to cut and past individual values in to | each cell? | | cheers | owen | | | Ag 328.07 0.0001 | Al 396.15 0.1 | As 193.70 0.1 | Au 267.60 0.005 | Be 234.86 0.01 | Bi 223.06 0.005 | Ca 422.67 0.02 | Cd 228.80 0.0l | Co 240.73 0.005 | Cr 357.87 0.05 | Cu 324.70 0.001 | Fe 248.33 0.008 | Ga 417.21 0.01 | Ge 265.12 0.1 | Hg 253.65 0.08 | In 410.48 0.1 | Ir 254.40 100 | Mg 285.21 0.001 | Mn 279.48 0.006 | Mo 313.26 0.5 | Ni 232.00 0.003 | Pb 405.78 0.01 | Pd 340.46 0.04 | Pt 265.95 50 | Rh 369.24 3 | Ru 372.80 100 | Sb 231.15 0.05 | Se 196.03 0.04 | Si 251.61 0.6 | Sn 303.41 0.1 | Sr 460.73 0.03 | Te 214.28 0.04 | Ti 319.99 4 | Tl 377.57 0.008 | V 318.40 0.07 | Zn 213.86 0.2 | |
Re: latex font question
Well its a bit hard to show you with just text but sometimes I use typed notation which should be a lot more and it would take a long time to type in with tex or the maths panel. It would be nice to be able to type in (1,0) and have it magically end up as all the maths (spectroscopic) stuff it should be. And to your question on lyxcode try puting \renewenvironment{lyxcode} {\begin{list}{}{\huge\ttfamily}\item[]} {\end{list}} in your preamble. You shuld have just come down and I would have given it to you. cheers owen Paul Medwell wrote: what do you mean by putting words in scientific notation? Owen Lucas wrote: Thanks I was just wanting to know how this was done as I could not find anything in the .cls or .layout files that would do this. I was also wondering if I could use this to replace words with some scientific notation without seeing all the mess in lyx. Andre Poenitz wrote: On Tue, Dec 10, 2002 at 04:54:28PM +1030, Owen Lucas wrote: I want to know where and how Latex recognises Latex and puts the word Latex in the latex wacky superscript subscript font? ie where it sees LaTeX it puts \LaTeX{} LaTeX never does this. In case of LyX there is some braindead hard-coded mapping in src/paragraph_pimpl.C. Andre'
Re: cvs 1.3 lyx doc (Tutorial, TOC etc)
On Tue, Dec 10, 2002 at 04:21:43PM -0600, Bo Peng wrote: I could not find Tutorial.lyx etc from lyx-devel cvs. Is it supposed to be here? As a result, I can not use Help-Tutorial. (no share/lyx/doc/Tutorial.lyx etc.) The docs are in a seperate cvs module (lyx-doc) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Filling tables with text
thanks that worked well I didnt even need to put the tab in. just needed to add --separator=' ' at the command line for others (particularly in Australia)I got it at ftp://mirror.aarnet.edu.au/pub/lyx/contrib/csv2lyx-1.0.0.tar.gz cheers owen I Wayan Warmada wrote: save your file as CSV file with seperated column. with the program csv2lyx you can get a lyx file from this csv. The program could be found in the download lyx directory (as I remember). If not I can send the program for you. Wayan
line thickness of \hrule
Hi, I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} Thank's Francois -- +-+ | François Beaubert | | Ecole des Mines de Nantes | | 4 rue Alfred Kastler BP 20722 44307 Nantes Cedex 3 France | | Telephone : (0/33)2.51.85.82.58 Telecopie : (0/33)2.51.85.82.99| | [EMAIL PROTECTED] | +-+
Re: QT compile problems.
Aide == Aide Florent [EMAIL PROTECTED] writes: Aide Hi, translations. By making the french translation up to date you will get more/all the english strings into french. Aide I looked into the fr.po file but everything is correctly Aide translated... Maybe the po file needs to be regenerated to Aide reflect the new strings ? Florent, if you want to help on translation for 1.3.0cvs, please contact [EMAIL PROTECTED], who is in charge of docs and interface translation for now. Maybe he can use some help, but I bet that he is waiting for the first prerelease before updating fr.po. JMarc
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 09:47:02AM +0100, François BEAUBERT wrote: I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} You could put \hrule height=3pt width=\textwidth in ERT I believe. If you need it several times, define a macro in the preamble. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: building lyx1.2.1 on MacOSX
Torsten == Torsten Hahn [EMAIL PROTECTED] writes: Torsten ld: Undefined symbols: Torsten boost::detail::crc_table_t(unsigned long)32, Torsten (unsigned)79764919, (bool)1::table_ make[3]: *** [lyx] Error This one will be fixed in 1.2.2. The fix can be found for now the following bugzilla comment: http://bugzilla.lyx.org/show_bug.cgi?id=425#c13 JMarc
Re: export to LaTeX replace by \textless{} and by \textgreater{}. Why?
Dekel == Dekel Tsur [EMAIL PROTECTED] writes: Dekel On Sun, Dec 08, 2002 at 08:45:01PM -0500, Noel Beaney wrote: I have used \usepackage[T1]{fontenc} in the preamble to overcome this problem. Dekel The correct solution is to open the preferences dialog, go to Dekel the Output Misc tab, and change the TeX encoding to T1. However, if it was not set already, there may be a problem in your distribution. JMarc
Re: line thickness of \hrule
Andre Poenitz sagte: On Tue, Dec 10, 2002 at 09:47:02AM +0100, François BEAUBERT wrote: I want to adjust the thickness of the line when you use the \hrule in l yx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} You could put \hrule height=3pt width=\textwidth in ERT I believe. you should use LaTeX, not TeX \rule{\textwidth}{3pt} or \hrulefill Herbert -- Dr.-Ing Herbert Voss [EMAIL PROTECTED]
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 10:15:30AM +0100, Herbert Voss wrote: You could put \hrule height=3pt width=\textwidth in ERT I believe. you should use LaTeX, not TeX Hmp... I've seen too much TeX lately... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 09:47:02AM +0100, Fran?ois BEAUBERT wrote: I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout-Paragraph-General-lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} Add to the preamble: \renewcommand{\lyxline}[1]{ {#1 \vspace{1ex} \hrule height 1pt width \columnwidth \vspace{1ex}} }
Re: Using Noun Style for SGML tags
José Matos wrote: On Friday 06 December 2002 10:04, Chris Lale wrote: I am using DocBook article (SGML)in Lyx 1.1.6fix4. I make much use of a few inline SGML tags eg filenamesome text/filename. Instead of adding this kind of hacks I would prefer to work in the full solution, as it is easier to maintain in the long term. And the proper fix is to add support for styles in lyx. If you still want to make this work, I can give some tips where to look for. Actually you only need to change the code in one function, so it shouldn't be too hard. If this means modifying text configuration files, yes please - I will have a go. I am not proficient in C though. Now if you want to fake some styles we can use the colours, that clearly don't have any counterparts in docbook and use them for different styles. But this only shows how much we need real user defined styles in lyx. I did try this (modified from the troubleshooters.com Linux Productivity Magazine), but it did not work in 'DocBook article (SGML)': Layout LaTex Preamble... % %%% Pseudo character styles indexed by color %%% \usepackage{ifthen} \providecommand{\textcolor}[2]{#2} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{blue}}{{filename{#2}/filename}}{}% SGML filename tags \ifthenelse{\equal{#1}{magenta}}{{\large{\texttt{#2{}%Large text \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{blue}}{}{#2}%fallthrough } Here is the text in Lyx ('myfile' is blue and 'Large' is magenta): newbie test myfile Large text This produced unaltered text when viewed in DVI. With Export DocBook, the SGML file contained no filename tags: para newbie test myfile /para para Large text /para Also, the preamble was printed at the top of both the DVI and the SGML documents. If I change the document from 'DocBook article (SGML)' to 'article' and view in DVI, the magenta text is in large type, and the preamble is not printed at the top. Any ideas? Cheers, Chris. -- : ___ Chris Lale [EMAIL PROTECTED] : : / \ : : | _/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: qt and math panel
El Mar 10 Dic 2002 02:26, escribió: I'm proud to say that my freshly compiled LyX doesn't have that problem. That's Qt2. Maybe the problem is with Qt3? Just trying to identify... Maybe you are rigth, I am using QT3. But for now i return to the 'safe' xforms. Osvaldo John -- Dr. Osvaldo Fornaro [EMAIL PROTECTED] Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: qt and math panel
El Mar 10 Dic 2002 02:26, escribió: I'm proud to say that my freshly compiled LyX doesn't have that problem. That's Qt2. Maybe the problem is with Qt3? Just trying to identify... Hi again, why my just downloaded cvs tree say Fri, May 3, 2002 as release date in src/version.C.in? don't must to be more recent? Thanks, Osvaldo John -- Dr. Osvaldo Fornaro [EMAIL PROTECTED] Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina
Re: qt and math panel
Osvaldo == Osvaldo Fornaro [EMAIL PROTECTED] writes: Osvaldo El Mar 10 Dic 2002 02:26, escribió: I'm proud to say that my freshly compiled LyX doesn't have that problem. That's Qt2. Maybe the problem is with Qt3? Just trying to identify... Osvaldo Hi again, why my just downloaded cvs tree say Fri, May 3, Osvaldo 2002 as release date in src/version.C.in? don't must to be Osvaldo more recent? It is normal. We do not update this date every day! In general the date is only updated on releases. JMarc
Re: Using Noun Style for SGML tags
On Tuesday 10 December 2002 10:26, Chris Lale wrote: proper fix is to add support for styles in lyx. If you still want to make this work, I can give some tips where to look for. Actually you only need to change the code in one function, so it shouldn't be too hard. If this means modifying text configuration files, yes please - I will have a go. I am not proficient in C though. I was speaking of a C++ function, Buffer::simpleDocBookOnePar in src/buffer.C I did try this (modified from the troubleshooters.com Linux Productivity Magazine), but it did not work in 'DocBook article (SGML)': Layout LaTex Preamble... % %%% Pseudo character styles indexed by color %%% \usepackage{ifthen} \providecommand{\textcolor}[2]{#2} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{blue}}{{filename{#2}/filename}}{}% SGML filename tags \ifthenelse{\equal{#1}{magenta}}{{\large{\texttt{#2{}%Large text \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{blue}}{}{#2}%fallthrough } This trick will only work with latex, I was proposing a similar hack but for docbook, we would need to output the colour changes, something that we don't do now. This is the part that needs coding. [...] Any ideas? Cheers, Chris. -- José Abílio
Re: qt and math panel
On Mon, Dec 09, 2002 at 04:28:49PM -0300, Osvaldo Fornaro wrote: Hi list, I just compiled 1.3 with qt frontend without any problem. However math panel seems to be a wrong behavior, for example does not permit to select any of []{}, etc, except (). Same as greek letters, arrows, etc. Is it a known behavior? I updated my CVS to the newest one. The math-panel problems have gone. I have redhat 8 + qt 3.0.5. I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Some of my key-bindings do not work and I have to find their new counterparts: accent-vector, math-row-insert/delete, math-column-insert/delete, dialog-tabular-insert. I heard that lyx1.2 is not supposed to be able to read files from 1.3, is that true? Last time, lyx1.3 messed up my 1.2 file and I had to enter everything again in 1.2. I am glad that I can not find any immediate problem and will continue to test it. It is much better than what I saw last month. Regards, -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 09:56:00AM -0600, Bo Peng wrote: I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Not really as I don't consider it a bug. You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. Some of my key-bindings do not work and I have to find their new counterparts: accent-vector math-insert \vec or M-m v math-row-insert/delete, tabular-feature insert-row or M-m r i tabular-feature delete-row or M-m r d math-column-insert/delete, dialog-tabular-insert. M-m w i M-m w d I heard that lyx1.2 is not supposed to be able to read files from 1.3, is that true? Not sure, but may be. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Fwd: Re: linux magazine about lyx
-- Weitergeleitete Nachricht -- Subject: Re: linux magazine about lyx Date: Mon, 9 Dec 2002 22:03:58 +0100 From: Gerhard Lindel [EMAIL PROTECTED] To: Tuukka Toivonen [EMAIL PROTECTED] Am Montag, 9. Dezember 2002 16:20 schrieb Tuukka Toivonen: If nobody noticed, there was an article about LyX in the latest Linux Magazine. It looked like it would have continuation in later issues. (I think there's probably many Linux Magazines, this one looked like the UK one). In the german magazine called LINUX User is a series started in number 10.2002 about Lyx. www.linux-user.de gerhard ---
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:00:41PM +0100, Andre Poenitz wrote: On Tue, Dec 10, 2002 at 09:56:00AM -0600, Bo Peng wrote: I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Not really as I don't consider it a bug. You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. I have expressed my opinion before but I would like to say it again. Yes, it is user's fault but if this mistake is so easy to make (in a formula, C-M to enter some text, enter some math without C-M again) and so difficult to identify (lyx displays and saves/loads it 'correctly'!), should lyx be nice enough to do something? What makes a fix reasonable is that lyx 1.2 gracefully allows users to enter \alpha,\sum etc without worrying about text or math mode and we are spoiled! When I encountered this problem in lyx1.3, my only thought was a bug. Put this to an extreme, whatever users can enter into lyx 'normally' through keyboard, menu, (preamble, ERT do not count here), they should not expect compiling errors. Is this reasonable? There is another similar example we have discussed before, user opens a new document, insert math-case, compiling error! It is very difficult to do this with latex but we should at least go this direction. If you are not going to fix this problem, would you at least warn the users in whatsnew.txt? (I doubt how many people will read it though.) -- Bo Peng
Re: qt and math panel
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo On Tue, Dec 10, 2002 at 05:00:41PM +0100, Andre Poenitz wrote: On Tue, Dec 10, 2002 at 09:56:00AM -0600, Bo Peng wrote: I am glad to see the about and preference dialogs. Bug 717 has not been fixed, (C-M on \alpha causes compiling error.) is it scheduled to be fixed before 1.3? Not really as I don't consider it a bug. You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. Bo I have expressed my opinion before but I would like to say it Bo again. Yes, it is user's fault but if this mistake is so easy to Bo make (in a formula, C-M to enter some text, enter some math Bo without C-M again) and so difficult to identify (lyx displays and Bo saves/loads it 'correctly'!), should lyx be nice enough to do Bo something? I agree that it is next to impossible to guess what is wrong once the error has been made. At least color or minibuffer display should show what is going on. JMarc
Re: qt and math panel
On Tue, Dec 10, 2002 at 10:28:43AM -0600, Bo Peng wrote: You ask for \alpha in text mode and get the same result as entering \alpha in ERT in text mode. I have expressed my opinion before So did I ;-) What makes a fix reasonable is that lyx 1.2 gracefully allows users to enter \alpha,\sum etc without worrying about text or math mode and we are spoiled! You could try again to explain how this should be handled in a easy-to-understandi (for me and the users...) one-size-fits-all manner. I could disallow direct entering of \alpha in math text mode but apart from not liking that idea there is no simple way to extend this to conversion (mark something, press C-m). Put this to an extreme, whatever users can enter into lyx 'normally' through keyboard, menu, (preamble, ERT do not count here), they should not expect compiling errors. Is this reasonable? Sure. But math is not normal ;-) Not in LyX, not even in TeX... There is another similar example we have discussed before, user opens a new document, insert math-case, compiling error! I would switch AMS on by default, that would cure the problem. But that drew too much flak a while ago... If you are not going to fix this problem, would you at least warn the users in whatsnew.txt? (I doubt how many people will read it though.) Never heard such a thing exists... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:48:14PM +0100, Jean-Marc Lasgouttes wrote: I agree that it is next to impossible to guess what is wrong once the error has been made. At least color or minibuffer display should show what is going on. The minibuffer shows the textrm when the cursor passes over the wrong alpha. I could try to change the colour to black for fonts called text*, if that helps. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Tue, Dec 10, 2002 at 05:48:14PM +0100, Jean-Marc Lasgouttes Andre wrote: I agree that it is next to impossible to guess what is wrong once the error has been made. At least color or minibuffer display should show what is going on. Andre The minibuffer shows the textrm when the cursor passes over Andre the wrong alpha. Are you sure it does? I do not see it here. Andre I could try to change the colour to black for fonts called Andre text*, if that helps. That would certainly be welcome. JMarc
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:02:18PM +0100, Jean-Marc Lasgouttes wrote: Andre The minibuffer shows the textrm when the cursor passes over Andre the wrong alpha. Are you sure it does? I do not see it here. Fairly sure... Andre I could try to change the colour to black for fonts called Andre text*, if that helps. That would certainly be welcome. Patch attached. It basically says don't change the colour just because it is a symbol, take the colour of the surroundings instead. Which gives now blue or black \alphas depending on whether it is ordinary math or math text. Lars? Andre' Index: math_support.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_support.C,v retrieving revision 1.63 diff -u -p -r1.63 math_support.C --- math_support.C 9 Dec 2002 13:04:15 - 1.63 +++ math_support.C 10 Dec 2002 17:04:16 - @@ -538,14 +538,14 @@ fontinfo fontinfos[] = { {mathrm, LyXFont::ROMAN_FAMILY, inh_series, inh_shape, LColor::math}, {mathsf, LyXFont::SANS_FAMILY, inh_series, inh_shape, LColor::math}, {mathbb, LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::math}, - {cmex, LyXFont::CMEX_FAMILY, inh_series, inh_shape, LColor::math}, - {cmm,LyXFont::CMM_FAMILY, inh_series, inh_shape, LColor::math}, - {cmr,LyXFont::CMR_FAMILY, inh_series, inh_shape, LColor::math}, - {cmsy, LyXFont::CMSY_FAMILY, inh_series, inh_shape, LColor::math}, - {eufrak, LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::math}, - {msa,LyXFont::MSA_FAMILY, inh_series, inh_shape, LColor::math}, - {msb,LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::math}, - {wasy, LyXFont::WASY_FAMILY, inh_series, inh_shape, LColor::math}, + {cmex, LyXFont::CMEX_FAMILY, inh_series, inh_shape, LColor::none}, + {cmm,LyXFont::CMM_FAMILY, inh_series, inh_shape, LColor::none}, + {cmr,LyXFont::CMR_FAMILY, inh_series, inh_shape, LColor::none}, + {cmsy, LyXFont::CMSY_FAMILY, inh_series, inh_shape, LColor::none}, + {eufrak, LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::none}, + {msa,LyXFont::MSA_FAMILY, inh_series, inh_shape, LColor::none}, + {msb,LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::none}, + {wasy, LyXFont::WASY_FAMILY, inh_series, inh_shape, LColor::none}, {text, inh_family, inh_series, inh_shape, LColor::black}, {textbf, inh_family, LyXFont::BOLD_SERIES, inh_shape, LColor::black}, {textit, inh_family, inh_series, LyXFont::ITALIC_SHAPE, LColor::black},
Re: qt and math panel
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Tue, Dec 10, 2002 at 06:02:18PM +0100, Jean-Marc Lasgouttes Andre wrote: The minibuffer shows the textrm when the cursor passes Andre over the wrong alpha. Are you sure it does? I do not see it here. Andre Fairly sure... Can you tell me what are the steps needed to see that? I did a simple 1/ type \alpha 2/ select this text 3/ M-m m If I move the cursor in the math inset I see nothing interesting. JMarc
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:13:03PM +0100, Jean-Marc Lasgouttes wrote: Andre Fairly sure... Can you tell me what are the steps needed to see that? I did a simple 1/ type \alpha 2/ select this text 3/ M-m m Completely sufficient. If I move the cursor in the math inset I see nothing interesting. When moving from left to right you should see in the minibuffer: Font Default Paragraph 0 Math editor mode. Math editor mode Type simple Font textrm Math editor mode Type simple Font textrm Symbol alpha Math editor mode Type simple Font Default Paragraph 0 Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:52:21PM +0100, Andre Poenitz wrote: There is another similar example we have discussed before, user opens a new document, insert math-case, compiling error! I would switch AMS on by default, that would cure the problem. But that drew too much flak a while ago... We can not blame users' lack of knowledge of latex, this might exactly be the reason why they use lyx instead of plain latex. I introduced lyx to many of my friends and they all became happy lyx-ers. However, most of them encountered this problem sooner or later and had to ask me for a solution. It definitely needs a while for new users to know how (and why) to add \usepackage{amsmath} to preamble. If this problem is not in bugzilla, I would like to add it as feature request. -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:13:03PM +0100, Jean-Marc Lasgouttes wrote: Can you tell me what are the steps needed to see that? I did a simple 1/ type \alpha 2/ select this text 3/ M-m m A more natural way to produce this error is when a user want to input things like $=1 \text{w.p. } \alpha$. 1) M-m m enter math mode 2) =1 math-mode 3) M-m m enter text mode 4) w.p. pure text 5) M-m g a\alpha in the wrong place. I mean, no one would really select \alpha and try to convert it to text mode. This error occurs most likely when user is in textmode and try to enter some math symbol, -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 06:04:59PM +0100, Andre Poenitz wrote: Andre I could try to change the colour to black for fonts called Andre text*, if that helps. That would certainly be welcome. Patch attached. It basically says don't change the colour just because it is a symbol, take the colour of the surroundings instead. Which gives now blue or black \alphas depending on whether it is ordinary math or math text. Thank you Andre'! This will definitely help. Anyway, what is the improvements of 1.3's math-mode than 1.2.1? I understand that 1.3 change this behavior (from binary math/text to nested) on purpose but as far as I concern, I am pretty satisfied with what lyx1.2's math-mode does and see no need of change... -- Bo Peng
Re: qt and math panel
On Tue, Dec 10, 2002 at 11:36:55AM -0600, Bo Peng wrote: solution. It definitely needs a while for new users to know how (and why) to add \usepackage{amsmath} to preamble. There's a checkbox in document dialog If this problem is not in bugzilla, I would like to add it as feature request. No point, it is lyx-devel flamewar subject john -- Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true. - Paul Graham
Re: qt and math panel
On Tue, Dec 10, 2002 at 05:52:21PM +0100, Andre Poenitz wrote: What makes a fix reasonable is that lyx 1.2 gracefully allows users to enter \alpha,\sum etc without worrying about text or math mode and we are spoiled! You could try again to explain how this should be handled in a easy-to-understandi (for me and the users...) one-size-fits-all manner. I could disallow direct entering of \alpha in math text mode but apart from not liking that idea there is no simple way to extend this to conversion (mark something, press C-m). Yes I also think you should do that. I think it is fine to not allow insertion of any of the symbols defined in lib/symbols into \textrm (even though some of them may be usable in text mode).
Re: qt and math panel
On Tue, Dec 10, 2002 at 11:01:19PM +0200, Dekel Tsur wrote: rstandi (for me and the users...) one-size-fits-all manner. I could disallow direct entering of \alpha in math text mode but apart from not liking that idea there is no simple way to extend this to conversion (mark something, press C-m). Yes I also think you should do that. I think it is fine to not allow insertion of any of the symbols defined in lib/symbols into \textrm (even though some of them may be usable in text mode). In lyx1.2, entering \alpha in text mode will result in a math-mode \alpha. Why cannot this be continued? Andre' said that lyx used binary switch and now uses nested switch between text/math modes but I guess it is still possible to automatically turn to math-mode when math symbol is input in text mode. -- Bo Peng
Table confusion
o why do I have to set a fixed width in order to control a cells' vertical alignment ? And why does it make no difference when I do choose it ? o why doesn't xforms let me set widths to text% etc. ? o how can I set horiztonal alignment on just a cell ? regards john -- Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true. - Paul Graham
cvs 1.3 lyx doc (Tutorial, TOC etc)
I could not find Tutorial.lyx etc from lyx-devel cvs. Is it supposed to be here? As a result, I can not use Help-Tutorial. (no share/lyx/doc/Tutorial.lyx etc.) -- Bo Peng
Re: cvs 1.3 lyx doc (Tutorial, TOC etc)
On Tue, Dec 10, 2002 at 04:21:43PM -0600, Bo Peng wrote: I could not find Tutorial.lyx etc from lyx-devel cvs. Is it supposed to be here? As a result, I can not use Help-Tutorial. (no share/lyx/doc/Tutorial.lyx etc.) it's in lyxdoc CVS module john -- Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true. - Paul Graham
Re: building lyx1.2.1 on MacOSX
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. Just curious. If you are already using fink, then why do you need to compile Lyx separately? If you are using 0.5.0 version of fink, then Lyx 1.2.1 is provided as a pre-complied binary that can be installed using dselect. If for some reason you want to compile from source, then you can do this via fink - - -- fink install lyx will compile version 1.2.1 from source. If you have a version of fink prior to 0.5.0 -- 0.4.1 for example -- then I can see why you might want to compile fink from scratch since the lyx that is offered as binaries in previous versions of fink is 1.1.6-fix3. But, the files necessary to compile 1.2.1 are available in the unstable directories. Simply edit your fink.conf file (the default location is /sw/etc/fink.conf) to include the unstable tree then do fink install lyx. This will compile 1.2.1. Since version 0.5.0 resolves the issues present in 0.4.1 with respect to 10.2.x compatibility, you may want to upgrade to 0.5.0 in any case. Hope this helps. Tomoharu Nishino On Sunday, December 8, 2002, at 02:38 AM, Torsten Hahn wrote: Hi, i use MacOSX 10.2.2 an tried to build lyx. I uses fink to install the xforms library (version 0.89-2). Then i downloaded the lyx1.2.1 source from the lyx.org website. Now the ./configure script does not find the xforms-library files and headers, because they are in /sw/lib and /sw/include. How can i tell ./configure to use these path's also ? Thanks, Torsten. -- Dipl. Nat. Torsten Hahn Institut für Experimentelle Physik / TU Bergakademie Freiberg mail: [EMAIL PROTECTED] Tel.: +49 (0) 3731 392670 -BEGIN PGP SIGNATURE- Version: PGP 8.0 iQA/AwUBPfZhmUtUKCjW1vDuEQIHZwCfZDxJnkMv55xuGV+zNq+pdM9AfNgAnRWf T5LNsS3Ek/BZ9YFeAgsbFvjW =RaQt -END PGP SIGNATURE-
cvs1.3: screen font problem?
I can not remember what I changed from the preference dialog but suddenly, lyx 1.3cvs can not display Greek letters correctly. \alpha is displayed as trademark sign, \delta is \pm... What is happening? -- Bo Peng
Re: latex font question
Thanks I was just wanting to know how this was done as I could not find anything in the .cls or .layout files that would do this. I was also wondering if I could use this to replace words with some scientific notation without seeing all the mess in lyx. Andre Poenitz wrote: On Tue, Dec 10, 2002 at 04:54:28PM +1030, Owen Lucas wrote: I want to know where and how Latex recognises Latex and puts the word Latex in the latex wacky superscript subscript font? ie where it sees LaTeX it puts \LaTeX{} LaTeX never does this. In case of LyX there is some braindead hard-coded mapping in src/paragraph_pimpl.C. Andre'
LyX-Code Paragraph Environment
Can someone please help me modify the size of the text when using the LyX-Code paragraph environment? Ideally I would like to create a new paragraph environment, but thought that it would be easier to modify an existing one. Thanks in advance. Cheers, Paul
Filling tables with text
I have a long text file that I wish to put in a Lyx table. Is there anyway to do this without having to cut and past individual values in to each cell? cheers owen Ag 328.07 0.0001 Al 396.15 0.1 As 193.70 0.1 Au 267.60 0.005 Be 234.86 0.01 Bi 223.06 0.005 Ca 422.67 0.02 Cd 228.80 0.0l Co 240.73 0.005 Cr 357.87 0.05 Cu 324.70 0.001 Fe 248.33 0.008 Ga 417.21 0.01 Ge 265.12 0.1 Hg 253.65 0.08 In 410.48 0.1 Ir 254.40 100 Mg 285.21 0.001 Mn 279.48 0.006 Mo 313.26 0.5 Ni 232.00 0.003 Pb 405.78 0.01 Pd 340.46 0.04 Pt 265.95 50 Rh 369.24 3 Ru 372.80 100 Sb 231.15 0.05 Se 196.03 0.04 Si 251.61 0.6 Sn 303.41 0.1 Sr 460.73 0.03 Te 214.28 0.04 Ti 319.99 4 Tl 377.57 0.008 V 318.40 0.07 Zn 213.86 0.2
Re: latex font question
what do you mean by putting words in scientific notation? Owen Lucas wrote: Thanks I was just wanting to know how this was done as I could not find anything in the .cls or .layout files that would do this. I was also wondering if I could use this to replace words with some scientific notation without seeing all the mess in lyx. Andre Poenitz wrote: On Tue, Dec 10, 2002 at 04:54:28PM +1030, Owen Lucas wrote: I want to know where and how Latex recognises Latex and puts the word Latex in the latex wacky superscript subscript font? ie where it sees LaTeX it puts \LaTeX{} LaTeX never does this. In case of LyX there is some braindead hard-coded mapping in src/paragraph_pimpl.C. Andre'
Re: qt and math panel
On Tue, Dec 10, 2002 at 11:52:55AM -0600, Bo Peng wrote: Thank you Andre'! This will definitely help. I just commited the patch. Anyway, what is the improvements of 1.3's math-mode than 1.2.1? Improvements... the big one is probably the ability to handle \mbox, \fbox and other mode switching commands more or less correctly. Handling of {}. Apart from that it is mostly internal stuff. A couple of new symbols like support for wasy etc. Somewhat better parser. Some bug fixes. I understand that 1.3 change this behavior (from binary math/text to nested) on purpose but as far as I concern, I am pretty satisfied with what lyx1.2's math-mode does and see no need of change... And some people are satisfied with 1.1.6. The problem is, the older versions do some things conceptually wrong. Like nested math/text which was impossible to support with 1.1/1.2 internal structures. (I do not mean switching just once from math to text, but to embed new math in the text. And, yes, this is done pretty often in plain LaTeX). So we basically had a choice: Live with 1.1.6/1.2 and never be able to implement e.g. \mbox, or try to get it right. I opted for the latter, but I do not claim that it is right now already, but it is certainly better. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: qt and math panel
On Tue, Dec 10, 2002 at 03:22:12PM -0600, Bo Peng wrote: In lyx1.2, entering \alpha in text mode will result in a math-mode \alpha. Why cannot this be continued? Andre' said that lyx used binary switch and now uses nested switch between text/math modes but I guess it is still possible to automatically turn to math-mode when math symbol is input in text mode. Should \alpha in text mode switch back to the enclosing level of math or create a new level of math? What if the enclosing level is another level of text? Like an \fbox in an \fbox? Should it break that, too? I still believe there is no obviously correct solution and unless we find one I'd rather stick to the you get what you order mantra. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Filling tables with text
save your file as CSV file with tab seperated column. with the program csv2lyx you can get a lyx file from this csv. The program could be found in the download lyx directory (as I remember). If not I can send the program for you. Wayan On Wed, 11 Dec 2002, Owen Lucas wrote: | Date: Wed, 11 Dec 2002 17:19:42 +1030 | From: Owen Lucas [EMAIL PROTECTED] | To: [EMAIL PROTECTED] | Subject: Filling tables with text | | I have a long text file that I wish to put in a Lyx table. Is there | anyway to do this without having to cut and past individual values in to | each cell? | | cheers | owen | | | Ag 328.07 0.0001 | Al 396.15 0.1 | As 193.70 0.1 | Au 267.60 0.005 | Be 234.86 0.01 | Bi 223.06 0.005 | Ca 422.67 0.02 | Cd 228.80 0.0l | Co 240.73 0.005 | Cr 357.87 0.05 | Cu 324.70 0.001 | Fe 248.33 0.008 | Ga 417.21 0.01 | Ge 265.12 0.1 | Hg 253.65 0.08 | In 410.48 0.1 | Ir 254.40 100 | Mg 285.21 0.001 | Mn 279.48 0.006 | Mo 313.26 0.5 | Ni 232.00 0.003 | Pb 405.78 0.01 | Pd 340.46 0.04 | Pt 265.95 50 | Rh 369.24 3 | Ru 372.80 100 | Sb 231.15 0.05 | Se 196.03 0.04 | Si 251.61 0.6 | Sn 303.41 0.1 | Sr 460.73 0.03 | Te 214.28 0.04 | Ti 319.99 4 | Tl 377.57 0.008 | V 318.40 0.07 | Zn 213.86 0.2 | |
Re: latex font question
Well its a bit hard to show you with just text but sometimes I use typed notation which should be a lot more and it would take a long time to type in with tex or the maths panel. It would be nice to be able to type in (1,0) and have it magically end up as all the maths (spectroscopic) stuff it should be. And to your question on lyxcode try puting \renewenvironment{lyxcode} {\begin{list}{}{\huge\ttfamily}\item[]} {\end{list}} in your preamble. You shuld have just come down and I would have given it to you. cheers owen Paul Medwell wrote: what do you mean by putting words in scientific notation? Owen Lucas wrote: Thanks I was just wanting to know how this was done as I could not find anything in the .cls or .layout files that would do this. I was also wondering if I could use this to replace words with some scientific notation without seeing all the mess in lyx. Andre Poenitz wrote: On Tue, Dec 10, 2002 at 04:54:28PM +1030, Owen Lucas wrote: I want to know where and how Latex recognises Latex and puts the word Latex in the latex wacky superscript subscript font? ie where it sees LaTeX it puts \LaTeX{} LaTeX never does this. In case of LyX there is some braindead hard-coded mapping in src/paragraph_pimpl.C. Andre'
Re: cvs 1.3 lyx doc (Tutorial, TOC etc)
On Tue, Dec 10, 2002 at 04:21:43PM -0600, Bo Peng wrote: I could not find Tutorial.lyx etc from lyx-devel cvs. Is it supposed to be here? As a result, I can not use Help-Tutorial. (no share/lyx/doc/Tutorial.lyx etc.) The docs are in a seperate cvs module (lyx-doc) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Filling tables with text
thanks that worked well I didnt even need to put the tab in. just needed to add --separator=' ' at the command line for others (particularly in Australia)I got it at ftp://mirror.aarnet.edu.au/pub/lyx/contrib/csv2lyx-1.0.0.tar.gz cheers owen I Wayan Warmada wrote: save your file as CSV file with seperated column. with the program csv2lyx you can get a lyx file from this csv. The program could be found in the download lyx directory (as I remember). If not I can send the program for you. Wayan
line thickness of \hrule
Hi, I want to adjust the thickness of the line when you use the \hrule in lyx 1.1.6 (under title for exemple): layout->Paragraph->General->lines (below) Is there a way to control the thickness of the line in lyx like \setlength{\hrule ...}{3pt} Thank's Francois -- +-+ | François Beaubert | | Ecole des Mines de Nantes | | 4 rue Alfred Kastler BP 20722 44307 Nantes Cedex 3 France | | Telephone : (0/33)2.51.85.82.58 Telecopie : (0/33)2.51.85.82.99| | [EMAIL PROTECTED] | +-+
Re: QT compile problems.
> "Aide" == Aide Florent <[EMAIL PROTECTED]> writes: Aide> Hi, >> translations. By making the french translation up to date you will >> get more/all the english strings into french. Aide> I looked into the fr.po file but everything is correctly Aide> translated... Maybe the po file needs to be regenerated to Aide> reflect the "new" strings ? Florent, if you want to help on translation for 1.3.0cvs, please contact [EMAIL PROTECTED], who is in charge of docs and interface translation for now. Maybe he can use some help, but I bet that he is waiting for the first prerelease before updating fr.po. JMarc
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 09:47:02AM +0100, François BEAUBERT wrote: > I want to adjust the thickness of the line when you use the \hrule in lyx > 1.1.6 (under title for exemple): > > layout->Paragraph->General->lines (below) > > Is there a way to control the thickness of the line in lyx like > \setlength{\hrule ...}{3pt} You could put \hrule height=3pt width=\textwidth in ERT I believe. If you need it several times, define a macro in the preamble. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: building lyx1.2.1 on MacOSX
> "Torsten" == Torsten Hahn <[EMAIL PROTECTED]> writes: Torsten> ld: Undefined symbols: Torsten> boost::detail::crc_table_t<(unsigned long)32, Torsten> (unsigned)79764919, (bool)1>::table_ make[3]: *** [lyx] Error This one will be fixed in 1.2.2. The fix can be found for now the following bugzilla comment: http://bugzilla.lyx.org/show_bug.cgi?id=425#c13 JMarc
Re: export to LaTeX replace ">" by \textless{} and ">" by \textgreater{}. Why?
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Sun, Dec 08, 2002 at 08:45:01PM -0500, Noel Beaney wrote: >> I have used \usepackage[T1]{fontenc} in the preamble to overcome >> this problem. Dekel> The correct solution is to open the preferences dialog, go to Dekel> the Output> Misc tab, and change the TeX encoding to "T1". However, if it was not set already, there may be a problem in your distribution. JMarc
Re: line thickness of \hrule
Andre Poenitz sagte: > On Tue, Dec 10, 2002 at 09:47:02AM +0100, François BEAUBERT wrote: >> I want to adjust the thickness of the line when you use the \hrule in >> l > yx >> 1.1.6 (under title for exemple): >> >> layout->Paragraph->General->lines (below) >> >> Is there a way to control the thickness of the line in lyx like >> \setlength{\hrule ...}{3pt} > > You could put \hrule height=3pt width=\textwidth in ERT I believe. you should use LaTeX, not TeX \rule{\textwidth}{3pt} or \hrulefill Herbert -- Dr.-Ing Herbert Voss [EMAIL PROTECTED]
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 10:15:30AM +0100, Herbert Voss wrote: > > You could put \hrule height=3pt width=\textwidth in ERT I believe. > > you should use LaTeX, not TeX Hmp... I've seen too much TeX lately... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: line thickness of \hrule
On Tue, Dec 10, 2002 at 09:47:02AM +0100, Fran?ois BEAUBERT wrote: > I want to adjust the thickness of the line when you use the \hrule in lyx > 1.1.6 (under title for exemple): > > layout->Paragraph->General->lines (below) > > Is there a way to control the thickness of the line in lyx like > \setlength{\hrule ...}{3pt} Add to the preamble: \renewcommand{\lyxline}[1]{ {#1 \vspace{1ex} \hrule height 1pt width \columnwidth \vspace{1ex}} }
Re: Using Noun Style for SGML tags
José Matos wrote: > On Friday 06 December 2002 10:04, Chris Lale wrote: > >>I am using DocBook article (SGML)in Lyx 1.1.6fix4. I make much use of a >>few inline SGML tags eg some text. > > Instead of adding this kind of hacks I would prefer to work in the full > solution, as it is easier to maintain in the long term. And the proper fix is > to add support for styles in lyx. > > If you still want to make this work, I can give some tips where to look for. > Actually you only need to change the code in one function, so it shouldn't be > too hard. If this means modifying text configuration files, yes please - I will have a go. I am not proficient in C though. > > Now if you want to fake some styles we can use the colours, that clearly > don't have any counterparts in docbook and use them for different styles. But > this only shows how much we need real user defined styles in lyx. I did try this (modified from the troubleshooters.com Linux Productivity Magazine), but it did not work in 'DocBook article (SGML)': Layout > LaTex Preamble... % %%% Pseudo character styles indexed by color %%% \usepackage{ifthen} \providecommand{\textcolor}[2]{#2} \renewcommand{\textcolor}[2]{% \ifthenelse{\equal{#1}{blue}}{{{#2}}}{}% SGML filename tags \ifthenelse{\equal{#1}{magenta}}{{\large{\texttt{#2{}%Large text \ifthenelse{\equal{#1}{magenta}\or\equal{#1}{blue}}{}{#2}%fallthrough } Here is the text in Lyx ('myfile' is blue and 'Large' is magenta): newbie test myfile Large text This produced unaltered text when viewed in DVI. With Export > DocBook, the SGML file contained no tags: newbie test myfile Large text Also, the preamble was printed at the top of both the DVI and the SGML documents. If I change the document from 'DocBook article (SGML)' to 'article' and view in DVI, the magenta text is in large type, and the preamble is not printed at the top. Any ideas? Cheers, Chris. -- : ___ Chris Lale <[EMAIL PROTECTED]> : : / \ : : | <_/ My PC runs Debian GNU/Linux 3.0. : : \ Robust, secure and free operating system + applications. : : \ Available at http://www.debian.org :
Re: qt and math panel
El Mar 10 Dic 2002 02:26, escribió: > I'm proud to say that my freshly compiled LyX doesn't have that > problem. That's Qt2. Maybe the problem is with Qt3? > > Just trying to identify... > Maybe you are rigth, I am using QT3. But for now i return to the 'safe' xforms. Osvaldo > John -- Dr. Osvaldo Fornaro <[EMAIL PROTECTED]> Universidad Nacional del Centro de la Provincia de Buenos Aires Instituto de Física de Materiales Tandil - CICPBA Pinto 399 (B7000GHG) Argentina