Re: Bibtex problem: Question marks instead of citations [RESOLVED]
On Sun, 30 Sep 2007, Christian Liesen shared this with us all: >--} ... well, well ... >--} >--} I found it. I had several citations with the ampersand '&' in the >--} journal's title. Replacing this with '\&' did the trick: My document >--} output is fine now. >--} >--} Silly me. >--} >--} -- Christian >--} >--} >--} >--} Christian Liesen wrote: >--} > Hi, >--} > >--} > I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with >--} > Bibtex. >--} > >--} > I have a lot of citations, and until yesterday evening, everything >--} > went smoothly. Then all of a sudden LyX started complaining about a >--} > "Misplaced alignment tab character &". Bibtex stopped formatting any >--} > citations in the text -- question marks appear instead --, but it does >--} > still produce the bibliography at the end of the PDF output. >--} > >--} > I exported to LateX and checked the file -- no misplaced & (instead of >--} > \&) anywhere. >--} > >--} > I've spend hours now and cannot get it back to work. Does anyone know >--} > how to debug this? >--} > >--} > Many thanks, >--} > -- Christian Clever you Christian, and thanks for bringing this to our attention so we may not try the same thing. Thank you, Charlie -- Registered Linux User:- 329524 +++ What is to give light must endure burning. ---VIKTOR FRANKL <<<> Debian - Just the best way to do magic.
Re: Bibtex problem: Question marks instead of citations [RESOLVED]
... well, well ... I found it. I had several citations with the ampersand '&' in the journal's title. Replacing this with '\&' did the trick: My document output is fine now. Silly me. -- Christian Christian Liesen wrote: Hi, I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with Bibtex. I have a lot of citations, and until yesterday evening, everything went smoothly. Then all of a sudden LyX started complaining about a "Misplaced alignment tab character &". Bibtex stopped formatting any citations in the text -- question marks appear instead --, but it does still produce the bibliography at the end of the PDF output. I exported to LateX and checked the file -- no misplaced & (instead of \&) anywhere. I've spend hours now and cannot get it back to work. Does anyone know how to debug this? Many thanks, -- Christian
Bibtex problem: Question marks instead of citations
Hi, I'm writing a scrreport with LyX 1.5.1 (Mac) and have a problem with Bibtex. I have a lot of citations, and until yesterday evening, everything went smoothly. Then all of a sudden LyX started complaining about a "Misplaced alignment tab character &". Bibtex stopped formatting any citations in the text -- question marks appear instead --, but it does still produce the bibliography at the end of the PDF output. I exported to LateX and checked the file -- no misplaced & (instead of \&) anywhere. I've spend hours now and cannot get it back to work. Does anyone know how to debug this? Many thanks, -- Christian
Re: Miximg scripts.
Ernesto Posse wrote: I think the arabi package was installed correctly, since MiKTeX didn't give me any errors. I don't know how else to check if it is correctly installed (it has about 207 files.) I tried reinstalling it, but I obtain the same results. One way to check would be to see if you can "compile" a regular latex (non-LyX) file with Farsi, maybe arabi includes some Farsi examples you could test with. If you are able to do that, then it means that arabi/latex are set up correctly, and the problem is getting LyX to work with it. Otherwise, it means the problem is with your latex/arabi setup, and there's not too much point in trying to get LyX to work before you fix that. Furthermore, I spoke too soon when I said that just typing worked fine. When I switch languages, it does seem to correctly switch the script, except for punctuation symbols. Only latin letters and digits seem to be correctly rendered, but the rest of the keyboard seems "stuck" with the other keyboard map. Only when I switch off keybord maps do I get the correct symbols. Hmm, this is strange. What have you set your primary and secondary keymaps to? What is your default language (Tools -> Preferences -> Language settings -> Language) and what is the document language (Document -> Settings... -> Language)? Which language seems to be working correctly, and which does not? Can you give an exact recipe for reproducing (e.g.: open a new document, set language to , type "abc"...)? Dov
Re: Language Change
snvv wrote: Hello I use sid debian with LyX 1.5-1 and I have a rather strange problem. When I change language (alt+shift) the LyX menu is activated. Thus, in order to write I have to press once the mouse (cursor) in the text to continue. I thought might be a LyX config but I can't find anything about it. Any suggestion please? sn Hi! It doesn't sound like a LyX config issue, sounds more like a bad interaction between LyX and the Desktop Environment. Here are a few suggestions, though they are probably not what you were hoping for, it's more workarounds than solutions: 1) Pressing Alt a second time may be enough to release the menu, so you don't have to go to the mouse every time you switch languages. 2) You might want to consider changing the key combination you use for switching languages (at the OS- / Window Manager- / Desktop Environment- level). I changed the combination I use, because there are some LyX bindings which I used a lot that contained Alt-Shift (e.g., Alt-Shift-right and Alt-Shift-left to increase/decrease the nesting level, for example in a listing). You can probably do this through the Gnome/KDE configuration if you're using one of those, or directly using setxkbmap. 3) I like using keymaps for switching languages in LyX, rather than switching at the keyboard level. To do that, you go to Tools -> Preferences... -> Look and feel -> Keyboard, and check the "use keyboard map" option. Then select the primary and secondary keymaps that you want (I have 'null' as my primary, which I guess means no keymap). To switch between the keymaps, you have two options: if you're using an RTL language, then just switching to that language should automatically activate the keymap. Otherwise, you have to first make sure that the RTL option is turned off (Tools -> Preferences... -> Language settings -> Language, and *un*check "Right-to-left language support"), and then you can use the Alt-k-1 and Alt-k-2 keybindings to select the primary or secondary keyboard, Alt-k-t to toggle between them (I myself use Hebrew, which is an RTL language, so I don't use these bindings). Note, however, that regardless of how you switch the keyboard, you should also set the language correctly (Edit -> Text style -> Customized... -> Language, or using the "language " lfun), in order to let latex know what language the text is in, so that it can output it correctly. For this reason, using a keymap is an advantage, because then you can create a key binding which will both switch the keyboard and set the language with one keypress. I don't know how to achieve this if you're switching languages at the OS-level. Dov
Language Change
Hello I use sid debian with LyX 1.5-1 and I have a rather strange problem. When I change language (alt+shift) the LyX menu is activated. Thus, in order to write I have to press once the mouse (cursor) in the text to continue. I thought might be a LyX config but I can't find anything about it. Any suggestion please? sn
RE: line spacing in Lyx 1.5.1
Thanks Jürgen. the message was pretty clear indeed - my bad, friday mornings are tough... . The MikTex version that was installed along with lyx apparently didn't download any packages, i had to install MikTex by hand from its website. now it works fine. Thanks again to Jürgen & Jean-Marc for your time. Jan -- Forwarded message -- From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> Date: Sep 28, 2007 3:52 PM Subject: Re: line spacing in Lyx 1.5.1 To: Jürgen Spitzmüller <[EMAIL PROTECTED]> Cc: lyx-users@lists.lyx.org [EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jan Eilhard wrote: >> >> LaTeX Error: File `setspace.sty' not found. > > The message is pretty clear: you have to install the LaTeX package setspace. The question is probably to know why setspace is not there. JMarc