Re: Gothic style fonts in LyX/MikTeX
On Sunday, 26 Aug 2018 12:34 PM -0400, Ricardo Berlasso wrote: > --d9d04105745930f6 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > El dom., 26 ago. 2018 a las 16:58, Cris Fuhrman () > escribi=C3=B3: > >> Hello, >> >> For a project, I wanted to use an old-English/Germanic style font. I foun= > d >> some in yfonts, but it's tricky to install/setup with MikTeX (not >> automatic) because it requires a local tex install. There are instruction= > s >> at https://wiki.lyx.org/Tips/InstallType1Fonts and also on StackOverflow >> for Type1 installs. Not impossible, but less easy to reproduce between my >> PC at home and work. >> >> Is there a gothic-like font that will work well with LyX/MikTeX >> automagically? >> > > Will that font be used for the whole document or just for particular > paragraphs? If you are willing to use XeTeX instead of plain LaTeX, setting > up a new font-family that uses an Unicode Blackletter typeface such as > UniFraktur(1) is really easy. > > (1) http://unifraktur.sourceforge.net/ I have nothing to address the original question, but I will point out that a Fraktur typeface is *not* a suitable substitute for an "Old English" typeface (e.g., the kind you see in old English Bibles). -- Will
disabling coloured change highlights with change bars
I'd like to produce a document that shows changes from the previous revision using changebars. I've imported the "Change bars" module, enabled change tracking, and everything works, but the changed text is highlighted in blue in addition to being indicated by the change bars. Since the change bars are already indicating the changed text, how do I disable the changes also being indicated by changing the colour? -- Will
[SOLVED] Re: Unable to find class files
On Thursday, 17 Sep 2015 6:56 PM -0400, Richard Heck wrote: > On 09/17/2015 03:11 PM, Will Parsons wrote: >> No: >> >> % kpsewhich article.cls >> % echo $? >> 1 > > Then there is something seriously wrong with your LaTeX installation: > kpsewhich is a sort of equivalent of the standard "which" command, > except that it searches the LaTeX-related paths (which you can see via > "kpsepath tex", and related commands) instead of the PATH. If > article.cls is not being found, well, then, as I said: big problem. In > fact, kpsewhich does not actually search the LaTeX paths. Rather, it > uses a pre-generated database. So even though article.cls is there, TeX > doesn't know about it. You could try running "sudo texhash" to update > the TeX databases, then try kpsewhich again. But you may need to > re-install TeX. Thank you! I ran "texhash" - no joy. Then I ran Tools => Reconfigure, and the classes are now found again! Thank you again for your help! (There was no need to re-install TeX.) -- Will
Re: Unable to find class files
On Thursday, 17 Sep 2015 10:06 AM -0400, Richard Heck wrote: > On 09/16/2015 02:49 PM, Will Parsons wrote: >> On Wednesday, 16 Sep 2015 12:31 PM -0400, Richard Heck wrote: >>> On 09/16/2015 10:18 AM, Will Parsons wrote: >>>> I had a working installation of LyX under FreeBSD, but at some point >>>> fairly recently (I'm not sure the exact circumstances), my LyX >>>> installation can't produce PDF files anymore because (almost) all >>>> document classes are marked unavailable. Googling has been no help - >>>> the common recommendations of running (from LyX) "Tools => >>>> Reconfigure" and (from the command line) "fmtutil-sys --all" have not >>>> solved the problem. >>>> >>>> The document that I am currently working on uses the "article" class, >>>> and under /usr/local/share/texmf-dist/tex/latex/base there is a file >>>> "article.cls" (among other *.cls files). I'm at a loss. Can anyone >>>> shed light on what might be wrong? >>>> >>>> (I've already posted this to a FreeBSD mailing list without success so >>>> far.) >>> Try running "kspewhich article.cls" first. Is it found? >> % kspewhich article.cls >> kspewhich: Command not found. > > Sorry, as I said in a different message, typo: try "kpsewhich article.cls". > >>> Another possibility is some kind of python misconfiguration. Try this: >>> mkdir /tmp/lyx >>> cd /tmp/lyx >>> python /usr/local/share/lyx/configure.py >>> or whatever the right path is for you. This basically treats /tmp/lyx as >>> a LyX user directory and dumps appropriate files there. You may just see >>> various error messages, in which case you can report them. If not, post >>> the resulting configure.log file. >> OK - I put it at pastebin: >> >> http://pastebin.com/RkyZ0nX6 > > The script seems to be running correctly, and it's finding a lot of > things, including some docbook classes, but it's not finding any of your > LaTeX classes or packages. So try to command above, which will tell us > whether the packages can be found from the command line. No: % kpsewhich article.cls % echo $? 1 -- Will
Re: Unable to find class files
On Wednesday, 16 Sep 2015 12:31 PM -0400, Richard Heck wrote: > On 09/16/2015 10:18 AM, Will Parsons wrote: >> I had a working installation of LyX under FreeBSD, but at some point >> fairly recently (I'm not sure the exact circumstances), my LyX >> installation can't produce PDF files anymore because (almost) all >> document classes are marked unavailable. Googling has been no help - >> the common recommendations of running (from LyX) "Tools => >> Reconfigure" and (from the command line) "fmtutil-sys --all" have not >> solved the problem. >> >> The document that I am currently working on uses the "article" class, >> and under /usr/local/share/texmf-dist/tex/latex/base there is a file >> "article.cls" (among other *.cls files). I'm at a loss. Can anyone >> shed light on what might be wrong? >> >> (I've already posted this to a FreeBSD mailing list without success so >> far.) > > Try running "kspewhich article.cls" first. Is it found? % kspewhich article.cls kspewhich: Command not found. > Another possibility is some kind of python misconfiguration. Try this: > mkdir /tmp/lyx > cd /tmp/lyx > python /usr/local/share/lyx/configure.py > or whatever the right path is for you. This basically treats /tmp/lyx as > a LyX user directory and dumps appropriate files there. You may just see > various error messages, in which case you can report them. If not, post > the resulting configure.log file. OK - I put it at pastebin: http://pastebin.com/RkyZ0nX6 -- Will
Unable to find class files
I had a working installation of LyX under FreeBSD, but at some point fairly recently (I'm not sure the exact circumstances), my LyX installation can't produce PDF files anymore because (almost) all document classes are marked unavailable. Googling has been no help - the common recommendations of running (from LyX) "Tools => Reconfigure" and (from the command line) "fmtutil-sys --all" have not solved the problem. The document that I am currently working on uses the "article" class, and under /usr/local/share/texmf-dist/tex/latex/base there is a file "article.cls" (among other *.cls files). I'm at a loss. Can anyone shed light on what might be wrong? (I've already posted this to a FreeBSD mailing list without success so far.) -- Will
Re: adjust maximum nesting level for lists
On Wednesday, 22 Jul 2015 8:01 PM -0400, Helge Hafting wrote: > > > Den 22. juli 2015 22:17, skrev Will Parsons: >> I've got a document (article class) that gives me an error on trying >> to export to PDF if the itemized list nesting level is greater than 4. >> Is there a way of increasing that? >> > Itemize can only be nested to 4 levels - more is not possible. This is a > limit of LaTeX, the underlying typesetting system that LyX uses to > produce PDF files. > > LyX can nest stuff to 6 levels, but at least two levels have to be > something other than itemize. They can be enumerate environments > instead, for example. (see the userguide for an example of this.) > Obviously, this only helps if 5 or 6 levels is enough for your use. > > I you need lots of levels, consider using > section/subsection/subsubsection as your outermost "levels", and then > itemize (and possibly enumerate) as the inner levels. OK - thanks. I think I can work around it then (all I need is 5). -- Will
adjust maximum nesting level for lists
I've got a document (article class) that gives me an error on trying to export to PDF if the itemized list nesting level is greater than 4. Is there a way of increasing that? -- Will
Previewing SVG text in LyX
Any text in SVG images is rendered within LyX (2.1.3) as a opaque black rectangle. Is there any way of configuring the previewing of SVGs so that contained text is readable within LyX? I could convert all text in my SVGs to paths to make them easier to render but I'd rather not as this would make the images more difficult to edit. I'm not sure if the following is relevant but in the prefs under File Handling -> Converters I have the following for SVG -> PNG and SVG -> PDF: inkscape --without-gui --file=$$i --export-png=$$o inkscape --file=$$i --export-area-drawing --without-gui --export-pdf=$$o Regards, Will
Re: nomname renaming and header
On 12/05/15 15:37, Wolfgang Engelmann wrote: > I tried to renaming nomname to Glossar and to get the header right (it > is at the moment taking the name of the preceeding Namensverzeichnis and > found this one in the Internet which I put in ERT and inserted between > Namenverzeichnis and Nomenclature > > \clearpage \markboth{\nomname}{\Glossar} Does this do what you want when inserted as ERT before your Nomenclature? \renewcommand{\nomname}{Glossar} Will
Re: beamer and lyx 2.1.3
On 12/05/15 05:25, Simplice Dossou-Gbété wrote: > i would like to add short title to a title when using beamer with lyx 2.1.3. Have a look at 'beamer-conference-ornate-20min.lyx' in the collection of templates that come with LyX. FYI by default you can quickly add a short title using the keyboard shortcut Alt-a 1. Will
Re: Strategies for locating errors
> Will Furnass wrote: >> >> If would be great if LyX would switch to/open the child document >> containing the likely location of the error and move the cursor to that >> location. Ticket filed: http://www.lyx.org/trac/ticket/9539
Re: Strategies for locating errors
On 5 May 2015 at 21:38, Georg Baum wrote: > > If you select the error item in the error dialog then the corresponding LyX > contents should should be selected in the main area as well. This is not > always 100% correct, but usually the error cause is nearby. Does this not > work in your case? > Ah, I hadn't noticed that before! That works perfectly if the error is in the master document but not if the error is in a child document (of which I have quite a few). If would be great if LyX would switch to/open the child document containing the likely location of the error and move the cursor to that location. Will
Re: Strategies for locating errors
On 05/05/15 15:06, Wolfgang Engelmann wrote: > That was the reason I was asking a while ago, whether the latex > source panel (under >view) could show the tex line number. But I was > told it is not possible under lyx. That would certainly be a step in the right direction. Given that we already have forward and backward search between LyX and a PDF viewer using SyncTeX then something similar for LyX to/from TeX should be feasible. Will
Re: Strategies for locating errors
On 05/05/15 13:27, Rainer M Krug wrote: > Will Furnass writes: >> >> could LyX be improved to make locating errors less manual >> though? For example, if a mapping was generated at compile time >> from LyX lines to TeX lines then buttons could be added to the >> compilation pane to move the cursor between the lines referenced >> in error messages. > > I am by no means a LaTeX expert -0 so I might be wrong, but - the > LaTeX error messages are already quite cryptic, and the error you > quote (Missing } inserted' error for 'l.1052') means that the > missing "}" is inserted in this line - where it is actually > missing and what is causing this does not even LaTeX know - so > there is no chance that LyX will be able to tell you. True, but the line number associated with a LaTeX error is a useful clue when fault-finding and being able to quickly move the cursor to the corresponding line in LyX could make fixing broken documents much quicker in many situations. The compilation pane could display a caveat next to buttons for moving the cursor between error line numbers saying something like 'the root cause of this error may not lie at this location'. Will
Re: Strategies for locating errors
On 05/05/15 12:47, Nikos Alexandris wrote: > * Will Furnass [2015-05-05 11:51:56 +0100]: > >> How do others locate compilation errors in large multi-file documents? >> > > Something like "binary search": split in two halfs, try to find out > which half does not compile. Then, again, repeat the same: split in > half, identify the erroneous part. Sooner or later you'll nail the > source of the error. A good idea, but could LyX be improved to make locating errors less manual though? For example, if a mapping was generated at compile time from LyX lines to TeX lines then buttons could be added to the compilation pane to move the cursor between the lines referenced in error messages. Will
Strategies for locating errors
How do others locate compilation errors in large multi-file documents? I get a 'Missing } inserted' error for 'l.1052' when compiling but can't relate that line number to the LyX source. I then try exporting to tex using pdflatex into a temporary directory and search through all 16 tex files looking for errors on or near line 1052. An alternative approach would have been to comment the 'includes'/'inputs' for various chapters of my thesis then try to recompile but this partitioning approach would be slow given that it currently takes ~5mins to compile my thesis. I'm sure I can find the cause of the error eventually; I was just wondering if there were a neat way of identifying the location of errors. At present pretty much everything in LyX is a joy and very slick apart from locating the source of errors. FYI, yes I am using a little Evil Red Text (to use \resizebox within table floats). Cheers, Will
Re: indicating keyboard keys
Jürgen Spitzmüller wrote: > Am Samstag 13 Dezember 2014, 01:07:59 schrieb Will Parsons: >> I'm writing a user manual for a program that I've written in which I >> want to describe keyboard key usage. What I've been doing is using >> square brackets, e.g. "[Enter]" to designate the keys, but would >> ideally like to use something like having the word "Enter" in a box >> (or something similar). I realize that this is something that is >> probably not directly supported by LyX itself, but maybe some ERT >> magic can make happen? > > In preamble > > \usepackage{keystrokes} > > In the text (ERT) > > \Enter > > The package macros are listed here: > http://mirrors.ctan.org/macros/latex/contrib/keystroke/key-test.pdf Thanks! -- Will
indicating keyboard keys
I'm writing a user manual for a program that I've written in which I want to describe keyboard key usage. What I've been doing is using square brackets, e.g. "[Enter]" to designate the keys, but would ideally like to use something like having the word "Enter" in a box (or something similar). I realize that this is something that is probably not directly supported by LyX itself, but maybe some ERT magic can make happen? -- Will
Re: Cannot "Register" any file using RCS
Steven Cobden wrote: > Hi, > > I am trying to use the version control included with LyX. I cannot find > much in the way of documentation. > > Anyway, I have tried to "Register" the document and I get the error > > "Some problem occured while running the command: 'ci - q -u -i - etc" I don't use RCS integrated with LyX, but that command looks wrong - it should be 'ci -q -u -i ...' > I then tried installing the new version of RCS 5.9.2 via Cygwin and still > have the same issue. I am running Lyx 2.1.2 on Windows 7. > > Is there some kind of documentation on how to first setup RCS? I only use > LyX on this computer. I have read through the Additional Features manual > but it wasn't particularly helpful. If RCS is installed, you shouldn't need any setup. -- Will
Re: lyx 1.6.9 does not work
On 08/10/14 14:57, renato wrote: > Ok, but I need to install it on Win XP and Debian Jessie, I know, that > on Ubunu there are a repo for Lyx 2.1.x, can someone Show me this repo? > I will add to my repository list on Debian (it should works) See https://launchpad.net/~lyx-devel/+archive/ubuntu/release
Re: lyx 1.6.9 does not work
On 08/10/14 11:16, Renato Pontefice wrote: > > on my windows XP, I' ve installed lyX 1.6.9. > It still does not work. I've problema on preview PDF, DVI etc. LyX 1.6.9 is now rather old (as is Windows XP). Have you tried installing and running the latest version of LyX (v2.1.2)? Regards, Will Furnass Doctoral Student Pennine Water Group Department of Civil and Structural Engineering University of Sheffield Phone: +44 (0)114 22 25768
Re: LyX on PC-BSD?
Steve Litt wrote: > Hi all, > > I installed LyX on PC-BSD and it errors out that I don't have > article.cls. I have a feeling that PC-BSD has much fewer depends than > most Linuxes. Is anyone running LyX on PC-BSD, and if so, what tips can > you give me? I'm running LyX on standard FreeBSD, so I don't what difference that may make, but I seem to recall seeing that, and I think what fixed it was to (re)install print/textlive-full. -- Will
Re: defective rendering of table in PDF
Enrico Forestieri wrote: > Will Parsons writes: >> >> Scott Kostyshak wrote: >> > >> > Hi Will, >> > >> > Thanks for the report. This does indeed seem like a LyX bug. Borders >> > are tricky to get right. Can you write instructions for how to >> > reproduce the table? Did you do it in LyX or did you import a .tex >> > file? >> >> I created it in LyX. I don't know if I can recreate the steps I took, >> but I'll see if I can. I wasn't able to reproduce a series of steps, but I did manage to solve the problem. I had specified a fixed width of 5.5in (I can't remember why now), and by deleting this setting the PDF is rendered correctly. > I don't know whether this is really a LyX bug or not, but you can > workaround the issue as follows: > > 1) Put the cursor just before the table and enter in ERT the following: >{\def\hline{\cline{1-4}} > 2) Put the cursor just after the table and again enter in ERT: >} >i.e., a single closing brace that pairs with the first one above. > 3) The table should now typeset correctly. > > The opening and closing braces limit the scope of the redefintion > of \hline to that single table. If you have other tables, you will > have to repeate the procedure for each one of them, maybe adjusting > the argument of \cline if they have a different number of columns. Thanks for the suggestion, but I have managed to solve the problem as I've described above. I am curious, though, why you think it mightn't be a LyX bug? Or are you suggesting that even if I'd created the table using LaTeX directly I might have gotten the same result? -- Will
Re: defective rendering of table in PDF
Scott Kostyshak wrote: > On Sat, Aug 2, 2014 at 4:11 PM, Will Parsons wrote: >> A document that I'm writing contains a table that gets improperly >> rendered when converted to PDF, i.e., some of the cell border lines >> are incomplete - they do not extend to the full width of the cell. >> The method of conversion to PDF doesn't seem to matter, so I assume >> the problem occurs at the LyX/LaTeX level. >> >> The following is a stripped down version of the document containing >> the problematic table: > > Hi Will, > > Thanks for the report. This does indeed seem like a LyX bug. Borders > are tricky to get right. Can you write instructions for how to > reproduce the table? Did you do it in LyX or did you import a .tex > file? I created it in LyX. I don't know if I can recreate the steps I took, but I'll see if I can. -- Will
defective rendering of table in PDF
xt \begin_layout Plain Layout \noindent \align left \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout medium \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout text \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \noindent \align left '$' = cash, '*' = coin, 'x' = cheque \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cheque_number \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout text \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \noindent \align left text, even though it will consist of digits only \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Notes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout text \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \noindent \align left in the format '-MM-DD' \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout contents \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout text \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \noindent \align left \end_layout \end_inset \end_inset \end_layout \end_body \end_document = -- Will
Re: problem getting non-Latin symbols in PDF
Guenter Milde wrote: > On 2014-07-23, Will Parsons wrote: >> Guenter Milde wrote: >>> On 2014-07-22, Will Parsons wrote: > >> Thanks - this looks promising. I'll just have to find out what fonts >> support all my characters. Is there a good way to do that short of >> trying them one-by-one? > > As non-TeX fonts == system fonts, there is a wide choice: > > You may use a font preview program (which, depends on your OS and other > preferences). > > Alternatively, you may use a WYSIWYG "text processor" and try a paragraph > with Latin, Greek and Hebrew in different system fonts. > > DejaVu and Linux Libertine are fonts that are known to support a wide range > of characters. So far, the only font I've found already installed that supports IPA, Greek, and Hebrew is "DejaVu Sans". Curiously, even "DejaVu Serif" does not support Hebrew, which is unfortunate since I would rather see the main text in a serif font. (After further investigation, I can kind of get around that by making "DejaVu Serif" the Roman style, "DejaVu Sans" the Sans Serif style, and changing the text style of each Hebrew text to use Sans Serif. But that's going to be very painful.) >>> Otherwise: >>> Are Hebrew 8-bit TeX fonts and the TeX support for Hebrew installed? > >> Excuse my ignorance, but how do I determine that? > > This depends on your setup. You may look for the presence of hebrew.ldf > or a similar Babel language file in your system. On Debian, a package like > texlive-language-hebrew (or similar) may be installed or not installed. I'm working on FreeBSD, but I guess I do, since I see the files generic/babel/hebrew.ldf and xelatex/polyglossia/gloss-hebrew.ldf. > In lyx, you can search the document under Help>LaTeX configuration > for a line like > > Your LaTeX installation has hyphenation patterns for the following > languages: > > and see if hebrew is listed in the following lines. I don't see that line anywhere (LyX 2.1.0). -- Will
Re: problem getting non-Latin symbols in PDF
Scott Kostyshak wrote: > On Thu, Jul 24, 2014 at 12:09 PM, Guenter Milde wrote: >> On 2014-07-23, Scott Kostyshak wrote: >>> On Wed, Jul 23, 2014 at 5:18 AM, Guenter Milde wrote: >>>> The easiest way should be to use XeTeX or LuaTeX convertes. In >>>> Document>Settings>Fonts check "use non-TeX fonts" and select a font >>>> containing all required Glyphs (the default Latin Modern fonts don't!). >> >>> Just a note that in my experience XeTeX works well with non-TeX fonts >>> and LuaTeX does not work at all. >> >> My experience is, that both XeTeX and LuaTeX work. However, LuaTeX is >> newer but XeTeX is unmaintained so on older systems XeTeX might be the >> better choice while on new or recently updated systems LuaTeX migt be better. > > I wasn't clear. I meant the above only in the case of Hebrew and LyX. > For example, I can export all of the LyX Hebrew manuals and examples > with XeTeX (using non-TeX fonts), but cannot export any of them with > LuaTeX. Are you able to? FWIW, for me XeTeX works, but LuaTeX fails completely - trying to convert to PDF results in errors after a *long* period of churning. I think maybe the central one is: ! fontspec error: "font-not-found" ! ! The font "DejaVuSans" cannot be found. (Strange, since XeTeX found it just fine.) > More generally, I agree that both XeTeX and LuaTeX work very well in > my experience. > > Scott -- Will
Re: problem getting non-Latin symbols in PDF
Guenter Milde wrote: > On 2014-07-22, Will Parsons wrote: >> I'm writing an article that will contain IPA and various non-Latin >> alphabetic characters in it. Eveything went well inserting IPA and Greek >> letters into the PDF, but when I tried to add Hebrew letters, I get an >> error when trying to export to PDF: > >> Could not find LaTeX command for character 'א' (code point 0x5d0) > >> I've tried various possibilities for Language - changing to "Unicode >> (utf8)" for example yields: > >> Package inputenc Error: Unicode char \u8:א not set up for use with LaTeX. > >> How do I solve this? > > The easiest way should be to use XeTeX or LuaTeX convertes. In > Document>Settings>Fonts check "use non-TeX fonts" and select a font > containing all required Glyphs (the default Latin Modern fonts don't!). Thanks - this looks promising. I'll just have to find out what fonts support all my characters. Is there a good way to do that short of trying them one-by-one? > Otherwise: > Are Hebrew 8-bit TeX fonts and the TeX support for Hebrew installed? Excuse my ignorance, but how do I determine that? -- Will
problem getting non-Latin symbols in PDF
I'm writing an article that will contain IPA and various non-Latin alphabetic characters in it. Eveything went well inserting IPA and Greek letters into the PDF, but when I tried to add Hebrew letters, I get an error when trying to export to PDF: Could not find LaTeX command for character 'א' (code point 0x5d0) I've tried various possibilities for Language - changing to "Unicode (utf8)" for example yields: Package inputenc Error: Unicode char \u8:א not set up for use with LaTeX. How do I solve this? -- Will
Re: date format
Will Parsons wrote: > In a document I'm writing, I would like to print the date of the last > edit in the title page. I've discovered [Insert => Date], which looks > like it might be what I want (does it update when I save the document > again?), but the format is "07/16/14", which is a common format for > North America (which is where I am), but I would prefer a different > format, preferably "14 June 2014", or even the ISO standard > "2014-07-14", but I can't figure out how to adjust this. Is this > configurable via LyX, or do I have to do some LaTeX magic? Of course, what I meant was '"16 June 2014", or even the ISO standard "2014-07-16"', (which I guess illustrates that even *I* find the format "07/16/14" confusing, used to it though I am... -- Will
date format
In a document I'm writing, I would like to print the date of the last edit in the title page. I've discovered [Insert => Date], which looks like it might be what I want (does it update when I save the document again?), but the format is "07/16/14", which is a common format for North America (which is where I am), but I would prefer a different format, preferably "14 June 2014", or even the ISO standard "2014-07-14", but I can't figure out how to adjust this. Is this configurable via LyX, or do I have to do some LaTeX magic? -- Will
Re: multiple paragraphs in a table cell
Enrico Forestieri wrote: > Scott Kostyshak writes: >> >> Another idea is to use a minipage. Go to Insert > Box > Frameless. >> Then try putting vertical space in (Insert > Formatting > Vertical >> Space). > > No, this will not work because in a tabular environment \parskip is > reset (actually, even \par is redefined). You have to insert > \setlength{\parskip}{\bigskipamount} > in ERT at the start of the cell. I can't say I'm delighted at this solution, since it seems like a bit of magic (I didn't even know what ERT was), but it *does* work. So, thank you - I think my problem is solved (even if in not quite the straightforward way I would have liked). -- Will
Re: multiple paragraphs in a table cell
Scott Kostyshak wrote: > On Tue, Jul 15, 2014 at 3:28 PM, Will Parsons wrote: >> Thanks, that seems to have partially solved the problem. Partially, >> because although I can now export to PDF without an error, the >> paragraphs are not separated by a space as they are in the main body >> of the text. (The stripped down test file I posted doesn't have any >> text outside the table, but it's apparent in the real document.) >> >> Although my preferred style for separating paragraphs is by using a >> blank line, I changed it to the default way of using indentation to >> see what would happen, and indeed the paragraphs inside the table cell >> are displayed the same, i.e., no separation or indentation. Is there >> a fundamental problem with using paragraphs inside a table? (I notice >> that while the main text outside the table shows up as "Standard" >> style, the text inside the table shows as "Plain Layout", and >> "Standard" does not seem to be available.) >> >> I suppose it might be possible to get around this by placing >> individual paragraphs in separate table cells and selectively >> suppressing cell boundary lines, but that sounds awfully fiddly. > > Another idea is to use a minipage. Go to Insert > Box > Frameless. > Then try putting vertical space in (Insert > Formatting > Vertical > Space). Well, it sounded promising, but... Yes, it does succeed in separating the paragraphs, but the text of the paragraph in the box spills out of the bounds of the table when converted to PDF. Ouch! >> so whether there's a bug or not in LyX, I think there >> is room for improvement in error handling. > > Sounds good. Please post any bug or feature request on http://www.lyx.org/trac > and if you are interested in contributing a patch, that would of > course be welcome too. I will if I can come up with a reasonable formulation. "Please improve error handling" seems to be a bit too vague to expect anyone to act on :) As for contributing a patch, well, I do have extensive experience with C, and to a lesser extent C++ (though my C++ is a bit rusty now), but I know nothing about LaTeX, and have never looked at the LyX code base. -- Will
Re: multiple paragraphs in a table cell
Scott Kostyshak wrote: > On Sat, Jul 12, 2014 at 5:30 PM, Will Parsons wrote: >> I have a table in which I wish some cells to contain multiple >> paragraphs. I can apparently create separate paragraphs by the normal >> method of hitting Enter, at least as far as it appears within LyX, but >> when I attempt to export to PDF I get a series of errors beginning >> with: >> >> Paragraph ended before \@item was complete. >> >> and the last three words of the first paragraph are highlighted. >> >> This is with LyX 2.1.0 under FreeBSD. >> >> I'm including a stripped down version of the problem LyX file below. > > Hi Will, > > Thanks for reporting this. I tried your example and indeed I get an > error when compiling. However if I change the layout from > "Description" to "Standard" (place the cursor in front of the table, > and do ) then the file compiles fine. Note that the reason > you can enter lines is because in that column you have a fixed width. > > I don't know enough about tables or long tables in LaTeX to know if > there is a LyX bug here. Thanks, that seems to have partially solved the problem. Partially, because although I can now export to PDF without an error, the paragraphs are not separated by a space as they are in the main body of the text. (The stripped down test file I posted doesn't have any text outside the table, but it's apparent in the real document.) Although my preferred style for separating paragraphs is by using a blank line, I changed it to the default way of using indentation to see what would happen, and indeed the paragraphs inside the table cell are displayed the same, i.e., no separation or indentation. Is there a fundamental problem with using paragraphs inside a table? (I notice that while the main text outside the table shows up as "Standard" style, the text inside the table shows as "Plain Layout", and "Standard" does not seem to be available.) I suppose it might be possible to get around this by placing individual paragraphs in separate table cells and selectively suppressing cell boundary lines, but that sounds awfully fiddly. Anyway, I don't think I'd have figured out how to get this far from the error messages, so whether there's a bug or not in LyX, I think there is room for improvement in error handling. Thanks for the pointer. -- Will
multiple paragraphs in a table cell
I have a table in which I wish some cells to contain multiple paragraphs. I can apparently create separate paragraphs by the normal method of hitting Enter, at least as far as it appears within LyX, but when I attempt to export to PDF I get a series of errors beginning with: Paragraph ended before \@item was complete. and the last three words of the first paragraph are highlighted. This is with LyX 2.1.0 under FreeBSD. I'm including a stripped down version of the problem LyX file below. #LyX 2.1 created this file. For more info see http://www.lyx.org/ \lyxformat 474 \begin_document \begin_header \textclass article \use_default_options true \maintain_unincluded_children false \language english \language_package default \inputencoding auto \fontencoding global \font_roman default \font_sans default \font_typewriter default \font_math auto \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \default_output_format default \output_sync 0 \bibtex_command default \index_command default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry false \use_package amsmath 1 \use_package amssymb 1 \use_package cancel 1 \use_package esint 1 \use_package mathdots 1 \use_package mathtools 1 \use_package mhchem 1 \use_package stackrel 1 \use_package stmaryrd 1 \use_package undertilde 1 \cite_engine basic \cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 1 \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip bigskip \quotes_language english \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Description \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Col1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Col2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Col3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout First paragraph. \end_layout \begin_layout Plain Layout Second paragraph. \end_layout \end_inset \end_inset \end_layout \end_body \end_document -- Will
Re: Automatic scrolling upon entering math mode inside a caption
Hmm, I didn't realize this was important before, but it seems I only have this problem when I have "View Source" open on the bottom of the window. It always puts the cursor at the top of the window even when there is plenty of room for the math toolbar and the view source box. I don't if there's any way to stop this behavior, but at least I can close or move the view source window when I need to write figure captions. On Mon, Sep 27, 2010 at 2:13 PM, Uwe Stöhr wrote: > Am 27.09.2010 17:40, schrieb Will: > > > Whenever I enter math mode within the caption of a figure float, LyX >> automatically scrolls down so that the formula is on the top line of the >> screen. >> > > I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only thing > that happens is that the math toolbar pops up. This needs of course some > space so that the text is shifted above by the height of the math toolbars. > > regards Uwe >
Automatic scrolling upon entering math mode inside a caption
Whenever I enter math mode within the caption of a figure float, LyX automatically scrolls down so that the formula is on the top line of the screen. I find this kind of annoying because I usually have the caption below the figure and like to be able to look at the figure while I am typing the caption (which I can do because the figure is scrolled off the top of the screen). Is there any way to disable this scrolling? Is it a bug? I'm using LyX 1.6.6.1 on Windows XP. Will
Re: Environments and layouts
Thanks, Julien, that all makes. One last question about LaTeX packages -- if I put \newcommand{\frontmattersection}[1]{\...@chapter{#1}} into my cls file, I need to change \RequirePackage{setspace} to \RequirePackage{setspace,tocindbib}, right? And if I do that, do I still need to put AddToPreamble \usepackage{tocbibind} EndPreamble in my layout or is that covered by the RequirePackage statement in my cls file? Will On Tue, Jun 1, 2010 at 4:12 PM, Julien Rioux wrote: > On 01/06/2010 3:55 PM, Will wrote: > >> I discovered in the tocbibind documentation that the t...@chapter command >> was >> exactly what I wanted for my front matter sections. I tried making >> a FrontMatterSection style in my layout file, but when I try to run LaTeX >> with LyX I get the following error (though the TeX source in LyX looks >> like >> what I want, eg \...@chapter{acknowledgements}): >> >> Undefined Control Sequence >> >> \toc >> >> @chapter{Acknowledgements} >> >> The control sequence at the end of the top line >> >> of your error message was never \def'ed. >> >> >> Is there a quick fix to this? Do I need to define \...@chaptersomewhere? >> I can see \usepackage{tocbibind} in my TeX source so it should be >> defined. >> > > Hi Will, > > You have come a long way. Well done. > > The use of @ in a LaTeX macro (such as in \...@chapter) is restricted to > within packages, or in the document when sandwiched between \makeatletter > and \makeatother. Otherwise, what LaTeX "sees" is a \toc macro, followed by > the @ character which is not allowed to be part of a macro's name. > > Generally speaking, package designers use @ in a macro's name to mark it as > internal. Such macros are not meant to be used in the document and could > have side effects. > > Warnings aside, a workaround is to define your own macro without the @ > character... maybe \frontmattersection ? > > AddToPreamble > \usepackage{tocbibind} > \newcommand{\frontmattersection}[1]{\...@chapter{#1}} > EndPreamble > > Style FrontMatterSection > ... > LatexName frontmattersection > End > > The reason this would work is that LyX takes care of sandwiching your > preamble commands between \makeatletter and \makeatother. > > By the way, such definitions might be better suited for your .cls file > anyway. > > Cheers, > Julien >
Re: Environments and layouts
Thanks a lot Julien and Rob!! With your prompting I have figured out the answers to almost all of my questions. In case anyone else is searching for something similar to what I wanted, I will include my working layout and cls file text at the end of the email. InTitle 1 did the trick regarding getting the abstract before the title page. I left the title page and copyright page together in the maketitle command. The End_Front_Matter separator style worked for me in LyX. I discovered in the tocbibind documentation that the t...@chapter command was exactly what I wanted for my front matter sections. I tried making a FrontMatterSection style in my layout file, but when I try to run LaTeX with LyX I get the following error (though the TeX source in LyX looks like what I want, eg \...@chapter{acknowledgements}): Undefined Control Sequence \toc @chapter{Acknowledgements} The control sequence at the end of the top line of your error message was never \def'ed. Is there a quick fix to this? Do I need to define \...@chapter somewhere? I can see \usepackage{tocbibind} in my TeX source so it should be defined. Thanks again Will full layout text: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[yalephd,book]{yalephd} Format 11 Input stdclass.inc Input numreport.inc Input stdlayouts.inc Sides 2 PageStyle Headings Style Abstract InTitle 1 End Style Advisor InTitle 1 LatexType Command LatexName advisor Align center End Style Bibliography TopSep4 LabelString "Bibliography" LabelFont Series Bold SizeHuge EndFont End Style FrontMatterSection CopyStyle Chapter* LatexType Command LatexName t...@chapter End Style End_Front_Matter CopyStyle --Separator-- LatexName frontmatterend% LatexType Command Align center LabelString "--- End of front matter ---" End AddToPreamble \usepackage{tocbibind} EndPreamble full cls text: \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{yalephd}[2000/03/15 Yale doctoral dissertation class] % Warn user that the following options are ignored because they % are disallowed by the Yale Graduate School: % \DeclareOption{legalpaper}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `letterpaper'.}} \DeclareOption{executivepaper}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `letterpaper'.}} \DeclareOption{a4paper}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `letterpaper'.}} \DeclareOption{a5paper}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `letterpaper'.}} \DeclareOption{b5paper}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `letterpaper'.}} \DeclareOption{twoside}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `oneside'.}} \DeclareOption{twocolumn}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `onecolumn'.}} \DeclareOption{landscape}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `portrait'.}} \DeclareOption{notitlepage}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `titlepage'.}} \DeclareOption{openright}{\PackageWarning{yalephd}% {Option `\CurrentOption' ignored. Must use `openany'.}} % What to do with other options? Pass them on to book.cls. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} \PassOptionsToClass{onecolumn}{book} \PassOptionsToClass{oneside}{book} \PassOptionsToClass{letterpaper}{book} \PassOptionsToClass{openany}{book} \ProcessOptions\relax \LoadClass{book} \RequirePackage{setspace} % % Physical layout of the page. % \setlength{\topmargin}{-0.5in} % header .5" from top of sheet \setlength{\headsep}{-\topmargin} % body is 1" from top of sheet \addtolength{\headsep}{-\headheight} \setlength{\textheight}{8.8in} % 9" less a smidge to get 1" % bottom margin \setlength{\footskip}{.5in} % footer .5" from bottom \setlength{\oddsidemargin}{0.5in} % 1.5" left margin \setlength{\evensidemargin}{0.5in} % all pages \setlength{\textwidth}{5.95in} % 1" right margin, 6" textwidth \setstretch{1.7} % Produces double spacing \catcod...@=11\relax % % Slightly redefine pagestyle headings from standard book class. % \def...@headings{% \l...@oddfoot\@empty \d...@oddhead{\makeuppercase{\rightmark}\hfil\thepage}% \l...@mkboth\markboth \def\chaptermark##1{% \markright {% \ifnum \...@secnumdepth >\...@ne \...@chapapp\
Environments and layouts
I am trying to modify the book class for my thesis. I have a LaTeX class file which basically woks, but there are a few suboptimal interactions with LyX right now that I would like to correct (so I could give the *.cls and *.layout files to other students writing theses at my school). I have one side question first. Is there an introduction to how to write new layouts posted anywhere on the internet? The only layout documentation I have been able to find describes how to modify an existing layout to use a new LaTeX *.cls or *.sty file and advises users to look at previous layout files for examples (which I find frustrating). The main thing I want to do is add an abstract in front of my title page. Right now I modify the \maketitle command to include the abstract before the title page. I define abstractText{} which contains the text for the abstract. I have to put this in the preamble right now because of the way LyX formats the LaTeX (it puts \maketitle before \abstractText{} if I try to put \abstractText{} into the main document). I would like to be able to type the abstract text into the main document using an environment selected from the environment drop down box. Maybe it's easy to modify my existing layout/class files to do this? Or maybe I should redefine things with the abstract outside of maketitle? My layout file is just a copy of book.layout modified as directed in the Customization documentation. The relevant part of my class file is shown at the end of the email. There are a couple other minor uses of ERT in my document right now that I would like to remove by modifying my layout/class if possible: 1. I restart the page numbering in arabic when I get to chapter 1. Right now I do this by putting \frontmatterend in ERT right before chapter 1. Is there any way to make this part of the my layout/class? Or make \frontmatterend somehow something that is selectable from a menu so you don't have to know to type it in by hand? 2. For my front matter, right now I use Chapter* for the different sections (acknowledgments, glossary, etc). To get these in the table of contents, I have \usepackage{tocbibind} in the preamble and put \addcontentsline{toc}{chapter}{Glossary} in front of each section. Is there any way to put \usepackage{tocbibind} into the layout file and make Chapter*'s have the \addcontentsline{toc}{chapter}{Glossary} line added by default? I asked several questions -- if you only want to answer one, the answer will still be appreciated, thanks! Will % % \advisor{} % \def\advisor#1{\gd...@dvisor{#1}} \d...@dvisor{\@la...@warning@n...@line{no \noexpand\advisor given}} % % \abstractText{} % \def\abstracttext#1{\gd...@bstracttext{#1}} \d...@bstracttext{\@la...@warning@n...@line{no \noexpand\abstractText given}} % % \makecopyright % \newcommand{\makecopyright}{% \hbox{\hfil}\vspace{1.5in}\begin{center} \begin{singlespace} Copyright \copyright\ \the\year\ by \...@author \\ All rights reserved. \end{singlespace} \end{center} \clearpage }% % % \frontmatterend % \newcommand{\frontmatterend}{% \setcounter{page}{0} \pagenumbering{arabic} }% % % Customize \maketitle % \renewcommand\maketitle{\begin{titlepage}% \begin{center} {\bf Abstract}\par\bigskip {\Large \bf \...@title}\par\bigskip \...@author \\ \the\year \\ \...@bstracttext \end{center} \clearpage \pagestyle{empty} \null \vskip 40\p@ \begin{center}% {\LARGE\bf \...@title \par}% \vfil \begin{singlespace} {\large A Dissertation\\ Presented to the Faculty of the Graduate School\\ of\\ Some University\\ in Candidacy for the Degree of\\ Doctor of Philosophy\par\vfil\vskip 6ex% by\\ \...@author\par\vskip 1.5em% Dissertation Director: \...@dvisor\par }\vskip 1.5em% {\large \...@date \par }% \clearpage \end{singlespace} \end{center} \pagestyle{plain} % Page numbers at bottom center. \pagenumbering{roman} % roman numerals. \addtocounter{page}{1} %This is page i, but not shown -- Next page is ii. \makecopyright \end{titlepage}% \global\let\maketitle\relax \global\let\title\relax \global\let\author\relax \global\let\advisor\relax \global\let\date\relax \global\let\and\relax \pagestyle{plain} % Page numbers at bottom center. \pagenumbering{roman} % roman numerals. \addtocounter
LyX 1.4.3-4 DVI Error on Windows XP
Hi all, I just installed LyX on Windows XP using the lyx-143-4.exe installer. Everything went well and LyX opens. During the "Hello World" message that appears it says you can view the DVI output to see how good it is. So I do so and get the following error message: Title: Lyx: Cannot convert file Message: An error occurred whilst running python -tt scripts/clean_dvi.py "splash.dvi" "tmpf I don't know if it is a bug or config problem on my side. I do have Python 2.4 installed at C:\Python24. Thanks, Will
Errormania...
Hi, i can try to install lyx from 1.1.4 over 1.1.6 to 1.2.0 and 1.2.1, gmake always endes with the error below telling a problem with formula.lo (or textpainter.lo in 1.2.x). Is this a well known bug? r a (gcc)-problem (I don't know much about C or gcc). Anyway, maybe you know something that helps ..? Greetings from Duesseldorf! Dirk Will ([EMAIL PROTECTED]) formula.C:839: instantiated from here /opt/pd/include/streambuf:378: invalid conversion from `int' to ` std::_Ios_Openmode' /opt/pd/include/streambuf: In member function `void std::basic_streambuf<_CharT, _Traits>::setp(_CharT*, _CharT*) [with _CharT = char, _Traits = std::char_traits]': /opt/pd/include/sstream:190: instantiated from `int std::basic_stringbuf<_CharT, _Traits, _Alloc>::_M_really_sync(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' /opt/pd/include/sstream:131: instantiated from `void std::basic_stringbuf<_CharT, _Traits, _Alloc>::_M_stringbuf_init(std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' formula.C:84: instantiated from `std::basic_stringbuf<_CharT, _Traits, _Alloc>::basic_stringbuf(const std::basic_string<_CharT, _Traits, _Alloc>&, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' formula.C:233: instantiated from `std::basic_istringstream<_CharT, _Traits, _Alloc>::basic_istringstream(const std::basic_string<_CharT, _Traits, _Alloc>&, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]' formula.C:839: instantiated from here /opt/pd/include/streambuf:400: invalid conversion from `int' to ` std::_Ios_Openmode' gmake[3]: *** [formula.lo] Error 1 gmake[3]: Leaving directory `/var/tmp/download/lyx-1.1.6/lyx-1.1.6/src/mathed' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/download/lyx-1.1.6/lyx-1.1.6/src' gmake[1]: *** [all-recursive-am] Error 2 gmake[1]: Leaving directory `/var/tmp/download/lyx-1.1.6/lyx-1.1.6/src' gmake: *** [all-recursive] Error 1
apalike bibliography format - commas after journal names
Greetings! I now have citations almost working for my thesis, with one minor problem: using apalike style, all the journals that aren't abbreviated (e.g., Science, Nature, Gene) get commas between the journal name and the volume: Science, 256 (5057), 622-7. In contrast, when the name is abbreviated, all is well: J. Mol. Evol. 42 (2), 183-93. I am using the following packages: \usepackage[authoryear,comma]{natbib} \usepackage{chapterbib} I have put the changes suggested in the chapterbib documentation into a copy of the apalike style, called myapalike. The document class is my university's thesis style, based on amsbook. I know this isn't really a lyx problem, but ... any clues? Thanks for your thoughts. -- Will ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Re: Previous should be "HELP on chapterbib"!
Got the subject wrong on the previous message -- This is the crucial part! On Monday 19 November 2001 01:42, you wrote: > Greetings lyxers! > > > 2. ChapterBib and NatBib >I have followed faithfully the suggestions on Herbert's page for >working with chapterbib in a multipart document: I put in a bibliography >inset at the end of each chapter, and I have \usepackage{chapterbib} and >\usepackage[options]{natbib} in the preamble of each document. >But, bibtex is unhappy about the repeated insets: > > This is BibTeX, Version 0.99c (Web2C 7.3.1) > The top-level auxiliary file: Thesis.aux > A level-1 auxiliary file: ThesisAbstract.aux > A level-1 auxiliary file: SSE-thesischapter.aux > The style file: apalike.bst > Illegal, another \bibdata command---line 79 of file SSE-thesischapter.aux > > : \bibdata > : > : {../Bibliography/mybiblio} > > I'm skipping whatever remains of this command > A level-1 auxiliary file: HSP70-thesischapter.aux > Illegal, another \bibstyle command---line 204 of file > HSP70-thesischapter.aux > >: \bibstyle >: > : {apalike} > > I'm skipping whatever remains of this command > Illegal, another \bibdata command---line 205 of file > HSP70-thesischapter.aux > > : \bibdata > : > : {/home/wfischer/Thesis/Bibliography/mybiblio} > > I'm skipping whatever remains of this command > A level-1 auxiliary file: TPI-thesischapter.aux > Illegal, another \bibstyle command---line 55 of file > TPI-thesischapter.aux > >: \bibstyle >: > : {apalike} > > I'm skipping whatever remains of this command > Illegal, another \bibdata command---line 56 of file > TPI-thesischapter.aux > >: \bibdata > > {/home/wfischer/Thesis/Bibliography/mybiblio,BibliographyTPI/mybiblio} > I'm skipping whatever remains of this command > Database file #1: /home/wfischer/Thesis/Bibliography/mybiblio.bib > Warning--I didn't find a database entry for "Tittiger93" > Warning--I didn't find a database entry for "Gilbert86" > Warning--I didn't find a database entry for "Kwiatowski95" > > The CRAZY thing is that this was working (I thought) last week -- and now > it isn't, and of course I have to turn in the thesis on Wednesday. > > Any clues from the loyal lyx crowd? > > Will Fischer > > Biology Department [EMAIL PROTECTED] > Indiana University Lab:812-855-2549 > Jordan Hall 142 FAX:812-855-6705 > 1001 E. Third Street > Bloomington, IN 47405-3700 USA -- Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Formatting: endfloats+short captions, PDF fonts
Greetings lyxers! I have a few problems formatting my thesis (which is of course must be turned in quite soon), and am looking for help. All these queries relate to lyx-1.1.6fix3-1 on redhat 7.1 linux. My thesis is set up ambitiously as a multipart document using a style file for I.U. theses that is based on the book class. I "include" each chapter after the chapter heading; I need to have a bibliography and figures at the end of each chapter. Currently, each chapter has a separate bibligraphy inset, as suggested on Herbert's tips page. 1. float placement (RRRGH!) I can get my figures at the end of the chapter using the package "endfloat", but it puts in a separate page in front of the references that says this: [figure 1 should go about here] [figure 2 should go about here] [figure 3 should go about here] etc. Not good. It also prints a list of figures, but doesn't use the short captions like the lyx LOF does. If I put in a Figures section after the bib inset, I always get page that is blank except for the section label "Figures" before the first figure; if I don't put in the section paragraph (which I DO want), the figures all get the heading "bibliography". I have put in some ERT, like this, to reset the page and the header (and then I just throw that page away): \section{Figures}\addtocounter{page}{-1} What is the Better Way? 2. ChapterBib and NatBib I have followed faithfully the suggestions on Herbert's page for working with chapterbib in a multipart document: I put in a bibliography inset at the end of each chapter, and I have \usepackage{chapterbib} and \usepackage[options]{natbib} in the preamble of each document. But, bibtex is unhappy about the repeated insets: This is BibTeX, Version 0.99c (Web2C 7.3.1) The top-level auxiliary file: Thesis.aux A level-1 auxiliary file: ThesisAbstract.aux A level-1 auxiliary file: SSE-thesischapter.aux The style file: apalike.bst Illegal, another \bibdata command---line 79 of file SSE-thesischapter.aux : \bibdata : {../Bibliography/mybiblio} I'm skipping whatever remains of this command A level-1 auxiliary file: HSP70-thesischapter.aux Illegal, another \bibstyle command---line 204 of file HSP70-thesischapter.aux : \bibstyle : {apalike} I'm skipping whatever remains of this command Illegal, another \bibdata command---line 205 of file HSP70-thesischapter.aux : \bibdata : {/home/wfischer/Thesis/Bibliography/mybiblio} I'm skipping whatever remains of this command A level-1 auxiliary file: TPI-thesischapter.aux Illegal, another \bibstyle command---line 55 of file TPI-thesischapter.aux : \bibstyle : {apalike} I'm skipping whatever remains of this command Illegal, another \bibdata command---line 56 of file TPI-thesischapter.aux : \bibdata : {/home/wfischer/Thesis/Bibliography/mybiblio,BibliographyTPI/mybiblio} I'm skipping whatever remains of this command Database file #1: /home/wfischer/Thesis/Bibliography/mybiblio.bib Warning--I didn't find a database entry for "Tittiger93" Warning--I didn't find a database entry for "Gilbert86" Warning--I didn't find a database entry for "Kwiatowski95" The CRAZY thing is that this was working (I thought) last week -- and now it isn't, and of course I have to turn in the thesis on Wednesday. Any clues from the loyal lyx crowd? Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Re: Printing Notes
Date: Sun, 11 Nov 2001 01:30:43 +0100 From: "Egbert J.W. Boers" <[EMAIL PROTECTED]> > you can also try to edit your lyxfile with an external editor: > > \begin_inset Info -> \begin_float margin > . > \end_inset -> \end_float perl -pe 'if (/\\begin_inset Info/../\\end_inset/ ){ s/inset Info/float margin/; s/end_inset/end_float/;}' FILE > NEWFILE (mind the wrap --- that should all be one line) Warning -- I haven't tried this -- but it SHOULD work. ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Re: newbie font problem
Didn't try that... I managed to fix the problem by chown'ing my /var/lib/texfm directory tree to be owned by my normal user account, rather than root (it turned out that things were working fine when I ran LyX as root, and that it was some sort of permissions problem). I know this isn't the cleanest solution. If it tips anyone off to what was wrong, then let me know. Thanks again everyone, Will On Thu, 8 Nov 2001, George De Bruin wrote: > Hi will, > > Seems like I recall having a similar problem back when I started using LyX. > > Have you tried running texhash? > > // George >
Re: newbie font problem
Thanks for the speedy reply. Unfortunately, I don't think that's the problem... I have all of the packages you listed except for tetex-doc (which is just documentation, yes?). I'm running redhat 6.2, so the version numbers of all the tetex-* packages is 1.0.6-11, but this should still work, right? Thanks again, Will Robinson On Wed, 7 Nov 2001, Kayvan A. Sylvan wrote: > The error makes me think you don't have a full TeX install. > > Here is what I have: > > tetex-dvilj-1.0.7-15 > tetex-xdvi-1.0.7-15 > tetex-dvips-1.0.7-15 > tetex-extras-1.0-7 > tetex-chess-1.3-1 > tetex-arabtex-3.09-1 > tetex-afm-1.0.7-15 > tetex-1.0.7-15 > tetex-doc-1.0.7-15 > tetex-fonts-1.0.7-15 > tetex-latex-1.0.7-15 > > I suspect you are missing the tetex-fonts. > > ---Kayvan >
newbie font problem
Hi all, I've gone through the Introduction and Tutorial, and have skimmed the User's Guide, but I can't find any mention of this problem anywhere. A google search was also fruitless, as was a search of this list's archive. I've just been following the tutorial, and have corrected the example_raw.lyx file. I wanted to output the file to postscript so that I could look at it with gv (or print it, or whatever). When I go to File->Export->PostScript, LyX thinks awhile, then pops up a window that says: There were errors during the LaTeX run. 8 errors detected. You should try to fix them. I close the error window, and I see a bunch of "Error" boxes in my document. When I click on one of them, it gives me a message like this: Font T1/cmr/m/n/14.4=ecrm1440 at 14.4pt not loadable: Metric (TFM) file not f \maketitle I wasn't able to read the size data for this font, so I will ignore the font specification. [Wizards can fix TFM files using TFtoPL/PLtoTF.] You might try inserting a different font spec; e.g., type `|\font='. I've just installed the LyX rpm (along with the tetex-lyx rpm) from the bin directory of the ftp site at lyx.org. I'm using version 1.1.6fix3 of each. As far as I can tell, I have all the other required rpms installed also, specifically: xforms 0.88 tetex 1.0.6 tetex-latex 1.0.6 ghostscript 5.50 gv 3.5.8 I know I'm missing something, and I'm eager to make LyX a part of my everyday computing. :) Thanks for any help you can provide, Will Robinson [EMAIL PROTECTED]
Re: Unnumbered sections in TOC
On Sat, 04 Nov 2000, Roy Cutler wrote: >Is it possible to have unnumbered sections show up in the TOC, >either in the Menu item or in the frontmatter? Dekel Tsur <[EMAIL PROTECTED]> gave me the following advice (which works great -- Thanks, Dekel!) when I asked a similar question: -> The Section* environments do not appear in the TOC menu as they -> also do not appear in the "Table of Contents" generated by latex. -> However, you can use the non-starred environments (section, ...), -> and set the section number depth (using layout->document menu [in -> Lyx]) to -> "-1"(this will omit the numbering from these -> environments). >... I would just like to thank the group that has >created this fabulous software. I think it is a tremendous piece of work. Emphatically seconded! You guys are great! -- Will ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
command line export fails
Running lyx-1.1.5fix2-1 on RedHat linux 6.2 I type: me% lyx --export ps Research+TrainingPlan.lyx A lyx window pops up briefly, then goes away. lyx types: About to handle -x 'buffer-export postscript' We are done! So, all is well ... but no postscript file appears. Same thing if I ask for latex. What's up? This is supposed to work, right? (Why I care -- I am sometimes editing lyx files with a text editor over a modem connection, and need to make the ps file so I can make a pdf using ps2pdf -- which works great. But I can't get from the lyx file to the postscript without sitting in front of my office computer.) Thanks for thoughts. -- Will ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
TOC and section numbering
Here's my problem: I like to use the TOC to navigate around my documents, but I don't like to have the numbers in the section, subsection, etc. Currently I use the Section environment while I'm writing, then (when I'm printing final copy) I edit the file with a text editor to change all the "Section" headings to "Section*". This works, but is a pain. Could it be made possible to include the Section* etc. environments in the TOC? Thanks, -- Will ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Ragged Right -- Possible?
Is it possible to make Lyx or LaTex output ragged right (unjustified) text? Although I realize it is totally foreign to the spirit of LaTex to do it, the journal to which I am submitting insists upon it. (Why? I can't say). advanTHANKSce, ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Re: Bibliography
> wfischer: > The output then looks like this: blah [1][2] > when it ought to be this: blah [1-2] Herbert Voss: it's not usual to write it this way, when there are only two citations, therefore always [1,2], but [1-3]. . . . Yes, but, one doesn't get [1,2], but rather [1][2]. Likewise, one gets [1][2][3] instead of [1-3]. Herbert Voss: do you use package{cite}? I'm using package{natbib}, so the actual citations are formatted differently, but the content is the same. Dekel Tsur <[EMAIL PROTECTED]> reports that: > the citation dialog was completely rewritten, and it is now very > easy to add/change several citations inside a single citation > inset. So this complaint of mine may vanish in the next release ... which is, um, going to be when? About? ____ Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA
Bibliography
Greetings: The recent bibliography thread reminded me: inserting several bibtex references in a row doesn't do what I'd like: (Lyx window)_becomes_ (latex) blah[cite1][cite2] blah \cite{cite1}\cite{cite2} The output then looks like this: blah [1][2] when it ought to be this: blah [1-2] How about merging adjacent citations when the LaTex output is generated, like this: (Lyx window) _becomes_ (latex) blah[cite1][cite2][cite3] blah \cite{cite1,cite2,cite3} This way bibtex can Do The Right Thing, be it [1-3] or (key1,key2,key3) or whatever. Pehaps adjacent \LatexCommand insets should routinely be merged when the actual LaTex output is generated -- but the citation-merging would still need to happen. As is, (LyX 1.1.5fix1 of Tue Jul 18, 2000) I can put in the several citation keys in the bibtex pop-up (and it works fine) BUT it makes adding citations or changing their arrangement more problematic. Otherwise, I Like Lyx! (Let's make "ILL" buttons!) -- Will Will Fischer Biology Department [EMAIL PROTECTED] Indiana University Lab:812-855-2549 Jordan Hall 142 FAX:812-855-6705 1001 E. Third Street Bloomington, IN 47405-3700 USA