Re: problem with centering tables with JASA template
On Wed, Nov 6, 2013 at 2:58 PM, Benoît Bergès benoit.ber...@gmail.com wrote: Dear Scott, Thank you very much for the help and sorry about not providing a minimal example. The examples your provided me makes the point about my problem. However, when generating the pdf file, my table remains aligned on the left even though I define it as centered in the code. Regards Benoit Dear Benoit, I noted this behavior in my previous email. My only guess is the following (I would be very surprised if I'm right but it's all I got): Perhaps JASA does not want tables centered and so they disable centering. Perhaps disabling works for \centering but they incorrectly ignored/dealt with \begin{centering}..\end{centering}. At this point I would suggest contacting the JASA LaTeX maintainers or posting on tex.stackexchange.com (if you do this please tag your question with 'lyx' and link back to this discussion: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg97222.html). In any case, if you find out more information, please let us know. Best of luck, Scott
Re: lyx 2.0.6 debian failes to run
On Thu, Nov 7, 2013 at 9:05 AM, Richard Heck rgh...@lyx.org wrote: On 11/07/2013 02:44 AM, Wolfgang Engelmann wrote: On Wednesday 06 November 2013 16:54:13 David L. Johnson wrote: On 11/06/2013 03:47 AM, Wolfgang Engelmann wrote: On Wednesday 06 November 2013 09:26:57 Scott Kostyshak wrote: On Wed, Nov 6, 2013 at 3:20 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: I am sorry to bother you with this off topic issue, but it hinders me to use Lyx at the moment. Any suggestions/proposals are very welcome and appreciated I'm surprised this isn't causing more problems besides LyX and cd wexpansion. This could be very bad. I don't know enough to have any advice on solving the main problem you're experiencing. If you are really only concerned about LyX (you should be concerned about more, IMO), you could try running LyX as root to see if it has the same problem. Good idea, Scott. Under root it runs without problems. Would it help if I create a new user and try it there until I have solved the (non-Lyx) issue under my current Home (or Homes)? Ah. So either you have a permissions problem with some file LyX needs (this should not happen, but...), or there is something in your $HOME/.lyx directory that is messing things up. When you run as root, it only looks in /root/.lyx, creating what it needs if necessary. Try this. Rename your $HOME/.lyx directory to something else, then run LyX as your usual username. If things work (after a setup timelag), then there is just some messed up configuration file. This is the terminal output after following your suggestion: wolfgang@wolfgang:~$ Fontconfig warning: /etc/fonts/conf.d/65-droid-sans-fonts.conf, line 103: Having multiple values in test isn't supported and may not work as expected Fontconfig warning: /etc/fonts/conf.d/65-droid-sans-fonts.conf, line 138: Having multiple values in test isn't supported and may not work as expected LyX: Erstellen des Verzeichnisses /home/wolfgang/.lyx/ LyX: Konfiguriere das Benutzerverzeichnis neu Running: python -tt /usr/share/lyx/configure.py Traceback (most recent call last): File /usr/share/lyx/configure.py, line 17, in module filemode = 'w') File /usr/lib/python2.7/logging/__init__.py, line 1530, in basicConfig hdlr = FileHandler(filename, mode) File /usr/lib/python2.7/logging/__init__.py, line 903, in __init__ StreamHandler.__init__(self, self._open()) File /usr/lib/python2.7/logging/__init__.py, line 926, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/home/wolfgang/configure.log' support/Systemcall.cpp (273): Systemcall: 'python -tt /usr/share/lyx/configure.py' finished with exit code 1 LyX: Fertig! LayoutFile.cpp (107): LayoutFileList::Read: unable to find textclass file `textclass.lst'. LayoutFile.cpp (164): LayoutFileList::Read: no textclasses found! ModuleList.cpp (136): unable to find modules file `lyxmodules.lst'. No modules will be available. Could not create cache directory `/home/wolfgang/.lyx/cache'. I waited for about 10 minutes, but lyx was not started. I therefore rebooted, but the result was again that lyx did not start. Terminal output similar to the above one: wolfgang@wolfgang:~$ lyx [1] 4419 wolfgang@wolfgang:~$ Fontconfig warning: /etc/fonts/conf.d/65-droid-sans-fonts.conf, line 103: Having multiple values in test isn't supported and may not work as expected Fontconfig warning: /etc/fonts/conf.d/65-droid-sans-fonts.conf, line 138: Having multiple values in test isn't supported and may not work as expected LyX: Konfiguriere das Benutzerverzeichnis neu Running: python -tt /usr/share/lyx/configure.py Traceback (most recent call last): File /usr/share/lyx/configure.py, line 17, in module filemode = 'w') File /usr/lib/python2.7/logging/__init__.py, line 1530, in basicConfig hdlr = FileHandler(filename, mode) File /usr/lib/python2.7/logging/__init__.py, line 903, in __init__ StreamHandler.__init__(self, self._open()) File /usr/lib/python2.7/logging/__init__.py, line 926, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/home/wolfgang/configure.log' support/Systemcall.cpp (273): Systemcall: 'python -tt /usr/share/lyx/configure.py' finished with exit code 1 LyX: Fertig! LayoutFile.cpp (107): LayoutFileList::Read: unable to find textclass file `textclass.lst'. LayoutFile.cpp (164): LayoutFileList::Read: no textclasses found! ModuleList.cpp (136): unable to find modules file `lyxmodules.lst'. No modules will be available. Could not create cache directory `/home/wolfgang/.lyx/cache'. I do not find the configure.log in my home (wanted to check the permission) That is a file LyX wants to create, and it is being denied permissions to do so. It looks as if you
Re: problem with centering tables with JASA template
On Thu, Nov 7, 2013 at 7:42 AM, Benoît Bergès benoit.ber...@gmail.com wrote: Dear Scott, digging into the lyx templates I found an alternative JASA template found on the web (http://www2.hawaii.edu/~jcb/LyXforJASA/LyXforJASA.html). Compared the base one in the lyx package, this template seems to do the job properly on the centering of the table. I am not sure why this as I think they both use the same cls file. I enclose 2 examples trying to do the same thing with the 2 different templates. Dear Benoît, Please respond to the list (others may have your same problem in the future and will find this discussion when searching; and others might have time to help). I'm reattaching the two files you sent. Good detective work. If what you said is correct, then it sounds like it's a bug in the LyX layout file. I suppose now it is just a question of figuring out which difference in the two layout files is causing the difference in behavior. I don't have time to look into this further. Best, Scott example_JASA_centering_table_bad.lyx Description: application/lyx example_JASA_centering_table_good.lyx Description: application/lyx
Re: Hiding changes
On Fri, Nov 8, 2013 at 11:45 AM, Ian S. Worthington ianworthing...@usa.net wrote: We have some technical documentation which used to be maintained by a single person who's now left us. I'd like to make each developer responsible for making their own updates, with technical and stylistic approval resting with two other people. As the documentation is monolithic we can prevent simultaneous update loss by simple Windows file locking, and identify changes by enforcing change tracking. What I'm concerned about though is how I can temporarily hide an update which has been made but is not going to be released at this time without having to actually cut it out, publish, and then restore. Any ideas? Hi Ian, Is this what you are interested in? http://www.lyx.org/trac/ticket/4140 Actually it sounds like you want something a little more general than that. You want to hide specific changes, if I understand correctly. Scott
Re: LyX label and reference problem - Faulty pdf
Hi Markus, This sounds like a very frustrating experience. See my comments in-line. On Mon, Nov 11, 2013 at 2:59 PM, Mark Mandelkern k...@zianet.com wrote: LyX label and reference problem - faulty pdf This is about internal labels and references, as for theorem numbers and section numbers, not about the references at the end of a paper. These numbers should appear in an exported pdf, but at times the pdf will have only ?? instead of the numbers, at more than a hundred places. The labels appear, but not the references. Thus, the exported pdf is useless. Can you send (to the list) a minimal working example? http://wiki.lyx.org/LyX/NewInLyX21 Program restart does not help. Computer restart does not help. The only solution I have found is a complete reinstall of the program, including MikTek. And even then, it is necessary to go back to a previous saved draft, and re-enter many updates. Sometimes a day's work. Sometimes a crucial line is lost. Doesn't this suggest that the problem is with MikTeX? Why do you think it is a LyX issue? I really have no idea and it could still be a LyX issue (maybe LyX triggers something when a new MikTeX installation is found), but I'm curious on your thoughts. Best, Scott
Re: spell check (again)
Hi Bart, More information would be useful. How did you upgrade? Did you upgrade in Ubuntu? Or by upgrade do you mean you did a clean install of 13.10 (in which case the fact that you upgraded from 13.04 or whichever version is irrelevant)? You have enchant installed, but what settings do you have under Tools Preferences Language Settings Spellchecker? You mentioned that *dutch* spell checking does not work. Does spell checking in other languages work? I'm confident we can get your spell checking up and running as I've had good experience (in various languages) on Ubuntu. Best, Scott On Mon, Nov 11, 2013 at 4:40 PM, bart deruyter bart.deruy...@gmail.com wrote: Hi all, I've upgraded to kubuntu 13.10 and can't get my dutch spell checking to work in Lyx. It seems to be an issue after each setup I do, though usually I find what I need, but now I don't. Enchant is installed, myspell-nl too, something specifically I've got to do in lyx? thanks in advance, Bart http://www.bartart3d.be/ On facebook On Twitter On Identi.ca On Google+
Re: spell check (again)
Hi Bart, Please always respond to the list (others might be able to help and also others might be having the same problem). On Mon, Nov 11, 2013 at 5:14 PM, bart deruyter bart.deruy...@gmail.com wrote: hey, thanks for the quick reply :-) . Upgrade initially was just upgrading through the ubuntu-tools, apt-get do-upgrade (or something similar), but I've had quite some issues, so I then did a fresh install of ubuntustudio 13.10, added kubuntu through synaptic, because xfce doesn't fit my needs. My home dir is a seperate partition, so I don't have to move it all on each fresh install, just mount the same drive as /home, so I guess the config files of my previous installation should be the same. The config files of LyX are in ~/.lyx so perhaps they did not change (a difference on the system could have lead to a reconfigure in some cases I think though). Anyways, here's the requested info: Tools - Language Settings - Spellchecker shows: Engine: Enchant Alternative Language: Dutch Escape Characters: empty Spellcheck continuously: on Spellcheck notes and comments: on When pressing F7 (Spell checker) I get the message: Spell checker has no dictionaries In Document settings the Language is set to Dutch, encoding: Language Default, Language package: now set to 'always babel' because I've tried them all, and none seemed to work. I hope it already shows an error in my configuration. I'm hoping that doing Tools Reconfigure will fix this. My guess is that LyX doesn't know where the spelling libraries are since the system changed. Does that work? Scott
Re: spell check (again)
On Mon, Nov 11, 2013 at 5:57 PM, bart deruyter bart.deruy...@gmail.com wrote: I just tried spellchecking in english, doesn't seem to work either.. hmm.. weird.. What if you remove Dutch from the alternative language field? Scott
Re: Change tab hotkey
On Thu, Nov 21, 2013 at 1:59 AM, Liviu Andronic landronim...@gmail.com wrote: On Thu, Nov 21, 2013 at 7:42 AM, Daniel CLEMENT dcleme...@laposte.net wrote: Forgive me for replyint so late to this thread, but I too would like to set up such a shortcut... Le vendredi 08 novembre 2013 à 15:18 +0100, Liviu Andronic a écrit : On Thu, Nov 7, 2013 at 4:05 PM, Gabriel Rojas gaboro...@gmail.com wrote: Hi: I would like to know if there is any way for quickly change between document tabs in lyx using a hotkey, or if you can give me a link with instructions to do this. ctrl+tab? ctrl+pgup/pgdown? ... any of these two would be fine, but how could we define (bind) them in lyx? I'm unable to locate the lyx command for change tab... I think this is standard Qt functionality, and LyX doesn't support customizing this. If I understand correctly, you're talking about 'buffer-next' and 'buffer-previous'. I good way to figure out what the underlying command is, is to go to View Messages and in the Messages box click on the Settings pane; for Debug messages choose Selected and toggle User commands to yes. Then change back to the Output pane, do the action that you want (in this case changing the tab with ctrl + up). Another way (which only works because we trigger the desired action with a shortcut) is to go to Tools Preferences Editing Shortcuts and under Show key-bindings containing and enter ctrl+pg. Scott
Re: Can't insert PDF image into LyX
On Tue, Dec 3, 2013 at 1:00 AM, Jerry lancebo...@qwest.net wrote: I am unable to insert PDF image files into LyX 2.0.6 on OS X 10.8.5. When I try to do this, in the area where the graphic would be displayed, I first see the message Converting to loadable format and then Error converting to loadable format. The name of the file is then displayed but not the image. I am trying this in a new LyX document. The graphic is a simple plot saved from Mathematica in several file formats. Of those other formats, I am able to successfully insert bmp, eps, gif, jpg, png and tiff. (svg displays incorrectly in LyX as a black rectangle even though it is displayed correctly in other viewers.) I thought PDF was a native format for LyX, so I don't understand why it is trying to convert the PDF file into anything. Have I set a preference to something stupid? Jerry Hi Jerry, I believe that LyX converts PDFs to EPS files. To see the command that is being run, go to Tools Preferences File Handling Converters and select PDF (graphics) - EPS For me the command is: pdftops -eps -f 1 -l 1 $$i $$o Best, Scott
Re: Can't insert PDF image into LyX
On Tue, Dec 3, 2013 at 2:33 AM, Jerry lancebo...@qwest.net wrote: On Dec 2, 2013, at 11:20 PM, Scott Kostyshak skost...@lyx.org wrote: On Tue, Dec 3, 2013 at 1:00 AM, Jerry lancebo...@qwest.net wrote: I am unable to insert PDF image files into LyX 2.0.6 on OS X 10.8.5. When I try to do this, in the area where the graphic would be displayed, I first see the message Converting to loadable format and then Error converting to loadable format. The name of the file is then displayed but not the image. I am trying this in a new LyX document. The graphic is a simple plot saved from Mathematica in several file formats. Of those other formats, I am able to successfully insert bmp, eps, gif, jpg, png and tiff. (svg displays incorrectly in LyX as a black rectangle even though it is displayed correctly in other viewers.) I thought PDF was a native format for LyX, so I don't understand why it is trying to convert the PDF file into anything. Have I set a preference to something stupid? Jerry Hi Jerry, I believe that LyX converts PDFs to EPS files. To see the command that is being run, go to Tools Preferences File Handling Converters and select PDF (graphics) - EPS For me the command is: pdftops -eps -f 1 -l 1 $$i $$o Best, Scott Thanks, Scott. I have an item in the Converters list called PDF (ps2pdf) - EPS which is probably the equivalent. In any case, the Converter command is pdftops -eps -f 1 -l 1 $$i $$o, the same as yours. OK then you might want to try running the command manually on the pdf file. For example, you could run: pdftops -eps -f 1 -l 1 myfile.pdf myfile.eps To get more information on what LyX is doing in the background, you could do the following: lyx -dbg graphics I forget how you're supposed to run the command from the terminal in a Mac. I remember JMarc said something like you have to specify the full path. Hopefully you know. P.S. Did you see Murat's comment in this thread? Yes. What I'm telling you is just a guess so if something I say contradicts what he says, try both :) Best, Scott
Re: Can't insert PDF image into LyX
On Tue, Dec 3, 2013 at 3:19 AM, Jerry lancebo...@qwest.net wrote: On Dec 3, 2013, at 12:41 AM, Scott Kostyshak skost...@lyx.org wrote: On Tue, Dec 3, 2013 at 2:33 AM, Jerry lancebo...@qwest.net wrote: On Dec 2, 2013, at 11:20 PM, Scott Kostyshak skost...@lyx.org wrote: On Tue, Dec 3, 2013 at 1:00 AM, Jerry lancebo...@qwest.net wrote: I am unable to insert PDF image files into LyX 2.0.6 on OS X 10.8.5. When I try to do this, in the area where the graphic would be displayed, I first see the message Converting to loadable format and then Error converting to loadable format. The name of the file is then displayed but not the image. I am trying this in a new LyX document. The graphic is a simple plot saved from Mathematica in several file formats. Of those other formats, I am able to successfully insert bmp, eps, gif, jpg, png and tiff. (svg displays incorrectly in LyX as a black rectangle even though it is displayed correctly in other viewers.) I thought PDF was a native format for LyX, so I don't understand why it is trying to convert the PDF file into anything. Have I set a preference to something stupid? Jerry Hi Jerry, I believe that LyX converts PDFs to EPS files. To see the command that is being run, go to Tools Preferences File Handling Converters and select PDF (graphics) - EPS For me the command is: pdftops -eps -f 1 -l 1 $$i $$o Best, Scott Thanks, Scott. I have an item in the Converters list called PDF (ps2pdf) - EPS which is probably the equivalent. In any case, the Converter command is pdftops -eps -f 1 -l 1 $$i $$o, the same as yours. OK then you might want to try running the command manually on the pdf file. For example, you could run: pdftops -eps -f 1 -l 1 myfile.pdf myfile.eps To get more information on what LyX is doing in the background, you could do the following: lyx -dbg graphics I forget how you're supposed to run the command from the terminal in a Mac. I remember JMarc said something like you have to specify the full path. Hopefully you know. I ran the command that you suggested and a new EPS file was created without any error code reported. I examined it in a text editor and it at least superficially looks like a valid EPS file. However, when I then try to insert it into my document, I get the Error converting to loadable format message in place of the image. (I don't notice the intermediate message saying that it is Converting to a loadable format.) When I attempt to open the EPS which was originally exported by Mathematica (see my original post) with Apple's Preview.app, it succeeds (by itself converting the EPS to PDF). However, when I attempt to open the new EPS made by the above command in Preview, it fails and reports Warning PostScript error: No PDF was produced, and there is in fact no image displayed in Preview. It looks like pdftops is giving me a bad result. What package FWIW, the original EPS which was exported from Mathematica (and which displays correctly in LyX) is 408 KB and the new one created by the pdftops command above is only 188 KB. I don't necessarily find this worrisome but I thought I would mention it. Sounds like you've narrowed down the problem. I've heard of similar reports. You could try to use a different command (different program than pdftops) to do the conversion. I don't have experience with this. Best, Scott
Re: Can't insert PDF image into LyX
On Tue, Dec 3, 2013 at 4:41 AM, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr wrote: Scott, are you sure that Lyx uses EPS for showing the graphics on the screen? I have had the impression that it was rather using a bitmap format like PNG. Not all formats are converted to .eps. If you insert a .png it will not be converted to a .eps. I agree that in the end to display on a screen a bitmap is more useful but I think that Qt takes care of that. If you go to Insert Graphics and choose a .pdf, at least on Ubuntu, it is converted to a .eps. You can see this by starting LyX with lyx -dbg graphics and looking at the output. Below is some useful information from the output. Note all the way at the bottom from_format: pdf6 to_format:eps begin output to terminal The image loader can load the following directly: frontends/qt4/GuiApplication.cpp (215): BW, frontends/qt4/GuiApplication.cpp (215): EPS, frontends/qt4/GuiApplication.cpp (215): EPSF, frontends/qt4/GuiApplication.cpp (215): EPSI, frontends/qt4/GuiApplication.cpp (215): EXR, frontends/qt4/GuiApplication.cpp (215): PCX, frontends/qt4/GuiApplication.cpp (215): PSD, frontends/qt4/GuiApplication.cpp (215): RAS, frontends/qt4/GuiApplication.cpp (215): RGB, frontends/qt4/GuiApplication.cpp (215): RGBA, frontends/qt4/GuiApplication.cpp (215): SGI, frontends/qt4/GuiApplication.cpp (215): TGA, frontends/qt4/GuiApplication.cpp (215): XCF, frontends/qt4/GuiApplication.cpp (215): bmp, frontends/qt4/GuiApplication.cpp (215): bw, frontends/qt4/GuiApplication.cpp (215): dds, frontends/qt4/GuiApplication.cpp (215): eps, frontends/qt4/GuiApplication.cpp (215): epsf, frontends/qt4/GuiApplication.cpp (215): epsi, frontends/qt4/GuiApplication.cpp (215): exr, frontends/qt4/GuiApplication.cpp (215): gif, frontends/qt4/GuiApplication.cpp (215): ico, frontends/qt4/GuiApplication.cpp (215): jp2, frontends/qt4/GuiApplication.cpp (215): jpeg, frontends/qt4/GuiApplication.cpp (215): jpg, frontends/qt4/GuiApplication.cpp (215): mng, frontends/qt4/GuiApplication.cpp (215): pbm, frontends/qt4/GuiApplication.cpp (215): pcx, frontends/qt4/GuiApplication.cpp (215): pgm, frontends/qt4/GuiApplication.cpp (215): pic, frontends/qt4/GuiApplication.cpp (215): png, frontends/qt4/GuiApplication.cpp (215): ppm, frontends/qt4/GuiApplication.cpp (215): psd, frontends/qt4/GuiApplication.cpp (215): ras, frontends/qt4/GuiApplication.cpp (215): rgb, frontends/qt4/GuiApplication.cpp (215): rgba, frontends/qt4/GuiApplication.cpp (215): sgi, frontends/qt4/GuiApplication.cpp (215): svg, frontends/qt4/GuiApplication.cpp (215): svgz, frontends/qt4/GuiApplication.cpp (215): tga, frontends/qt4/GuiApplication.cpp (215): tif, frontends/qt4/GuiApplication.cpp (215): tiff, frontends/qt4/GuiApplication.cpp (215): xbm, frontends/qt4/GuiApplication.cpp (215): xcf, frontends/qt4/GuiApplication.cpp (215): xpm, frontends/qt4/GuiApplication.cpp (215): xv, graphics/GraphicsCache.cpp (91): LyX recognises the following image formats: graphics/GraphicsCache.cpp (98): eps graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): bmp graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): eps graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): gif graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): jpg graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): jpg graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): pbm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): pgm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): png graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): ppm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): svg graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): tiff graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): xbm graphics/GraphicsCache.cpp (97): , graphics/GraphicsCache.cpp (98): xpm graphics/GraphicsCache.cpp (100): insets/InsetGraphics.cpp (145): Token: '\end_inset' graphics/epstools.cpp (54): [readBB_from_PSFile] no(e)ps-format frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] frontends/qt4/GuiGraphics.cpp (347): [bb_Changed set to true] insets/InsetGraphics.cpp (145): Token: 'filename' insets/InsetGraphics.cpp (145): Token: '\end_inset' Format.cpp (378): Recognised Fileformat: pdf6 graphics/GraphicsCacheItem.cpp (379): [CacheItem::Impl::convertToDisplayFormat] Attempting to convert image file: /home/scott/Desktop/WWS302_ECO359_Precept10_F13a.pdf with displayed filename: ~/Desktop/WWS302_ECO359_Precept10_F13a.pdf Format.cpp (378): Recognised Fileformat: pdf6 graphics/GraphicsCacheItem.cpp (386): The file contains pdf6 format data. graphics/GraphicsLoader.cpp (115): LoaderQueue: waking up insets/InsetGraphics.cpp (754): insetgraphics::latex: Filename =
Re: Can't insert PDF image into LyX
On Wed, Dec 4, 2013 at 9:45 AM, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr wrote: Thanks Jens and Jerry, I was not aware of this program (sips) and it generates nice bitmaps indeed, and quite quickly in comparison with the gs+convert solution that was rather slow on my macbook air. The version I use is the following (adapted for the 128dpi display of my MBA): sips -s dpiHeight 128.0 -s dpiWidth 128.0 --resampleWidth 600 --setProperty format png $$i --out $$o 2013/12/4 Jerry lancebo...@qwest.net On Dec 3, 2013, at 6:44 PM, Jens Nöckel noec...@uoregon.edu wrote: On Dec 3, 2013, at 2:14 PM, Jerry wrote: On Dec 3, 2013, at 1:53 PM, Stephen Buonopane sbuon...@bucknell.edu wrote: Try the solution given here… http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php which creates a direct conversion from pdf to png. It solved a related problem for me in the past where the conversion through eps subtly changed the graphics dimensions making on screen cropping near impossible. Thanks, Stephen! That has fixed the problem. There remain some unanswered questions. It looks like the converter pdftops is broken, at least on my machine. Your fix bypassed it, and elsewhere in this thread I reported that a manual conversion created an EPS file that was invalid. Is this a known problem? Since PDF is truly a native file format on OS X, it seems that your fix should be incorporated into LyX permanently because OS X users are trying to paste PDFs into LyX very frequently. Have you suggested this fix to the developers? Jerry As an alternative to Stephen's suggestion, you could also add the following converter for PDF to PNG. In my preferences, I chose the From format as PDF (ps2pdf) and entered this code for Converter: sips -s format png $$i --out $$o This uses the OS X built-in command sips instead of Ghostscript. Thanks for that tip, Jens. I really like the idea of using OS X's built-in image processing. However, this command scales the image by 200% so I added an option to scale to a width of 560 pixels which seems comfortable for me, and preserves the aspect ratio. (I know that I could use LyX to scale the on-screen size manually but this is laborious and makes the image ugly.) In addition, there is a pink background behind the image which I don't like and which the GhostScript-and-convert command suggested earlier in the thread does not do. This is fixed by Preferences - Look and Feel - Colors - graphics background to white, but that leaves the question of why the GhostSript approach did not result in a pink background--I'l bet it did not render the PDF with a solid background but left it transparent. This (putting a solid background) can be an issue which causes the image to appear bigger than it is and can cause centering problems in the output PDF, but I'll leave that to solve another day. So for the record, the sips command I'm using is: sips --resampleWidth 560 --setProperty format png $$i --out $$o Again, thanks. Jerry Any volunteers to write up a short Wikipedia paragraph for this issue, which appears to be common on Macs? A good place might be: http://wiki.lyx.org/Mac/Mac Best, Scott
Re: Fancy cover page?
On Wed, Dec 4, 2013 at 11:43 AM, Ignacio Martinez igna...@virginia.edu wrote: Hi, This time I need to do a fancy cover page, like http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf Can somebody help me do this in LyX? I have the logo as a svg and png. Thanks a lot! Ignacio PS: They are pushing me to use MS Word, which is a problem because I use linux... This should be doable in LaTeX. If you don't get more help here, consider asking on tex.stackexchange.com (use the tag LyX and write that you are using LyX in your question). Best, Scott
Re: printing
On Wed, Dec 4, 2013 at 1:06 PM, David L. Johnson david.john...@lehigh.edu wrote: On 12/04/2013 12:43 PM, mike wrote: Hi Even though I am an old LaTeX user (but a new LyX user) for my current purposes I would like to be able to print in a format very similar to what I see on the screen in LyX. I do realise that LyX is not intended to be wysiwyg but what I see on the screen (some basic text and mathematics and nested itemised lists) is just about perfect for what I need if I could just figure out how to print it so that the printouts look like what I see on the screen. I guess I don't understand what you mean. On the one hand, if you have that on the screen, isn't it printed out that way? Aside from re-formatting the text to fit the page width, of course. What else about the way it looks on the screen do you not get on the printout? On the other hand, why would you want it to look more like the screen than the usual TeX output? TeX adds in ligatures and other fancy font details, re-sets the page width and justification, and prints what you wrote. Some fonts are different, but usually better than the on-screen appearance. Why would you want it more like the screen? +1 LaTeX is better and prettier for rendering than LyX. More details would be useful. The only reason I can think of is that you don't have LaTeX installed or you are getting LaTeX errors. To answer your question though, I don't think this is possible other than taking screen shots. I could be wrong though. Scott
Re: Fancy cover page?
On Wed, Dec 4, 2013 at 2:43 PM, Ignacio Martinez igna...@virginia.edu wrote: Thanks Scott. I posted here: http://tex.stackexchange.com/questions/148369/fancy-cover-page But apparently they don't like this type of question :_( Ah, yes that happens. Sometimes they get motivated by a user not wanting to use Word, other times they complain. You could give an MWE (post both the .lyx and .tex file there). Just try your best to make it (e.g. using Insert Graphics), even if it won't be close. This will at least show what document class you're using and show that you're willing to spend some time and effort to help yourself, it's just (as you put in the comments) you don't have the LaTeX knowledge yet. Don't get too discouraged! You did just get a +1 by someone :) Scott
Re: LyX installer stops when compiling python script
On Mon, Dec 9, 2013 at 10:14 AM, Waluyo Adi Siswanto was.u...@gmail.com wrote: I have a problem when installing LyX 2.06. (Windows 7) It always stops when compiling python script. (see attachment) I have tried to uninstall all including miktex, the install using the bundle installer, it also stops at the same stage. What is this problem and how I can install lyx again. regards waluyo You might have better luck with ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2. I don't know of a specific fix that has happened, but I think there have been a couple of Python-related tweaks in the Windows installer. For example: commit 3e7a9a51182fb56a7597bd8315a60b489bd8b9d8 Author: Uwe Stöhr uwesto...@lyx.org Date: Sat Apr 13 14:29:07 2013 +0200 installer: fix a an UI issue - also update to Python 2.7.4 Best, Scott
Re: [Help] Crazy format requirements
On Tue, Dec 10, 2013 at 2:50 AM, Guenter Milde mi...@users.sf.net wrote: On 2013-12-09, Ignacio Martinez wrote: I need help making this adjustments to my LyX document ... I suggest to use the KOMA-script classes and read their comprehensive documentation scrguide.pdf (German) or scrguien.pdf (English). I can't promise that everything will work with free fonts. Maybe you will have to use XeTeX/LuaTeX and non-TeX fonts. Günter Looks like Ignacio has solved his problem (by using XeTeX): http://tex.stackexchange.com/questions/149331/fancyhdr-with-2-different-fonts Scott
Re: CJK only LyX can't do it
On Sun, Dec 22, 2013 at 2:54 PM, Karl Linek k...@linek.at wrote: Hi, I wrote a simple simple sentence using a Chinese sign. I could produce a pdf-file. Then I just pressed enter to make another line before the Chinese sign. Now LyX couldn't make a pdf-file anymore. I noticed LyX had ended the CJK-environment just after the enter. I couldn't move the \end{CJK}. I reported this behaviour already. But the answers were not satisfying. A develper said one can't combine CJK with the German package - because of LaTeX. At first I quit, but then I started a final test. I exported the lyx-file and produced a simple tex-file. Then I opened it with Gummi 0.6. As expected it couldn't produce a pdf-file. But unlike to LyX it allows to change the LaTeX directly. So I wrote \end{CJK} just before \end{document}. Now it worked just perfect! Now my question: Have you been ignored to by the LyX developers? What should I do now? Thanks for any answer. Karl Hi Karl, I can reproduce your problem (thank you for sending a minimal example). if you open your .lyx file and go to View Source you will see LyX Warning: uncodable character '氣'. To fix this, you can select the character and go to Edit Text Style Customized and set Language to Chinese. From now on, you can select text and right click and go to Language in the right-click menu (you couldn't before because there was only one language. By the way, it's always useful in questions like these if we state our OS, LyX version and TeX distribution because sometimes a problem has to do with that. I'm using Ubuntu 13.10 and an up-to-date TeX Live 2013. I've tested my above instructions on 2.0.xgit (soon to be 2.0.7) and 2.1git (soon to be 2.1). Best, Scott
Re: Maple and Lyx on Ubuntu
On Mon, Dec 30, 2013 at 10:42 AM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, Is there a way on Ubuntu to use the basic features that link Maple and Lyx? Even Maxima would be cool to use. Thanks in advance. - Julio Rojas jcredbe...@gmail.com Works for me on Ubuntu with maxima and LyX 2.1 beta2. Can you please explain exactly what you're trying to do? Please send a .lyx file as a minimal example showing what you tried. Scott
Re: Maple and Lyx on Ubuntu
Hi Julio, Are you using Ubuntu? If not, which OS? I have only tried with Maxima so I won't be of much help regarding Maple. If you want to try with Maxima, please send a minimal example of what you try -- hopefully as simple as possible, e.g. 2+2. Happy new year to you, Scott On Tue, Dec 31, 2013 at 4:04 AM, Julio Rojas jcredbe...@gmail.com wrote: I wanted to factorize (using Maple, Factor in the pulldown menu) the expression: 4*x^2 + 8*x*y + 4*y^2 The result I get is an empty box. I reconfigured Lyx after installing Maple and adding its directory to the path (it can be invoked from the command line). Thanks for your help and happy new year to all. - Julio Rojas jcredbe...@gmail.com On Tue, Dec 31, 2013 at 4:09 AM, Scott Kostyshak skost...@lyx.org wrote: On Mon, Dec 30, 2013 at 10:42 AM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, Is there a way on Ubuntu to use the basic features that link Maple and Lyx? Even Maxima would be cool to use. Thanks in advance. - Julio Rojas jcredbe...@gmail.com Works for me on Ubuntu with maxima and LyX 2.1 beta2. Can you please explain exactly what you're trying to do? Please send a .lyx file as a minimal example showing what you tried. Scott
Re: Maple and Lyx on Ubuntu
On Tue, Dec 31, 2013 at 9:51 AM, Julio Rojas jcredbe...@gmail.com wrote: Yup, Ubuntu 12.04. Thanks in advance. Thanks for the example, Julio. This shows me that you're trying to call the CAS on an equation array, which I don't think LyX handles well. Consider trying an inline math expression without the equals. Attached is a LyX file with examples that work and don't work for me with Maxima. Factoring works fine for me with Maxima (see the last example). You have to give the command factor and do not pass the equals sign (otherwise LyX gives this to Maxima and Maxima thinks it's part of the expression to evaluate). Scott mwe_maxima.lyx Description: application/lyx
Re: Maple and Lyx on Ubuntu
On Thu, Jan 2, 2014 at 5:17 AM, Julio Rojas jcredbe...@gmail.com wrote: So, two things: something called mint is not found, nor is maple. Nevertheless, if I run Maple from the command line it runs perfectly. mint appears to be a part of Maple: http://www.maplesoft.com/support/help/Maple/view.aspx?path=mint Judging from LyX's code (see MathExtern.cpp), LyX is just using mint to make sure that the string is correct syntax: lyxerr checking expr: ' expr ' endl; string out = captureOutput(mint -i 1 -S -s -q -q, expr + ';'); if (out.empty()) break; // expression syntax is ok Are there two PATH variables, one for the terminal and one for the Ubuntu graphic environment? May be this is the problem. There should be only one PATH. It is inherited from the parent process. It is possible that the parents have different paths. To check this you could start LyX from the same terminal that you ran maple from (which you said succeeded), as opposed to starting LyX from a menu which would lead to a different parent. I don't think I'm going to be of much help since I only use Maxima. Good luck, Scott
Re: Need some help figuring out LyX
I do not think that drag-and-drop is a good reason to switch to LyX. You will suffer if you're the type that loves writing all the LaTeX yourself. I'm sorry that you're using it out of necessity. I've had to use software out of necessity before and it is a horrible feeling. You clearly want to customize things and in LyX there is a lot of room for this. Take a read of Help Customization. You can create your own inset that will put stuff in the preamble (so it would be inside of the document instead of going to Document Settings). For this do a search for the word InPreamble in Help Customization. That manual will also show you how to change the color of ERT. One way to do this is to put the following in Document Settings Local Layout: InsetLayout ERT LabelString ERT LatexType none Decorationminimalistic Font Family typewriter EndFont LabelFont Color latex SizeSmall EndFont MultiPar true CustomParsfalse ForcePlaintrue PassThru true ParbreakIsNewline true KeepEmpty true FreeSpacing true ForceLTR true End For more permanent ways, read the Customization manual. To preview your custom LaTeX, put it in a preview box (Insert Preview). Feedback is appreciated, but please be specific (e.g. with proposed solutions not it's ugly) and send patches; and be open to the possibility that others don't like things the way you do. Although I don't think it will happen, I really hope that you end up falling in love with LyX and staying around the list to offer suggestions. I really think that LyX has a lot to offer power LaTeX users and this side is not often seen. Scott On Sat, Jan 4, 2014 at 6:02 PM, Ingar Pareliussen ingar.parelius...@dmmh.no wrote: I think you'll never be satisfied with LyX if you try to shoehorn LyX into something it is not, a LaTeX-editor. You are right that most what is written about LyX is not written for people coming from LaTeX, this might be a shortcoming from the LyX community. But I guess the most important is that understand that LyX is not meant to write LaTeX, but documents. For one coming from LaTeX the biggest change moving to LyX would be the removal of the LaTeX markup from the document. The reason of removing the markup is to read and write the text more quickly, even math. If you find writing the markup and reading/writing the document a non-issue you should get a LaTeX editor, there are plenty. Even online: https://www.writelatex.com/ However, if you want to try LyX as a document processor here is some thought from your experience: The preamble is a bit tucked away, but usually you only change it initially, when you have set it up you make a template of the document and use that when you start a new document. If you have a lot of beamer macroes there is several ways to integrate those into LyX. you could make a layout-file that magically incorporates the macros into the preamble and give you the macros along with the rest of the beamermacros in the gui. Or you could make a template and add the macros in the preamble and use ERT to access it (however, as you remarked this will stand out from the rest of the document, as it is only meant as a last resort), or you could add them as local styles connected to the document, but integrated into the menus. What to chose is down to the type of macros, I guess. It is all about the best way of hiding the markup away. Ingar Pareliussen
Re: Multimarkdown to LyX
Looks interesting. The documentation is well written. Thanks for sharing this news. Scott On Sun, Jan 5, 2014 at 11:34 AM, C. R. Cowan crco...@gmail.com wrote: LyX users might like to get LyX output directly from Multimarkdown. Thus you can draft your documents using Multimarkdown or even Scrivener to create Multimarkdown and then polish the results in LyX. I have worked with Fletcher Penny to implement that capability. Here is a link to the announcement page: http://fletcherpenney.net/2014/01/mmd_4.5_released And here is a link to a page with documentation specific to the LyX capability: http://crcowan.github.io/MultiMarkdown-4-LyX-Maintenance/ Let me know what you think and if you find problems please post to the Multimarkdown Issues page: https://github.com/fletcher/MultiMarkdown-4/issues Enjoy! Charles
Re: LyX very slow on Mac
On Tue, Jan 7, 2014 at 6:48 PM, Anders Host-Madsen ahostmad...@yahoo.com wrote: I have been using LyX for quite a while now, mainly on Mac. But these days for many of my documents LyX is just extremely slow. When I scroll, LyX just slowly scrolls line by line. I can wait for long time while it just continues to slowly scroll. And to insert math, it can take several seconds to open the math box, and then there is a long wait for every keystroke. I have two Macs: a slower MacBook Air, and a one year top of the line iMac (the absolute fastest configuration available), and on both LyX is just behaving like a snail. It seems to be fairly recent. I doesn't seem to be every document, but I cannot find a clear reason for what makes a document slow, except for length (but we are talking 5 page documents versus one page). Perhaps one thing: many LyX comments? Has anyone else experienced this. Any ideas what I can do? Hi Anders, thanks for reporting this behavior. In emails like this it's always useful if you give your LyX version (and in this case Mac OS version). We have had reports like this and the problem has been fixed for several users by a patch that is now in the soon-to-be-released LyX 2.1. Can you please try out LyX 2.1 beta2 (ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2/LyX-2.1.0beta2+qt4-cocoa.dmg) and let us know if the problem still occurs? Best, Scott
Re: LyX very slow on Mac
Thanks for letting us know, Anders. Glad 2.1 is working well for you. Scott On Wed, Jan 8, 2014 at 2:03 PM, Anders Host-Madsen ahostmad...@yahoo.com wrote: Yes, it seems LyX 2.1 solves the problem. It is definitely faster than LyX 2.0.6. Very good. LyX had become so slow that I almost couldn't use it.
Re: two suggested features
On Sun, Jan 12, 2014 at 12:26 PM, Richard Heck rgh...@lyx.org wrote: On 01/11/2014 06:33 AM, Baron Peters wrote: LyX comes with support for Revtex 4.1, unless I'm mistaken. You have to install the class itself, but there is a layout file for it. And a template. Go to File New from Template. Scott
Re: Quick question regarding copy/paste and cut/paste
On Wed, Jan 15, 2014 at 10:03 AM, Richard Heck rgh...@lyx.org wrote: On 01/14/2014 08:39 PM, A Choi wrote: To whom it may concern, If I have e^{\delta T}F_{0,T} together, and want to change the order of them, I can no longer select F_{0,T} inside the math environment and do ctrl+x then move my cursor to the beginning of e^{\delta T} and then press ctrl+v. What happens is when I press ctrl+v, the F_{0,T} gets pasted outside the math environment. Changing the shortcut of selection-paste to ctrl+v mentioned here does not fix this problem. Changing the shortcut of clipboard-paste to ctrl+v does not fix this problem either. Very strange. I don't see this problem with 2.0.6 on Linux. Neither do I (2.0.6 or 2.0.7dev or 2.1dev). Also on Linux. Choi, which version of LyX and which operating system do you use? Scott
Re: lyx appendix numbering of sections
On Wed, Jan 15, 2014 at 11:00 AM, taniaklb taniakal...@hotmail.com wrote: Hello, I am facing a problem regarding the numbering of sections in the appendix whenever i start a appendix and i insert a section, the first section takes the following number from the main text and not A. i.e. lets say i have three sections in the main text, the first section in the appendix would be D instead of A. also same problem with figure and table floats can someone help me on that best Tania Hi Tania, This sounds like but #8666 to me (http://www.lyx.org/trac/ticket/8666), in which case it should be fixed in the next version of LyX. If the problem happens on the output (e.g. PDF), then it is a different bug. Best, Scott
Re: Are there problems with lyx-ftp-server?
On Thu, Jan 16, 2014 at 4:08 AM, Anders Ekberg a...@mac.com wrote: Try paste the link in Firefox address field and download with Firefox. This works fine for me. (Could probably work also with other web browsers, but I haven¹t tried that). All the best! Anders Hello, to test lyx 2.1.0 beta2 i tried several times download the program from ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2 Note that this is not a link to the file to download. This folder gives the links to download. Can you see the links? Go there with your browser. If you can see the links, does it work with wget (on Linux or Mac)? e.g. wget ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2/lyx-2.1.0beta2.tar.gz Scott
Re: Are there problems with lyx-ftp-server?
On Thu, Jan 16, 2014 at 9:23 AM, Anders Ekberg a...@mac.com wrote: On Thu, Jan 16, 2014 at 4:08 AM, Anders Ekberg a...@mac.com wrote: Try paste the link in Firefox address field and download with Firefox. This works fine for me. (Could probably work also with other web browsers, but I haven¹t tried that). All the best! Anders Hello, to test lyx 2.1.0 beta2 i tried several times download the program from ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2 Note that this is not a link to the file to download. This folder gives the links to download. Can you see the links? Go there with your browser. If you can see the links, does it work with wget (on Linux or Mac)? e.g. wget ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2/lyx-2.1.0beta2.tar. gz Scott OK, maybe I was unclear: The upper link will give you a page where you will see all the downloadable files. Click on the LyX suitable for your needs and it should download (at least did for me). Thanks Anders. Your report of strange behavior is still difficult for others to try to reproduce. I'm not trying to be pedantic here, but when you report something like this you want to give as much information as possible. For example, Click on the LyX suitable for your need is different for you (Windows?) than for me (Linux). So we would be clicking on different links! To see if I can reproduce the problem, we want to click on the same link, using the same OS (if possible) using the same browser (if possible). Otherwise you will get a lot of responses of works for me because we are using different applications to do it. That will not help you. Well, actually it will if you're able to change OS or change browsers, etc., but it won't help us figure out if it's a problem on our side or your side. Which link are you clicking on? With which browser? With which OS? Have you tried using a different browser? If so, which one? Have you tried using a different computer? Did it work there? Thanks for the report. If users can't download the installation file for LyX, that's definitely a problem and hopefully we can get to the root cause of it. Best, Scott
Re: Are there problems with lyx-ftp-server?
On Thu, Jan 16, 2014 at 10:06 AM, Stephan Witt st.w...@gmx.net wrote: Am 16.01.2014 um 15:46 schrieb Scott Kostyshak skost...@lyx.org: On Thu, Jan 16, 2014 at 9:23 AM, Anders Ekberg a...@mac.com wrote: On Thu, Jan 16, 2014 at 4:08 AM, Anders Ekberg a...@mac.com wrote: Try paste the link in Firefox address field and download with Firefox. This works fine for me. (Could probably work also with other web browsers, but I haven¹t tried that). All the best! Anders Hello, to test lyx 2.1.0 beta2 i tried several times download the program from ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2 Note that this is not a link to the file to download. This folder gives the links to download. Can you see the links? Go there with your browser. If you can see the links, does it work with wget (on Linux or Mac)? e.g. wget ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2/lyx-2.1.0beta2.tar. gz Scott OK, maybe I was unclear: The upper link will give you a page where you will see all the downloadable files. Click on the LyX suitable for your needs and it should download (at least did for me). Thanks Anders. Your report of strange behavior is still difficult for others to try to reproduce. I'm not trying to be pedantic here, but when you report something like this you want to give as much information as possible. For example, Click on the LyX suitable for your need is different for you (Windows?) than for me (Linux). So we would be clicking on different links! To see if I can reproduce the problem, we want to click on the same link, using the same OS (if possible) using the same browser (if possible). Otherwise you will get a lot of responses of works for me because we are using different applications to do it. That will not help you. Well, actually it will if you're able to change OS or change browsers, etc., but it won't help us figure out if it's a problem on our side or your side. Which link are you clicking on? With which browser? With which OS? Have you tried using a different browser? If so, which one? Have you tried using a different computer? Did it work there? Thanks for the report. If users can't download the installation file for LyX, that's definitely a problem and hopefully we can get to the root cause of it. Hi Scott, sorry for chiming in… it was Uwe who had the problem and Anders proposed an alternate solution. Hi Stephan, Thanks for pointing out my mistake. My apologies to Anders. Uwe, more information would be helpful. Best, Scott
Re: Are there problems with lyx-ftp-server?
On Thu, Jan 16, 2014 at 3:04 PM, Uwe Ade uwe@gmx.de wrote: Hello, me again. Sorry for the disagreeability. I have the problem with safari und Pathfinder on my mac. The Download doesn’t work. As I read the tip from Anders i installed Firefox and the download and the installation of lyx works fine. In Future i will try to give more and clear descriptions. Thanks for the help an this Mailinglist. For me it´s great!! Thanks for following up and thanks to Anders for the solultion. Glad you got it working! It would be nice if another Mac user could test using Safari. Scott
Re: can't get LyX to open pdfs in Skim
Hi Richard, On Sun, Jan 12, 2014 at 6:34 PM, Richard Talley rich.tal...@gmail.com wrote: When I was running LyX 1.6.x, I had no problems getting LyX and Skim to sync, but I can't get it working with LyX 2.0.6. Do you still have your user folder from back then? No matter what I do, generated pdfs continue to open in Preview rather than Skim. OK let's take this one step at a time. The first step is getting Skim to open the PDFs. LyX has the correct (according to the wiki) command built-in - open LyX Preferences - Output and in PDF command put /Applications/Skim.app/Contents/SharedSupport/displayline $$n $$o $$t. This is only for Forward search, not for which program opens a PDF file. What about going to Tools Preferences File Handling File Formats select, e.g. PDF (XeTeX) and under viewer select Skim or add it as custom. I know I could force the pdfs to open in Skim by setting all pdfs to open in Skim, but I neither want nor should have to do that. I thought this is what you want to do. Best, Scott
Re: Seeing invisible table grid lines in the GUI
On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote: Hi LyX users, I use LyX on several computers (all version 2.0.6) and cannot figure out which setting allows one to see invisible table grid lines. They helpfully show up as light gray lines on the Macs running 10.6.8, but not on the one running 10.8.5. Is this a setting somewhere in the GUI that I need to turn on? Maria Hi Maria, I've never heard of this particular issue but other Mac-related screen issues have been solved by zooming. In Tools Preferences Look Feel Screen Fonts, does increasing Zoom help? Best, Scott
Re: Seeing invisible table grid lines in the GUI
On Wed, Jan 22, 2014 at 1:12 PM, Maria Gouskova gousk...@gmail.com wrote: On Wed, Jan 22, 2014 at 12:23 PM, Scott Kostyshak skost...@lyx.org wrote: On Wed, Jan 22, 2014 at 12:17 PM, Maria Gouskova gousk...@gmail.com wrote: Hi LyX users, I use LyX on several computers (all version 2.0.6) and cannot figure out which setting allows one to see invisible table grid lines. They helpfully show up as light gray lines on the Macs running 10.6.8, but not on the one running 10.8.5. Is this a setting somewhere in the GUI that I need to turn on? Maria Hi Maria, I've never heard of this particular issue but other Mac-related screen issues have been solved by zooming. In Tools Preferences Look Feel Screen Fonts, does increasing Zoom help? Best, Scott Hi Scott, No, it didn't make a difference. I increased it from 150% to 250%, no hint of grid lines. Am I imagining that showing/hiding table gridlines used to be a setting in the GUI somewhere? You could be right. I don't remember. You could see if there are any differences in your preferences between the two computers. But I'm guessing it's a Qt related issue. Scott
Re: Keyboard shortcut for unicode input not working
Hi William, On Thu, Jan 23, 2014 at 6:37 AM, William Furnass w...@thearete.co.uk wrote: I'm running LyX v2.06 on Linux Mint 16. In other applications I can enter a unicode character using ctrl-shift-u then the code point. However, I'm unable to do this in LyX, even if I explicitly bind 'unicode-input' to ctrl-shift-u in the preferences (results in '\bind C-S-u unicode-insert' being added to .lyx/bind/user.bind). Anyone got any ideas why this isn't working? Yes. It's because as you say one must enter the full string on the mini-buffer. You can only make shortcuts to a full command, not something that still requires input. Also note that it's 'unicode-insert' and not 'unicode-input' in LyX 2.1 (perhaps this changed?). What happens for you when you do ctrl+shift+u? On Ubuntu 13.10 with LyX2.1beta2 I get a u with an underline, but on the next character it disappears. I have the feeling this is a Qt-related issue (I was just wrong on this same feeling in a thread before though so beware). I know I can enter unicode using alt-x then typing 'unicode-input codepoint' in the input box that appears at the bottom of the main window but this is rather cumbersome. I've always been interested in use cases for this. Do you just remember lots of handy unicode so you can enter them quickly? I only use them when I look them up some where. So for me, the 10 seconds of having to type alt-x then typing 'unicode-insert codepoint' is far less than the time it takes for me to actually find the code of the character I want to insert. On the other hand, if you have 10 or so unicodes memorized, you could just instead make shortcuts. For example, if you want to enter unicode Ucode, bind something to 'unicode-insert Ucode' and for a different one make a new one. This won't work if you have many of them memorized though, but I just wanted to suggest that in case you hadn't thought of it. Best, Scott
Re: Keyboard shortcut for unicode input not working
Hi William, Please respond to the list (or tell me explicitly if you wish for an email to be private). On Thu, Jan 23, 2014 at 4:21 PM, William Furnass w...@thearete.co.uk wrote: Hi Scott, On 23 January 2014 16:23, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jan 23, 2014 at 6:37 AM, William Furnass w...@thearete.co.uk wrote: I'm running LyX v2.06 on Linux Mint 16. In other applications I can enter a unicode character using ctrl-shift-u then the code point. However, I'm unable to do this in LyX, even if I explicitly bind 'unicode-input' to ctrl-shift-u in the preferences (results in '\bind C-S-u unicode-insert' being added to .lyx/bind/user.bind). What happens for you when you do ctrl+shift+u? On Ubuntu 13.10 with LyX2.1beta2 I get a u with an underline, but on the next character it disappears. I have the feeling this is a Qt-related issue (I was just wrong on this same feeling in a thread before though so beware). I have a list of unicode code points taped to my monitor and want to be able to enter the corresponding characters for them all without having to set up shortcut keys for each. Nice idea. I often forget the usefulness of physical cheat sheets. I've been meaning to print some. I forgot to mention that Ctrl-Shift-u allows me to subsequently enter code points to input unicode characters in LyX on another machine running Ubuntu 13.10 So you are saying that it works as you expect on this machine? Which version of LyX is it? and, more importantly, that pressing Ctrl-Shift-U on my machine oddly generates a O with a backslash through it, without me entering any characters afterwards. I've now unset Ctrl-Shift-U in the key bindings and still see this behaviour. This is why I think it's Qt-related. I don't think there's a built-in LyX binding for Ctrl+Shift+U. Best, Scott
Re: Here is the URL of the course page for LaTeX, LyX and friends (in French)
On Thu, Jan 23, 2014 at 11:43 AM, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr wrote: http://yildizoglu.x10.mx/ED-lyx-latex/ Thanks for sharing, Murat. That looks like a useful course that I wish I had access to when I was learning about this stuff. I'm looking forward to seeing the slides on Sage. My only suggestion is that you link to a .lyx file as well as your PDFs. The best way to learn is through example. Best, Scott
Re: Here is the URL of the course page for LaTeX, LyX and friends (in French)
On Thu, Jan 23, 2014 at 5:19 PM, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr wrote: -- Message transféré -- De : Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Date : jeudi 23 janvier 2014 Objet : Here is the URL of the course page for LaTeX, LyX and friends (in French) À : Scott Kostyshak skost...@lyx.org Le jeudi 23 janvier 2014, Scott Kostyshak skost...@lyx.org a écrit : On Thu, Jan 23, 2014 at 11:43 AM, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr wrote: http://yildizoglu.x10.mx/ED-lyx-latex/ Thanks for sharing, Murat. That looks like a useful course that I wish I had access to when I was learning about this stuff. I'm looking forward to seeing the slides on Sage. Thank you Scott! Well, that ones will wait unfortunately because I have just discovered that my setup for sage is currently broken and I have difficulty to locate the culprit (I have updated both Lyx and Sage recently and have not checked that the connection is working. Stupid of me. Anyway, I will not have time for this I think given the only job I have been able to do today in 5 hours (and I have only three hours left tomorrow). Unfortunately I'm not surprised the integration is fragile. I wish I had more time to look into this. Please let us know if you find a solution. My only suggestion is that you link to a .lyx file as well as your PDFs. The best way to learn is through example. Yes, definitely! I have promised this to them today. But I need to completely finis writing them :-) They will be public also, as soon as I become enough confident in them ;-) Makes sense. Scott
Re: Keyboard shortcut for unicode input not working
On Sun, Jan 26, 2014 at 1:34 PM, William Furnass w...@thearete.co.uk wrote: On 23 January 2014 21:50, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jan 23, 2014 at 4:21 PM, William Furnass w...@thearete.co.uk wrote: On 23 January 2014 16:23, Scott Kostyshak skost...@lyx.org wrote: On Thu, Jan 23, 2014 at 6:37 AM, William Furnass w...@thearete.co.uk wrote: I'm running LyX v2.06 on Linux Mint 16. In other applications I can enter a unicode character using ctrl-shift-u then the code point. However, I'm unable to do this in LyX, even if I explicitly bind 'unicode-input' to ctrl-shift-u in the preferences (results in '\bind C-S-u unicode-insert' being added to .lyx/bind/user.bind). What happens for you when you do ctrl+shift+u? On Ubuntu 13.10 with LyX2.1beta2 I get a u with an underline, but on the next character it disappears. I have the feeling this is a Qt-related issue (I was just wrong on this same feeling in a thread before though so beware). I have a list of unicode code points taped to my monitor and want to be able to enter the corresponding characters for them all without having to set up shortcut keys for each. Nice idea. I often forget the usefulness of physical cheat sheets. I've been meaning to print some. I forgot to mention that Ctrl-Shift-u allows me to subsequently enter code points to input unicode characters in LyX on another machine running Ubuntu 13.10 So you are saying that it works as you expect on this machine? Which version of LyX is it? 2.0.6-1 on both machines. and, more importantly, that pressing Ctrl-Shift-U on my machine oddly generates a O with a backslash through it, without me entering any characters afterwards. I've now unset Ctrl-Shift-U in the key bindings and still see this behaviour. This is why I think it's Qt-related. I don't think there's a built-in LyX binding for Ctrl+Shift+U. You're right: it's an OS issue rather than a LyX one. The problem seems to be that the 'ibus' input method isn't installed and enabled by default on Linux Mint 16 (which comes with the older xim input method enabled instead). However, I think that ibus might be installed and enabled if one installs either the KDE and/or XFCE desktop environments, both of which are installed on the machine on which unicode input works as desired. Thanks for investigating this, Will. Now that I've installed and enabled ibus I can enter unicode using Ctrl-Shift-u code point. I can add notes on this to the LyX wiki - would anyone mind if I hijacked [1] and gave it a more general name e.g. KeyboardInputMethods? Please put your notes. I'll be interested in reading them (I know nothing about this subject). Best, Scott [1] http://wiki.lyx.org/Tips/FixDeadKeysAndCompose Will
Re: menu bar lost in OS X
This should be fixed shortly and a new installer will be uploaded. Scott On Tue, Jan 28, 2014 at 3:09 PM, Anders Ekberg a...@mac.com wrote: Here too w OS X 10.9.1 /Anders -Original Message- From: David Nuddleman da...@xsharp.com Date: tisdag 28 januari 2014 20:51 To: lyx-users@lists.lyx.org Subject: menu bar lost in OS X Major disappointment LyX 2.0.7, on OS X 10.7.5 Mac Pro 1,1: Full screen causes application menu bar options list to go blank. Return from full screen does not restore list. 1. Normal options present until fullscreen invoked. 2. LyX 2.0.6 performs normally. Posted ticket tracker #8942 on January 25. Anyone else notice this? --
Re: problemas con visualización doc en pdf
2014-01-30 Anibal Carpio anibal.car...@gmail.com: Hola, Soy nuevo en LyX y estoy haciendo el tutorial; si no he guardado el archivo, la opción visualizar funciona a la perfección. Sin embargo, una vez que cuando el archivo y le coloco nombre, no puedo ver el archivo en pdf y me sale un mesaje emergente. Adjunto imagen. Hola Anibal, No pude ver el imagen que adjuntaste. Hay que exportar antes de poder ver en pdf. Lo exportaste? Si no, haz clic en el icono de los ojos o haz Archivo Exportar. Por favor responda a la lista si tienes otra duda. Es mas probable que recibas ayuda si escribes en inglés. Scott
Re: We need ePub/Mobi conversion: was: Book Frontmatter
I'm CC'ing Josh Hieronymus, who has worked on some of this for GSoC. He is probably busy with other things, but maybe he is still interested. Scott On Fri, Jan 31, 2014 at 1:25 PM, Alan L Tyree alanty...@gmail.com wrote: Sorry for the top posting, but this is short. My own view is that an ePub exporter for LyX would make it a killer application. Thanks for your comments, Steve. Have you looked at Pandoc? Cheers, Alan Steve Litt writes: On Fri, 31 Jan 2014 09:35:46 + Anthony Campbell a...@acampbell.org.uk wrote: This is for printed books. As regards conversion to ebook format, I've done this for several books on Smashwords, but that is quite a long-winded process because it has to be Word.doc format, which I do in LibreOffice (not much fun). Kindle does accept rtf, which would help, but as I'd already made Word.doc files I just used those. Anthony Ladies and gentlemen, if the preceding paragraph doesn't convince us we need a good, solid, LyX to ePub and LyX to Mobi conversion (do ePub first, you can convert ePub into Mobi), then nothing will. Instead of slamming out his book in LyX, Anthony must use an outside service (smashwords), meaning a two word modification is, as Joe Biden would say, a Big Friggin Deal. Further, to satisfy Smashwords he must write it in LibreOffice to simulate MS Word. Or, if he's just doing Kindle, he can submit rtf (what could *possibly* go wrong). You can't base a LyX to ePub converter off either LyX2Xhtml or Alex's eLyXer: Those produce great (X)html for stuff like footnotes and bibliographies, but they discard semantic tags (h1-h6) for variously named divs (yeah, div, not even p), as I remember they still use outdated a name=whatever/ instead of giving an ID to a tag. One or both of them does you the favor of renaming all graphic files to a numerical sequence: I guess this is to prevent identically named graphics in different directories from clobbering each other, but there are better ways of doing this that don't have the anti-debugging baggage of removing all meaning from graphic names. Current LyX exported (X)html files just generally require *huge* postprocessing, with zillions of special cases, to get them in reasonable shape to make an ePub. If that were not the case, somebody would have made a LyX2ePub a long, long time ago, because the demand is there, and a lot of people have that itch, and I'm not the only one who has tried to do it. Shamefully, because I need to be able to have my books available as ePubs, after 13 years using LyX to write my books, I'm now using the Bluefish editor to write my future books. I've written an Xhtml to ePub converter in Python, and I can write an Xhtml to LaTeX converter just as easily. But let me ask you something: Have you ever tried to slam out 2500 words a day in Bluefish? Bluefish will never have the authoring speed of LyX. But then again, as things stand now, a LyX authored document will never be convertible to ePub. The shame is, in theory, LyX to ePub is simple. Every environment becomes p class=environmentname, every character style becomes span class=charstylename. Leave div out of it except for every special cases. Even lyx-code should become pre class=lyxcode, not div class=lyxcode. A special one-per-book configuration file (I did mine in YAML) defines the assignment of Part, Chapter, Section, Subsection etc to h1, h2, h3, h4 etc, and defines which go in the table of contents, and which get numbers and what prefix the number gets (Part, Chapter, etc). I've already done this: It works. Don't worry about converting LyX environment and char style defs to CSS, just list all paragraph and char styles, so that the author can make the necessary CSS. CSS is *much* easier to define than LaTeX environments and commands. And yes, let the author know that this export requires the author use only a subset of LyX's capabilities. I briefly considered writing Yet Another LyX to HTML Exporter, but found out that in spite of LyX's native format being Non Human Friendly XML, it's not *well formed* XML, so I can't use Python's lxml.etree, let alone Python's xml.etree.ElementTree, to parse it. Perhaps if LyX offered an export to well-formed XML, hopefully with a DTD, I could parse that to produce ePub-friendly Xhtml, but as far as I know that doesn't exist either. Anyway, I would suggest anyone who is working on any portion of a LyX to ePub conversion talk with me. I'm pretty knowledgeable about ePub, and I've already identified a lot of the dead ends and blind alleys in ePub creation, and I know what parts of the LyX document should go into the ePub, and which parts would be better re-done as either config or CSS. My switch to Bluefish isn't cast in concrete: Once LyX contains a good, generic, reliable LyX to ePub or even LyX to ePub friendly Xhtml conversion, I can switch back. If you do it soon enough, I won't even have to write an Xhtml to
Re: Feature request
Hi Jim, Do you think something like the insert table icon would work well for matrices? If you haven't tried it yet, click on the Insert table icon in the top toolbar. If matrices worked in this way, would you consider that better or worse than how MathType does it? Can you open an enhancement request on trac for this? http://www.lyx.org/trac Also on the trac ticket can you post a screenshot of what MathType does? I'm wondering what the user interface is like. Best, Scott On Fri, Jan 31, 2014 at 4:29 PM, Jim Rockford jim.rockfo...@gmail.com wrote: MathType has the nice feature that when you click to insert a matrix, one has the choice of immediately inserting a typical low-dimensional matrix (i.e. 2x2, 3x3, 3x1, etc), in addition to the option of setting the row and column numbers manually. As far as I can tell, in Lyx you must always specify the dimension explicitly. I find this a bit of a nuisance and thus make the feature request. Thanks to the Lyx team for their great work and their consideration of user feature requests. Jim
Re: Feature request
Thanks Jim. I just responded to your feature request. Let's continue the conversation on the trac ticket. Scott On Sat, Feb 1, 2014 at 6:49 PM, Jim Rockford jim.rockfo...@gmail.com wrote: Thanks for your attention Scott. I just submitted the enhancement request you suggested. Best, Jim On Fri, Jan 31, 2014 at 4:43 PM, Scott Kostyshak skost...@lyx.org wrote: Hi Jim, Do you think something like the insert table icon would work well for matrices? If you haven't tried it yet, click on the Insert table icon in the top toolbar. If matrices worked in this way, would you consider that better or worse than how MathType does it? Can you open an enhancement request on trac for this? http://www.lyx.org/trac Also on the trac ticket can you post a screenshot of what MathType does? I'm wondering what the user interface is like. Best, Scott On Fri, Jan 31, 2014 at 4:29 PM, Jim Rockford jim.rockfo...@gmail.com wrote: MathType has the nice feature that when you click to insert a matrix, one has the choice of immediately inserting a typical low-dimensional matrix (i.e. 2x2, 3x3, 3x1, etc), in addition to the option of setting the row and column numbers manually. As far as I can tell, in Lyx you must always specify the dimension explicitly. I find this a bit of a nuisance and thus make the feature request. Thanks to the Lyx team for their great work and their consideration of user feature requests. Jim
Re: lyx 2.0.1: .tex import with use of .cls and .sty files
Hi Jörg, This is possible but should not be expected to work perfectly. It depends on whether LyX has a layout file for the class. My suggestions to you are to upgrade to a newer version of LyX (the importing of .tex files gets better each version), and if you have a problem, post an enhancement request *with an example* of a .tex file you tried to import (or make up a minimal example) and the error you got at http://www.lyx.org/trac Best, Scott On Mon, Feb 3, 2014 at 1:54 PM, Jörg Kühne joerg.kue...@gmx.net wrote: Dear user list Is it generally possible to import a .tex with use of .cls and .sty files to Lyx? If I import the example.tex to Lyx, Lyx creates line breaks as follows: \cventry{2011--2012} {Masters of Commerce}{The University of California}{Berkeley}{\textit{GPA -- 8.0}}{First Class Honours} % Arguments not required can be left empty What can I do to avoid such errors in Lyx? Regards Joerg
Re: Can't change previewer
On Thu, Feb 6, 2014 at 2:06 PM, Stephen Corwin stephen.cor...@gmail.com wrote: Hi-- I've been using LyX for many years and know how to change previewers, but no matter what I do now, documents come up in Yap. I'm running LyX 2.0.7 on Windows 7. What I've done: 1. Installed SumatraPDF 2. Added ;C:\Program Files (x86)\SumatraPDF to the PATH prefix item in Tools Preferences Paths 3. Gone to Tools Preferences File Handling File Formats and (a) set PDF(LuaTeX) as the default output format; This does not necessarily mean that LuaTeX will be the output format when you click on the eyes icon. It can be overridden by Document Settings default output format. To check, click the icon View other formats and then click on PDF (LuaTeX). Best, Scott
Re: LyX 2.0.7 silent/unattended installation: /S doesn't work
On Fri, Feb 7, 2014 at 12:21 PM, Frank Thommen structures...@embl-heidelberg.de wrote: Hi, I'm currently trying to deploy LyX silently within our group. I could find lots of references to the /S switch, which should be standard to NSIS installers. However running the Installer (*not* the Bundle Installer) with this switch leaves me with a broken and unusable installation: * The menu items are not placed in a submenu in the Programs menu * MiKTeX/latex is not recognized and configured in LyX How can one silently install LyX including the detection of MiKTeX/latex (which can be in an arbitrary path)? frank Hi Frank, I know nothing about the Windows installer so I won't be able to help. But we had a recent thread that is related: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181907.html Best, Scott
Re: LyX 2.0.7 inverse search broken
On Fri, Feb 7, 2014 at 1:20 PM, Joon Ro joonhyoung...@gmail.com wrote: Hi, I just found that with the exact same setting, inverse search which worked fine in LyX 2.0.6 does not work in LyX 2.0.7. (I just removed 2.0.7 and reinstalled 2.0.6 to verify.) I'm using LyX in Windows with SumatraPDF, with TexLive 2013. Is this a known bug? Hi Joon, Looking at the Wiki history it looks like you found a solution? Scott
Re: LyX 2.0.7 inverse search broken
On Sat, Feb 8, 2014 at 4:10 PM, Joon Ro joonhyoung...@gmail.com wrote: On Sat, Feb 8, 2014 at 1:47 PM, Scott Kostyshak skost...@lyx.org wrote: I just found that with the exact same setting, inverse search which worked fine in LyX 2.0.6 does not work in LyX 2.0.7. (I just removed 2.0.7 and reinstalled 2.0.6 to verify.) I'm using LyX in Windows with SumatraPDF, with TexLive 2013. Is this a known bug? Hi Joon, Looking at the Wiki history it looks like you found a solution? Hi, No - the wiki solutions are the setting that works with LyX 2.0.6. With the same setting, it does not work with 2.0.7. OK. Can anyone on Windows confirm this? If so, a git bisect might be useful. Scott
Re: Figure placement and rotate
On Sun, Feb 9, 2014 at 3:01 PM, Robin Rosenberg robin.rosenb...@dewire.com wrote: Hi, I have a document with some rather large figures. It seems this doesn't work well with LaTeX idea of how to place these figures. In short we disagree, so I want to use the definitely here option. Since I also want to rotate the picture to maximuma readability of the text in the figure, I check rotate, but this disabled the location hint. Is there any way I can use both options? Are you sure you want to use a float? Why not just Insert Graphics without a float? Then it should not move around. The current workaround I use is to rotate just the graphics, but causes the figure title and graphics to have different orientation, which looks somewhat bad. Yes this does not seem good. Best, Scott
Re: LyX 2.0.7 inverse search broken
On Sun, Feb 9, 2014 at 2:37 PM, Pavel Sanda sa...@lyx.org wrote: Scott Kostyshak wrote: OK. Can anyone on Windows confirm this? If so, a git bisect might be useful. I can't reproduce the problem on linux xdvi. P Same here. Joon, you might want to give 2.1beta2 a try: ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2 I would not be surprised if it works for you. I would also not be surprised if it does not work for you. Also, did you copy your preferences file over from 2.0.6 to 2.0.7? I wonder if there's something different (e.g. sometimes LyX bugs can be hidden in seemingly unrelated preference settings). Scott
Re: No pdf reader
On Sun, Feb 9, 2014 at 2:09 PM, Greg Love gregory.ray.l...@gmail.com wrote: Whenever I try to view an LyX document as a pdf, ie pdflatex, I get a message that there is no pdf viewer installed. This just isn't true. The computer is running Windows 8.1 and LyX 2.07. I use another computer running Windows 7 and LyX 2.07 and do not get this error. Greg Hi Greg, This sounds like a frustrating issue. I have heard of users having good success with Sumatra PDF reader. You could give that a try. Whether you do or not, try going to Tools Reconfigure. Restart LyX and see if you have the same problem. What PDF readers do you have installed? What is the name of their executable files? Scott
Re: LyX 2.0.7 inverse search broken
On Sun, Feb 9, 2014 at 5:33 PM, Joon Ro joonhyoung...@gmail.com wrote: On Sun, Feb 9, 2014 at 3:37 PM, Scott Kostyshak skost...@lyx.org wrote: Joon, you might want to give 2.1beta2 a try: ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-2.1.0beta2 I would not be surprised if it works for you. I would also not be surprised if it does not work for you. I'm using 2.1 beta 2 as well - and the inverse search works there. It's just one of my colleagues still use 2.0 so I have to use 2.0 for one of the project. Have you considered File Export LyX 2.0.x ? Your colleague can then open that file. Scott
Re: Figure placement and rotate
On Sun, Feb 9, 2014 at 4:51 PM, Robin Rosenberg robin.rosenb...@dewire.com wrote: - Ursprungligt meddelande - Från: Scott Kostyshak skost...@lyx.org Till: Robin Rosenberg robin.rosenb...@dewire.com Kopia: lyx-users@lists.lyx.org Skickat: söndag, 9 feb 2014 22:37:21 Ämne: Re: Figure placement and rotate On Sun, Feb 9, 2014 at 3:01 PM, Robin Rosenberg robin.rosenb...@dewire.com wrote: Hi, I have a document with some rather large figures. It seems this doesn't work well with LaTeX idea of how to place these figures. In short we disagree, so I want to use the definitely here option. Since I also want to rotate the picture to maximuma readability of the text in the figure, I check rotate, but this disabled the location hint. Is there any way I can use both options? Are you sure you want to use a float? Why not just Insert Graphics without a float? Then it should not move around. I want a referable figure. Can I accomplish that some other way? Ah unfortunately I don't know how to do that or if it's recommended. Hopefully someone who knows more about LaTeX than I will have a solution for you. Scott
Re: LyX 2.0.7 inverse search broken
On Mon, Feb 10, 2014 at 3:30 PM, Joon Ro joonhyoung...@gmail.com wrote: On Sun, Feb 9, 2014 at 4:48 PM, Scott Kostyshak skost...@lyx.org wrote: Have you considered File Export LyX 2.0.x ? Your colleague can then open that file. Not yet - it felt it was a too much hassle. It should take less than 25 seconds more than Save As. If it's more of a hassle than that something is wrong with our UI. But good news is that on another computer also with 2.0.7, I just found that the inverse search works here, so this must have something to do with the settings. I will try to reinstall LyX 2.0.7 to my home desktop and see if this works and try to find what was the difference. I did changed the settings while I was trying to fix the problem and it seems something got fixed. :) Good news! Hopefully it will work. Scott
Re: LyX 2.0.7 inverse search broken
On Mon, Feb 10, 2014 at 3:57 PM, Joon Ro joonhyoung...@gmail.com wrote: On Mon, Feb 10, 2014 at 2:47 PM, Scott Kostyshak skost...@lyx.org wrote: It should take less than 25 seconds more than Save As. If it's more of a hassle than that something is wrong with our UI. I haven't tried this before, but does it correctly convert beamer presentations reliably as well? It *should* (and has been tested). If it does not, we would be really interested in knowing. Scott
Re: LyX 2.0.7 inverse search broken
On Mon, Feb 10, 2014 at 9:46 PM, Pavel Sanda sa...@lyx.org wrote: Scott Kostyshak wrote: It *should* (and has been tested). If it does not, we would be really interested in knowing. Uhh beamer went through radical change in 2.1, if you do some nontrivial stuff there then 2.0 - 2.1 interchange might be problem. Pavel Agreed. I meant for the * around should to convey that it should *in theory* work but I think my written communication needs improvement. I agree that nontrivial Beamer code could be a problem. Even in this case we still want to know about it. Scott
Re: 2.0.7: view PDF no longer working?
On Wed, Feb 12, 2014 at 4:36 AM, Daniel Renshaw pantech...@gmail.com wrote: Hi, I just upgraded to 2.0.7 from 2.0.6. When I press Ctrl-R (the shortcut for View-View [PDF (pdflatex)]) my document no longer appears. Previously the document would appear in Adobe Reader but now nothing. Possibly relevant details: Windows 8 x64; MiKTeX (fully up to date); Adobe Reader XI (11.0.06). After pressing Ctrl-R I see that the usual pair of AcroRd32.exe processes start up (two is normal, one sees to communicate with the other and runs this way even when I open Reader manually). However, the Reader window does not open. There is also no filename passed on the command line to Reader according to Windows 8 Task Manager. How is Lyx communicating with Reader? If it's via the command line then why is no filename passed and why doesn't the Reader window open, even if empty? Or maybe Lyx uses DDE, or some other interprocess communication? I can still export using pdflatex -- the PDF is produced and opens in Reader just fine. I also just updated MiKTeX but only the 3-4 most recently updated packages were upgraded so I don't think MiKTeX is the cause. Besides I can export fine. Adobe Reader has not been updated recently. I tried following the instructions at [1] but this seemed to make the situation worse. The document still didn't appear but now the AcroRd32.exe processes didn't start either! I've reverted those settings changes. Does anybody know if this is a regression in Lyx 2.0.7, and/or is there something I can do to get the view function working once again? I have a feeling I saw this somewhere else also (works on 2.0.6 but not on 2.0.7) but I don't remember where. Have you tried with another PDF reader such as Sumatra? I don't claim that's a solution to the problem, but knowing whether it works in Sumatra might help. If not, then perhaps as you suggest LyX is just not passing the file name. If it does work, then something else is going on specific to Acrobat Reader. Scott
Re: beamer and mp4 movie
On Wed, Feb 12, 2014 at 10:10 AM, stefano franchi stefano.fran...@gmail.com wrote: On Wed, Feb 12, 2014 at 6:20 AM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: Hello, Can I start a short mp4 movie from within a beamer presentation? I use Debian. In theory, yes (look at chapter 14 of Beamer documentation). In practice, I was never able to get it to work. I think it is a more an issue with pdf readers on linux than with beamer itself. In other words, a beamer-on-Debian-produced pdf file run on a windows/mac installation of acrobat reader (or other pdf viewer) might work (I haven't tried). But in my experience, linux-produced and linux-consumed beamer presentations with video do not work. YMMV, I've experienced the same thing as Stefano on Ubuntu. Even using the Linux version of Adobe Acrobat did not work. My last try was a couple of years ago though so it's possible the newest version has improved in this aspect. Best, Scott
Re: 2.0.7: view PDF no longer working?
On Wed, Feb 12, 2014 at 12:15 PM, Daniel Renshaw pantech...@gmail.com wrote: Thanks Scott, I've installed SumatraPDF and, after changing the default viewer for PDFs in Windows, it opens fine on view. Task Manager shows that the filename is passed on the command line when using SumatraPDF. So, somehow, the behaviour of Lyx when pdfview is selected in the pdflatex file format, and Adobe Reader is the default viewer in Windows, has changed between 2.0.6 and 2.07, such that it no longer works in the latter. Thanks for testing that out Daniel and for the feedback. We only have a couple developers on Windows and they have a long list of things to check out but maybe they will get to this. I now think I'll be sticking with SumatraPDF even if Lyx fixes its integration with Adobe Reader. It's good you like it. Even if this issue is resolved, there are other issues with LyX + Adobe Reader that SumatraPDF does not seem to have so that will probably work out well. Best, Scott
Re: No pdf reader
Hi Greg, I'm putting this back on the list because I have no knowledge of Windows. However, this seems like the same problem as http://www.mail-archive.com/lyx-users@lists.lyx.org/msg98064.html who is also using Windows 8. I'm wondering if this is an issue specific to users on Windows 8. Using Sumatra PDF worked for that user. What program is used to view DVI? What is the name of your Adobe Reader executable? If you're not sure how to find this out, let us know and we can explain. Best, Scott On Thu, Feb 13, 2014 at 10:32 AM, Greg Love gregory.ray.l...@gmail.com wrote: Well, this is a computer running Windows 8.1. I wonder if this is part of the problem. My work computer runs Windows 7 and has no problem. There is something called Reader (I think this is a Microsoft product) and Adobe Touch. BTW, I don't have trouble viewing as dvi format. Greg On Sun, Feb 9, 2014 at 4:39 PM, Scott Kostyshak skost...@lyx.org wrote: On Sun, Feb 9, 2014 at 2:09 PM, Greg Love gregory.ray.l...@gmail.com wrote: Whenever I try to view an LyX document as a pdf, ie pdflatex, I get a message that there is no pdf viewer installed. This just isn't true. The computer is running Windows 8.1 and LyX 2.07. I use another computer running Windows 7 and LyX 2.07 and do not get this error. Greg Hi Greg, This sounds like a frustrating issue. I have heard of users having good success with Sumatra PDF reader. You could give that a try. Whether you do or not, try going to Tools Reconfigure. Restart LyX and see if you have the same problem. What PDF readers do you have installed? What is the name of their executable files? Scott
Re: Lyx 2.0 can\\\'t read Lyx 1.6.x documents
On Mon, Feb 17, 2014 at 6:39 AM, Ralf Glaser, track IT ralf.gla...@trackitsystems.de wrote: It's the Win32 version running on XP SP3. Is it somehow possible to see the contents of the PATH variable while LyX is running (e.g. by executing additional commands like 'echo $PATH') in the debug console? I'm not sure how Windows works, but assuming a child process inherits PATH, you could make a converter and put your echo command in there. See Help Customization Converters. Scott
unofficial gnuplot external template?
I think that there is no official gnuplot external template because of security reasons, but is there an unofficial one floating around? LyX's wiki does not have any info. I did find this: http://osdir.com/ml/editors.lyx.general/2003-12/msg00110.html Scott
Re: Insertar texto alrededor de figura
Hola Rafa, Intente con la sección 6.1 Flotantes envueltos en Ayuda Objetos Insertados. Hay un ejemplo que creo que funciona como usted quiere. Unas sugerencias para hacer que sea más fácil para ayudarlo la próxima vez. Cuando pones algo ambiguo como sin resultado positivo es difícil ayudar. ¿Qué es lo que no dio? ¿Hubo un error? ¿Cual fue? Saludos, Scott 2014-02-25 14:40 GMT-05:00 Rafa GF rgfar...@gmail.com: Saludos. Acabo de instalar Lyx 2.0.7.1 en para Mac y llevo varias semanas usándolo sin problemas. Sin embargo tengo la necesidad de poder insertar texto alrededor de una imagen y que ambos queden parejos (no el texto y debajo la figura). He probado con la opción de figura envuelta y con el paquete wrapfing y muchas otras cosas similares, pero sin resultado positivo. He mirado por la red en busca de alguna solución al tema, pero no alcanzo a ninguna. ¿Alguien podría echarme una mano, por favor? La idea es poder colocar texto alrededor de imágenes, al estilo de otros procesadores de texto normales Aperentemente simple, pero que me tiene liado. Gracias. -- http://www.flickr.com/photos/rgfarfan/ inline: Rafael.gif
LyX has a Twitter account
Just a reminder for anyone who wants to stay updated and help spread LyX news, you can follow LyX at https://twitter.com/LyX_org Also, please help us get the word out that LyX is looking for students to participate in GSoC (you can retweet the recent announcement). Thank you! Scott
LyX for writing notes about a book
I take notes while reading books and am looking for a way to improve my messy organization of them. Does anyone use LyX to write up notes about books they are reading? Do you have any suggestions as far as how to organize them? How do you separate quotes (e.g. quote environment?) from paraphrases from your own analysis? Do you organize them always by page number or more so by topic or importance of the notes? Do some of your notes refer to other notes? Any advice would be appreciated. Best, Scott
Re: LyX for writing notes about a book
Great, thanks for the suggestions. I'll take a look at TreeLine. I'll also look at Org-mode (I don't use Emacs but I'm always interested in trying new tools). I should have mentioned that a lot of the books I read have math in them and I enjoy using LyX to write math-related notes. I guess I'll have to make some sacrifices either way I decide to go. Best, Scott On Sun, Mar 2, 2014 at 2:15 PM, Alan Tyree alanty...@gmail.com wrote: I also agree that a good outliner is the way to go. If you use Emacs, the have a look at Org-mode: http://orgmode.org/ Brilliant stuff all in plain text files. On 3 March 2014 05:53, Rich Shepard rshep...@appl-ecosys.com wrote: On Sun, 2 Mar 2014, Scott Kostyshak wrote: I take notes while reading books and am looking for a way to improve my messy organization of them. I agress with Steve that LyX is the wrong tool for taking notes. Take a very close look at TreeLine http://treeline.bellz.org/. It's exactly what you're looking for. I use it to track contacts with prospects and clients and have for several years now. It's flexible, adaptable, and will do just what you want as long as you read the docs and set up the database(s) for your specific needs. Rich -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206sip:typh...@iptel.org
Re: LyX for writing notes about a book
Thanks for the details, Alan. Org-mode certainly doesn't seem to lack power. Scott On Sun, Mar 2, 2014 at 10:52 PM, Alan L Tyree alanty...@gmail.com wrote: With Org-mode you can enter special symbols, subscripts and superscripts, LaTeX fragments and you can preview the LaTeX fragments directly in emacs: http://orgmode.org/manual/Embedded-LaTeX.html#Embedded-LaTeX Special symbols: \alpha, \beta and \gama Super/subscripts: The mass of the sun is M_sun = 1.989 x 10^30 kg Math: Let $a^2=b$ Org-mode is quick to learn for simple things, yet has an amazing depth. And, as I mentioned before, it does it all in plain text. It exports to HTML, LibreOffice, LaTeX and lots of other things. Highly recommended (but you do have to use emacs). Cheers, Alan On 03/03/14 13:17, Scott Kostyshak wrote: Great, thanks for the suggestions. I'll take a look at TreeLine. I'll also look at Org-mode (I don't use Emacs but I'm always interested in trying new tools). I should have mentioned that a lot of the books I read have math in them and I enjoy using LyX to write math-related notes. I guess I'll have to make some sacrifices either way I decide to go. Best, Scott On Sun, Mar 2, 2014 at 2:15 PM, Alan Tyree alanty...@gmail.com wrote: I also agree that a good outliner is the way to go. If you use Emacs, the have a look at Org-mode: http://orgmode.org/ Brilliant stuff all in plain text files. On 3 March 2014 05:53, Rich Shepard rshep...@appl-ecosys.com wrote: On Sun, 2 Mar 2014, Scott Kostyshak wrote: I take notes while reading books and am looking for a way to improve my messy organization of them. I agress with Steve that LyX is the wrong tool for taking notes. Take a very close look at TreeLine http://treeline.bellz.org/. It's exactly what you're looking for. I use it to track contacts with prospects and clients and have for several years now. It's flexible, adaptable, and will do just what you want as long as you read the docs and set up the database(s) for your specific needs. Rich -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206sip:typh...@iptel.org -- Alan L Tyreehttp://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:typh...@iptel.org
Re: Odd bibliography/citation formatting, ERT formatting
On Wed, Mar 5, 2014 at 12:24 PM, stefano franchi stefano.fran...@gmail.com wrote: On Wed, Mar 5, 2014 at 10:47 AM, Jason F. Siegel siege...@umail.iu.edu wrote: On 03/05/2014 12:36 AM, stefano franchi wrote: On Tue, Mar 4, 2014 at 9:40 PM, Jason F. Siegel siege...@umail.iu.edu wrote: On 03/03/2014 05:07 PM, Csikos Bela wrote: Jason F. Siegel siege...@umail.iu.edu írta: I've attached the LaTeX and BiBTex logs in one text file. I've also attached a LyX MWE with the ERT that got left out of the first one, to show the formatting problems that were apparent in the PDF of the beta file. --Jason On 03/03/2014 12:58 PM, stefano franchi wrote: On Mon, Mar 3, 2014 at 9:25 AM, Jason F. Siegel siege...@umail.iu.edu wrote: Hi Csikos, I've provided a non-beta file with this e-mail. However, here the problem is different, as I stated in the original e-mail. In the non-beta, even with what I believe are the same settings (I'll admit I could be overlooking something), the references don't load at all. There is no formatting of the citations and no bibliography prints at the end. I would be happy to continue to use the stable version of LyX if it meant I could get my references and could format my ERT properly. I have attached the PDFs of the non beta and the PDF of the earlier LyX file and also the .bib file, as well, so that people can see what I'm seeing, even if it's not reproducing on their machine. Jason, you file works fine here on LyX 2.0.7 (see attached). Citation and bibliography are as you desire (I think). What do you see in the log file? Stefano --Jason On 03/03/2014 08:37 AM, Csikos Bela wrote: Jason F. Siegel siege...@umail.iu.edu írta: Hello all, I'm having some trouble getting my bibliography and in-line citations formatted properly. For some reason, the bibliography is sorting in the order the references are cited, rather than in alphabetical order. Moreover, inline citations that should be Author (YEAR) are Author (Title). I'm using biblatex 2.8 and biber 1.8, with natbib and plainnat style on Ubuntu 13.10 with Lyx 2.1.0dev (the references don't even load in 2.0.7 for some reason). In the same document, ERT with the ExPex package isn't formatting as expected. I'm trying to get bold italics , but \bf gives me bold upright characters and \textbf gives me one bold italicized character followed by italics. I'm also trying to get small caps, but it's just plain lowercase. Any thoughts or aid people can give would be most welcome. I've attached an he. Jason, I tried to open your MWE but it seems it is in lyx 2.1 format. I have only lyx 2.0 installed. Jason, I have some general comments. - Please do not top post. Always write your message _below_ the included previous messages or _right_below_ to a part (of a previous message) you are actually refer to. - The examples you have provided are not minimal examples. Rather they are very complex documents. Try to reduce the example to as simple as possible removing unnecessary text, unnecessary options, and preamble settings but keeping those that cause the error. Back to the specific case: In the bib file you attached in your previous mail (MasterList.bib) the last entry (@BOOK{UNICEF2009) is incomplete and not correctly closed. There is a missing } at the end and I think address = is not valid. The entry Cohen1998 is not correct. For me this caused compilation error and a very different output. I am attaching the corrected bib file and two pdfs, compiled with the original, and with the fixed bib file. In your current message the log file indicates that during compilation bibtex is used. This should be biber (backend is set to biber in the preamble). Maybe you have not set lyx to use biber instead of bibtex under Tools=Preferences=Output=LaTeX=Processor: biber. Make sure you have biber set there. Hi Csikos, , Thanks for your helpful instructions, and for fixing my bibliography. Unfortunately, they do not solve my problems. Any time I select biber as the backend (in the preamble, in settings, in preferences, and in any combination), the PDF does not compile. With your fix, in both the beta and the stable version, I get two 'Undefined control sequence' errors, one for \sortlist and the other for \endsortlist. Hi Jason, my suggestion to get out of the problem you find yourself is the same as Cskos's: try to reduce the number of variables as much as possible in order to isolate the root of the problem. The first thing you need to find out is whether you have a working biblatex+biber installation. 1. Make a new lyx file using one of the standard classes (book, article), add )only* your biblatex call to the preamble (the \usepackage and the \addbibresource commands), and put no more than one word of text in the file itself, plus a couple of references at most. See what happens. If biblatex/biber work in the simplest possible
Re: Odd bibliography/citation formatting, ERT formatting
On Wed, Mar 5, 2014 at 12:48 PM, stefano franchi stefano.fran...@gmail.com wrote: On Wed, Mar 5, 2014 at 11:30 AM, Scott Kostyshak skost...@lyx.org wrote: On Wed, Mar 5, 2014 at 12:24 PM, stefano franchi stefano.fran...@gmail.com wrote: On Wed, Mar 5, 2014 at 10:47 AM, Jason F. Siegel siege...@umail.iu.edu wrote: On 03/05/2014 12:36 AM, stefano franchi wrote: On Tue, Mar 4, 2014 at 9:40 PM, Jason F. Siegel siege...@umail.iu.edu wrote: On 03/03/2014 05:07 PM, Csikos Bela wrote: Jason F. Siegel siege...@umail.iu.edu írta: I've attached the LaTeX and BiBTex logs in one text file. I've also attached a LyX MWE with the ERT that got left out of the first one, to show the formatting problems that were apparent in the PDF of the beta file. --Jason On 03/03/2014 12:58 PM, stefano franchi wrote: On Mon, Mar 3, 2014 at 9:25 AM, Jason F. Siegel siege...@umail.iu.edu wrote: Hi Csikos, I've provided a non-beta file with this e-mail. However, here the problem is different, as I stated in the original e-mail. In the non-beta, even with what I believe are the same settings (I'll admit I could be overlooking something), the references don't load at all. There is no formatting of the citations and no bibliography prints at the end. I would be happy to continue to use the stable version of LyX if it meant I could get my references and could format my ERT properly. I have attached the PDFs of the non beta and the PDF of the earlier LyX file and also the .bib file, as well, so that people can see what I'm seeing, even if it's not reproducing on their machine. Jason, you file works fine here on LyX 2.0.7 (see attached). Citation and bibliography are as you desire (I think). What do you see in the log file? Stefano --Jason On 03/03/2014 08:37 AM, Csikos Bela wrote: Jason F. Siegel siege...@umail.iu.edu írta: Hello all, I'm having some trouble getting my bibliography and in-line citations formatted properly. For some reason, the bibliography is sorting in the order the references are cited, rather than in alphabetical order. Moreover, inline citations that should be Author (YEAR) are Author (Title). I'm using biblatex 2.8 and biber 1.8, with natbib and plainnat style on Ubuntu 13.10 with Lyx 2.1.0dev (the references don't even load in 2.0.7 for some reason). In the same document, ERT with the ExPex package isn't formatting as expected. I'm trying to get bold italics , but \bf gives me bold upright characters and \textbf gives me one bold italicized character followed by italics. I'm also trying to get small caps, but it's just plain lowercase. Any thoughts or aid people can give would be most welcome. I've attached an he. Jason, I tried to open your MWE but it seems it is in lyx 2.1 format. I have only lyx 2.0 installed. Jason, I have some general comments. - Please do not top post. Always write your message _below_ the included previous messages or _right_below_ to a part (of a previous message) you are actually refer to. - The examples you have provided are not minimal examples. Rather they are very complex documents. Try to reduce the example to as simple as possible removing unnecessary text, unnecessary options, and preamble settings but keeping those that cause the error. Back to the specific case: In the bib file you attached in your previous mail (MasterList.bib) the last entry (@BOOK{UNICEF2009) is incomplete and not correctly closed. There is a missing } at the end and I think address = is not valid. The entry Cohen1998 is not correct. For me this caused compilation error and a very different output. I am attaching the corrected bib file and two pdfs, compiled with the original, and with the fixed bib file. In your current message the log file indicates that during compilation bibtex is used. This should be biber (backend is set to biber in the preamble). Maybe you have not set lyx to use biber instead of bibtex under Tools=Preferences=Output=LaTeX=Processor: biber. Make sure you have biber set there. Hi Csikos, , Thanks for your helpful instructions, and for fixing my bibliography. Unfortunately, they do not solve my problems. Any time I select biber as the backend (in the preamble, in settings, in preferences, and in any combination), the PDF does not compile. With your fix, in both the beta and the stable version, I get two 'Undefined control sequence' errors, one for \sortlist and the other for \endsortlist. Hi Jason, my suggestion to get out of the problem you find yourself is the same as Cskos's: try to reduce the number of variables as much as possible in order to isolate the root of the problem. The first thing you need to find out is whether you have a working biblatex+biber installation. 1. Make a new lyx file using one of the standard classes (book, article), add )only* your biblatex call to the preamble (the \usepackage and the \addbibresource commands
Re: No document classes
On Mon, Mar 10, 2014 at 12:09 PM, Cee Van Houten 36c...@gmail.com wrote: Hey, I just installed Lyx but got a problem: There dont seem to be any Document classes. Can anyone help? Hi Cee Van, This is because LyX is not finding your LaTeX installation, which can occur because a LaTeX installation does not exist or because, for example, there are PATH issues. Please explain exactly how you installed LyX, what your OS is, and any other relevant details. Best, Scott
Re: No document classes
On Mon, Mar 10, 2014 at 2:02 PM, Carsten Jahn 36c...@gmail.com wrote: Hey. I aint at work anymore, but i used the complete 300mb bundle from the official HP. I think the Version was 2.something. The OS is win7sp1,64bit. I got no errors during install. Thanks for your help. Am 10.03.2014 18:40 schrieb Scott Kostyshak skost...@lyx.org: On Mon, Mar 10, 2014 at 12:09 PM, Cee Van Houten 36c...@gmail.com wrote: Hey, I just installed Lyx but got a problem: There dont seem to be any Document classes. Can anyone help? Hi Cee Van, This is because LyX is not finding your LaTeX installation, which can occur because a LaTeX installation does not exist or because, for example, there are PATH issues. Please explain exactly how you installed LyX, what your OS is, and any other relevant details. Best, Scott Please respond to the list. Did you have MikTeX installed before? I believe the usual suggestion is to uninstall everything (and any preexisting TeX install) and try again. Best, Scott
Re: No document classes
On Mon, Mar 10, 2014 at 2:23 PM, Carsten Jahn 36c...@gmail.com wrote: Am 10.03.2014 19:14 schrieb Scott Kostyshak skost...@lyx.org: On Mon, Mar 10, 2014 at 2:02 PM, Carsten Jahn 36c...@gmail.com wrote: Hey. I aint at work anymore, but i used the complete 300mb bundle from the official HP. I think the Version was 2.something. The OS is win7sp1,64bit. I got no errors during install. Thanks for your help. Am 10.03.2014 18:40 schrieb Scott Kostyshak skost...@lyx.org: On Mon, Mar 10, 2014 at 12:09 PM, Cee Van Houten 36c...@gmail.com wrote: Hey, I just installed Lyx but got a problem: There dont seem to be any Document classes. Can anyone help? Hi Cee Van, This is because LyX is not finding your LaTeX installation, which can occur because a LaTeX installation does not exist or because, for example, there are PATH issues. Please explain exactly how you installed LyX, what your OS is, and any other relevant details. Best, Scott Please respond to the list. Did you have MikTeX installed before? I believe the usual suggestion is to uninstall everything (and any preexisting TeX install) and try again. Best, Scott Sorry, first time using maillists too ;-) Email in CC is correct? I dont believe i had tex installed before. I will try again tomorrow and let you know. Your help is appreciated! No problem, Carsten. You can either email the list directly (to:) or put it in CC. It is optional to CC the other persons in the conversation. I usually do that when I suspect they're not on the list. OK try the uninstall/reinstall. That's usually the advice I see Uwe give (the main developer of the LyX installer for Windows). Best, Scott
Re: No document classes
On Tue, Mar 11, 2014 at 5:23 AM, Carsten Jahn 36c...@gmail.com wrote: Uninstall/install solved the problem.Thanks for your help! Great, thanks for letting us know. Best, Scott
Re: No document classes
On Wed, Mar 12, 2014 at 6:46 PM, Uwe Stöhr uwesto...@web.de wrote: Am 10.03.2014 17:07, schrieb Carsten Jahn: Hey. I just installed Lyx and got a problem: All Document classes are unavailable. Can someone help? Can you please give more details? What is your System (Win, Mac or Linux)? What version have you installed? Perhaps it showed up as a different thread for you, but he responded and an uninstall/reinstall fixed the problem. The OS was win7sp1,64bit. Best, Scott
Re: [t] appearing in Tufte-layout MarginFigure
On Thu, Mar 13, 2014 at 6:05 AM, Roel Schipper - CITG h.r.schip...@tudelft.nl wrote: Dear LyX-users, I'm using LyX version 2.0.6 on Windows 7 and MikTeX, and am writing a handout using Tufte-layout. Using MarginFigure results in the following error (image 1). A PDF is created, though, but with a small letter 't' above the image (output.pdf), which is not a part of the image. Any clues? Dear Roel, Go to Document Settings Float Placement and check Use default placement. This should ideally be done automatically (because placement options are not allowed for this type of float) by LyX, but this is not implemented yet (this is feature enhancement http://www.lyx.org/trac/ticket/7752). Best, Scott
Re: Accent on Lyx 2.0.2 (Ubuntu 12.04 Spanish keyboard setting)
On Tue, Mar 18, 2014 at 2:41 PM, José Alejandro Lugo García jal...@uci.cuwrote: Sorry for my previous message with no subject. Using Lyx 2.0.2 on Ubuntu 12.04 LTS with Spanish keyboard setting. Until now I have not been able to write with accent. I'm still looking in many posts on the Lyx Forum and Internet but nothing. Strangely this is not a problem with Lyx 2.0.2 installation I use on Windows 7 where I can press the accent + vocal key and get the result with the speed that I desire. Any suggestions? Is this problem maybe resolved on Lyx latest version released for Ubuntu 14.04? Best regards. Hi José, I can you be more specific? What exactly do you press and what shows up? For example, when you press accent + e, nothing shows up in LyX? Or it shows up but gives an error when you compile? Or a normal e without accent shows up? This works fine for me on Ubuntu. You might want to try the LyX Ubuntu PPA to try the latest version: http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3 Also, I've never had a need for it, but perhaps the keyboard map settings in Preferences Editing Keyboard/Mouse are relevant. Best, Scott
Re: bst file not in tar.gz archive
On Wed, Mar 19, 2014 at 12:52 PM, Wolfgang Engelmann engelm...@uni-tuebingen.de wrote: On Wednesday 19 March 2014 16:33:30 William Seager wrote: William, what OS are you using? I am under linux and it works with Debian and Kubuntu (except the .bst file export, but that I tried only under Debian). Works here on Ubuntu also. Scott
Re: Accent on Lyx 2.0.2 (Ubuntu 12.04 Spanish keyboard setting)
If I use Spanish - es keyboard layout it works just fine in LyX 2.1 RC1 and 2.0.7. I'm guessing this bug will go away when you install Ubuntu 14.04 and have access to a later LyX version. Scott On Wed, Mar 19, 2014 at 7:44 PM, José Alejandro Lugo García jal...@uci.cu wrote: Hi: Thanks for all help so far. In order to be more specific. Initially I was installed Ubuntu 12.04 using Spanish languaje (so my OS is current Ubuntu with spanish enviroment). During the installation process I put English to my keyboard preferences when I was asked for it from the CD. Once installed I added Spanish to my keyboard preferences. So now I have two variant input languaje for my keyboard preferences: Spanish - es and English - en which I use fine and I can switch between languajes with ALT + Left Shift (my preferred taste). The variant Spanish - es works just fine in all applications (gedit, geany, other label of the OS for input commands, etc.), it means: I type the key accent first, then the wanted letter (vocal in my case 'cause my native languaje), producing for example: á, é, í, ó, ú. But this is not what happen at Lyx so yes, is a LyX 2.0.2-specific problem for Ubuntu that I have :( I already tried (in order to test Lyx) with other variant input languaje for my keyboard preferences (e.g. Spanish - Sun dead keys or Spanish - including tilde dead key) but still nothing, it means: I type the key accent first, then I type the desired letter, and a letter with no accent is obtained (only inside Lyx enviroment). Best regards. - Mensaje original - De: Daniel CLEMENT dcleme...@laposte.net Para: lyx-users@lists.lyx.org Enviados: Miércoles, 19 de Marzo 2014 11:48:17 Asunto: Re: Accent on Lyx 2.0.2 (Ubuntu 12.04 Spanish keyboard setting) Hi all, PMFJI but perhaps I can help. It seems to me that José wants a global dead-key behavior for his keyboard, that is: type in the accent first, then the accented letter, for _every_ accent. José, am I correct? If so: is this problem LyX-specific? Does your keyboard behave differently in, say, Gedit or LibreOffice? If not: perhaps you have accidentally selected a Spanish layout _without_ dead keys. Can you check your keyboard preferences? You have to go beyond the layout category and look for a variant which has the dead keys, e.g. Spanish - Sun dead keys or Spanish - including tilde dead key. HTH, Daniel Le mercredi 19 mars 2014 à 08:25 -0700, John Kane a écrit : Hi José, I had not realised that you are on Ubuntu. If you are willing to switch keyboard layouts to Spanish as needed it is fairly easy to set up keyboards in the command area (or whatever it is called correctly) where things like battery status volume control etc is and just do a quick switch as needed. That in fact is how I got the é for your name above; I just switched from a US English layout to a Canadian French layout. Mind you I have a Canadian keyboard layout with English and French lettering so it is really easy to do this. I don't know how different the Spanish layouts are from English. I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu
Re: bst file not in tar.gz archive
On Sat, Mar 22, 2014 at 11:04 AM, Enrico Forestieri for...@lyx.org wrote: Wolfgang Engelmann writes: Where and how do I file a bug? I did it for you: http://www.lyx.org/trac/ticket/9044 Hi Wolfgang, It would still be helpful if you're able to register. You're an active member of the list here and your input on existing bugs and new bugs would be useful. Are you able to register under a different email? For example, you could easily create a gmail account and just have it forward to you any emails it receives. Alternatively, what if you try capitalizing a letter in your email address. Does trac treat it as a different email address and do you still get email with the capitalized version? Best, Scott
Re: ANNOUNCE: LyX version 2.1.0 (rc1)
On Thu, Mar 27, 2014 at 7:34 AM, William Seager sea...@utsc.utoronto.ca wrote: On Wednesday, March 26, 2014 22:41:50 Vincent van Ravesteijn wrote: We are proud to announce the first release candidate of the new LyX 2.1 series. great news - but I've been bitten before by incompatibility of formats between versions. Does 2.1rc1 permit export to old lyx versions? Yes. You can do File Export LyX 2.0.x. You can even export to LyX 1.y.x if you go to File Export More Formats Options. There are also easy commands on the command line to convert a LyX 2.1 file to a LyX 2.0.x file. Best, Scott
Re: Document doews not compile with rc1 and multiple bibliograpies
On Fri, Mar 28, 2014 at 11:12 AM, Jürgen Spitzmüller sp...@lyx.org wrote: 2014-03-28 16:10 GMT+01:00 Philipp Gröne: Yes. In fact, I want to be able to choose which errors are skipped. Or, even better, I want a comprehensive list of errors and a pdf-file. http://www.lyx.org/trac/ticket/8739 Jürgen I agree with Jürgen. I personally don't think there should even be an option available. The only thing that makes me hesitant is Julien's example that there is a bug in some software. What do other software do? gcc/clang do not still produce binaries. knitr I think by default does not stop on errors (although this might have changed). LaTeX I guess does still produce a pdf if you keep returning through the errors (or you put \nonstopmode). As far as a comprehensive list of errors, I agree that this would in theory be nice, but I believe that only the first error is accurate. Best, Scott
Re: Document doews not compile with rc1 and multiple bibliograpies
On Fri, Mar 28, 2014 at 12:56 PM, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr wrote: Maybe I am missing something here, but I am against softwares that decide in place of the users. This is one of the reasons why I have never adopted MS programs. If latex accepts to build the file, lyx should accept to show the file built by latex. It is not its job to get on the way of the user. It is the user's job to decide which errors and warnings must be taken care of, not Lyx's one, in my opinion. Hi Murat, Warnings, yes. As for errors, I think things are a little more complicated than latex accepts to build the file. First, LaTeX makes you press return many many times. It makes no attempts to make compiling a pleasant experience if your LaTeX file contains an error. Second, often there is a chain of commands that need to be run. e.g. 1. latex, 2. bibtex 3. latex. If there is an error at 2, yes there is a pdf file still available, but this only happens because 1 produced the pdf file without errors. If you run 3 then maybe it updates the pdf file as it can because I don't think it is expecting that you would dare to continue to 3 if 2 had errors. I don't think it's the job of latex to check for bibtex errors. I'm still open to other opinions on this, but not convinced yet. Best, Scott
Re: Proofreading for LyX document
On Sun, Mar 30, 2014 at 10:37 PM, Rahayu Prihatin rahayu.p...@gmail.com wrote: Hello, Anybody knows affordable proofreading services who accept Lyx documents? I haveasked some proofreading services but unfortunately most of them only accept doc, pdf, and Latex. Converting document is the last option for me because it will introduce some mess. Hi Hayu, I just searched and found this: http://www.textproof.com/usetex.html They mention LyX explicitly. I have no experience with them at all. If I were you, I would ask them to confirm that they will make changes with LyX's built-in track changes. I would also ask them what LyX version they have. I would be very interested to hear about your experience with them. Best, Scott
Re: How to get cropped PDF graphic on the clipboard
On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com wrote: One idea would be to use a commandline utility that allows copying image files to the clipboard, and create a new converter from PDF(cropped) towards this utility. But so far I couldn't find anything for Linux, let alone cross-platform. Otherwise, I'm wondering if we have an LFUN that would provide this functionality. But I'm not sure how exactly that could work. Good idea Liviu. I recommend CopyQ if you want to implement this. It works great on Linux, supposedly works on Windows, and support is experimental on OS X 10.9+. The author of CopyQ is extremely responsive to features and bug reports (he implemented a feature that I'm pretty sure only I use, just for me). This is one of the best clipboard managers out there (although note the focus is on features over lightweight) but it is not well known. To put an image on the clipboard, you can do e.g. copyq write image/svg - image.svg For more info, see https://github.com/hluk/CopyQ To install, I believe it's a simple cmake . make sudo make install First you must have dependencies. See the INSTALL file for explicit instructions for which packages you need for Ubuntu. Let me know if you want help with anything. Best, Scott
Re: How to get cropped PDF graphic on the clipboard
On Thu, Apr 3, 2014 at 6:13 PM, Jerry lancebo...@qwest.net wrote: On Apr 3, 2014, at 1:53 PM, Scott Kostyshak skost...@lyx.org wrote: On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com wrote: One idea would be to use a commandline utility that allows copying image files to the clipboard, and create a new converter from PDF(cropped) towards this utility. But so far I couldn't find anything for Linux, let alone cross-platform. Otherwise, I'm wondering if we have an LFUN that would provide this functionality. But I'm not sure how exactly that could work. Good idea Liviu. I recommend CopyQ if you want to implement this. It works great on Linux, supposedly works on Windows, and support is experimental on OS X 10.9+. The author of CopyQ is extremely responsive to features and bug reports (he implemented a feature that I'm pretty sure only I use, just for me). This is one of the best clipboard managers out there (although note the focus is on features over lightweight) but it is not well known. To put an image on the clipboard, you can do e.g. copyq write image/svg - image.svg For more info, see https://github.com/hluk/CopyQ To install, I believe it's a simple cmake . make sudo make install First you must have dependencies. See the INSTALL file for explicit instructions for which packages you need for Ubuntu. Let me know if you want help with anything. Best, Scott Interesting solution, looks a bit bloaty as noted by Scott. Also, support for OS X is a little concerning, at 10.9+. I wonder if there is a concrete reason for this limitation or perhaps it's due to the developer's lack of access to other versions. Also, the web site states, To compile and run the application you'll need the latest stable version of Qt library (there is also experimental support for Qt 5). To compile on OS X, you will need at least Qt 5.2. Dumb question: if Qt 5.2 is required to compile on OS X, is it required to run? Yes, unless I guess it is compiled statically with the libraries. But you should ask Lukáš. Send him an email or join co...@googlegroups.com and post there. Scott
Re: How to get cropped PDF graphic on the clipboard
On Sat, Apr 5, 2014 at 8:12 AM, Liviu Andronic landronim...@gmail.com wrote: On Thu, Apr 3, 2014 at 10:53 PM, Scott Kostyshak skost...@lyx.org wrote: On Thu, Apr 3, 2014 at 4:17 PM, Liviu Andronic landronim...@gmail.com wrote: One idea would be to use a commandline utility that allows copying image files to the clipboard, and create a new converter from PDF(cropped) towards this utility. But so far I couldn't find anything for Linux, let alone cross-platform. Otherwise, I'm wondering if we have an LFUN that would provide this functionality. But I'm not sure how exactly that could work. Good idea Liviu. I recommend CopyQ if you want to implement this. It works great on Linux, supposedly works on Windows, and support is experimental on OS X 10.9+. The author of CopyQ is extremely responsive to features and bug reports (he implemented a feature that I'm pretty sure only I use, just for me). This is one of the best clipboard managers out there (although note the focus is on features over lightweight) but it is not well known. To put an image on the clipboard, you can do e.g. copyq write image/svg - image.svg This looks very promising (although this is one seriously complicated clipboard manager). Yes, it is heavy and more complicated. If you want a lightweight and quick clipboard manager, this is not for you. If you want one that you can do whatever you want with and have a little time to spend to learn it, it should be considered. But I'm a bit lost as to how it works. Copy/paste text is a bit slow but works fine (v 2.0.1 on Xubuntu 12.04). Strange. I do not notice the bit slow. Perhaps I just got used to it, but I don't remember that. Slow in what? After you type copy c you see a pause? or after copy v? Or after one of the commands we're talking about? But for images or pdf, I need to proceed as follows: copyq write image/png - newfile2.png then I need to open CopyQ, select the item labeled 0, then hit the Move to Clipboard button. Try copyq write image/png - newfile2.png copyq select 0 Now ctrl+v in LyX will paste the image (but this doesn't seem to work in LibO, though). LibO must not handle image/png (perhaps this should be requested of LibO). LibO does seem to handle image/bmp So do convert newfile2.png convert newfile2.bmp copyq write image/bmp - newfile2.bmp copyq select 0 Now it will paste into LibO. By the way, how did I find out that bmp will work? I copied an image in Chromium by right-clicking and going to copy image. I then tried to paste it in LibO. It worked. I opened up CopyQ (by clicking on show/hide in the tray icon). I right-clicked on the picture item (which should display as an actual picture) and clicked on Show Content. Then in the left column under Formats you will see all of the MIME types. These are all of the types that LibO can choose from when it receives a paste. I guessed that it went for the bmp. If you have any other questions, consider the CopyQ google group: https://groups.google.com/forum/#!forum/copyq It looks lonely there but that's just because no one is asking questions. When someone does, Lukas is very quick. Scott
Re: How to get cropped PDF graphic on the clipboard
On Sat, Apr 5, 2014 at 12:24 PM, Liviu Andronic landronim...@gmail.com wrote: By the way, how did I find out that bmp will work? Not smoothly. :) I ended up with a black box in LibO. Strange, works for me. I have version 4.1.3. It actually appears that LibO prefers either the text/uri-list or text/html. In any case, this is a LibO issue in my opinion. I'd be curious to see what they say if you end up reporting this. Scott
Re: How to get cropped PDF graphic on the clipboard
On Sat, Apr 5, 2014 at 12:36 PM, Liviu Andronic landronim...@gmail.com wrote: On Sat, Apr 5, 2014 at 6:34 PM, Scott Kostyshak skost...@lyx.org wrote: On Sat, Apr 5, 2014 at 12:24 PM, Liviu Andronic landronim...@gmail.com wrote: By the way, how did I find out that bmp will work? Not smoothly. :) I ended up with a black box in LibO. Strange, works for me. I have version 4.1.3. It actually appears that LibO prefers either the text/uri-list or text/html. In any case, this is a LibO issue in my opinion. I'd be curious to see what they say if you end up reporting this. I now tried to set up a converter in LyX, but it didn't quite go to plan: # # FORMATS SECTION ## # \format copyq1 CopyQ (PDF)document,menu=export # # CONVERTERS SECTION ## # \converter pdf7 copyq1 copyq write application/pdf - $$i copyq select 0 I'm not sure what's wrong. CopyQ (PDF) wouldn't appear in the menus, and seemed to fail when activated manually. I'm not sure that our converters are designed to deal with something like this. For debugging converters I suggest creating a script and then putting the commands in sequentially. This way in the script you can put something like echo script ran with argument $1 /home/liviu/Desktop/test.log copyq write application/pdf - $1 echo copyq write succeeded /home/liviu/Desktop/test.log copyq select 0 echo copyq select succeeded /home/liviu/Desktop/test.log Scott
Re: set default bibliography path on Mac
On Fri, Apr 11, 2014 at 11:02 AM, David Bickel davidbickel.com+li...@gmail.com wrote: I keep my .bib files on Dropbox so I can easily work from multiple computers. Is there a way that I can set the preferences on my Macintosh to use a different .bib path by default? This needs to be done without specifying the whole path in the LyX file. On Windows, this is accomplished by modifying the BIBINPUTS environment variable, but I do not know how to do something like that with MacOS. On Linux the following works: export BIBINPUTS=/path/to/dir I thought environment variables worked the same on Mac. I'm not sure what the best way is to have that run everytime. Is there a /etc/environment file on Macs? To test that it works, just do kpsewhich -var-value BIBINPUTS after to see where bibtex will look. Scott
Re: Lyx 2.1 RC1, warning message the selected document class Article requires external files
On Fri, Apr 11, 2014 at 5:27 PM, Nasser M. Abbasi n...@12000.org wrote: fyi; I posted this here http://stackoverflow.com/questions/22807934/lyx-2-1-rc1-warning-message-the-selected-document-class-article-requires-exte and it was suggested to send email to this mailing list as FYI. Information about the problem in the above link. Basically, I downloaded LyX-210RC1-Bundle-1.exe on windows 7, 64 bit, and after installation, I keep getting the above error. Hi Nasser, Thanks for sending feedback. I wonder if this related to this bug: http://www.lyx.org/trac/ticket/8570 You could try the installer linked to there, although note that it is not official and should only be used for testing. Best, Scott
Re: APA article document class DEB package
On Fri, Apr 18, 2014 at 11:44 PM, Kete k...@ninthfloor.org wrote: Kete kete at ninthfloor.org writes: Ok, downloading the packages, now: taking 15 minutes. I tried it last week. Maybe it didn't bring in the two packages that you and I mentioned in this thread. Too bad there's no package cache to keep from downloading the same packages several times. Still not there. I will go through the manuals and do some more searching if necessary, later. Thanks After the install, did you go to Tools Reconfigure and then restart LyX? Scott
Re: Problems with custom modules after upgrade to 2.1.0
On Tue, Apr 22, 2014 at 3:44 PM, Yihui Xie x...@yihui.name wrote: To LyX developers: I think it will be much more helpful if LyX can catch the stderr output when R fails and display the error message in the dialog. The default error message An error occurred while running is not informative. Makes sense. You might want to open a ticket for this. It is related to (but in my opinion different) http://www.lyx.org/trac/ticket/6826 As motivation, this has come up in a few places, for example: http://www.lyx.org/trac/ticket/8940#comment:2 http://stackoverflow.com/questions/16118901/cannot-run-knitr-on-lyx-for-macbook Scott
Re: Problems with custom modules after upgrade to 2.1.0
On Tue, Apr 22, 2014 at 5:30 PM, Scott Kostyshak skost...@lyx.org wrote: On Tue, Apr 22, 2014 at 3:44 PM, Yihui Xie x...@yihui.name wrote: To LyX developers: I think it will be much more helpful if LyX can catch the stderr output when R fails and display the error message in the dialog. The default error message An error occurred while running is not informative. Makes sense. You might want to open a ticket for this. It is related to (but in my opinion different) http://www.lyx.org/trac/ticket/6826 If you prefer, I will open the ticket and CC you. Scott
Re: Problems with custom modules after upgrade to 2.1.0
On Tue, Apr 22, 2014 at 5:44 PM, Yihui Xie x...@yihui.name wrote: Yes, please. Thanks! I guess this is actually a duplicate of #6826. Scott
Re: my first book using LyX
On Thu, Apr 24, 2014 at 11:33 AM, Shantanu Kulkarni djbw...@shantanukulkarni.org wrote: Hello, Thanks to you all and LyX, I have published my first book on The Vi Editor (cover and TOC at http://www.shantanukulkarni.org). Thanks I have learned a lot because you fine folks here. Hi Shantanu, Congratulations. Thanks for sharing the news. If you feel like it, consider putting an entry on http://wiki.lyx.org/LyX/ProducedPublications Best, Scott