letters margins
HI, I have created a new letter from the letter template, but I have huge margins on the top which I cannot get rid of for some reason. I would like to get 1 margins all around if possible. Thanks, Rodney
Re: updating dvi
On Wed, 17 Oct 2001, Davide Cavallari wrote: In an older version it was possible to update the DVI, without calling a new xdvi window. In version 1.1.6 fix3 this doesn't seem to be possible anymore. Or am I missing something..? View-Update-DVI Allan. (ARRae)
Re: Still having troubles with my bibliography
On Tue, Oct 16, 2001 at 11:13:21PM -0600, Kent Kostuk wrote: I have attached a lyx file, 2 different bib files and a bst file. The bst I created using makebst.tex. You only included one of the bib files in your LyX file, you can include both by separating their names with a comma in the BibTeX Generated References popup. I have created one citation reference in the lyx file. What I get when I run the DVI preview is [?] and no list of references. Also useful for testing bib and bst files is using \nocite{*} in ERT, it causes every bib entry to get included in the bibliography. So, possibly I have been asking the wrong question. Does anyone know of a bst that will do the job for me, or is rolling my own the solution? I don't know the answer to that, but I found the makebst options that are causing the errors. %% merlin.mbs (with options: `,ay,har,harnm,nm-rvv,ed-rev,keyxyr,dt-beg,yr-per,note-yr,jwdpg,jwdvol,pre-pub,isbn,issn,url,url-blk,blk-tit,pp,xedn,nfss') %% %% *** This is to follow the CSCE format *** I could find no documentation on 'har' and 'harnm' options (but I didn't look very hard), I had to remove both of them to get rid of the errors :-(. The 'jwdpg' and 'jwdvol' options don't seem to play well with each other. Removing either one (in addition to removing the har* options) made the resulting in your files formatting without any errors. % Name and version information of the main mbs file: % \ProvidesFile{merlin.mbs}[1999/05/28 3.89 (PWD)] % For use with BibTeX version 0.99a or later I happened to be using the exact same versions. Perhaps look for a newer version (or even an older version) of the merlin.mbs or makebst.text files. Alternatively try a different *.mbs file. I don't know much about makebst or *.mbs files, I just know that my TeX distribution has several of them. -- Dave Chapeskie OpenPGP Key KeyId: 3D2B6B34
Re: RE: Some observations and suggestions
On Tue, 16 Oct 2001 18:17:01 +0200 wrote Saalfeld, Christoph [EMAIL PROTECTED]: 1) I need ERT quite frequently. It would be cool to have a special box for latex code. I mean a box like the one for footnotes, which supports cut and paste and everything like normal text. Every text in this box should be automatically understood as red text, and if you close the box, your screen is clean (except of a small label). Of course that has nothing to do with functionality, it's just a way to hide ERT. This is in version 1.2. That's good news Yeah, really. Is it possible to give these boxes a name, that will be displayed in LyX only ? E.g. List of Listings for inserting the list of listings (\lstlistoflistings) included with listings.sty Christoph This is what you do by writing a .layout file. An example for the seminar style would be Style ListOfSlides KeepEmpty1 NextNoIndent1 LatexTypeCommand LatexNamelistofslides LabelTypeCentered_Top_Environment LabelStringList Of Slides LabelBottomSep 0 End See the files in the /layout dir of LyX and the Customization guide. Guenter -- [EMAIL PROTECTED]
Re: Some observations and suggestions
On Tue, 16 Oct 2001 17:42:00 +0200 (CEST) Guenter Milde [EMAIL PROTECTED] wrote: On Tue, 16 Oct 2001 21:54:26 +0900 wrote Gerhard Schuck [EMAIL PROTECTED]: On Tue, 16 Oct 2001 10:42:05 +0200 (CEST) Guenter Milde [EMAIL PROTECTED] wrote: On Tue, 16 Oct 2001 11:19:09 +0900 wrote Gerhard Schuck [EMAIL PROTECTED]: 1) I need ERT quite frequently. It would be cool to have a special box for latex code. I mean a box like the one for footnotes, which supports cut and paste and everything like normal text. Every text in this box should be automatically understood as red text, and if you close the box, your screen is clean (except of a small label). Of course that has nothing to do with functionality, it's just a way to hide ERT. This is already possible with the undocumented ERT-inset, see the attached example. Thanks, that sounds nice. But I didn't find your attachment (perhaps because of the immaturity of sylpheed, my mail program). More likely becouse I forgot to attch. Here it comes included #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass scrartcl_srh \begin_preamble \renewcommand{\Im}{\mathrm{Im}} \renewcommand{\Re}{\mathrm{Re}} \renewcommand{\vec}[1]{\textbf{\itshape #1}} \end_preamble \language german \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 2cm \topmargin 1cm \rightmargin 2cm \bottommargin 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle plain \layout Standard The \family typewriter ert-inset \family default command produces an ERT-box you can use ERT you want to hide: \layout Standard It normaly comes in Standard Style - which is not ERT! \layout Standard Ein Test der ERT_box \begin_inset ERT collapsed true \layout Standard \backslash small kleiner Text \end_inset und normaler Text. \layout Standard It works, if you set the Paragraph Style to LaTeX (changing font attributes doesnot work): \layout Standard Ein Test der ERT_box \begin_inset ERT collapsed true \layout LaTeX { \backslash small kleiner Text} \end_inset und normaler Text. \layout Standard Latex directives in the box affect the following text. \layout Standard Ein Test der ERT_box \begin_inset ERT collapsed true \layout LaTeX \backslash small kleiner Text \end_inset und normaler Text. \the_end GM -- [EMAIL PROTECTED] Yes, that worked. Thank you. But is it safe to use? Are there problems to expect, e.g. if you want to open a document with this ert-inset with a future version of lyx? Gerhard Schuck [EMAIL PROTECTED]
Re: Octave support -- a wish
Matej == Matej Cepl [EMAIL PROTECTED] writes: Matej Now when pressing some hotkey, I would love that LyX would Matej insert -18 (determinant of the matrix A). I believe that such Matej functionality would be something further moving LyX from just Matej better editor to real killer-application. LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do something similar to what you need... JMarc
Re: Octave support -- a wish
On 17 Oct 2001, Jean-Marc Lasgouttes wrote: LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do I suppose it would work also with Maxima (a symbolic algebra system), given a proper conversion script? Really great! -- | Tuukka Toivonen [EMAIL PROTECTED] [PGP public key | Homepage: http://www.ee.oulu.fi/~tuukkat/ available] | Try also finger -l [EMAIL PROTECTED] | Studying information engineering at the University of Oulu +---
Re: Octave support -- a wish
This is a highly non-trivial task to accomplish. The real kicker wouldn't be so much to integrate with a numerics-only package like octave, but rather with a full-fledged technical computing environment like Mathematica or Maple. Unfortunately there's no real open source equivalent to these two, but they both offer well defined low-level communication interfaces. So it's not impossible, and in fact quite interesting. But a lot of work. Maybe when Lyx 2.0 with clean qt/gtk front ends is out and stable, the developers will turn their attention to such esoteric projects. But don't hold your breath, you might turn purple... How about SciLab? -- Ben Logan: blogan at newcreature dot org OpenPGP Key KeyID: A1ADD1F0
Re: Conflict between hyperref and shortcaption trick!
Zailong Bian wrote: I use the trick quiet often until recently I discovered a conflict. If I put hyperref in the preamble, the short caption will not show up in LOF! The long caption show up instead. If I remove hyperref, then it all becomes normal. But I need hyperref! Please see the attached example file. The short caption trick I mentioned is here (the nicer solution): http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short I looked at the hyperref package and got only headache. I am not sure what to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Octave support -- a wish
Tuukka == Tuukka Toivonen [EMAIL PROTECTED] writes: Tuukka On 17 Oct 2001, Jean-Marc Lasgouttes wrote: LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do Tuukka I suppose it would work also with Maxima (a symbolic algebra Tuukka system), given a proper conversion script? Really great! Andre' (our new mathed guru) could probably comment more intelligently than I do, but the main problem AFAIK is that LaTeX (and thus LyX) does not have enough structure for some things. For example, if you write x = ab macsima/octave/maple will have to guess that there is an implied * between a and b. Similarly for x = \int_0^1 f(x)dx JMarc
RE: Conflict between hyperref and shortcaption trick!
Thanks. What I tried to do is to export to latex and edit the stuff by hand. I change the order of the usepackages and the inserted code from that trick. I discovered that I need to load the trick code last. If I put it in stdlayours.inc or scrreport.inc, that code will be loaded before hyperref, which causes the problem. So what I did: split the trick mentioned, one part goes to scrreprt.inc: Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString SCaption: LabelType Static End And all the actual code goes to latex premeable (menu). After that, the problem is gone. I will try to put hyperref at the end to see if that works too. Zailong -Original Message- From: Herbert Voss To: Zailong Bian Cc: '[EMAIL PROTECTED] ' Sent: 10/17/2001 6:02 AM Subject: Re: Conflict between hyperref and shortcaption trick! Zailong Bian wrote: I use the trick quiet often until recently I discovered a conflict. If I put hyperref in the preamble, the short caption will not show up in LOF! The long caption show up instead. If I remove hyperref, then it all becomes normal. But I need hyperref! Please see the attached example file. The short caption trick I mentioned is here (the nicer solution): http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short I looked at the hyperref package and got only headache. I am not sure what to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: multiple files
On Tue, Oct 16, 2001 at 06:27:11PM +0200, Davide Cavallari wrote: On Sat, Oct 06, 2001 at 07:17:24PM +0200, Dekel Tsur wrote: Even symbolic links are unnecessary. You can put \usepackage{graphics,epsfig} \newcommand{\setpath}[1]{ \def\input@path{{PATH/#1//}} \graphicspath{{PATH/#1//}} } Where PATH is the path to the directory of the master file e.g /home/me/thesis and then put \setpath{chap1} in latex mode before including chapter1. I have used this method and till today it worked. Now I have a figure composed by both a .tex part and a .ps one. These parts are generated by gnuplot and the .tex part calls the .ps one with: \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} Why do you generate two files ? When I tried using the pslatex output of gnuplot, I got only one .tex file which embed the Postscript file into it. There is no problem with such a file.
Re: Conflict between hyperref and shortcaption trick!
Zailong Bian wrote: Hello. I double checked, putting hyperref at the last won't fix my problem. When you ran my sample, did you really see This one should be there! in the LOF? If you saw My figure, that's exactly my problem. can't remember, deleted all files ... Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Title customization...
On Tue, Oct 16, 2001 at 07:50:02PM +0200, Herbert Voss wrote: * Put the chapter/section/etc. titles in Arial (or Helvetica, isn't it the same?). no! arial is something from the micros$ft world. choose package helvet This will not change the font in the section titles. * Reduce the space between the title and the first paragraph. should be possible with cursor in the first line of the paragraph and than layout-paragraph-space over-length--1cm As I understand, Ben wanted reduce the spacing around section titles, so this is a bad solution. A simple solution for both of the above is to put the following line in the preamble: \usepackage[sf,compact]{titlesec}
Re: Octave support -- a wish
My dream of the future would would be that all software that displays or uses mathematical equations would support a common interchange format like MathML at the clipboard level. That way we could cut and past equations from any application to any other application. MathML is an XML based description language (See http://www.w3.org/Math/). However, I am not sure that even MathML has enough information to actually describe the math of the equation and not just how it appears on the screen. -Mark Esplin However, I would have some much less complicated proposal. Would it be possible to persuade Mathed, that it would insert in Clipboard (Ctrl-C) matrix, equation, formula, etc. so that it may be easily inserted into octave? I mean, that for above shown matrix, a content of clipboard (when whole first line is selected) would be a=[1,2,3;2,3,1;3,1,2]? Thanks anyway -- I shock all my classmates (economists usually work with M$ trash) with super beautiful equatioins in Computer Modern fonts (and advertising LyX by that)! Have a nice day Matej _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Conflict between hyperref and shortcaption trick!
On Wed, Oct 17, 2001 at 08:33:40AM -0400, Zailong Bian wrote: Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString SCaption: LabelType Static End And all the actual code goes to latex premeable (menu). After that, the problem is gone. You can use the following (and nothing in the preamble): Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString SCaption: LabelType Static Preamble \AtBeginDocument{ \let\oldcaption=\caption \renewcommand{\caption}[1]{ \ifx \shortcaption \undefined% \oldcaption{#1}% \else% \oldcaption[\shortcaption]{#1}% \fi% }} \newcommand{\setshortcaption}[1]{ \newcommand{\shortcaption}{#1} } EndPreamble End
updating dvi
In an older version it was possible to update the DVI, without calling a new xdvi window. In version 1.1.6 fix3 this doesn't seem to be possible anymore. Or am I missing something..? Thkz -- A presto, Davide Cavallari The price of success in philosophy is triviality. -- C. Glymour.
Re: Still having troubles with my bibliography
On Tue, Oct 16, 2001 at 11:13:21PM -0600, Kent Kostuk wrote: I have created one citation reference in the lyx file. What I get when I run the DVI preview is [?] and no list of references. I tried it (after adding \usepackage{natbib} to the preamble), and it worked correctly. I want my references to look like this (Howard 1960). Or possibly, blah, blah, yakety yak by Howard. (1960). With the Bibliography to follow this format. Howard, R.A. 1960. Dynamic programming and Markov processes. M.I.T. Press. Cambridge, MA. So, possibly I have been asking the wrong question. Does anyone know of a bst that will do the job for me, or is rolling my own the solution? Use one of the .bst file harvard (agsm, apsr, dcu etc.)
Re: Octave support -- a wish
On Wed, Oct 17, 2001 at 11:28:16AM +0200, Jean-Marc Lasgouttes wrote: LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do something similar to what you need... I am probably not enough courageous to try *cvs version (I need LyX for real work and I do not want to compile anyway), but I promise, that I shall go for *pre1 version, when it will be available. Thanks Matej Cepl -- Matej Cepl, [EMAIL PROTECTED] 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The state calls its own violence `law', but that of the individual `crime' -- Max Stirner
Re: multiple files
On Wed, Oct 17, 2001 at 03:13:05PM +0200, Dekel Tsur wrote: On Tue, Oct 16, 2001 at 06:27:11PM +0200, Davide Cavallari wrote: I have used this method and till today it worked. Now I have a figure composed by both a .tex part and a .ps one. These parts are generated by gnuplot and the .tex part calls the .ps one with: \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} Why do you generate two files ? When I tried using the pslatex output of gnuplot, I got only one .tex file which embed the Postscript file into it. There is no problem with such a file. I have tried with the standard 'pslatex' terminal, but with some huge graphs latex goes out of memory. I don't know the reason, but using the 'auxfile' option (getting so the PS code in a separate file) fixes this problem. -- A presto, Davide Cavallari Punti essenziali: 1. sono Dead Man; 2. non cercare di fottere Dead Man.
unsibscribe
unsubscribe
Re: Longtable increases table number
Rainer Dorsch wrote: float environments like figure and table have their respective counters. If a longtable occurs not within such an environment, it increases the float-counter for tables anyway. A reference document ist at http://www.ra.informatik.uni-stuttgart.de/~rainer/Download/table.lyx The tables are numbered 1, 2, 4 instead of 1, 2, 3. Is that a lyx or a longtable bug? Does anybody know a workaround? lontable uses the same counter than tabular. write in preamble: \let\myEnd\endlongtable \renewcommand\endlongtable{\myEnd\addtocounter{table}{-1}} if you have a mix of longtable with and without captions, than write after every longtable: \addtocounter{table}{-1} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
two column standard-style
hi I would like to do the following Title Section 1 xx xxx xx xxx xx xx Section 2 xx xxx xx xxx xx xx Like in each section is seperated and two columns. Something like a Standard (two column)-style is what I seek. any easy way of doing this? I have found the two-columns checkbox under documents, but it works for making everything into two colums. mo
Re: two column standard-style
Use the multicols package. This is all detailed in the Extended.lyx ---Kayvan On Wed, Oct 17, 2001 at 10:34:55PM +0200, morten wrote: hi I would like to do the following Title Section 1 xx xxx xx xxx xx xx Section 2 xx xxx xx xxx xx xx Like in each section is seperated and two columns. Something like a Standard (two column)-style is what I seek. any easy way of doing this? I have found the two-columns checkbox under documents, but it works for making everything into two colums. mo -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)
vcard2bib
Has anybody got a small script for converting a collection of vcards to a bib file. This could be very useful for generating address books with hyperlinks in PDF with pdflatex. Regards torben begin:vcard n:Lund;Torben Ellegaard tel;work:+45 3632 3324 x-mozilla-html:FALSE url:www.drcmr.dk org:Danish Research Centre for MR adr:;;Præstøgade 7A 2.;Copenhagen East;;2100;Denmark version:2.1 email;internet:[EMAIL PROTECTED] title:M.Sc. x-mozilla-cpt:;30016 fn:Torben Ellegaard Lund end:vcard
Dictionary
Hi, I've been working with Lyx in Portuguese(Brazil). I'd like to know where I can find a dictionary for this language to run the Lyx spelling checker. Thanks, Tomaz. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Book class: preface to TOC
I think this is a wish list item. With the requisite ERT, I have the preface entry (where preface is Chapter* environment) properly entered in the TOC and the \pagenumbering{style} for front matter and regular pages set as desired. Did I miss a way to do this within lyx? -- Mark Hansel PO Box 41 Minnesota State University Moorhead Moorhead, MN 56563 ph: 218-236-2039 fax: 218-236-2593 [EMAIL PROTECTED] http://wwwcj.mnstate.edu
Re: Title customization...
Dekel Tsur a écrit : A simple solution for both of the above is to put the following line in the preamble: \usepackage[sf,compact]{titlesec} That is exactly what I need! What a wonderful package. Thanks a lot! BG
Re: Octave support -- a wish
On Wed, Oct 17, 2001 at 09:38:38AM -0400, Mark Esplin wrote: My dream of the future would would be that all software that displays or uses mathematical equations would support a common interchange format like MathML at the clipboard level. That way we could cut and past equations from any application to any other application. MathML is an XML based description language (See http://www.w3.org/Math/). However, I am not sure that even MathML has enough information to actually describe the math of the equation and not just how it appears on the screen. -Mark Esplin It has, for most of it. There are two flavors, presentational and content-based. Think of presentational as latex-like and the content-based as algebraic manipulator like. But since this isn't a perfect world, you will not fulfill your dream so soon, but not as late as you are afraid. ;-) -- José
Reference for US letter layout
I cannot find information in the users guide (basic or advanced) or the reference manual (not even the tutorial!) that tells me how to define the components of a letter. I was sent a letter via e-mail and imported it into LyX. I selected the letter document class but I cannot get the send to address or the signature to show up when I preview the printed output via ^d. Also, I cannot get the date (which is not today's) to show up. Where do I find a detailed reference to the components of a letter? I figured that this would be a good way for a LyX newcomer to learn the letter documant class (I'm already working on a book and an article). But, I cannot find the information by myself. TIA, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED] http://www.appl-ecosys.com
Pagination and current date in header
I've looked at Herbert Voss' web site and some of the more recent mail list messages without finding the answer to these questions. For many US business letters, the second and subsequent pages contain a header that looks like this: Recipient Name current date page page_number From what I've learned, I can use either \lhead for each of those lines, or \fancyhead[LO,RO] {} for each line. I don't understand how these two forms differ in results. But, what I'd like to do is have the send-to name and date automatically picked up from page one, and the pagination start with '2'. Of course, this is suppressed on page 1. Is there a reference I can read to learn how to do this? If not, can someone please provide me with the preamble code to use? Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED] http://www.appl-ecosys.com
Re: Octave support -- a wish
This is a highly non-trivial task to accomplish. The real kicker wouldn't be so much to integrate with a numerics-only package like octave, but rather with a full-fledged technical computing environment like Mathematica or Maple. Unfortunately there's no real open source equivalent to these two, but they both offer well defined low-level communication interfaces. So it's not impossible, and in fact quite interesting. But a lot of work. Maybe when Lyx 2.0 with clean qt/gtk front ends is out and stable, the developers will turn their attention to such esoteric projects. But don't hold your breath, you might turn purple... How about SciLab? Well, to be honest I've only briefly played with it so I may be way off. But my impression is that nothing in the open source world comes even close to Mathematica or Maple. Unfortunately the kind of expertise needed for that stuff is quite esoteric and it just isn't that easy to gather enough voluntary contributors for such a complex project. As I said, maybe Scilab will become competitive, I'm just not too hopeful. Very specialized software is one of those ecological niches where I think proprietary software has a good chance of survival. Not that I like it, mind you (If you've ever dealt with Wolfram about a bug or licensing you know what I mean) but I just think it's the way it goes. Cheers, f
letters margins
HI, I have created a new letter from the letter template, but I have huge margins on the top which I cannot get rid of for some reason. I would like to get 1 margins all around if possible. Thanks, Rodney
Re: updating dvi
On Wed, 17 Oct 2001, Davide Cavallari wrote: In an older version it was possible to update the DVI, without calling a new xdvi window. In version 1.1.6 fix3 this doesn't seem to be possible anymore. Or am I missing something..? View-Update-DVI Allan. (ARRae)
Re: Still having troubles with my bibliography
On Tue, Oct 16, 2001 at 11:13:21PM -0600, Kent Kostuk wrote: I have attached a lyx file, 2 different bib files and a bst file. The bst I created using makebst.tex. You only included one of the bib files in your LyX file, you can include both by separating their names with a comma in the BibTeX Generated References popup. I have created one citation reference in the lyx file. What I get when I run the DVI preview is [?] and no list of references. Also useful for testing bib and bst files is using \nocite{*} in ERT, it causes every bib entry to get included in the bibliography. So, possibly I have been asking the wrong question. Does anyone know of a bst that will do the job for me, or is rolling my own the solution? I don't know the answer to that, but I found the makebst options that are causing the errors. %% merlin.mbs (with options: `,ay,har,harnm,nm-rvv,ed-rev,keyxyr,dt-beg,yr-per,note-yr,jwdpg,jwdvol,pre-pub,isbn,issn,url,url-blk,blk-tit,pp,xedn,nfss') %% %% *** This is to follow the CSCE format *** I could find no documentation on 'har' and 'harnm' options (but I didn't look very hard), I had to remove both of them to get rid of the errors :-(. The 'jwdpg' and 'jwdvol' options don't seem to play well with each other. Removing either one (in addition to removing the har* options) made the resulting in your files formatting without any errors. % Name and version information of the main mbs file: % \ProvidesFile{merlin.mbs}[1999/05/28 3.89 (PWD)] % For use with BibTeX version 0.99a or later I happened to be using the exact same versions. Perhaps look for a newer version (or even an older version) of the merlin.mbs or makebst.text files. Alternatively try a different *.mbs file. I don't know much about makebst or *.mbs files, I just know that my TeX distribution has several of them. -- Dave Chapeskie OpenPGP Key KeyId: 3D2B6B34
Re: RE: Some observations and suggestions
On Tue, 16 Oct 2001 18:17:01 +0200 wrote Saalfeld, Christoph [EMAIL PROTECTED]: 1) I need ERT quite frequently. It would be cool to have a special box for latex code. I mean a box like the one for footnotes, which supports cut and paste and everything like normal text. Every text in this box should be automatically understood as red text, and if you close the box, your screen is clean (except of a small label). Of course that has nothing to do with functionality, it's just a way to hide ERT. This is in version 1.2. That's good news Yeah, really. Is it possible to give these boxes a name, that will be displayed in LyX only ? E.g. List of Listings for inserting the list of listings (\lstlistoflistings) included with listings.sty Christoph This is what you do by writing a .layout file. An example for the seminar style would be Style ListOfSlides KeepEmpty1 NextNoIndent1 LatexTypeCommand LatexNamelistofslides LabelTypeCentered_Top_Environment LabelStringList Of Slides LabelBottomSep 0 End See the files in the /layout dir of LyX and the Customization guide. Guenter -- [EMAIL PROTECTED]
Re: Some observations and suggestions
On Tue, 16 Oct 2001 17:42:00 +0200 (CEST) Guenter Milde [EMAIL PROTECTED] wrote: On Tue, 16 Oct 2001 21:54:26 +0900 wrote Gerhard Schuck [EMAIL PROTECTED]: On Tue, 16 Oct 2001 10:42:05 +0200 (CEST) Guenter Milde [EMAIL PROTECTED] wrote: On Tue, 16 Oct 2001 11:19:09 +0900 wrote Gerhard Schuck [EMAIL PROTECTED]: 1) I need ERT quite frequently. It would be cool to have a special box for latex code. I mean a box like the one for footnotes, which supports cut and paste and everything like normal text. Every text in this box should be automatically understood as red text, and if you close the box, your screen is clean (except of a small label). Of course that has nothing to do with functionality, it's just a way to hide ERT. This is already possible with the undocumented ERT-inset, see the attached example. Thanks, that sounds nice. But I didn't find your attachment (perhaps because of the immaturity of sylpheed, my mail program). More likely becouse I forgot to attch. Here it comes included #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass scrartcl_srh \begin_preamble \renewcommand{\Im}{\mathrm{Im}} \renewcommand{\Re}{\mathrm{Re}} \renewcommand{\vec}[1]{\textbf{\itshape #1}} \end_preamble \language german \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize a4paper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 2cm \topmargin 1cm \rightmargin 2cm \bottommargin 1cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle plain \layout Standard The \family typewriter ert-inset \family default command produces an ERT-box you can use ERT you want to hide: \layout Standard It normaly comes in Standard Style - which is not ERT! \layout Standard Ein Test der ERT_box \begin_inset ERT collapsed true \layout Standard \backslash small kleiner Text \end_inset und normaler Text. \layout Standard It works, if you set the Paragraph Style to LaTeX (changing font attributes doesnot work): \layout Standard Ein Test der ERT_box \begin_inset ERT collapsed true \layout LaTeX { \backslash small kleiner Text} \end_inset und normaler Text. \layout Standard Latex directives in the box affect the following text. \layout Standard Ein Test der ERT_box \begin_inset ERT collapsed true \layout LaTeX \backslash small kleiner Text \end_inset und normaler Text. \the_end GM -- [EMAIL PROTECTED] Yes, that worked. Thank you. But is it safe to use? Are there problems to expect, e.g. if you want to open a document with this ert-inset with a future version of lyx? Gerhard Schuck [EMAIL PROTECTED]
Re: Octave support -- a wish
Matej == Matej Cepl [EMAIL PROTECTED] writes: Matej Now when pressing some hotkey, I would love that LyX would Matej insert -18 (determinant of the matrix A). I believe that such Matej functionality would be something further moving LyX from just Matej better editor to real killer-application. LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do something similar to what you need... JMarc
Re: Octave support -- a wish
On 17 Oct 2001, Jean-Marc Lasgouttes wrote: LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do I suppose it would work also with Maxima (a symbolic algebra system), given a proper conversion script? Really great! -- | Tuukka Toivonen [EMAIL PROTECTED] [PGP public key | Homepage: http://www.ee.oulu.fi/~tuukkat/ available] | Try also finger -l [EMAIL PROTECTED] | Studying information engineering at the University of Oulu +---
Re: Octave support -- a wish
This is a highly non-trivial task to accomplish. The real kicker wouldn't be so much to integrate with a numerics-only package like octave, but rather with a full-fledged technical computing environment like Mathematica or Maple. Unfortunately there's no real open source equivalent to these two, but they both offer well defined low-level communication interfaces. So it's not impossible, and in fact quite interesting. But a lot of work. Maybe when Lyx 2.0 with clean qt/gtk front ends is out and stable, the developers will turn their attention to such esoteric projects. But don't hold your breath, you might turn purple... How about SciLab? -- Ben Logan: blogan at newcreature dot org OpenPGP Key KeyID: A1ADD1F0
Re: Conflict between hyperref and shortcaption trick!
Zailong Bian wrote: I use the trick quiet often until recently I discovered a conflict. If I put hyperref in the preamble, the short caption will not show up in LOF! The long caption show up instead. If I remove hyperref, then it all becomes normal. But I need hyperref! Please see the attached example file. The short caption trick I mentioned is here (the nicer solution): http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short I looked at the hyperref package and got only headache. I am not sure what to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Octave support -- a wish
Tuukka == Tuukka Toivonen [EMAIL PROTECTED] writes: Tuukka On 17 Oct 2001, Jean-Marc Lasgouttes wrote: LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do Tuukka I suppose it would work also with Maxima (a symbolic algebra Tuukka system), given a proper conversion script? Really great! Andre' (our new mathed guru) could probably comment more intelligently than I do, but the main problem AFAIK is that LaTeX (and thus LyX) does not have enough structure for some things. For example, if you write x = ab macsima/octave/maple will have to guess that there is an implied * between a and b. Similarly for x = \int_0^1 f(x)dx JMarc
RE: Conflict between hyperref and shortcaption trick!
Thanks. What I tried to do is to export to latex and edit the stuff by hand. I change the order of the usepackages and the inserted code from that trick. I discovered that I need to load the trick code last. If I put it in stdlayours.inc or scrreport.inc, that code will be loaded before hyperref, which causes the problem. So what I did: split the trick mentioned, one part goes to scrreprt.inc: Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString SCaption: LabelType Static End And all the actual code goes to latex premeable (menu). After that, the problem is gone. I will try to put hyperref at the end to see if that works too. Zailong -Original Message- From: Herbert Voss To: Zailong Bian Cc: '[EMAIL PROTECTED] ' Sent: 10/17/2001 6:02 AM Subject: Re: Conflict between hyperref and shortcaption trick! Zailong Bian wrote: I use the trick quiet often until recently I discovered a conflict. If I put hyperref in the preamble, the short caption will not show up in LOF! The long caption show up instead. If I remove hyperref, then it all becomes normal. But I need hyperref! Please see the attached example file. The short caption trick I mentioned is here (the nicer solution): http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short I looked at the hyperref package and got only headache. I am not sure what to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: multiple files
On Tue, Oct 16, 2001 at 06:27:11PM +0200, Davide Cavallari wrote: On Sat, Oct 06, 2001 at 07:17:24PM +0200, Dekel Tsur wrote: Even symbolic links are unnecessary. You can put \usepackage{graphics,epsfig} \newcommand{\setpath}[1]{ \def\input@path{{PATH/#1//}} \graphicspath{{PATH/#1//}} } Where PATH is the path to the directory of the master file e.g /home/me/thesis and then put \setpath{chap1} in latex mode before including chapter1. I have used this method and till today it worked. Now I have a figure composed by both a .tex part and a .ps one. These parts are generated by gnuplot and the .tex part calls the .ps one with: \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} Why do you generate two files ? When I tried using the pslatex output of gnuplot, I got only one .tex file which embed the Postscript file into it. There is no problem with such a file.
Re: Conflict between hyperref and shortcaption trick!
Zailong Bian wrote: Hello. I double checked, putting hyperref at the last won't fix my problem. When you ran my sample, did you really see This one should be there! in the LOF? If you saw My figure, that's exactly my problem. can't remember, deleted all files ... Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Title customization...
On Tue, Oct 16, 2001 at 07:50:02PM +0200, Herbert Voss wrote: * Put the chapter/section/etc. titles in Arial (or Helvetica, isn't it the same?). no! arial is something from the micros$ft world. choose package helvet This will not change the font in the section titles. * Reduce the space between the title and the first paragraph. should be possible with cursor in the first line of the paragraph and than layout-paragraph-space over-length--1cm As I understand, Ben wanted reduce the spacing around section titles, so this is a bad solution. A simple solution for both of the above is to put the following line in the preamble: \usepackage[sf,compact]{titlesec}
Re: Octave support -- a wish
My dream of the future would would be that all software that displays or uses mathematical equations would support a common interchange format like MathML at the clipboard level. That way we could cut and past equations from any application to any other application. MathML is an XML based description language (See http://www.w3.org/Math/). However, I am not sure that even MathML has enough information to actually describe the math of the equation and not just how it appears on the screen. -Mark Esplin However, I would have some much less complicated proposal. Would it be possible to persuade Mathed, that it would insert in Clipboard (Ctrl-C) matrix, equation, formula, etc. so that it may be easily inserted into octave? I mean, that for above shown matrix, a content of clipboard (when whole first line is selected) would be a=[1,2,3;2,3,1;3,1,2]? Thanks anyway -- I shock all my classmates (economists usually work with M$ trash) with super beautiful equatioins in Computer Modern fonts (and advertising LyX by that)! Have a nice day Matej _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Conflict between hyperref and shortcaption trick!
On Wed, Oct 17, 2001 at 08:33:40AM -0400, Zailong Bian wrote: Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString SCaption: LabelType Static End And all the actual code goes to latex premeable (menu). After that, the problem is gone. You can use the following (and nothing in the preamble): Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString SCaption: LabelType Static Preamble \AtBeginDocument{ \let\oldcaption=\caption \renewcommand{\caption}[1]{ \ifx \shortcaption \undefined% \oldcaption{#1}% \else% \oldcaption[\shortcaption]{#1}% \fi% }} \newcommand{\setshortcaption}[1]{ \newcommand{\shortcaption}{#1} } EndPreamble End
updating dvi
In an older version it was possible to update the DVI, without calling a new xdvi window. In version 1.1.6 fix3 this doesn't seem to be possible anymore. Or am I missing something..? Thkz -- A presto, Davide Cavallari The price of success in philosophy is triviality. -- C. Glymour.
Re: Still having troubles with my bibliography
On Tue, Oct 16, 2001 at 11:13:21PM -0600, Kent Kostuk wrote: I have created one citation reference in the lyx file. What I get when I run the DVI preview is [?] and no list of references. I tried it (after adding \usepackage{natbib} to the preamble), and it worked correctly. I want my references to look like this (Howard 1960). Or possibly, blah, blah, yakety yak by Howard. (1960). With the Bibliography to follow this format. Howard, R.A. 1960. Dynamic programming and Markov processes. M.I.T. Press. Cambridge, MA. So, possibly I have been asking the wrong question. Does anyone know of a bst that will do the job for me, or is rolling my own the solution? Use one of the .bst file harvard (agsm, apsr, dcu etc.)
Re: Octave support -- a wish
On Wed, Oct 17, 2001 at 11:28:16AM +0200, Jean-Marc Lasgouttes wrote: LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx-octave conversion, then it should do something similar to what you need... I am probably not enough courageous to try *cvs version (I need LyX for real work and I do not want to compile anyway), but I promise, that I shall go for *pre1 version, when it will be available. Thanks Matej Cepl -- Matej Cepl, [EMAIL PROTECTED] 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The state calls its own violence `law', but that of the individual `crime' -- Max Stirner
Re: multiple files
On Wed, Oct 17, 2001 at 03:13:05PM +0200, Dekel Tsur wrote: On Tue, Oct 16, 2001 at 06:27:11PM +0200, Davide Cavallari wrote: I have used this method and till today it worked. Now I have a figure composed by both a .tex part and a .ps one. These parts are generated by gnuplot and the .tex part calls the .ps one with: \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} Why do you generate two files ? When I tried using the pslatex output of gnuplot, I got only one .tex file which embed the Postscript file into it. There is no problem with such a file. I have tried with the standard 'pslatex' terminal, but with some huge graphs latex goes out of memory. I don't know the reason, but using the 'auxfile' option (getting so the PS code in a separate file) fixes this problem. -- A presto, Davide Cavallari Punti essenziali: 1. sono Dead Man; 2. non cercare di fottere Dead Man.
unsibscribe
unsubscribe
Re: Longtable increases table number
Rainer Dorsch wrote: float environments like figure and table have their respective counters. If a longtable occurs not within such an environment, it increases the float-counter for tables anyway. A reference document ist at http://www.ra.informatik.uni-stuttgart.de/~rainer/Download/table.lyx The tables are numbered 1, 2, 4 instead of 1, 2, 3. Is that a lyx or a longtable bug? Does anybody know a workaround? lontable uses the same counter than tabular. write in preamble: \let\myEnd\endlongtable \renewcommand\endlongtable{\myEnd\addtocounter{table}{-1}} if you have a mix of longtable with and without captions, than write after every longtable: \addtocounter{table}{-1} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
two column standard-style
hi I would like to do the following Title Section 1 xx xxx xx xxx xx xx Section 2 xx xxx xx xxx xx xx Like in each section is seperated and two columns. Something like a Standard (two column)-style is what I seek. any easy way of doing this? I have found the two-columns checkbox under documents, but it works for making everything into two colums. mo
Re: two column standard-style
Use the multicols package. This is all detailed in the Extended.lyx ---Kayvan On Wed, Oct 17, 2001 at 10:34:55PM +0200, morten wrote: hi I would like to do the following Title Section 1 xx xxx xx xxx xx xx Section 2 xx xxx xx xxx xx xx Like in each section is seperated and two columns. Something like a Standard (two column)-style is what I seek. any easy way of doing this? I have found the two-columns checkbox under documents, but it works for making everything into two colums. mo -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)
vcard2bib
Has anybody got a small script for converting a collection of vcards to a bib file. This could be very useful for generating address books with hyperlinks in PDF with pdflatex. Regards torben begin:vcard n:Lund;Torben Ellegaard tel;work:+45 3632 3324 x-mozilla-html:FALSE url:www.drcmr.dk org:Danish Research Centre for MR adr:;;Præstøgade 7A 2.;Copenhagen East;;2100;Denmark version:2.1 email;internet:[EMAIL PROTECTED] title:M.Sc. x-mozilla-cpt:;30016 fn:Torben Ellegaard Lund end:vcard
Dictionary
Hi, I've been working with Lyx in Portuguese(Brazil). I'd like to know where I can find a dictionary for this language to run the Lyx spelling checker. Thanks, Tomaz. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Book class: preface to TOC
I think this is a wish list item. With the requisite ERT, I have the preface entry (where preface is Chapter* environment) properly entered in the TOC and the \pagenumbering{style} for front matter and regular pages set as desired. Did I miss a way to do this within lyx? -- Mark Hansel PO Box 41 Minnesota State University Moorhead Moorhead, MN 56563 ph: 218-236-2039 fax: 218-236-2593 [EMAIL PROTECTED] http://wwwcj.mnstate.edu
Re: Title customization...
Dekel Tsur a écrit : A simple solution for both of the above is to put the following line in the preamble: \usepackage[sf,compact]{titlesec} That is exactly what I need! What a wonderful package. Thanks a lot! BG
Re: Octave support -- a wish
On Wed, Oct 17, 2001 at 09:38:38AM -0400, Mark Esplin wrote: My dream of the future would would be that all software that displays or uses mathematical equations would support a common interchange format like MathML at the clipboard level. That way we could cut and past equations from any application to any other application. MathML is an XML based description language (See http://www.w3.org/Math/). However, I am not sure that even MathML has enough information to actually describe the math of the equation and not just how it appears on the screen. -Mark Esplin It has, for most of it. There are two flavors, presentational and content-based. Think of presentational as latex-like and the content-based as algebraic manipulator like. But since this isn't a perfect world, you will not fulfill your dream so soon, but not as late as you are afraid. ;-) -- José
Reference for US letter layout
I cannot find information in the users guide (basic or advanced) or the reference manual (not even the tutorial!) that tells me how to define the components of a letter. I was sent a letter via e-mail and imported it into LyX. I selected the letter document class but I cannot get the send to address or the signature to show up when I preview the printed output via ^d. Also, I cannot get the date (which is not today's) to show up. Where do I find a detailed reference to the components of a letter? I figured that this would be a good way for a LyX newcomer to learn the letter documant class (I'm already working on a book and an article). But, I cannot find the information by myself. TIA, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED] http://www.appl-ecosys.com
Pagination and current date in header
I've looked at Herbert Voss' web site and some of the more recent mail list messages without finding the answer to these questions. For many US business letters, the second and subsequent pages contain a header that looks like this: Recipient Name current date page page_number From what I've learned, I can use either \lhead for each of those lines, or \fancyhead[LO,RO] {} for each line. I don't understand how these two forms differ in results. But, what I'd like to do is have the send-to name and date automatically picked up from page one, and the pagination start with '2'. Of course, this is suppressed on page 1. Is there a reference I can read to learn how to do this? If not, can someone please provide me with the preamble code to use? Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED] http://www.appl-ecosys.com
Re: Octave support -- a wish
This is a highly non-trivial task to accomplish. The real kicker wouldn't be so much to integrate with a numerics-only package like octave, but rather with a full-fledged technical computing environment like Mathematica or Maple. Unfortunately there's no real open source equivalent to these two, but they both offer well defined low-level communication interfaces. So it's not impossible, and in fact quite interesting. But a lot of work. Maybe when Lyx 2.0 with clean qt/gtk front ends is out and stable, the developers will turn their attention to such esoteric projects. But don't hold your breath, you might turn purple... How about SciLab? Well, to be honest I've only briefly played with it so I may be way off. But my impression is that nothing in the open source world comes even close to Mathematica or Maple. Unfortunately the kind of expertise needed for that stuff is quite esoteric and it just isn't that easy to gather enough voluntary contributors for such a complex project. As I said, maybe Scilab will become competitive, I'm just not too hopeful. Very specialized software is one of those ecological niches where I think proprietary software has a good chance of survival. Not that I like it, mind you (If you've ever dealt with Wolfram about a bug or licensing you know what I mean) but I just think it's the way it goes. Cheers, f
letters & margins
HI, I have created a new letter from the letter template, but I have huge margins on the top which I cannot get rid of for some reason. I would like to get 1" margins all around if possible. Thanks, Rodney
Re: updating dvi
On Wed, 17 Oct 2001, Davide Cavallari wrote: > In an older version it was possible to update the DVI, without calling a > new xdvi window. In version 1.1.6 fix3 this doesn't seem to be possible > anymore. Or am I missing something..? View->Update->DVI Allan. (ARRae)
Re: Still having troubles with my bibliography
On Tue, Oct 16, 2001 at 11:13:21PM -0600, Kent Kostuk wrote: > I have attached a lyx file, 2 different bib files and a bst file. The bst > I created using makebst.tex. You only included one of the bib files in your LyX file, you can include both by separating their names with a comma in the "BibTeX Generated References" popup. > I have created one citation reference in the lyx file. What I get when I > run the DVI preview is [?] and no list of references. Also useful for testing bib and bst files is using \nocite{*} in ERT, it causes every bib entry to get included in the bibliography. > So, possibly I have been asking the wrong question. Does anyone know of a > bst that will do the job for me, or is rolling my own the solution? I don't know the answer to that, but I found the makebst options that are causing the errors. > %% merlin.mbs (with options: >`,ay,har,harnm,nm-rvv,ed-rev,keyxyr,dt-beg,yr-per,note-yr,jwdpg,jwdvol,pre-pub,isbn,issn,url,url-blk,blk-tit,pp,xedn,nfss') > %% > %% *** This is to follow the CSCE format *** I could find no documentation on 'har' and 'harnm' options (but I didn't look very hard), I had to remove both of them to get rid of the errors :-(. The 'jwdpg' and 'jwdvol' options don't seem to play well with each other. Removing either one (in addition to removing the har* options) made the resulting in your files formatting without any errors. > % Name and version information of the main mbs file: > % \ProvidesFile{merlin.mbs}[1999/05/28 3.89 (PWD)] > % For use with BibTeX version 0.99a or later I happened to be using the exact same versions. Perhaps look for a newer version (or even an older version) of the merlin.mbs or makebst.text files. Alternatively try a different *.mbs file. I don't know much about makebst or *.mbs files, I just know that my TeX distribution has several of them. -- Dave Chapeskie OpenPGP Key KeyId: 3D2B6B34
Re: RE: Some observations and suggestions
On Tue, 16 Oct 2001 18:17:01 +0200 wrote "Saalfeld, Christoph" <[EMAIL PROTECTED]>: > > > > > 1) I need ERT quite frequently. It would be cool to have > > a special box for latex code. I mean a box like the one for > > footnotes, which supports cut and paste and everything like > > normal text. Every text in this box should be automatically > > understood as red text, and if you close the box, your screen > > is clean (except of a small label). Of course that has > > nothing to do with functionality, it's just a way to hide ERT. > > > > > > This is in version 1.2. > > > > > That's good news > > Yeah, really. Is it possible to give these boxes a name, that will be > displayed in LyX only ? > E.g. "List of Listings" for inserting the list of listings > (\lstlistoflistings) included with "listings.sty" > > Christoph This is what you do by writing a .layout file. An example for the seminar style would be Style ListOfSlides KeepEmpty1 NextNoIndent1 LatexTypeCommand LatexNamelistofslides LabelTypeCentered_Top_Environment LabelString"List Of Slides" LabelBottomSep 0 End See the files in the /layout dir of LyX and the Customization guide. Guenter -- [EMAIL PROTECTED]
Re: Some observations and suggestions
On Tue, 16 Oct 2001 17:42:00 +0200 (CEST) Guenter Milde <[EMAIL PROTECTED]> wrote: > On Tue, 16 Oct 2001 21:54:26 +0900 wrote Gerhard Schuck <[EMAIL PROTECTED]>: > > > On Tue, 16 Oct 2001 10:42:05 +0200 (CEST) > > Guenter Milde <[EMAIL PROTECTED]> wrote: > > > > > On Tue, 16 Oct 2001 11:19:09 +0900 wrote Gerhard Schuck ><[EMAIL PROTECTED]>: > > > > > > > 1) I need ERT quite frequently. It would be cool to have a special box for > > > > latex code. I mean a box like the one for footnotes, which supports cut and > > > > paste and everything like normal text. Every text in this box should be > > > > automatically understood as red text, and if you close the box, your screen > > > > is clean (except of a small label). Of course that has nothing to do with > > > > functionality, it's just a way to hide ERT. > > > > > > This is already possible with the undocumented ERT-inset, see the attached > > > example. > > > > Thanks, that sounds nice. But I didn't find your attachment (perhaps because of >the immaturity of sylpheed, my mail program). > > More likely becouse I forgot to attch. > > Here it comes included > > #LyX 1.1 created this file. For more info see http://www.lyx.org/ > \lyxformat 218 > \textclass scrartcl_srh > \begin_preamble > > \renewcommand{\Im}{\mathrm{Im}} > \renewcommand{\Re}{\mathrm{Re}} > > \renewcommand{\vec}[1]{\textbf{\itshape #1}} > \end_preamble > \language german > \inputencoding latin1 > \fontscheme default > \graphics default > \paperfontsize default > \spacing single > \papersize a4paper > \paperpackage a4 > \use_geometry 1 > \use_amsmath 0 > \paperorientation portrait > \leftmargin 2cm > \topmargin 1cm > \rightmargin 2cm > \bottommargin 1cm > \secnumdepth 3 > \tocdepth 3 > \paragraph_separation skip > \defskip medskip > \quotes_language german > \quotes_times 2 > \papercolumns 1 > \papersides 1 > \paperpagestyle plain > > \layout Standard > > The > \family typewriter > ert-inset > \family default > command produces an ERT-box you can use ERT you want to hide: > \layout Standard > > It normaly comes in Standard Style - which is not ERT! > \layout Standard > > Ein Test der ERT_box > \begin_inset ERT > collapsed true > > \layout Standard > > > \backslash > small kleiner Text > \end_inset > > und normaler Text. > \layout Standard > > It works, if you set the Paragraph Style to LaTeX (changing font attributes > doesnot work): > \layout Standard > > Ein Test der ERT_box > \begin_inset ERT > collapsed true > > \layout LaTeX > > { > \backslash > small kleiner Text} > \end_inset > > und normaler Text. > \layout Standard > > Latex directives in the box affect the following text. > \layout Standard > > Ein Test der ERT_box > \begin_inset ERT > collapsed true > > \layout LaTeX > > > \backslash > small kleiner Text > \end_inset > > und normaler Text. > \the_end > > > GM > > -- > [EMAIL PROTECTED] > Yes, that worked. Thank you. But is it safe to use? Are there problems to expect, e.g. if you want to open a document with this ert-inset with a future version of lyx? Gerhard Schuck [EMAIL PROTECTED]
Re: Octave support -- a wish
> "Matej" == Matej Cepl <[EMAIL PROTECTED]> writes: Matej> Now when pressing some hotkey, I would love that LyX would Matej> insert -18 (determinant of the matrix A). I believe that such Matej> functionality would be something further moving LyX from "just Matej> better editor" to real killer-application. LyX 1.2.0cvs already has an experimental math-extern feature. If you provide a script which does lyx<->octave conversion, then it should do something similar to what you need... JMarc
Re: Octave support -- a wish
On 17 Oct 2001, Jean-Marc Lasgouttes wrote: >LyX 1.2.0cvs already has an experimental math-extern feature. If you >provide a script which does lyx<->octave conversion, then it should do I suppose it would work also with Maxima (a symbolic algebra system), given a proper conversion script? Really great! -- | Tuukka Toivonen <[EMAIL PROTECTED]> [PGP public key | Homepage: http://www.ee.oulu.fi/~tuukkat/ available] | Try also finger -l [EMAIL PROTECTED] | Studying information engineering at the University of Oulu +---
Re: Octave support -- a wish
> This is a highly non-trivial task to accomplish. The real kicker wouldn't > be so much to integrate with a numerics-only package like octave, but > rather with a full-fledged technical computing environment like Mathematica > or Maple. Unfortunately there's no real open source equivalent to these > two, but they both offer well defined low-level communication interfaces. > So it's not impossible, and in fact quite interesting. But a lot of work. > Maybe when Lyx 2.0 with clean qt/gtk front ends is out and stable, the > developers will turn their attention to such esoteric projects. But don't > hold your breath, you might turn purple... How about SciLab? -- Ben Logan: blogan at newcreature dot org OpenPGP Key KeyID: A1ADD1F0
Re: Conflict between hyperref and shortcaption trick!
Zailong Bian wrote: > > I use the trick quiet often until recently I discovered a conflict. If I > put hyperref in the preamble, the short caption will not show up in LOF! The > long caption show up instead. If I remove hyperref, then it all becomes > normal. But I need hyperref! > > Please see the attached example file. > > The short caption trick I mentioned is here (the nicer solution): > > http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short > > I looked at the hyperref package and got only headache. I am not sure what > to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Octave support -- a wish
> "Tuukka" == Tuukka Toivonen <[EMAIL PROTECTED]> writes: Tuukka> On 17 Oct 2001, Jean-Marc Lasgouttes wrote: >> LyX 1.2.0cvs already has an experimental math-extern feature. If >> you provide a script which does lyx<->octave conversion, then it >> should do Tuukka> I suppose it would work also with Maxima (a symbolic algebra Tuukka> system), given a proper conversion script? Really great! Andre' (our new mathed guru) could probably comment more intelligently than I do, but the main problem AFAIK is that LaTeX (and thus LyX) does not have enough structure for some things. For example, if you write x = ab macsima/octave/maple will have to guess that there is an implied * between a and b. Similarly for x = \int_0^1 f(x)dx JMarc
RE: Conflict between hyperref and shortcaption trick!
Thanks. What I tried to do is to export to latex and edit the stuff by hand. I change the order of the usepackages and the inserted code from that trick. I discovered that I need to load the trick code last. If I put it in stdlayours.inc or scrreport.inc, that code will be loaded before hyperref, which causes the problem. So what I did: split the trick mentioned, one part goes to scrreprt.inc: Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString "SCaption:" LabelType Static End And all the actual code goes to latex premeable (menu). After that, the problem is gone. I will try to put hyperref at the end to see if that works too. Zailong -Original Message- From: Herbert Voss To: Zailong Bian Cc: '[EMAIL PROTECTED] ' Sent: 10/17/2001 6:02 AM Subject: Re: Conflict between hyperref and shortcaption trick! Zailong Bian wrote: > > I use the trick quiet often until recently I discovered a conflict. If I > put hyperref in the preamble, the short caption will not show up in LOF! The > long caption show up instead. If I remove hyperref, then it all becomes > normal. But I need hyperref! > > Please see the attached example file. > > The short caption trick I mentioned is here (the nicer solution): > > http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short > > I looked at the hyperref package and got only headache. I am not sure what > to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: multiple files
On Tue, Oct 16, 2001 at 06:27:11PM +0200, Davide Cavallari wrote: > On Sat, Oct 06, 2001 at 07:17:24PM +0200, Dekel Tsur wrote: > > Even symbolic links are unnecessary. > > You can put > > > > \usepackage{graphics,epsfig} > > \newcommand{\setpath}[1]{ > > \def\input@path{{PATH/#1//}} > > \graphicspath{{PATH/#1//}} > > } > > > > Where PATH is the path to the directory of the master file e.g /home/me/thesis > > and then put \setpath{chap1} in latex mode before including chapter1. > > I have used this method and till today it worked. Now I have a figure > composed by both a .tex part and a .ps one. These parts are generated by > gnuplot and the .tex part calls the .ps one with: > > \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} Why do you generate two files ? When I tried using the pslatex output of gnuplot, I got only one .tex file which embed the Postscript file into it. There is no problem with such a file.
Re: Conflict between hyperref and shortcaption trick!
Zailong Bian wrote: > > Hello. I double checked, putting hyperref at the last won't fix my problem. > When you ran my sample, did you really see "This one should be there!" in > the LOF? If you saw "My figure", that's exactly my problem. can't remember, deleted all files ... Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Title customization...
On Tue, Oct 16, 2001 at 07:50:02PM +0200, Herbert Voss wrote: > > * Put the chapter/section/etc. titles in Arial (or Helvetica, isn't it > > the same?). > > no! arial is something from the micros$ft world. > choose package helvet This will not change the font in the section titles. > > > * Reduce the space between the title and the first paragraph. > > should be possible with cursor in the first line of the > paragraph and than > layout->paragraph->space over->length->-1cm As I understand, Ben wanted reduce the spacing around section titles, so this is a bad solution. A simple solution for both of the above is to put the following line in the preamble: \usepackage[sf,compact]{titlesec}
Re: Octave support -- a wish
My dream of the future would would be that all software that displays or uses mathematical equations would support a common interchange format like MathML at the clipboard level. That way we could cut and past equations from any application to any other application. MathML is an XML based description language (See http://www.w3.org/Math/). However, I am not sure that even MathML has enough information to actually describe the math of the equation and not just how it appears on the screen. -Mark Esplin > However, I would have some much less complicated proposal. Would it be > possible to persuade Mathed, that it would insert in Clipboard (Ctrl-C) > matrix, equation, formula, etc. so that it may be easily inserted into > octave? I mean, that for above shown matrix, a content of clipboard > (when whole first line is selected) would be a=[1,2,3;2,3,1;3,1,2]? > > Thanks anyway -- I shock all my classmates (economists usually work with > M$ trash) with super beautiful equatioins in Computer Modern fonts (and > advertising LyX by that)! > > Have a nice day > > Matej _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: Conflict between hyperref and shortcaption trick!
On Wed, Oct 17, 2001 at 08:33:40AM -0400, Zailong Bian wrote: > Style ShortCaption > CopyStyle Caption > LatexName setshortcaption > LabelString "SCaption:" > LabelType Static > End > > And all the actual code goes to latex premeable (menu). After that, the > problem is gone. You can use the following (and nothing in the preamble): Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString "SCaption:" LabelType Static Preamble \AtBeginDocument{ \let\oldcaption=\caption \renewcommand{\caption}[1]{ \ifx \shortcaption \undefined% \oldcaption{#1}% \else% \oldcaption[\shortcaption]{#1}% \fi% }} \newcommand{\setshortcaption}[1]{ \newcommand{\shortcaption}{#1} } EndPreamble End
updating dvi
In an older version it was possible to update the DVI, without calling a new xdvi window. In version 1.1.6 fix3 this doesn't seem to be possible anymore. Or am I missing something..? Thkz -- A presto, Davide Cavallari The price of success in philosophy is triviality. -- C. Glymour.
Re: Still having troubles with my bibliography
On Tue, Oct 16, 2001 at 11:13:21PM -0600, Kent Kostuk wrote: > I have created one citation reference in the lyx file. What I get when I > run the DVI preview is [?] and no list of references. I tried it (after adding \usepackage{natbib} to the preamble), and it worked correctly. > I want my references to look like this (Howard 1960). Or possibly, blah, > blah, yakety yak by Howard. (1960). > > With the Bibliography to follow this format. > > Howard, R.A. 1960. Dynamic programming and Markov processes. M.I.T. > Press. Cambridge, MA. > > So, possibly I have been asking the wrong question. Does anyone know of a > bst that will do the job for me, or is rolling my own the solution? Use one of the .bst file harvard (agsm, apsr, dcu etc.)
Re: Octave support -- a wish
On Wed, Oct 17, 2001 at 11:28:16AM +0200, Jean-Marc Lasgouttes wrote: > LyX 1.2.0cvs already has an experimental math-extern feature. If you > provide a script which does lyx<->octave conversion, then it should do > something similar to what you need... I am probably not enough courageous to try *cvs version (I need LyX for real work and I do not want to compile anyway), but I promise, that I shall go for *pre1 version, when it will be available. Thanks Matej Cepl -- Matej Cepl, [EMAIL PROTECTED] 138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488 The state calls its own violence `law', but that of the individual `crime' -- Max Stirner
Re: multiple files
On Wed, Oct 17, 2001 at 03:13:05PM +0200, Dekel Tsur wrote: > On Tue, Oct 16, 2001 at 06:27:11PM +0200, Davide Cavallari wrote: > > > > I have used this method and till today it worked. Now I have a figure > > composed by both a .tex part and a .ps one. These parts are generated by > > gnuplot and the .tex part calls the .ps one with: > > > > \special{psfile=figure.ps llx=0 lly=0 urx=720 ury=504 rwi=7200} > > Why do you generate two files ? > When I tried using the pslatex output of gnuplot, I got only one .tex file > which embed the Postscript file into it. > There is no problem with such a file. I have tried with the standard 'pslatex' terminal, but with some huge graphs latex goes out of memory. I don't know the reason, but using the 'auxfile' option (getting so the PS code in a separate file) fixes this problem. -- A presto, Davide Cavallari Punti essenziali: 1. sono Dead Man; 2. non cercare di fottere Dead Man.
unsibscribe
unsubscribe
Re: Longtable increases table number
Rainer Dorsch wrote: > > float environments like figure and table have their respective counters. If a > longtable occurs not within such an environment, it increases the > float-counter for tables anyway. > > A reference document ist at > > http://www.ra.informatik.uni-stuttgart.de/~rainer/Download/table.lyx > > The tables are numbered 1, 2, 4 instead of 1, 2, 3. > > Is that a lyx or a longtable bug? > > Does anybody know a workaround? lontable uses the same counter than tabular. write in preamble: \let\myEnd\endlongtable \renewcommand\endlongtable{\myEnd\addtocounter{table}{-1}} if you have a mix of longtable with and without captions, than write after every longtable: \addtocounter{table}{-1} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
two column standard-style
hi I would like to do the following Title Section 1 xx xxx xx xxx xx xx Section 2 xx xxx xx xxx xx xx Like in each section is seperated and two columns. Something like a "Standard (two column)"-style is what I seek. any easy way of doing this? I have found the two-columns checkbox under documents, but it works for making everything into two colums. mo
Re: two column standard-style
Use the multicols package. This is all detailed in the Extended.lyx ---Kayvan On Wed, Oct 17, 2001 at 10:34:55PM +0200, morten wrote: > > > > hi > > I would like to do the following > > Title > > Section 1 > xx xxx > xx xxx > xx xx > > Section 2 > xx xxx > xx xxx > xx xx > > Like in each section is seperated and two columns. > Something like a "Standard (two column)"-style is what I seek. > > any easy way of doing this? I have found the two-columns checkbox under > documents, but it works for making everything into two colums. > > mo -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
vcard2bib
Has anybody got a small script for converting a collection of vcards to a bib file. This could be very useful for generating address books with hyperlinks in PDF with pdflatex. Regards torben begin:vcard n:Lund;Torben Ellegaard tel;work:+45 3632 3324 x-mozilla-html:FALSE url:www.drcmr.dk org:Danish Research Centre for MR adr:;;Præstøgade 7A 2.;Copenhagen East;;2100;Denmark version:2.1 email;internet:[EMAIL PROTECTED] title:M.Sc. x-mozilla-cpt:;30016 fn:Torben Ellegaard Lund end:vcard
Dictionary
Hi, I've been working with Lyx in Portuguese(Brazil). I'd like to know where I can find a dictionary for this language to run the Lyx spelling checker. Thanks, Tomaz. _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Book class: "preface" to TOC
I think this is a "wish list" item. With the requisite ERT, I have the preface entry (where preface is Chapter* environment) properly entered in the TOC and the \pagenumbering{style} for front matter and regular pages set as desired. Did I miss a way to do this within lyx? -- Mark Hansel PO Box 41 Minnesota State University Moorhead Moorhead, MN 56563 ph: 218-236-2039 fax: 218-236-2593 [EMAIL PROTECTED] http://wwwcj.mnstate.edu
Re: Title customization...
Dekel Tsur a écrit : > > A simple solution for both of the above is to put the following line in the > preamble: > \usepackage[sf,compact]{titlesec} That is exactly what I need! What a wonderful package. Thanks a lot! BG
Re: Octave support -- a wish
On Wed, Oct 17, 2001 at 09:38:38AM -0400, Mark Esplin wrote: > My dream of the future would would be that all software that displays or > uses mathematical equations would support a common interchange format like > MathML at the clipboard level. That way we could cut and past equations from > any application to any other application. MathML is an XML based description > language (See http://www.w3.org/Math/). However, I am not sure that even > MathML has enough information to actually describe the math of the equation > and not just how it appears on the screen. > > -Mark Esplin It has, for most of it. There are two flavors, presentational and content-based. Think of presentational as latex-like and the content-based as algebraic manipulator like. But since this isn't a perfect world, you will not fulfill your dream so soon, but not as late as you are afraid. ;-) -- José
Reference for US letter layout
I cannot find information in the users guide (basic or advanced) or the reference manual (not even the tutorial!) that tells me how to define the components of a letter. I was sent a letter via e-mail and imported it into LyX. I selected the "letter" document class but I cannot get the "send to address" or the "signature" to show up when I preview the printed output via ^d. Also, I cannot get the date (which is not today's) to show up. Where do I find a detailed reference to the components of a letter? I figured that this would be a good way for a LyX newcomer to learn the letter documant class (I'm already working on a book and an article). But, I cannot find the information by myself. TIA, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED] http://www.appl-ecosys.com
Pagination and current date in header
I've looked at Herbert Voss' web site and some of the more recent mail list messages without finding the answer to these questions. For many US business letters, the second and subsequent pages contain a header that looks like this: page From what I've learned, I can use either \lhead for each of those lines, or \fancyhead[LO,RO] {} for each line. I don't understand how these two forms differ in results. But, what I'd like to do is have the "send-to name" and date automatically picked up from page one, and the pagination start with '2'. Of course, this is suppressed on page 1. Is there a reference I can read to learn how to do this? If not, can someone please provide me with the preamble code to use? Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED] http://www.appl-ecosys.com
Re: Octave support -- a wish
> > This is a highly non-trivial task to accomplish. The real kicker wouldn't > > be so much to integrate with a numerics-only package like octave, but > > rather with a full-fledged technical computing environment like Mathematica > > or Maple. Unfortunately there's no real open source equivalent to these > > two, but they both offer well defined low-level communication interfaces. > > So it's not impossible, and in fact quite interesting. But a lot of work. > > Maybe when Lyx 2.0 with clean qt/gtk front ends is out and stable, the > > developers will turn their attention to such esoteric projects. But don't > > hold your breath, you might turn purple... > > How about SciLab? Well, to be honest I've only briefly played with it so I may be way off. But my impression is that nothing in the open source world comes even close to Mathematica or Maple. Unfortunately the kind of expertise needed for that stuff is quite esoteric and it just isn't that easy to gather enough voluntary contributors for such a complex project. As I said, maybe Scilab will become competitive, I'm just not too hopeful. Very specialized software is one of those ecological niches where I think proprietary software has a good chance of survival. Not that I like it, mind you (If you've ever dealt with Wolfram about a bug or licensing you know what I mean) but I just think it's the way it goes. Cheers, f