Re: sixth release of LyXWinInstaller
Martin Geisler wrote: > So please don't dismiss this as a WONTFIX bug... lots of people wont > have a Linux-savy boyfriend to help them out with these things :-) Again: The problem is with bibtex, not with LyX. We can work around it in LyX (and I'll do so probably sometimes), see http://bugzilla.lyx.org/show_bug.cgi?id=2186 Meanwhile you have to live with the limitations and organize your .bst files like Herbert suggested. Georg
Re: sixth release of LyXWinInstaller
- Original Message - From: "Bo Peng" <[EMAIL PROTECTED]> To: "Stephen Harris" <[EMAIL PROTECTED]> Cc: Sent: Monday, January 09, 2006 7:49 PM Subject: Re: sixth release of LyXWinInstaller My opinion is that if a file is allowed to 'browse in', it should work. Otherwise, it is a bug. A normal user would not care if it is latex' or lyx' or window', it is simply a bug. A lazy fix would give out a warning when a bst file with space is browsed in (since lyx know it will not work), and a better fix is handling .bst file the same way as the figures. Bo The browse function works as designed if you browse to a directory that adheres to the Miktex installation policy. It is not a bug if you circumvent a function that works correctly with the default bst directory install location. Anybody who changes parameters of a default installation is always responsible for problems arising from that change. In order to qualify as a bug, you need to claim that LyX should anticipate that a user will avoid installing bst files to the default folder, the only type (without spaces) of folder that works, but instead the user installs to a folder that won't work. Additionally, the LyX documentation should check for this and create a report for the user about what is essentially a Miktex gotcha. IMO, that is way too much to expect from online Lyx documentation, it falls short of being a bug. OTOH, I don't think you made a dumb mistake. I do doubt that it is a problem that a normal user will experience. Why is your report just now bringing up this issue, why hasn't there been a report about this from a normal user? Probably because the normal user doesn't encounter or expose this browse function. They probably use the ordinary procedures. That addresses the priority and depth of a solution. Angus says fixing this is fragile, difficult so time-consuming. It would fix a rarely experienced problem which has a great alternate solution. Using a directory without spaces is a very standard workaround. Windows uses double quotes (" ") to surround a path with spaces, and I think that should have a higher priority than: rewriting the LyX online doc plus a method to check the current directory for spaces and issue a warning to the user. I think writing an entry under WinLyX Tips which makes people aware of a potential problem is sufficient for a rarely encountered sticking point. Unless you think this is a more common error for normal users and nobody has bothered to report it in the past. I think it will be years before LyX developers have nothing better to do than to fix a Miktex/TeX limitation which is either not considered a bug, is a WONTFIX, or maybe can't be fixed. http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html 3.1 MiKTeX "The approved way to use TeX4ht is via a series of batch files. Therefore, it is important that you install MiKTeX to a folder whose name (and path) does not include a space. The default location, c:\texmf, is perfect. If you really don't want MiKTeX in c:\texmf, you should place it in some subdirectory whose name does not include spaces, like c:\ProgramFiles (note: no space here) or c:\DosPrograms. You could also place GhostScript and ImageMagick in that folder." Regards, Stephen
Re: quote size
Thanks Paul, I was referring to a quote style in order to format large number of quotes in a consistent manner. I learned how to control the spacing separately from the body text --- how about point size? regards, Eran Well, to control the font size of body text, follow the suggestion advanced by Kevin. To control the font size of quotes, select the whole quote and then Layout --> Character
Re: Typeface for Insert URL
Thanks, Uwe I guess what I want is \url or \nolinkurl, since I need the text to contain the actual link. But no matter which option I used, I still got a different font from the default font (Sabon typeface). I am using memoir class with \usepackage{memhfixc). Any ideas? Regards, Eran /Insert URL/ does a fine job of typesetting the link, but it doesn't use my default typeface. How do I force it to? The problem LyX's hardcoding of the typeface: \IfFileExists{url.sty}{\usepackage{url}} {\newcommand{\url}{\texttt}} see bug 1520 http://bugzilla.lyx.org/show_bug.cgi?id=1520 To get the right typeface use the command "\href" (this requires the package "hyperref" in the preamble). I attached an example. regards Uwe
Re: powerdot
For intsalling the new package of pstricks do I have to delete the old one or I can just install the new package (without deleting the old one) in /usr/local/share/texmf/tex/latex On Mon, 9 Jan 2006, L. R. Denham wrote: > On Monday 09 January 2006 12:42, Subir Singh Lamba wrote: > > > > If I install the latest "xkeyval" package from Ctan. and then compile the > > example file it gives the following error. > > > > > > -- > > Undefined control sequence. > > ...kgray,.25;gray,.5;lightgray,.75;white,1} > > > > 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. > > > > > > You probably don't have a new enough version of pstricks. Look at the > powerdot documentation (Table 2, page 25, I think) for the required version > -- or just get the latest from CTAN. > > Les > -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: sixth release of LyXWinInstaller
> SH: I'm going to summarize my understanding of his posts. < ignore 3 > words> You are not summarizing, rather extending my posts. It has been clear that 1. Miktex is installed under a path without space, following the Miktex recommendations. 2. Lyx is installed under c:\program files and it is *not* causing any problem, 3. The lyx document, along with .bib, .eps, .png files are handled correctly by lyx, even if they are put under a path with spaces. 4. If a customized .bst file is put along with the lyx file, in a path with space, it can be browsed in but the output has no bibliography without any kind of warning/error message. My opinion is that if a file is allowed to 'browse in', it should work. Otherwise, it is a bug. A normal user would not care if it is latex' or lyx' or window', it is simply a bug. A lazy fix would give out a warning when a bst file with space is browsed in (since lyx know it will not work), and a better fix is handling .bst file the same way as the figures. Bo
Re: sixth release of LyXWinInstaller
- Original Message - From: "Stephen Harris" <[EMAIL PROTECTED]> To: ; "Martin Geisler" <[EMAIL PROTECTED]> Sent: Monday, January 09, 2006 7:07 PM Subject: Re: sixth release of LyXWinInstaller - Original Message - From: "Martin Geisler" <[EMAIL PROTECTED]> To: Cc: Sent: Monday, January 09, 2006 12:35 PM Subject: Re: sixth release of LyXWinInstaller it contained spaces. If there are no spaces it works. So the LyX browse option ought to determine that the Windows folder contains spaces and then produce a popup warning which says "The browse option is not available since you have installed a .bst file to a Windows directory without spaces." I don' think so. ^with^<< correction. The Windows user without the hacker proclivity follows the setup defaults and puts the .bst files into a directory designated by the doc to contain them. If they acquire a custom .bst file they follow the documented procedure for placing them in that same designated location. Actually I think the doc recommends putting custom files in C:\localtexmf which is not the "same designated location". So C:\localtexmf\bibtex\bst
Re: sixth release of LyXWinInstaller
- Original Message - From: "Martin Geisler" <[EMAIL PROTECTED]> To: Cc: Sent: Monday, January 09, 2006 12:35 PM Subject: Re: sixth release of LyXWinInstaller "Stephen Harris" <[EMAIL PROTECTED]> writes: If you download a .bst file from the internet and put it into C:\My research papers along with research.lyx it doesn't work, not because of some alleged problem that reflects to C:\My Documents, but for the same reason C:\program files\texmf doesn't work. It has nothing to do with retraining. And I consider both of these problems to be a bug when I encounter them under Windows. Spaces in paths are a *normal* thing under Windows, and programs ported to Windows should be able to deal with them. If not, then I really think the problem lies with the program. I use Linux myself and there we all know that spaces in file names are nasty thing because they cause different problems for shell scripts. So in Linux the norm is to avoid spaces, and so everything works fine. -- SH: I am not so sure that you followed this thread. So I'm going to requote Bo Peng, his complaint and suggested solution which has introduced the "path with spaces" aspect of this discussion. : Dear list, Under linux, I can put a customized .bst file with the lyx file and use it in the 'bibtex bibliography" dialog. This does not work under windows. Is it because bibtex can not find the .bst file? Bo ... If you View->LaTeX info->BibTeX styles, can you see the .bst file? No. The .bst file is under the same directory as the .lyx file. I use 'browse' in the bib tex dialog to use it. Under linux, this is enough. Bo I am not quite sure why miktex/bibtex can not handle a path with spaces, whereas miktex/latex can. Anyway, if this is a problem that will be classified as WONTFIX, it would be better to warn the user about this when a .bst file is selected in the bibtex dialog. If a user is *allowed* to select and use a .bst file, and end up with no bibliography in the output, his confidence in lyx will suffer. Bo SH: I'm going to summarize my understanding of his posts. Under Linux, Bo was able to browse to a directory that contained a customized (downloaded from internet) .bst file and this worked. Under Windows, Bo browsed to a directory containing a customized .bst file and it didn't work. Bo thought this behavior was inconsistent and unexpected so that a warning ought to be included in the Lyx online documentation. Do you understand his posts the same way? I think there is very likely an error in Bo's reasoning. Bo placed the .bst file in a Windows directory which contained spaces. It didn't work and that is expected. I don't know for sure, but I think it is quite likely that the Linux case which did work, had the .bst placed in a directory path which had no spaces. This is expected and so the overall behavior is consistent and does not need LyX online documentation. Instructions already exist. How would Bo's warning be implemented? The LyX browse option would have to analyze the Windows installation directory to see if it contained spaces. If there are no spaces it works. So the LyX browse option ought to determine that the Windows folder contains spaces and then produce a popup warning which says "The browse option is not available since you have installed a .bst file to a Windows directory without spaces." I don' think so. What I do think is that the Miktex install instructions say: "It is recommended that you install Miktex to directory without spaces." The default install directory used during Miktex setup is: C:\texmf Miktex instruction state to install .bst files in C:\texmf\bibtex\bst and that is the default install directory. If a poweruser elects to ignore installation recommendation and change the default install directory of Miktex/texmf then that user assumes the responsibility of knowing the consequences of such a change, and to implement a deviation from the default in such a way that the install is not defeated by his interventions. It is not the responsibility of Lyx online documentation to warn the user of his oversights/mistakes in modifying another program's defaults. There are dozens of newcomer mistakes that result in LyX or its helper applications that arise from not following instruction and result in some type of malfunction. Whether it is the newcomer lack of knowledge or the poweruser's failure to anticipate consequences of his shortcut, there is one description which describes both failures. User installation error. There is nothing special about a poweruser error which deserves its own special specific online LyX explanation. -- But when I installed LyX for my girlfriend I made a directory called `LyX Test' and fooled around in it to see what this thing was all about. And when I wanted to include a custom .bst file I placed it in the same directory only to be
Re: Excel-like tables
On 1/10/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote: > >>>Is it possible with LyX the creation of tables like the first one shown at > >>> > >>>http://www.usd.edu/trio/tut/excel/13.html > >> > >>It is, have a look at > >> > >>http://wiki.lyx.org/pmwiki.php/LyX/Tables > >> > >>You find ther an example lyx-file in the section "colored tables". > > > > Thanks, Uwe, for the very useful link. Attached, it is an example that > > I have adapted, which seems to exhibit a bug, since it seems > > impossible to add a certain vertical border. Please, see the file > > attached. > > Try right-clicking the top left cell and inserting a vertical bar (|) at > the very start of the LaTeX argument, i.e. > > |>{\columncolor{darkgreen}\centering}c Thanks, Paul. Your suggestion succeeds, but should not it work through mere manipulation inside "Borders" tab? Another problem: not all borders of the table shown inside LyX are shown in the corresponding dvi or pdf files. (Please, have a look at them.) Can one overcome this problem? Paul
Re: Excel-like tables
Paul Smith wrote: On 1/9/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote: Is it possible with LyX the creation of tables like the first one shown at http://www.usd.edu/trio/tut/excel/13.html It is, have a look at http://wiki.lyx.org/pmwiki.php/LyX/Tables You find ther an example lyx-file in the section "colored tables". Thanks, Uwe, for the very useful link. Attached, it is an example that I have adapted, which seems to exhibit a bug, since it seems impossible to add a certain vertical border. Please, see the file attached. Paul Paul, Try right-clicking the top left cell and inserting a vertical bar (|) at the very start of the LaTeX argument, i.e. |>{\columncolor{darkgreen}\centering}c /Paul
Re: Excel-like tables
On 1/9/06, Uwe Stöhr <[EMAIL PROTECTED]> wrote: > > Is it possible with LyX the creation of tables like the first one shown at > > > > http://www.usd.edu/trio/tut/excel/13.html > > It is, have a look at > > http://wiki.lyx.org/pmwiki.php/LyX/Tables > > You find ther an example lyx-file in the section "colored tables". Thanks, Uwe, for the very useful link. Attached, it is an example that I have adapted, which seems to exhibit a bug, since it seems impossible to add a certain vertical border. Please, see the file attached. Paul bug_table.lyx Description: application/lyx
Re: powerdot
On Monday 09 January 2006 12:42, Subir Singh Lamba wrote: > > If I install the latest "xkeyval" package from Ctan. and then compile the > example file it gives the following error. > > > -- > Undefined control sequence. > ...kgray,.25;gray,.5;lightgray,.75;white,1} > > 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. > > You probably don't have a new enough version of pstricks. Look at the powerdot documentation (Table 2, page 25, I think) for the required version -- or just get the latest from CTAN. Les
Re: sixth release of LyXWinInstaller
"Stephen Harris" <[EMAIL PROTECTED]> writes: > As it stands now, that decision [to make the default install path > "C:\Program Files"] was a marketing decision, because the choice > causes problem with porting programs to Windows which Microsoft > doesn't gather revenue from. I'm sick of that ludicrous misnomer, > "guideline" being applied to a proprietary money-making scheme which > does nothing to benefit the operation of LyX&helpers. Do you really mean that Microsoft decided on a default install path with spaces just to annoy all the future Unix-centric programs being ported to Windows? > If you download a .bst file from the internet and put it into C:\My > research papers along with research.lyx it doesn't work, not because > of some alleged problem that reflects to C:\My Documents, but for > the same reason C:\program files\texmf doesn't work. It has nothing > to do with retraining. And I consider both of these problems to be a bug when I encounter them under Windows. Spaces in paths are a *normal* thing under Windows, and programs ported to Windows should be able to deal with them. If not, then I really think the problem lies with the program. I use Linux myself and there we all know that spaces in file names are nasty thing because they cause different problems for shell scripts. So in Linux the norm is to avoid spaces, and so everything works fine. But when I installed LyX for my girlfriend I made a directory called `LyX Test' and fooled around in it to see what this thing was all about. And when I wanted to include a custom .bst file I placed it in the same directory only to be met with errors. Coming from Linux I soon suspected the "weird" path name and renamed the directory --- and things worked fine. So please don't dismiss this as a WONTFIX bug... lots of people wont have a Linux-savy boyfriend to help them out with these things :-) -- Martin Geisler GnuPG Key: 0x7E45DD38 PHP Exif Library | PHP Weather | PHP Shell http://pel.sf.net/| http://phpweather.net/ | http://mgeisler.net/ Read/write Exif data | Show current weather| A shell in a browser pgpRXNP4zYuwL.pgp Description: PGP signature
Re: Excel-like tables
Paul Smith wrote: Is it possible with LyX the creation of tables like the first one shown at http://www.usd.edu/trio/tut/excel/13.html It is, have a look at http://wiki.lyx.org/pmwiki.php/LyX/Tables You find ther an example lyx-file in the section "colored tables". regards Uwe
Excel-like tables
Dear All Is it possible with LyX the creation of tables like the first one shown at http://www.usd.edu/trio/tut/excel/13.html ? Paul
Re: quote size
On 1/9/06, mail.k <[EMAIL PROTECTED]> wrote: > yes: body text in 11 and 9 or 10pt for quotes. Well, to control the font size of body text, follow the suggestion advanced by Kevin. To control the font size of quotes, select the whole quote and then Layout --> Character Paul
Re: problem including tex file
Am Montag, 9. Januar 2006 18:31 schrieb J Greenbaum: > I thought this might be a permissions problem, but I have write > permissions to the file mentioned, as well as the directory. The > directory structure is as follows: It is no permissions problem, LyX is probably trying to access the file /tmp/lyx.tmpbuf/document/0_Prelim/prelim.tex whichs does not work, because the directory /tmp/lyx.tmpbuf/document/0_Prelim/ does not exist. > /document/document.lyx > /document/0_Prelim/prelim.tex > /document/0_Prelim/prelim.aux How are you including it? With ERT or the native include button? The latter method should work since LyX 1.3.5 (or was it 1.3.6? I don't remember). It will not work with earlier versions of LyX. The ERT method will only work if you don't use a temporary directory in your preferences, but that is not recommended. Georg
Re: powerdot
If I install the latest "xkeyval" package from Ctan. and then compile the example file it gives the following error. -- Undefined control sequence. ...kgray,.25;gray,.5;lightgray,.75;white,1} 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. On Mon, 9 Jan 2006, Robert Orr wrote: > > I seem to remember that this was one of the packages > that > is listed in the dependencies section of the user > manual. > It recommends version at least version 2.5C. > > Phil > --- Subir Singh Lamba <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > I am facing problem while running the examples > > provided in doc directory > > of the powedot distribution. Whenever I try to > > compile the example file in > > lyx or latex it gives the following error message:- > > > > > - > > I can't find file `xkeyval'. > > ...XKeyValLoaded\endinput\else\input xkeyval > > > > \fi > > Please type another input file name > > > --- > > > > Any help will be greatly appreciated. > > > > regards, > > > > Subir > > > > > > > __ > Yahoo! DSL Something to write home about. > Just $16.99/mo. or less. > dsl.yahoo.com > -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: powerdot install
What I have read from the presentation page on Wiki. It says that it is as powerful as beamer but I am facing problem in compiling the file. On Tue, 10 Jan 2006, John O'Gorman wrote: > On Tue, 2006-01-10 at 01:35, Subir Singh Lamba wrote: > > Hi, > > > > I tried to install powerdot package following the installation advice from > > the help menu of lyx. > How does powerdot compare with beamer? > > regards > John O'Gorman > -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: powerdot install
On Tue, 2006-01-10 at 01:35, Subir Singh Lamba wrote: > Hi, > > I tried to install powerdot package following the installation advice from > the help menu of lyx. How does powerdot compare with beamer? regards John O'Gorman
Re: powerdot
I seem to remember that this was one of the packages that is listed in the dependencies section of the user manual. It recommends version at least version 2.5C. Phil --- Subir Singh Lamba <[EMAIL PROTECTED]> wrote: > > Hi, > > I am facing problem while running the examples > provided in doc directory > of the powedot distribution. Whenever I try to > compile the example file in > lyx or latex it gives the following error message:- > > - > I can't find file `xkeyval'. > ...XKeyValLoaded\endinput\else\input xkeyval > > \fi > Please type another input file name > --- > > Any help will be greatly appreciated. > > regards, > > Subir > __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
Re: quote size
(oops) yes: body text in 11 and 9 or 10pt for quotes. thx.
powerdot
Hi, I am facing problem while running the examples provided in doc directory of the powedot distribution. Whenever I try to compile the example file in lyx or latex it gives the following error message:- - I can't find file `xkeyval'. ...XKeyValLoaded\endinput\else\input xkeyval \fi Please type another input file name --- Any help will be greatly appreciated. regards, Subir
problem including tex file
Hi all, I have a problem which is probably tex related, but thought someone here might be able to help. I'm including a tex file, which compiles fine on its own, in my lyx document. When I try to compile the lyx with pdflatex, I get the following error message: I can't write on file `0_Prelim/prelim.aux'. \include{0_Prelim/prelim} Please type another output file name I thought this might be a permissions problem, but I have write permissions to the file mentioned, as well as the directory. The directory structure is as follows: /document/document.lyx /document/0_Prelim/prelim.tex /document/0_Prelim/prelim.aux Anyone have any ideas? Thanks in advance for your help. -Jay
Re: Typeface for Insert URL
mail.k wrote: /Insert URL/ does a fine job of typesetting the link, but it doesn't use my default typeface. I do I force it to? The problem LyX's hardcoding of the typeface: \IfFileExists{url.sty}{\usepackage{url}} {\newcommand{\url}{\texttt}} see bug 1520 http://bugzilla.lyx.org/show_bug.cgi?id=1520 To get the right typeface use the command "\href" (this requires the package "hyperref" in the preamble). I attached an example. regards Uwe newfile2.lyx Description: application/lyx
Re: quote size
On 1/9/06, mail.k <[EMAIL PROTECTED]> wrote: > I managed to set my text in 1.5 spacing and quotes in single. > > My text is set in 11 pt., but I'd like to use a smaller size. Do you mean that you want a smaller font size for standard text or for quote text only? Paul
Re: quote size
mail.k writes: > Hello! Here's a third noob question in a row: > > > I managed to set my text in 1.5 spacing and quotes in single. > > My text is set in 11 pt., but I'd like to use a smaller size. > > > I'm using memoir, but I don't have to. For the main text? Did you look under Layout -> Document Settings -> Document Style already? -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations
Re: export table TOC
On Monday 09 January 2006 14:59, Kevin Pfeiffer wrote: > Herbert Voss writes: > > David Wolfson wrote: > > > Herbert Voss wrote: > > >>David Wolfson wrote: > > >>>I'm writing up my PhD thesis using lyx, and am have a master > > >>> document with each chapter as an input file. This all works ok, > > >>> but I need to produce and outline of the overall document > > >>> structure. I'd hoped to do this by exporting the contents pages > > >>> in isolation somehow, but haven't been able to find a way to do > > > > or create a LyX file, documentclass book and insert > > the toc. > > > > > [EMAIL PROTECTED] {english} > > > > this line should be deleted. > > This worked like a charm (some of us like to "play along at home"). I > chose "Insert File -> ASCII as lines", deleted the language line, > selected all the text, and pressed Ctrl-L to convert the whole thing to > an ERT. I then added "TOC" as a "Chapter*". > > If David or someone else doesn't add this to the Wiki, I will. I've added it to the wiki at: http://wiki.lyx.org/pmwiki.php/Tips/AccessTableOfContentsAsASeperateDocument Please tweak it if you want! Thanks again, Dave > > -Kevin
Re: ACM SIG for LYX
Nicolás wrote: Supheakmungkol SARIN wrote: Hello lyxers, I have to write an ACM Sig paper and I'd like to know whether there is such a layout or template ever made for Lyx or not. > You can find a layout here: http://www.ece.iit.edu/~jgrad/lyx/ Hello Nicolás, would you like it to include your layout to LyX? If yes could you send a permission to publish your work under the GPL. Does your "iithesis.layout" also work with a "iitthesis.cls" from CTAN (the official one)? thanks and regards Uwe
quote size
Hello! Here's a third noob question in a row: I managed to set my text in 1.5 spacing and quotes in single. My text is set in 11 pt., but I'd like to use a smaller size. I'm using memoir, but I don't have to. Thanks! mail.k
oldstyle figures
Hello! I'd like to use old-style figures in my text (including quotations, etc.) but I don't think they're appropriate for headings (see Bringhurst) and for my footnotes. I'd like a way to: 1. set the default to (myfont)j and define footnotes and headings to use (myfont)x or 2. set the default to (myfont)j and define standard and quotations to use (myfont)x. Any ideas? Thanks! m ail.k
Typeface for Insert URL
Hello! /Insert URL/ does a fine job of typesetting the link, but it doesn't use my default typeface. I do I force it to? Many thanks, mail.k
Re: export table TOC
Herbert Voss writes: > David Wolfson wrote: > > Herbert Voss wrote: > >>David Wolfson wrote: > >>>I'm writing up my PhD thesis using lyx, and am have a master > >>> document with each chapter as an input file. This all works ok, > >>> but I need to produce and outline of the overall document > >>> structure. I'd hoped to do this by exporting the contents pages > >>> in isolation somehow, but haven't been able to find a way to do > or create a LyX file, documentclass book and insert > the toc. > > > [EMAIL PROTECTED] {english} > > this line should be deleted. This worked like a charm (some of us like to "play along at home"). I chose "Insert File -> ASCII as lines", deleted the language line, selected all the text, and pressed Ctrl-L to convert the whole thing to an ERT. I then added "TOC" as a "Chapter*". If David or someone else doesn't add this to the Wiki, I will. -Kevin -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations
Re: export table TOC
David Wolfson wrote: Herbert Voss wrote: David Wolfson wrote: I'm writing up my PhD thesis using lyx, and am have a master document with each chapter as an input file. This all works ok, but I need to produce and outline of the overall document structure. I'd hoped to do this by exporting the contents pages in isolation somehow, but haven't been able to find a way to do this. Heres what I've tried: run LyX and don't close it, then go into the temporary directory /tmp/lyx There you'll find all important files. The toc is in .toc rename this file to whatever you want. Now you can use it as usual with \input This looks to be a good way forward. I've found the file, and all the information appears to be there, but I haven't yet succeded in a good output from it. I've put an example of some of the text below, but I'm not sure quite what this is. It doesn't work including it as an \input file, or as ERT or lyx-code. Do you know what this is, and how I can get lyx to process it correctly? build a small LaTeX document \documentclass[10pt,english]{book} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{babel} \begin{document} \chapter*{Contents} \contentsline {chapter}{\numberline {1}Introduction}{1} \contentsline {section}{\numberline {1.1}Aims}{1} \contentsline {chapter}{\numberline {2}Background}{2} \contentsline {section}{\numberline {2.1}Shaken Baby Syndrome}{2} \contentsline {section}{\numberline {2.2}Anatomy of the Head and Neck}{3} \contentsline {subsection}{\numberline {2.2.1}Skull}{3} \contentsline {subsection}{\numberline {2.2.2}Brain}{3} \contentsline {subsection}{\numberline {2.2.3}Meninges}{6} \contentsline {subsection}{\numberline {2.2.4}Neck}{6} \contentsline {paragraph}{Skeletal}{6} \contentsline {paragraph}{Muscular}{8} \contentsline {section}{\numberline {2.3}Techniques for Biomechanical Investigation}{10} \contentsline {subsection}{\numberline {2.3.1}Anthropometric Test Dummies}{10} \contentsline {subsection}{\numberline {2.3.2}Rigid Body Modelling}{11} \contentsline {subsection}{\numberline {2.3.3}Physical Modelling}{12} \contentsline {section}{\numberline {2.4}Brain Injury Mechanisms}{13} \contentsline {subsection}{\numberline {2.4.1}Penetration Injuries}{13} \contentsline {subsection}{\numberline {2.4.2}Contact Injuries}{13} \contentsline {subsection}{\numberline {2.4.3}Acceleration Injuries}{14} \end{document} or create a LyX file, documentclass book and insert the toc. [EMAIL PROTECTED] {english} this line should be deleted. Herbert
Re: export table TOC
Herbert Voss wrote: > David Wolfson wrote: > > I'm writing up my PhD thesis using lyx, and am have a master document > > with each chapter as an input file. This all works ok, but I need to > > produce and outline of the overall document structure. I'd hoped to do > > this by exporting the contents pages in isolation somehow, but haven't > > been able to find a way to do this. Heres what I've tried: > > run LyX and don't close it, then go into the temporary > directory /tmp/lyx > There you'll find all important files. The toc is in .toc > rename this file to whatever you want. Now you can use it as > usual with \input This looks to be a good way forward. I've found the file, and all the information appears to be there, but I haven't yet succeded in a good output from it. I've put an example of some of the text below, but I'm not sure quite what this is. It doesn't work including it as an \input file, or as ERT or lyx-code. Do you know what this is, and how I can get lyx to process it correctly? Cheers, Dave example text from master.toc [EMAIL PROTECTED] {english} \contentsline {chapter}{\numberline {1}Introduction}{1} \contentsline {section}{\numberline {1.1}Aims}{1} \contentsline {chapter}{\numberline {2}Background}{2} \contentsline {section}{\numberline {2.1}Shaken Baby Syndrome}{2} \contentsline {section}{\numberline {2.2}Anatomy of the Head and Neck}{3} \contentsline {subsection}{\numberline {2.2.1}Skull}{3} \contentsline {subsection}{\numberline {2.2.2}Brain}{3} \contentsline {subsection}{\numberline {2.2.3}Meninges}{6} \contentsline {subsection}{\numberline {2.2.4}Neck}{6} \contentsline {paragraph}{Skeletal}{6} \contentsline {paragraph}{Muscular}{8} \contentsline {section}{\numberline {2.3}Techniques for Biomechanical Investigation}{10} \contentsline {subsection}{\numberline {2.3.1}Anthropometric Test Dummies}{10} \contentsline {subsection}{\numberline {2.3.2}Rigid Body Modelling}{11} \contentsline {subsection}{\numberline {2.3.3}Physical Modelling}{12} \contentsline {section}{\numberline {2.4}Brain Injury Mechanisms}{13} \contentsline {subsection}{\numberline {2.4.1}Penetration Injuries}{13} \contentsline {subsection}{\numberline {2.4.2}Contact Injuries}{13} \contentsline {subsection}{\numberline {2.4.3}Acceleration Injuries}{14}
Re: powerdot install
Subir Singh Lamba wrote: Hi, I tried to install powerdot package following the installation advice from the help menu of lyx. I am using Mandrake 10.1. I unzipped the powerdot files into /usr/local/texmf/tex/latex/powerdot Then use texhash to udate latex but when I use kpsewhich tex powerdot.cls it shows no path for the file. One thing I could not understand (and this could be the source of the problem) is where to put the lines (as mentioned in the lyx help) TEXMFLOCAL =/usr/local/texmf TEXMF = {$HOMETEXMF, !!$TEXMFLOCAL, !!$TEXMFMAIN} kpsewhich --show-path tex shows all directories, where TeX will search for files. is /usr/local/texmf part of it? Herbert
Re: powerdot install
Thanks for the help. Yes I have found my mistake. regards, Subir On Mon, 9 Jan 2006, Andres Becerra Sandoval wrote: > On 1/9/06, Subir Singh Lamba <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I tried to install powerdot package following the installation advice from > > the help menu of lyx. > > > > I am using Mandrake 10.1. > > > > I unzipped the powerdot files into > > > > /usr/local/texmf/tex/latex/powerdot > > > > Then use texhash to udate latex but when I use > > > > kpsewhich tex powerdot.cls it shows no path for the file. > > > > One thing I could not understand (and this could be the source of the > > problem) is where to put the lines (as mentioned in the lyx help) > > > > TEXMFLOCAL =/usr/local/texmf > > > > TEXMF = {$HOMETEXMF, !!$TEXMFLOCAL, !!$TEXMFMAIN} > > > > > > I have also put powerdot.layout file in .lyx/layout. On reconfigruing lyx > > it says powerdot not installed. > > > > Any help will be greatly appreciated, > > > > Subir > > > > > > Try with /usr/local/share/texmf/ ! > > -- > Andrés > -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: ACM SIG for LYX
You can find a layout here: http://www.ece.iit.edu/~jgrad/lyx/ Supheakmungkol SARIN wrote: Hello lyxers, I have to write an ACM Sig paper and I'd like to know whether there is such a layout or template ever made for Lyx or not. Every comment is highly appreciated. Thank you, Mungkol - Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Re: powerdot install
On 1/9/06, Subir Singh Lamba <[EMAIL PROTECTED]> wrote: > > Hi, > > I tried to install powerdot package following the installation advice from > the help menu of lyx. > > I am using Mandrake 10.1. > > I unzipped the powerdot files into > > /usr/local/texmf/tex/latex/powerdot > > Then use texhash to udate latex but when I use > > kpsewhich tex powerdot.cls it shows no path for the file. > > One thing I could not understand (and this could be the source of the > problem) is where to put the lines (as mentioned in the lyx help) > > TEXMFLOCAL =/usr/local/texmf > > TEXMF = {$HOMETEXMF, !!$TEXMFLOCAL, !!$TEXMFMAIN} > > > I have also put powerdot.layout file in .lyx/layout. On reconfigruing lyx > it says powerdot not installed. > > Any help will be greatly appreciated, > > Subir > > Try with /usr/local/share/texmf/ ! -- Andrés
Re: export table TOC
David Wolfson wrote: I'm writing up my PhD thesis using lyx, and am have a master document with each chapter as an input file. This all works ok, but I need to produce and outline of the overall document structure. I'd hoped to do this by exporting the contents pages in isolation somehow, but haven't been able to find a way to do this. Heres what I've tried: - None of the export options allow a page range to be set. - If I export to PDF/DVI I can set a page range to print, but can't then print to a PDF - If I export the master document as ASCII then I only get the text from the mater, none of the input files. Does anyone have any suggestions please? run LyX and don't close it, then go into the temporary directory /tmp/lyx There you'll find all important files. The toc is in .toc rename this file to whatever you want. Now you can use it as usual with \input Herbert
powerdot install
Hi, I tried to install powerdot package following the installation advice from the help menu of lyx. I am using Mandrake 10.1. I unzipped the powerdot files into /usr/local/texmf/tex/latex/powerdot Then use texhash to udate latex but when I use kpsewhich tex powerdot.cls it shows no path for the file. One thing I could not understand (and this could be the source of the problem) is where to put the lines (as mentioned in the lyx help) TEXMFLOCAL =/usr/local/texmf TEXMF = {$HOMETEXMF, !!$TEXMFLOCAL, !!$TEXMFMAIN} I have also put powerdot.layout file in .lyx/layout. On reconfigruing lyx it says powerdot not installed. Any help will be greatly appreciated, Subir
Re: export table TOC
On 1/9/06, David Wolfson <[EMAIL PROTECTED]> wrote: > On Monday 09 January 2006 11:43, Kevin Pfeiffer wrote: > > David Wolfson writes: > > > - None of the export options allow a page range to be set. > > > - If I export to PDF/DVI I can set a page range to print, but can't > > > then print to a PDF > > > > Not sure whether these will help with your set up, but: > > With xdvi you can also save a page range as a PDF. > > > > Or with the whole document as a PDF you could (assuming availability) > > use Adobe Acrobat to extract the pages you need. > > > > -K > Kevin, > > Thanks for the suggestions, they look like what I'm looking for but are you > able to give a little more detail, or point me in the right direction for > where to work these out though. > > I'm using 'xdvik version 22.40y' and it appears to be nothing more than a > viewer, with no output or file options at all. I have adobe reader 7.0, which > I guess isn't going to be able to do what you suggest acrobat can do. > > I'm off to google in the meantime, but would appreciate any further guidance, > > Dave > > Hello, If you output to postscript, with the gv viewer you can save some selected pages (right clicking on them) to a new postscript file. Then you can convert it to pdf with ps2pdf -- Andrés
Re: figures in a table
Ray Henry wrote: I'm creating a 10x10 table. The first column is filled with small images. It is set to zero width. The other columns are all set to fixed width and have text wrapped. When the the image is inserted it creates space at the top of the row and pushes down the text in the other cells. The images are sized to fit inside a cell without creating additional space. What can I do to minimize the affect of inserting these images. http://tug.org/TeXnik/mainFAQ.cgi?file=table/textFigure the \rule is your \includegraphics Herbert
Re: export table TOC
On Monday 09 January 2006 11:43, Kevin Pfeiffer wrote: > David Wolfson writes: > > - None of the export options allow a page range to be set. > > - If I export to PDF/DVI I can set a page range to print, but can't > > then print to a PDF > > Not sure whether these will help with your set up, but: > With xdvi you can also save a page range as a PDF. > > Or with the whole document as a PDF you could (assuming availability) > use Adobe Acrobat to extract the pages you need. > > -K Kevin, Thanks for the suggestions, they look like what I'm looking for but are you able to give a little more detail, or point me in the right direction for where to work these out though. I'm using 'xdvik version 22.40y' and it appears to be nothing more than a viewer, with no output or file options at all. I have adobe reader 7.0, which I guess isn't going to be able to do what you suggest acrobat can do. I'm off to google in the meantime, but would appreciate any further guidance, Dave
Re: export table TOC
David Wolfson writes: > - None of the export options allow a page range to be set. > - If I export to PDF/DVI I can set a page range to print, but can't > then print to a PDF Not sure whether these will help with your set up, but: With xdvi you can also save a page range as a PDF. Or with the whole document as a PDF you could (assuming availability) use Adobe Acrobat to extract the pages you need. -K -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations
export table TOC
I'm writing up my PhD thesis using lyx, and am have a master document with each chapter as an input file. This all works ok, but I need to produce and outline of the overall document structure. I'd hoped to do this by exporting the contents pages in isolation somehow, but haven't been able to find a way to do this. Heres what I've tried: - None of the export options allow a page range to be set. - If I export to PDF/DVI I can set a page range to print, but can't then print to a PDF - If I export the master document as ASCII then I only get the text from the mater, none of the input files. Does anyone have any suggestions please? Cheer, Dave
Re: copying and pasting a LyX environment? (like Word's Format Painter)
On Mon, Jan 09, 2006 at 10:22:48AM +0100, Kevin Pfeiffer wrote: > Helge Hafting writes: > > I don't know how this "format painter" works, but here is something > > I imagine could be useful: > > > > * Mark the part of the document to be changed - possibly all > > * Use a menu (or keypress) to change "heading level" up or down, > >similiar to how we already can change the "environment depth". > > This is more or less what I was thinking of -- something similar to the > Apply function in the paragraph and character menus: you choose a new > parameter (such as subparagraph), select a section to be changed (or in > the case of a single line, simple place the cursor somewhere on it) and > click something to apply the new parameter. The method you describe > sounds equally (perhaps more) useful. This functionality could be implemneted in the Navigate menu in the Qt frontend: Make the menu a list view, allowm multiple selection, create and connect actions to movce things a level in or out. Could be extended to shift whole sections up and down. Less than 200 lines for the in/out part I'd bet. Andre'
Re: copying and pasting a LyX environment? (like Word's Format Painter)
Jean-Marc Lasgouttes writes: > As far as copy/paste format is concerned, in 1.3.x we have > layout-copy (Ctrl-Shift-C) and layout-paste (Ctrl-Shift-V). It has > been removed in 1.4 for a reason I cannot remember. Hah! Thanks, that seems to be exactly what I was looking for. Too bad that it is no longer in 1.4, but there must have been a reason for this. -K -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations
Re: copying and pasting a LyX environment? (like Word's Format Painter)
> "Kevin" == Kevin Pfeiffer <[EMAIL PROTECTED]> writes: Kevin> Hi all, I just had to change several subsections to Kevin> subsubsections. There were not enough of these to bother Kevin> switching to search-and-replace in my text editor, but enough Kevin> to make the process in LyX tedious. While doing this it Kevin> occurred to me that the MS Word Format Painter (copy/paste Kevin> format paintbrush) feature would be useful in a case like this Kevin> for doing such things in LyX. Might this be possible in the Kevin> newer 1.4? (Or even in 1.3.5?) What would useful is a search/replace that understands formatting, but that's a lot of work. As far as copy/paste format is concerned, in 1.3.x we have layout-copy (Ctrl-Shift-C) and layout-paste (Ctrl-Shift-V). It has been removed in 1.4 for a reason I cannot remember. Or you can use a shortcut to set the layout on each subsection (would be M-p 4). JMarc
Re: LyX 1.4.0pre3 on MacOSX - first impressions
Helge Hafting Mon, 09 Jan 2006 00:29:38 -0800 Anders Ekberg wrote: On 9 jan 2006, at 04.41, Bennett Helm wrote: [...] Notice that LyX's "New from Template ..." feature is most similar to Word's "Open a copy" feature (from within the Open dialog): any file can be a "template", not just specially formatted/saved documents. For this reason, I think it makes sense to access them from a dialog similar to the open dialog, though perhaps the differences between the "Open ..." and "Open from Template ..." dialogs should be clearer in the dialogs themselves. Agree. But that does neither solve the problem on how to enter the LyX.app-bundle, nor on how to prevent default templates from being modified (provided this is considered a bad thing). Nothing wrong in modifying a default template - if that is what the user wishes to do. They may want to set their default papersize, document language and so on, as well as adding custom letterheads and such. The distributed templates may be nice as a starting point, but often not useful exactly the way they are. Helge Hafting True, but then there must be a choice at installation: should "default" templates be over-written (see the discussion on .cls-files previously in this tread)? That could be a problem if the distributed "default" templates are modified and there exists a "user-modified" version also. Which one do you choose? And we are back on the question on how to access templates in the LyX.app bundle (on the Mac-platform). It's a difficult choice: keeping distributed "default" templates in the bundle and allow user-defined templates to be stored and loaded from anywhere is probably better for beginners (you have a standard set of templates that you can't mess up [this also makes it easier to trouble-shoot]). Power-users will most likely prefer to be able to modify the "default" templates. However, this is actually possible also in the case of separate storage for "default" and "user-defined" templates: simply modify the "default" template, save it somewhere and replace the "default" template in the bundle with this file using the Terminal (should be no problem for a power-user). /Anders
Re: copying and pasting a LyX environment? (like Word's Format Painter)
Helge Hafting writes: > I don't know how this "format painter" works, but here is something > I imagine could be useful: > > * Mark the part of the document to be changed - possibly all > * Use a menu (or keypress) to change "heading level" up or down, >similiar to how we already can change the "environment depth". This is more or less what I was thinking of -- something similar to the Apply function in the paragraph and character menus: you choose a new parameter (such as subparagraph), select a section to be changed (or in the case of a single line, simple place the cursor somewhere on it) and click something to apply the new parameter. The method you describe sounds equally (perhaps more) useful. -Kevin -- Kevin Pfeiffer <[EMAIL PROTECTED]> Tiros-Translations
Re: LyX 1.4.0pre3 on MacOSX - first impressions
Anders Ekberg wrote: On 9 jan 2006, at 04.41, Bennett Helm wrote: [...] Notice that LyX's "New from Template ..." feature is most similar to Word's "Open a copy" feature (from within the Open dialog): any file can be a "template", not just specially formatted/saved documents. For this reason, I think it makes sense to access them from a dialog similar to the open dialog, though perhaps the differences between the "Open ..." and "Open from Template ..." dialogs should be clearer in the dialogs themselves. Agree. But that does neither solve the problem on how to enter the LyX.app-bundle, nor on how to prevent default templates from being modified (provided this is considered a bad thing). Nothing wrong in modifying a default template - if that is what the user wishes to do. They may want to set their default papersize, document language and so on, as well as adding custom letterheads and such. The distributed templates may be nice as a starting point, but often not useful exactly the way they are. Helge Hafting
Re: LyX 1.4.0pre3 on MacOSX - first impressions
On 9 jan 2006, at 04.41, Bennett Helm wrote: On Jan 7, 2006, at 5:37 AM, Anders Ekberg wrote: Looking at how some other applications have solved this: - Microsoft puts the Microsoft Word.app and a Templates-folder as separate entities in the directory in /Applications/Microsoft Office 2004/ The same approach is used by AppleWorks. - Apple's Pages put its templates in /Applications/iWork/Pages.app/ Contents/Resources/English.lproj/Templates/ (below they have two folders named ISO and Traditional with sub-folders for the templates). In all of these cases, templates are selected through a pop-up menu and not a New... or Open... dialogue. Notice that LyX's "New from Template ..." feature is most similar to Word's "Open a copy" feature (from within the Open dialog): any file can be a "template", not just specially formatted/saved documents. For this reason, I think it makes sense to access them from a dialog similar to the open dialog, though perhaps the differences between the "Open ..." and "Open from Template ..." dialogs should be clearer in the dialogs themselves. Agree. But that does neither solve the problem on how to enter the LyX.app-bundle, nor on how to prevent default templates from being modified (provided this is considered a bad thing). (In all of the cases, you store your created templates using a standard save dialogue. There may be a dedicated folder for personal templates (either in ~/Library/Application Support/ Program_Directory [used by Pages] or in /Applications/ Program_Directory/Templates/ [used by MS Office] (where the Save... dialogue is initially directed and I assume the program looks for user-defined templates), but you are basically free to choose whichever location you like for the templates.) If a pop-up menu is difficult to implement, the MS Office version is probably easiest to adopt (though the risk is that since the templates are easily accessible they may be tinkered with, cf Bennett's remark above) Perhaps the best way to solve the problem is by AbiWords approach, which is similar to what Pages uses (templates stored in the Application bundle and user-defined templates in the ~/ LibraryApplication Support/Program_Directory). The difference is that they use a "list dialogue" instead of a pop-up menu (i.e. you select your template from a list of available templates and click OK). Since AbiWord is OpenSource I guess it would be possible to study the code or ask the developers how this was implemented. But note that this would not allow me to open just any file as a "template". It would since they have a "Open an existing document" option implemented as a radiobox. This brings up an open dialogue (arguably the implementation in AbiWord could be better, i.e. it should be an "Open a copy..." dialogue [see above] and there's a superfluous "Choose" button, but I thinkthe concept is good: You have default templates in the application bundle which are (normally) not tinkered with and you can put your self-designed templates anywhere you like. It could be noted that with the current version it is possible to access the templates using the Apple+Shift+G short-cut and type in the path to the templates. However this is of-course not a user- friendly solution... Agreed. The next problem with the templates is that once you manage to open them you get (for some) a "missing TeX-class" error and have to go through the procedure outlined in http://wiki.lyx.org/ pmwiki.php/FAQ/MacInstall It would make the application much more user-friendly if the needed .cls-files are copied directly at installation if this is possible. That would be easy to do in the installer script, though the risk would be that users have made modifications to the .cls files and the installer would overwrite them. Perhaps I'll find time to update the installer to provide a bit more user interaction when such issues crop up. Failing that, I could install the files if they're absent and otherwise not. You're absolutely right. I didn't think that far... /Anders