Re: LyX terrible converting images
Andre Poenitz wrote: Have you tried to run xfig's exported .eps files through 'eps2eps'? It makes pretty compact .eps... Much more complicated idea would be to produce Metapost sources instead of xfig -- interposing of Bezier curves over set of points is very simple in MP. However, of course, it is very complicated and substantial step. Matej -- Matej Cepl, Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri. -- Douglas Adams
alphabetic order for style list?
Dear List, Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long. Thanks. -- Bo Peng
Re: Option to set all ERT's to 'inline'
On Tue, Feb 18, 2003 at 10:51:00AM +, Angus Leeming wrote: Yes. The API is the right place to do this. However, I believe that there is already an LFUN_INSET_TOGGLE (type 'inset-toggle' in the minibuffer) that calls text2.C's toggleInset. Perhaps you could make use of this? You'd probably need to modify this function so that it cycles between all 3 states. Alternatively, of course a new LFUN: LFUN_COLLAPSIBLE_INSET_SET_STATE to be used as 'inset-setstate open/closed/inlined'. Then you'd need an LFUN to loop over all insets and execute an arbitrary command on each. Finally, bind this super LFUN to a key and you're done ;-) OK. I like this 'finally' thing. :-) I will register a bug and do it when I get a chance. -- Bo Peng
DocBook - HTML problem
Hello, I am running Lyx 1.3.0 from RH8 rpm Document Layout for manual.lyx is DocBook book (SGML) My converter preferences for DocBook - HTML indicate db2html $$iwith no extra flag. Viewer for HTML ismozilla file://$$p$$i temporary directory is /tmp When I work on manual.lyx and run View-HTML the browser opens on the non-existing location file:///tmp/lyx_tmpdir27585xtl0ry/lyx_tmpbuf0/manual.html The output (Table of Contents) looks fine if look at it as file:///tmp/lyx_tmpdir27585xtl0ry/lyx_tmpbuf0/manual/book1.html However if I serve the same directory via HTTPD and point to http://localhost/manual/book1.html I will not see the TOC, but an all-comprehensive page with interspersed nonprintable characters. Also, when I exit Lyx, I will get a sequence of errors Could not remove /tmp/lyx* Is a directory Thanks in advance for your help... Johnny
Re: alphabetic order for style list?
Better still, I would like there to be a field in the .layout files where I can list the environments in the order I prefer them to be in. This would be particularly useful as different layouts sometimes have the same environments in different orders which can be confusing. Thanks Ralph Boland Bo Peng wrote: Dear List, Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long. Thanks.
Re: paper numbers and paragraphs
Thanks very much Matej for the advice. I followed it and got the following error message upon compiling Undefined control sequence. The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Also do you or anyone have any suggestions on how to make the second and subsequent, but not the first lines of a paragraph indented. Also I need the columns on the last page of a two-column document of even length. Google searches and the LyX-tips hasn't helped, though I vaguely remember seeing something on the last point several moons back on this list. Thanks all Tim Matej Cepl wrote: Timothy J. Garrett wrote: I want to put a paper number flush left on the same line as a centered title. It should appear something like this: 10.2 The Title of my Paper Can't figure out how to do it. You probably need to redefine the \maketitle macro. If you by chance use article (koma-script) (and if you don't, you should), then something like this (in Layout/Document/Preamble) should work: \newcommand{\mytitleno}{XXX} \renewcommand*{\@maketitle}{% \clearpage \let\footnote\thanks \ifx\@extratitle\@empty \else \noindent\@extratitle \next@tpage \if@twoside \null\next@tpage \fi \fi \ifx\@titlehead\@empty \else \noindent\begin{minipage}[t]{\textwidth} \@titlehead \end{minipage}\par \fi \null \vskip 2em% {\titlefont\huge \mytitleno \hfill \@title \hfill \par}% \vskip 1.5em% \begin{center}% {\Large \lineskip .5em% \begin{tabular}[t]{c}% \@author \end{tabular}\par}% \vskip 1em% {\Large \@date \par}% \vskip \z@ \@plus 1em \end{center}% \par \vskip 2em} and then replace XXX in the defintion of \mytitleno with the real number, you wish to put into title. Does it work? Matej -- * Tim Garrett Phone: 801-581-5768 Assistant Professor Fax: 801-585-3681 Meteorology Department email: [EMAIL PROTECTED] University of Utah 135 S 1460 E, Rm 819 Salt Lake City UT 84112-0110 *
Re: latex pdf and TTfonts
Paolo Ariano asked: i'm writing an article in latex using lyx on a GNU/Linux debian, i save my pdf, then i've to make a poster to present my data: if i open my pdf in Macromedia Freehand there are a lot of fonts errors and it is unusable .pdf isn't really intended as an editable graphics interchange format, and Macromedia FreeHand unfortunately doesn't have an option to place them. You also may or may not have the fonts installed for the document so that FH can set the document. If you generate a .eps instead, or use Adobe Acrobat or a similar tool to directly convert the .pdf to a .eps, you could place the .eps in Freehand w/o problems (I do this on my NeXT Cube w/ Altsys Virtuoso 2 ~= Macromedia FreeHand v4) and annotate / mark up / add elements. Going the other way (making a .eps or .pdf w/ FreeHand and placing that in a (La)TeX document) works fine of course. now i would to solve the problem on my lyx/latex using something like true type fonts but i really don't know a start point I recently posted a message of pointers on how to install fonts for (La)TeX William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: crazy crazy symbol question
Looks the same under Ghostview and acroread so its probably something else. cheers owen Steven Homolya wrote: On Wed, 19 Feb 2003, owen lucas wrote: I would like to use a symbol from the marvosym package. i have put \usepackage{marvosym} in my preamble and some symbols work some don't has it got anything to do with the viewer? What viewer is it? Xdvi: yes, probably it's the viewer. Ghostview, acroread: it's probably something else.
Re: LyX WYSIWYM document processor???
On Mon, 17 Feb 2003 15:36:50 +0100 Herbert Voss [EMAIL PROTECTED] wrote: Adinda Praditya schrieb: Have look the file and convert it to DVI or PDF Do you guys know what's wrong with the file? \language english what is the right language? I guess Indonesian. Martijn (Dutch)
Re: LyX WYSIWYM document processor???
On Wed, 19 Feb 2003, Martijn Brouwer wrote: | I guess Indonesian. There is no Indonesian in LaTeX babel, but bahasa (as I know) Wayan
Re: alphabetic order for style list?
You can manually change the ordering of the styles by using something like the following in your .layout file. --- #Sort the order of the styles Style Standard End Style Chapter End Style Section End Style Subsection End Style Subsubsection End Style Paragraph End Style List End --- This should put force them to appear in that order, starting from the top, and anything not explicity listed will follow. That way, you can put the most frequently used styles near the top (or bottom) of the list, where they are easier to find. Hope this helps. Regards, Paul Medwell Bo Peng wrote: Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long.
Re: LyX terrible converting images
Andre Poenitz wrote: Have you tried to run xfig's exported .eps files through 'eps2eps'? It makes pretty compact .eps... Much more complicated idea would be to produce Metapost sources instead of xfig -- interposing of Bezier curves over set of points is very simple in MP. However, of course, it is very complicated and substantial step. Matej -- Matej Cepl, Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri. -- Douglas Adams
alphabetic order for style list?
Dear List, Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long. Thanks. -- Bo Peng
Re: Option to set all ERT's to 'inline'
On Tue, Feb 18, 2003 at 10:51:00AM +, Angus Leeming wrote: Yes. The API is the right place to do this. However, I believe that there is already an LFUN_INSET_TOGGLE (type 'inset-toggle' in the minibuffer) that calls text2.C's toggleInset. Perhaps you could make use of this? You'd probably need to modify this function so that it cycles between all 3 states. Alternatively, of course a new LFUN: LFUN_COLLAPSIBLE_INSET_SET_STATE to be used as 'inset-setstate open/closed/inlined'. Then you'd need an LFUN to loop over all insets and execute an arbitrary command on each. Finally, bind this super LFUN to a key and you're done ;-) OK. I like this 'finally' thing. :-) I will register a bug and do it when I get a chance. -- Bo Peng
DocBook - HTML problem
Hello, I am running Lyx 1.3.0 from RH8 rpm Document Layout for manual.lyx is DocBook book (SGML) My converter preferences for DocBook - HTML indicate db2html $$iwith no extra flag. Viewer for HTML ismozilla file://$$p$$i temporary directory is /tmp When I work on manual.lyx and run View-HTML the browser opens on the non-existing location file:///tmp/lyx_tmpdir27585xtl0ry/lyx_tmpbuf0/manual.html The output (Table of Contents) looks fine if look at it as file:///tmp/lyx_tmpdir27585xtl0ry/lyx_tmpbuf0/manual/book1.html However if I serve the same directory via HTTPD and point to http://localhost/manual/book1.html I will not see the TOC, but an all-comprehensive page with interspersed nonprintable characters. Also, when I exit Lyx, I will get a sequence of errors Could not remove /tmp/lyx* Is a directory Thanks in advance for your help... Johnny
Re: alphabetic order for style list?
Better still, I would like there to be a field in the .layout files where I can list the environments in the order I prefer them to be in. This would be particularly useful as different layouts sometimes have the same environments in different orders which can be confusing. Thanks Ralph Boland Bo Peng wrote: Dear List, Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long. Thanks.
Re: paper numbers and paragraphs
Thanks very much Matej for the advice. I followed it and got the following error message upon compiling Undefined control sequence. The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. Also do you or anyone have any suggestions on how to make the second and subsequent, but not the first lines of a paragraph indented. Also I need the columns on the last page of a two-column document of even length. Google searches and the LyX-tips hasn't helped, though I vaguely remember seeing something on the last point several moons back on this list. Thanks all Tim Matej Cepl wrote: Timothy J. Garrett wrote: I want to put a paper number flush left on the same line as a centered title. It should appear something like this: 10.2 The Title of my Paper Can't figure out how to do it. You probably need to redefine the \maketitle macro. If you by chance use article (koma-script) (and if you don't, you should), then something like this (in Layout/Document/Preamble) should work: \newcommand{\mytitleno}{XXX} \renewcommand*{\@maketitle}{% \clearpage \let\footnote\thanks \ifx\@extratitle\@empty \else \noindent\@extratitle \next@tpage \if@twoside \null\next@tpage \fi \fi \ifx\@titlehead\@empty \else \noindent\begin{minipage}[t]{\textwidth} \@titlehead \end{minipage}\par \fi \null \vskip 2em% {\titlefont\huge \mytitleno \hfill \@title \hfill \par}% \vskip 1.5em% \begin{center}% {\Large \lineskip .5em% \begin{tabular}[t]{c}% \@author \end{tabular}\par}% \vskip 1em% {\Large \@date \par}% \vskip \z@ \@plus 1em \end{center}% \par \vskip 2em} and then replace XXX in the defintion of \mytitleno with the real number, you wish to put into title. Does it work? Matej -- * Tim Garrett Phone: 801-581-5768 Assistant Professor Fax: 801-585-3681 Meteorology Department email: [EMAIL PROTECTED] University of Utah 135 S 1460 E, Rm 819 Salt Lake City UT 84112-0110 *
Re: latex pdf and TTfonts
Paolo Ariano asked: i'm writing an article in latex using lyx on a GNU/Linux debian, i save my pdf, then i've to make a poster to present my data: if i open my pdf in Macromedia Freehand there are a lot of fonts errors and it is unusable .pdf isn't really intended as an editable graphics interchange format, and Macromedia FreeHand unfortunately doesn't have an option to place them. You also may or may not have the fonts installed for the document so that FH can set the document. If you generate a .eps instead, or use Adobe Acrobat or a similar tool to directly convert the .pdf to a .eps, you could place the .eps in Freehand w/o problems (I do this on my NeXT Cube w/ Altsys Virtuoso 2 ~= Macromedia FreeHand v4) and annotate / mark up / add elements. Going the other way (making a .eps or .pdf w/ FreeHand and placing that in a (La)TeX document) works fine of course. now i would to solve the problem on my lyx/latex using something like true type fonts but i really don't know a start point I recently posted a message of pointers on how to install fonts for (La)TeX William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: crazy crazy symbol question
Looks the same under Ghostview and acroread so its probably something else. cheers owen Steven Homolya wrote: On Wed, 19 Feb 2003, owen lucas wrote: I would like to use a symbol from the marvosym package. i have put \usepackage{marvosym} in my preamble and some symbols work some don't has it got anything to do with the viewer? What viewer is it? Xdvi: yes, probably it's the viewer. Ghostview, acroread: it's probably something else.
Re: LyX WYSIWYM document processor???
On Mon, 17 Feb 2003 15:36:50 +0100 Herbert Voss [EMAIL PROTECTED] wrote: Adinda Praditya schrieb: Have look the file and convert it to DVI or PDF Do you guys know what's wrong with the file? \language english what is the right language? I guess Indonesian. Martijn (Dutch)
Re: LyX WYSIWYM document processor???
On Wed, 19 Feb 2003, Martijn Brouwer wrote: | I guess Indonesian. There is no Indonesian in LaTeX babel, but bahasa (as I know) Wayan
Re: alphabetic order for style list?
You can manually change the ordering of the styles by using something like the following in your .layout file. --- #Sort the order of the styles Style Standard End Style Chapter End Style Section End Style Subsection End Style Subsubsection End Style Paragraph End Style List End --- This should put force them to appear in that order, starting from the top, and anything not explicity listed will follow. That way, you can put the most frequently used styles near the top (or bottom) of the list, where they are easier to find. Hope this helps. Regards, Paul Medwell Bo Peng wrote: Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long.
Re: LyX terrible converting images
Andre Poenitz wrote: > Have you tried to run xfig's exported .eps files through 'eps2eps'? > It makes pretty compact .eps... Much more complicated idea would be to produce Metapost sources instead of xfig -- interposing of Bezier curves over set of points is very simple in MP. However, of course, it is very complicated and substantial step. Matej -- Matej Cepl, Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri. -- Douglas Adams
alphabetic order for style list?
Dear List, Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long. Thanks. -- Bo Peng
Re: Option to set all ERT's to 'inline'
On Tue, Feb 18, 2003 at 10:51:00AM +, Angus Leeming wrote: > Yes. The API is the right place to do this. > However, I believe that there is already an LFUN_INSET_TOGGLE (type > 'inset-toggle' in the minibuffer) that calls text2.C's toggleInset. Perhaps > you could make use of this? You'd probably need to modify this function so > that it cycles between all 3 states. Alternatively, of course a new LFUN: > LFUN_COLLAPSIBLE_INSET_SET_STATE > to be used as 'inset-setstate open/closed/inlined'. > Then you'd need an LFUN to loop over all insets and execute an arbitrary > command on each. > Finally, bind this super LFUN to a key and you're done ;-) OK. I like this 'finally' thing. :-) I will register a bug and do it when I get a chance. -- Bo Peng
DocBook -> HTML problem
Hello, I am running Lyx 1.3.0 from RH8 rpm Document Layout for manual.lyx is DocBook book (SGML) My converter preferences for DocBook -> HTML indicate db2html $$iwith no extra flag. Viewer for HTML ismozilla file://$$p$$i temporary directory is /tmp When I work on manual.lyx and run View->HTML the browser opens on the non-existing location file:///tmp/lyx_tmpdir27585xtl0ry/lyx_tmpbuf0/manual.html The output (Table of Contents) looks fine if look at it as file:///tmp/lyx_tmpdir27585xtl0ry/lyx_tmpbuf0/manual/book1.html However if I serve the same directory via HTTPD and point to http://localhost/manual/book1.html I will not see the TOC, but an all-comprehensive page with interspersed nonprintable characters. Also, when I exit Lyx, I will get a sequence of errors "Could not remove /tmp/lyx* Is a directory" Thanks in advance for your help... Johnny
Re: alphabetic order for style list?
Better still, I would like there to be a field in the .layout files where I can list the environments in the order I prefer them to be in. This would be particularly useful as different layouts sometimes have the same environments in different orders which can be confusing. Thanks Ralph Boland Bo Peng wrote: Dear List, Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long. Thanks.
Re: paper numbers and paragraphs
Thanks very much Matej for the advice. I followed it and got the following error message upon compiling >Undefined control sequence. > > >The control sequence at the end of the top line >of your error message was never \def'ed. If you have >misspelled it (e.g., `\hobx'), type `I' and the correct >spelling (e.g., `I\hbox'). Otherwise just continue, >and I'll forget about whatever was undefined. Also do you or anyone have any suggestions on how to make the second and subsequent, but not the first lines of a paragraph indented. Also I need the columns on the last page of a two-column document of even length. Google searches and the LyX-tips hasn't helped, though I vaguely remember seeing something on the last point several moons back on this list. Thanks all Tim Matej Cepl wrote: Timothy J. Garrett wrote: I want to put a paper number flush left on the same line as a centered title. It should appear something like this: 10.2 The Title of my Paper Can't figure out how to do it. You probably need to redefine the \maketitle macro. If you by chance use "article (koma-script)" (and if you don't, you should), then something like this (in Layout/Document/Preamble) should work: \newcommand{\mytitleno}{XXX} \renewcommand*{\@maketitle}{% \clearpage \let\footnote\thanks \ifx\@extratitle\@empty \else \noindent\@extratitle \next@tpage \if@twoside \null\next@tpage \fi \fi \ifx\@titlehead\@empty \else \noindent\begin{minipage}[t]{\textwidth} \@titlehead \end{minipage}\par \fi \null \vskip 2em% {\titlefont\huge \mytitleno \hfill \@title \hfill \par}% \vskip 1.5em% \begin{center}% {\Large \lineskip .5em% \begin{tabular}[t]{c}% \@author \end{tabular}\par}% \vskip 1em% {\Large \@date \par}% \vskip \z@ \@plus 1em \end{center}% \par \vskip 2em} and then replace XXX in the defintion of \mytitleno with the real number, you wish to put into title. Does it work? Matej -- * Tim Garrett Phone: 801-581-5768 Assistant Professor Fax: 801-585-3681 Meteorology Department email: [EMAIL PROTECTED] University of Utah 135 S 1460 E, Rm 819 Salt Lake City UT 84112-0110 *
Re: latex pdf and TTfonts
Paolo Ariano asked: >i'm writing an article in latex using lyx on a GNU/Linux debian, i save >my pdf, then i've to make a poster to present my data: >if i open my pdf in Macromedia Freehand there are a lot of fonts errors >and it is unusable .pdf isn't really intended as an editable graphics interchange format, and Macromedia FreeHand unfortunately doesn't have an option to place them. You also may or may not have the fonts installed for the document so that FH can set the document. If you generate a .eps instead, or use Adobe Acrobat or a similar tool to directly convert the .pdf to a .eps, you could place the .eps in Freehand w/o problems (I do this on my NeXT Cube w/ Altsys Virtuoso 2 ~= Macromedia FreeHand v4) and annotate / mark up / add elements. Going the other way (making a .eps or .pdf w/ FreeHand and placing that in a (La)TeX document) works fine of course. >now i would to solve the problem on my lyx/latex using something like >true type fonts but i really don't know a start point I recently posted a message of pointers on how to install fonts for (La)TeX William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com
Re: crazy crazy symbol question
Looks the same under Ghostview and acroread so its probably something else. cheers owen Steven Homolya wrote: On Wed, 19 Feb 2003, owen lucas wrote: >I would like to use a symbol from the marvosym package. >i have put \usepackage{marvosym} in my preamble and some symbols work >some don't > >has it got anything to do with the viewer? > What viewer is it? Xdvi: yes, probably it's the viewer. Ghostview, acroread: it's probably something else.
Re: LyX WYSIWYM document processor???
On Mon, 17 Feb 2003 15:36:50 +0100 Herbert Voss <[EMAIL PROTECTED]> wrote: > Adinda Praditya schrieb: > > Have look the file and convert it to DVI or PDF > > > > Do you guys know what's wrong with the file? > > > > \language english > > what is the right language? > I guess Indonesian. Martijn (Dutch)
Re: LyX WYSIWYM document processor???
On Wed, 19 Feb 2003, Martijn Brouwer wrote: | I guess Indonesian. There is no "Indonesian" in LaTeX babel, but "bahasa" (as I know) Wayan
Re: alphabetic order for style list?
You can manually change the ordering of the styles by using something like the following in your .layout file. --- #Sort the order of the styles Style Standard End Style Chapter End Style Section End Style Subsection End Style Subsubsection End Style Paragraph End Style List End --- This should put force them to appear in that order, starting from the top, and anything not explicity listed will follow. That way, you can put the most frequently used styles near the top (or bottom) of the list, where they are easier to find. Hope this helps. Regards, Paul Medwell Bo Peng wrote: Will it be better if the environment/style list is ordered alphabetically? I frequently have trouble in finding the environment I need especially when the list is long.