Re: lyx 2.3.7 running on a Mac Ventura 13.6.1
Hi Anders, and everyone else interested-- everything appears to now be working perfectly thanks again Anders. I have the same set up now as you described you have and all is working ok in Beamer as well- phew! I have no problems with slowness- I think this might have to do with Mac OS 14+ requiring more from the machine- if it is underpowered for OS 14 then everything demanding - not just Lyx slows down. touch wood! thanks again Anders! A presto, Mark On 10/01/2024 14:12, markhsalmon wrote: Thank you Anders thanks a million- I am using Beamer so we shall see! But you have given me the courage to jump- wish me well- happy new year- I hope. Ps. Cambridge has just bought all faculty and in fact students licences for Overleaf professional which is the alternative now … I want to continue with Lyx but the lack of proper Mac support is making this decision difficult. The more you know, the more you realise how little you know One earth, one family, one future… On 10 Jan 2024, at 13:25, Anders Ekberg wrote: On 10 Jan 2024, at 13:35, mark salmon wrote: An urgent request for advice please. My apologies but I dropped of the edge of the planet for some time- and have slowly been able to get back in gear.when I was last active there were problems - both graphics and slowness running Lyx on Macs with Ventura. I last understood the graphics problem had been resolved in the latest version of Lyx 2.4??? beta but that this beta had problems with Ventura above13.6.1. The latest MacOS is Sonoma 14.. DO I RISK UPDATING MY MAC OS and ARE THERE CONTINUING PROBLEMS WITH LYX 13.6.1- graphics insert and slowdown?? I have lecture notes to write for Monday next week and cannot risk making a mistake- DO I UPDATE MY SYSTEM AND LYX??? PLEASE!! thanks Mark -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users Hi Mark I run LyX 2.4.0 b5 with MacTeX 2023 and Inkscape 1.3.2 on MacOSX 14.2.1 on my production (writing notes, compendia etc but very seldom using beamer) computer (MacBook Pro 2019). Works fine, but of course no guarantee it will for you… /Anders -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
lyx 2.3.7 running on a Mac Ventura 13.6.1
An urgent request for advice please. My apologies but I dropped of the edge of the planet for some time- and have slowly been able to get back in gear.when I was last active there were problems - both graphics and slowness running Lyx on Macs with Ventura. I last understood the graphics problem had been resolved in the latest version of Lyx 2.4??? beta but that this beta had problems with Ventura above13.6.1. The latest MacOS is Sonoma 14.. DO I RISK UPDATING MY MAC OS and ARE THERE CONTINUING PROBLEMS WITH LYX 13.6.1- graphics insert and slowdown?? I have lecture notes to write for Monday next week and cannot risk making a mistake- DO I UPDATE MY SYSTEM AND LYX??? PLEASE!! thanks Mark -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: [EXTERNAL] ImageMagick
Ok Thanks Stephan On 09/03/2023 16:12, Stephan Witt wrote: Am 09.03.2023 um 08:47 schrieb markhsalmon: Surely this applies for Mac versions as well? Hasn’t Ventura dropped ImageMagick? I thought I read this here some time ago and might be the problem with inserting graphics into Documents on Mac system? Hi Mark, IMO this isn’t related. ImageMagick isn’t bundled with LyX for macOS. I’ve checked the status of ImageMagick for macports. Ventura seems to be supported. BR, Stephan The more you know, the more you realise how little you know On 7 Mar 2023, at 21:00, Yu Jin wrote: Am Mi., 1. März 2023 um 23:21 Uhr schrieb Richard Kimberly Heck: On 3/1/23 16:27, Salazar, Derek Gonzalo wrote: Yes, for Windows. CCing Eugene, then, our Windows package manager. Sure, I'll update that next time. -- Eugene -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Reconfigure from script
Hi People, I am using LyX 2.3.7 on Mac OS Ventura. Is it possible to run reconfigure from script in the terminal, if so how? Thanks in advance, MarkL -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Missing fonts in list
When I go to Document —> Settings —> Fonts, no fonts are listed in any of the three pull down lists (Roman, Sans Serif, Typewriter). I’m using the following version for the ARM chip on an M2 computer. Version 2.4.0-beta2 (December 11, 2022) Qt Version (run-time): 6.4.1 on platform cocoa Qt Version (compile-time): 6.4.1 OS Version (run-time): macOS 13.2 Python detected: python3 -tt Any help would be appreciated! Thank you, Mark R. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Ventura graphics Mac
THANK YOU! Stephan best Mark On 25/01/2023 11:39, Stephan Witt wrote: Hi all, another report with a similar problem is here:https://www.lyx.org/trac/ticket/10047 Now I could reproduce the problem on Ventura 13.2. It is the LyX:Graphics dialog not being on anymore after click on Open. I’ve placed a series of images to demonstrate the issue here: https://my.hidrive.com/share/cgcp53ay2p To workaround the issue please place the LyX:Graphics popup slightly above or below the lyx main window to have the opportunity to get it frontmost again. I’ll have a look for a fix to this problem. Sorry for the inconvenience. Best regards, Stephan Am 21.01.2023 um 22:16 schrieb markhsalmon: This works for me- I think - I have to physically put the file location in the graphic insert box and not use browse and it gets the graphics file now. On screen looks fuzzy but formats perfectly in pdf. I upgraded to Ventura at the same time as upgrading to 2.3.7 which was dumb but this looks more like a file location recognition issue now to me. Thanks so much for your help - it’s not solved but a work around exists which is an enormous relief- Thanks! This surely must be a Lyx issue … with Ventura. I had to upgrade to Ventura for other reasons related to Dropbox. Thanks again Mark The more you know, the more you realise how little you know On 21 Jan 2023, at 21:02, Christopher Menzel wrote: Udi wrote: I think this bug is already reported here, it seems that you can enter the Unix file path into the "File:" field manually. It's not a perfect solution, but it might solve your problem in the meantime. Can confirm. This definitely appears to be a Ventura thing. I can’t insert graphics on my 2021 MacBook Pro using either 2.3.6.2 or 2.3.7 but both versions work just fine on my old iMac under Big Sur. You can mitigate the pain of the kludgy workaround a little bit by locating your desired graphic in the Finder, right clicking and selecting “Get Info”. This will bring up an info window that contains the full Unix path to the containing directory that you can copy and paste into the “file:” field in the LyX pop-up for inserting graphics. You’ll still have to type in the file name, but the process is still easier than typing in the whole path, especially if you use cloud storage, which buries your files pretty deeply under your home directory. Alternatively, run LyX under Linux in a Parallels VM — it’s quite a bit faster than the MacOS universal binary and doesn’t suffer from this bug. -chris -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problems with LyX on Mac computers
PLease ignore my email below from last night regarding my inablity to copy and paste from a PDF file into Lyx with Mac Ventura and Lyx 2.3.7- this was a tired error on my part after a long day struggling to get to lectures written- I simply confused command V with Control V on the Mac. It does work as it whould if I hit the correct keys. However the graphics issue still remains. Could this be due the the version of Python I have installed? Which Python version does Lyx require on the Mac please? How can I check and re-install. I thought I had the Xcode version but may have Anaconda 3.7- but I am ignorant of these issues. Any ideas please? Many many thanks so far, Mark On 23/01/2023 08:46, markhsalmon wrote: Hi Stephan I hit another problem last night and gave up but will try and replicate it again in the next hour when back in my office. I could not copy and paste text from a pdf document into Lyx as was trivial before. I am the person who cannot insert graphics via the normal insert graphics route but can by inserting the graphics file location. Latest version of Lyx and Ventura 13.1. This new problem is similar in that I can still with my mouse select the text from the pdf document and place the cursor where I want it in the Lyx document but now have to click paste from the menu and it works. I have to double check this when I get back to my office. I saw somewhere on the web something I didn’t understand that I” imagemagick was missing Thank you for your help but this is really serious as I am in the middle of teaching and trying to prepare lecture slides. Many thanks Mark The more you know, the more you realise how little you know On 22 Jan 2023, at 21:27, Stephan Witt wrote: Hi all, unfortunately there is some problem with the LyX binaries on macOS Ventura. I built these binaries including the Qt frameworks. At the moment I don’t have the option to investigate the problem because I didn’t upgrade the build system (yet). The Universal binary was build on Big Sur and requires at least macOS 10.14. For those unable to update to Mojave (10.14) I made an Intel binary for macOS 10.12 or newer. I have no idea what the cause of the Ventura file open dialog is. My plan is to update the build system to macOS 13.x - so it should be possible to solve the problem then. Best regards, Stephan Am 22.01.2023 um 21:09 schrieb Edwin Burmeister: Sorry, I did not realize that the current binary for LyX 2.3.7 is a Universal application. That is what I have been using. So apparently the problems encountered by Mac users are NOT due to Rosetta as I had wrongly guessed. *** Edwin Burmeister Research Professor of Economics Emeritus Duke University Commonwealth Professor of Economics Emeritus University of Virginia e...@econ.duke.edu On Jan 22, 2023, at 2:10 PM, Christopher Menzel wrote: On Jan 22, 2023, at 10:48 AM, mark salmon wrote: Marcus in your reply to Ed Burmeister you said there are 2 installers for Lyx 2.3.7- for macs- one for old and one for new versions of MacOS .I don't think I saw this when installing 2.3.7 I just chose the one option I saw in front of me- The two installers are not for older and newer versions of MacOS, they are for older and newer Macs — older machines have Intel chips while newer machines have Apple Silicon (M1 and M2 chips). The installer for the universal LyX binary, which will run on either platform, includes the string “x86_64-arm64”; the installer for the Intel-only binary only includes the substring “x86_64”. In fact, both installers and both binaries will run on both older and newer machines (although, of course, the Intel binary requires the mediation of Rosetta on Apple Silicon machines). I suppose the Intel-only binary is a bit smaller and perhaps runs a bit faster on an Intel Mac, but would think the differences would be negligible (but I could be wrong). could this be the source of the graphics problem? No. The problem arises under Ventura no matter which LyX binary you use. Chris Menzel -- lyx-users mailing list lyx-users@lists.lyx.org https://urldefense.com/v3/__http://lists.lyx.org/mailman/listinfo/lyx-users__;!!OToaGQ!tbRpWEG7qmHhoF2Z-g6f-klHmlJgyJ5aJIw3qfUZgr0VI7HV_KPofA1VQ_5f3kWbmPlyaWoYKa82fhTX1ZkLBg$ -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problems with LyX on Mac computers
Marcus in your reply to Ed Burmeister you said there are 2 installers for Lyx 2.3.7- for macs- one for old and one for new versions of MacOS .I don't think I saw this when installing 2.3.7 I just chose the one option I saw in front of me- could this be the source of the graphics problem? Cheers, Mark On 22/01/2023 16:08, Edwin Burmeister wrote: My apologies, I made a typo in my original message. I AM using LyX version 2.3.7 and all of my previous comments and questions apply to it. Sorry for my mistake! *** Edwin Burmeister Research Professor of Economics Emeritus Duke University Commonwealth Professor of Economics Emeritus University of Virginia e...@econ.duke.edu On Jan 22, 2023, at 11:03 AM, Marcus Kriele wrote: Ed, have you tried LyX 2.3.7, which came out very recently? I believe it is universal, if you take the correct installer (there are two to choose from, one for old versions of MacOS and one for the newer ones which support arm. Regards, Marcus On 22 Jan 2023, at 16:58, Edwin Burmeister wrote: Hi— I am using Mac OS Ventura 13.1 and LyX version 2.2.7. Many Mac users have reported problems with LyX when using Ventura. I too have encountered difficulties, but fortunately I’ve been able to find workarounds for all of them. However, behavior is erratic: sometimes it works and sometimes it does not. I’ve had to resort to trying different workaround strategies that seem to depend upon exactly where my LyX related files are located. You probably know this information from Apple, but I repeat it here for completeness: *Rosetta works automatically in the background whenever you use an app that was built only for Mac computers with an Intel processor*. It translates the app for use with Apple silicon. In most cases, you won't notice any difference in the performance of an app that needs Rosetta. May 17, 2022 In my opinion most and perhaps all of the problems LyX users have encountered on a Mac can be traced back to Rosetta. The ideal solution is to have an update to LyX that makes it a so-called Universal application, i.e., one that works equally well on both Intel and Apple silicon chips. [In any event, this solution will be needed in the future because Apple is likely to stop its support via Rosetta.] Is such an update to LyX in the works? If so, when might we expect to see it? If not, why not? Danke! Ed *** Edwin Burmeister Research Professor of Economics Emeritus Duke University Commonwealth Professor of Economics Emeritus University of Virginia e...@econ.duke.edu -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users <https://urldefense.com/v3/__http://lists.lyx.org/mailman/listinfo/lyx-users__;!!OToaGQ!qT8YlLlUHsqpYSocu4Fh7xVxOebMWbIK6SpBBn-F8gC48Hns7J5CZzIAH-RAp_AI7SmgcwLI-hh0Pw$> -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problems with LyX on Mac computers
Hi Ed again, Could you possibly try inserting a graphic into a document- I know nothing... I am a simple econometrician but it seems to me if some people have this graphics problem and others don't with superficially the same set up, it may be down to different ways we have handled Python- Apple, Homebrew, Anaconda? Does this make sense people? Cheers , Mark On 22/01/2023 16:08, Edwin Burmeister wrote: My apologies, I made a typo in my original message. I AM using LyX version 2.3.7 and all of my previous comments and questions apply to it. Sorry for my mistake! *** Edwin Burmeister Research Professor of Economics Emeritus Duke University Commonwealth Professor of Economics Emeritus University of Virginia e...@econ.duke.edu On Jan 22, 2023, at 11:03 AM, Marcus Kriele wrote: Ed, have you tried LyX 2.3.7, which came out very recently? I believe it is universal, if you take the correct installer (there are two to choose from, one for old versions of MacOS and one for the newer ones which support arm. Regards, Marcus On 22 Jan 2023, at 16:58, Edwin Burmeister wrote: Hi— I am using Mac OS Ventura 13.1 and LyX version 2.2.7. Many Mac users have reported problems with LyX when using Ventura. I too have encountered difficulties, but fortunately I’ve been able to find workarounds for all of them. However, behavior is erratic: sometimes it works and sometimes it does not. I’ve had to resort to trying different workaround strategies that seem to depend upon exactly where my LyX related files are located. You probably know this information from Apple, but I repeat it here for completeness: *Rosetta works automatically in the background whenever you use an app that was built only for Mac computers with an Intel processor*. It translates the app for use with Apple silicon. In most cases, you won't notice any difference in the performance of an app that needs Rosetta. May 17, 2022 In my opinion most and perhaps all of the problems LyX users have encountered on a Mac can be traced back to Rosetta. The ideal solution is to have an update to LyX that makes it a so-called Universal application, i.e., one that works equally well on both Intel and Apple silicon chips. [In any event, this solution will be needed in the future because Apple is likely to stop its support via Rosetta.] Is such an update to LyX in the works? If so, when might we expect to see it? If not, why not? Danke! Ed *** Edwin Burmeister Research Professor of Economics Emeritus Duke University Commonwealth Professor of Economics Emeritus University of Virginia e...@econ.duke.edu -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users <https://urldefense.com/v3/__http://lists.lyx.org/mailman/listinfo/lyx-users__;!!OToaGQ!qT8YlLlUHsqpYSocu4Fh7xVxOebMWbIK6SpBBn-F8gC48Hns7J5CZzIAH-RAp_AI7SmgcwLI-hh0Pw$> -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problems with LyX on Mac computers
Hi Ed, One academic to another- I have a problem in that I can ( in Lyx 2.3.7) no longer browse for the graph in the dialog box when wanting to insert graphics into a document- I am using Lyx 2.3.7 not 2.2.7. which you are using. The assumption people have made is that it is a ventura 13.1 problem however if you can browse and insert graphics with the same Ventura as myself but using Lyx 2.2.7 it must be a Lyx problem. It would be really helpful to know where the problem lies if you could give it a try please. I can work around this by copying and pasting the location of the graphics file into the location box but I lost 2 days of my life over the last few days trying to solve this! Cheers, Mark On 22/01/2023 15:58, Edwin Burmeister wrote: Hi— I am using Mac OS Ventura 13.1 and LyX version 2.2.7. Many Mac users have reported problems with LyX when using Ventura. I too have encountered difficulties, but fortunately I’ve been able to find workarounds for all of them. However, behavior is erratic: sometimes it works and sometimes it does not. I’ve had to resort to trying different workaround strategies that seem to depend upon exactly where my LyX related files are located. You probably know this information from Apple, but I repeat it here for completeness: *Rosetta works automatically in the background whenever you use an app that was built only for Mac computers with an Intel processor*. It translates the app for use with Apple silicon. In most cases, you won't notice any difference in the performance of an app that needs Rosetta. May 17, 2022 In my opinion most and perhaps all of the problems LyX users have encountered on a Mac can be traced back to Rosetta. The ideal solution is to have an update to LyX that makes it a so-called Universal application, i.e., one that works equally well on both Intel and Apple silicon chips. [In any event, this solution will be needed in the future because Apple is likely to stop its support via Rosetta.] Is such an update to LyX in the works? If so, when might we expect to see it? If not, why not? Danke! Ed *** Edwin Burmeister Research Professor of Economics Emeritus Duke University Commonwealth Professor of Economics Emeritus University of Virginia e...@econ.duke.edu -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Ventura graphics Mac
I have just upgraded to ventura on an Imac- as far as I know I have resolved the gatekeeper and python issues but one problem remains- if anyone can help me please? I can no longer insert graphics in lyx documents- this is critical for my lecture notes and really urgent. I do example the same as before and am running with lyx 2.3.7 and ventura 13.1. Graphics already within the document are not affected and still there but I can no longer browse and click on the graphic to get ta new graph copied into the Lyx document!! Seems to be a problem with Lyx /ventura not recognising the clicked link??? any help please please. Thank you Mark -- The more we know, the more we realise how little we know. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Acrobat pdf
Thank you very much El! just and apologies forthe slow response - what I needed and apologies for the slow response- a strange day -walking in the sunshine all day! A weird experience that used to be normal! Will try it now and thanks again Mark On 20/05/2022 08:25, Dr Eberhard Lisse wrote: Assuming this is on the Mac: Click on any PDF and then issue CMD-I. Then change the "Open-With" Pulldown do whatever viewer you want but click on "Change-All" Then in Lyx you can use "open" as the viewer. PDF Expert is very nice and powerful but I like Skim for day-to-day by the way. greetings, el On 2022-05-19 14:24 , Kornel Benko wrote: Am Thu, 19 May 2022 12:33:49 +0100 schrieb mark salmon : Thank you Kornel- when I get to Viewer ( for pdflatex) it gives me only 2 options- None or Custom- alongside Custom in another box it also has " auto". No mention of PDF Expert or in fact Adobe Acrobat--what do I haver to do now to make lyx use PDF Expert?? Cheers, Mark Use custom and fill the box with the path to your favourite pdf viewer. You may not need the full path, if your pdf-viewer is directly accessible. On 19/05/2022 12:04, Kornel Benko wrote: Am Thu, 19 May 2022 11:50:20 +0100 schrieb mark salmon: I have moved away from Adobe Acrobat for PDFs as there are many alternatives that are substantially cheaper and in fact in many cases better. However as my Adobe licence has just run out it seems I can no longer generate PDF documents- I get the pdf in acrobat but I can't access it as an adobe page comes up asking me to re-licence Acrobat but I want to continue using PDFexpert instead- How do I change the preferences with Lyx to stop it assuming I am using Adobe Acrobat for PDFs and instead use PDFExpert for pdf output? Many thanks, Mark Select Tools->Preferences->File Handling->File Formats->Format Select there the relevant PDF output, e.g. 'PDF (pdflatex)' and select the Viewer to what you desire. Kornel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Acrobat pdf
Thank you Kornel- when I get to Viewer ( for pdflatex) it gives me only 2 options- None or Custom- alongside Custom in another box it also has " auto". No mention of PDF Expert or in fact Adobe Acrobat--what do I haver to do now to make lyx use PDF Expert?? Cheers, Mark On 19/05/2022 12:04, Kornel Benko wrote: Am Thu, 19 May 2022 11:50:20 +0100 schrieb mark salmon: I have moved away from Adobe Acrobat for PDFs as there are many alternatives that are substantially cheaper and in fact in many cases better. However as my Adobe licence has just run out it seems I can no longer generate PDF documents- I get the pdf in acrobat but I can't access it as an adobe page comes up asking me to re-licence Acrobat but I want to continue using PDFexpert instead- How do I change the preferences with Lyx to stop it assuming I am using Adobe Acrobat for PDFs and instead use PDFExpert for pdf output? Many thanks, Mark Select Tools->Preferences->File Handling->File Formats->Format Select there the relevant PDF output, e.g. 'PDF (pdflatex)' and select the Viewer to what you desire. Kornel -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Acrobat pdf
I have moved away from Adobe Acrobat for PDFs as there are many alternatives that are substantially cheaper and in fact in many cases better. However as my Adobe licence has just run out it seems I can no longer generate PDF documents- I get the pdf in acrobat but I can't access it as an adobe page comes up asking me to re-licence Acrobat but I want to continue using PDFexpert instead- How do I change the preferences with Lyx to stop it assuming I am using Adobe Acrobat for PDFs and instead use PDFExpert for pdf output? Many thanks, Mark-- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
How to set image resolution in LyXHTML export?
Hi I export my LyX file with PDF images to LyXHTML. However, the resolution is too low. How can I change it? In exports to other formats, the resolution is good. -- Mark van Rossum, This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please contact the sender and delete the email and attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. Email communications with the University of Nottingham may be monitored where permitted by law. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Error File '/var/folders/lw/lwhvvr995qd496m04pr11sp80000gn/T/lyx_tmpdir.zuVLBxb13258/lyx_tmpbuf0/Diss121.tex' was not closed properly.
Dear Lyx-Wizards, I researched on above error and the closest I got was the discussion between Wolfgang and Jürgen in 2010. However, my text compiled fine with Lyx 2.1.5, now with the 2.2.3 update I get above error. I’m using German characters, don’t know where to find the encoding, though, I thought it was Latin1 or UTF8. I’m completely lost as where to start looking at, I cannot remove all my „Umlaute“ or the like. I’m using bibdesk for literature. Here is my preamble: \usepackage[backend=biber,style=philosophy-modern,natbib=true]{biblatex} \usepackage{amsmath} \usepackage{amssymb}% für mathbb \usepackage{marginnote} % Randnotizen \usepackage{ragged2e} \usepackage{blindtext} % Lorem ipsum \usepackage{lipsum} \addbibresource{/Users/mhem23/Documents/Uni/Dissertation/Bibliothek/bibdesk/DissBib3.bib} \setlength{\marginparwidth}{2,5cm} % setze Randnotizbreite \renewcommand*{\marginfont}{\footnotesize \bfseries} \let\marginpar\marginnote % \marginpar ist jetzt identisch mit \marginnote \usepackage{xcolor} \usepackage[framemethod=tikz]{mdframed} % für Absatzboxen aller Art \usepackage{longtable, array} Please help me along, it worked with my old Lyx! Thank you very much mark
Re: LyX update loses settings.
Thanks, Uwe. That worked fine. Mark On 2016-10-20 11:00, Uwe Stöhr wrote: The user settings will not be deleted if you don't explicitly trigger this. So you can safely install LyX 2.2.2 over 2.2.0 without problems and you user settings will stay untouched. Regards Uwe Original Message
Re: LyX update loses settings.
Thanks, Stephan. That worked fine. Mark On 2016-10-20 04:44, Stephan Witt wrote: Am 16.10.2016 um 20:07 schrieb Mark, K5AM <k...@zianet.com>: Hi Stephan, Thank you for considering this problem. I am using LyX Version 2.2.0. I am reluctant to update to the new version, since it was so much trouble to redo the settings last time. Windows 7 Pro 64. The settings I needed to redo: Paths in Preferences Location of pwl_english.dict Some special keys that I set Shortcut keys that I set Colors Other items that I may have forgotten, but usually find out about soon enough. Mark Hi Mark, LyX on Windows saves the preferences in a version specific directory, IMO. The "About LyX“ dialog should tell you the location. Make a note where it is before doing the upgrade. You may try to restore your settings from there after the upgrade. Compare the files in the two different directories and adjust them accordingly. I hope it works as I’m not on Windows. I’ve CCed Uwe Stöhr - perhaps he can tell you more or a simpler solution. Stephan On 2016-10-16 11:01, Stephan Witt wrote: Am 15.10.2016 um 22:08 schrieb Mark <k...@zianet.com>: LyX update loses settings. Is there an easy way to save settings, and restore after an update? Hi Mark, it’s not clear what version and on which platform you’re using LyX. Stephan
Re: LyX update loses settings.
Hi Stephan, Thank you for considering this problem. I am using LyX Version 2.2.0. I am reluctant to update to the new version, since it was so much trouble to redo the settings last time. Windows 7 Pro 64. The settings I needed to redo: Paths in Preferences Location of pwl_english.dict Some special keys that I set Shortcut keys that I set Colors Other items that I may have forgotten, but usually find out about soon enough. Mark On 2016-10-16 11:01, Stephan Witt wrote: Am 15.10.2016 um 22:08 schrieb Mark <k...@zianet.com>: LyX update loses settings. Is there an easy way to save settings, and restore after an update? Hi Mark, it’s not clear what version and on which platform you’re using LyX. Stephan
LyX update loses settings.
LyX update loses settings. Is there an easy way to save settings, and restore after an update?
Re: LyX Win7 package install fails because Miktex install fails.
Thanks Richard On each reinstall I deleted all residual directories. BUT I have solved the problem. After uninstall I searched the registry for references to LyX and Miktex and found a few. I couldn't delete them, I think because I am on a work computer and everything is locked down. I did notice references to Miketx 2.9 and also to mpm.exe, the package manger. So I decided to reinstall the LyX package and change the directory name for Miktex from ../Miktex 2.9 to ../Miktex ignoring the note from the Lyx installer not to change any Miktex defaults. This worked. There is an article on this problem at http://tex.stackexchange.com/questions/97296/lyx-miktex-installation-problems-on-windows-7 Regards On Thu, Aug 4, 2016 at 6:23 AM, Richard Heck <rgh...@lyx.org> wrote: > On 08/02/2016 09:30 PM, Mark Kortink wrote: > > Hi. I had LyX 2.2.0 (LyX-220-Bundle-3) running on a brand new Win 7 laptop > but for various reasons to do with not being able to generate pdfs and > missing .sty files I decided to uninstall and reinstall. > > > > The 2.2.0 reinstallation then failed on several attempts, so I tried > uninstalling that and installing 2.1.4 (LyX-2.1.4-Bundle-1) downloaded from > LyX.org. Same problem. What happens is > > 1) LyX seems to be installing fine, gets to the point where it says to > install Miktex, that seems to be installing fine as well. > > 2) The MikTex install seems to almost run to the end then fails with > “The operation failed for some reason” message. > > 3) Clicking OK there is an Miktex install failed message. > > 4) Clicking OK there is a “No LaTeX distribution could be found” > message . > > 5) LyX tries to abort but hangs when it tries to delete the main LyX > directory. > > > The error log which I assume is recording what happened at step 2 above > says:- > > 2016-08-03 11:12:28,372+1000 INFO initexmf - starting: MiKTeX > Configuration Utility 2.9.5900 (MiKTeX 2.9) > > 2016-08-03 11:12:28,388+1000 INFO initexmf - Removing fndb > (C:\ProgramData\MiKTeX\2.9)... > > 2016-08-03 11:12:28,388+1000 FATAL initexmf - Windows API error 32: The > process cannot access the file because it is being used by another process. > > 2016-08-03 11:12:28,388+1000 FATAL initexmf - Info: > path="C:\ProgramData\MiKTeX\2.9\miktex/data/le\1756f6ade37d5f870f23c05a7f81e257.fndb" > > 2016-08-03 11:12:28,388+1000 FATAL initexmf - Source: > Libraries\MiKTeX\Core\File\win\winFile.cpp > > 2016-08-03 11:12:28,388+1000 FATAL initexmf - Line: 286 > > > This is a "clean" install in the sense I have done unistalls and > reinstalls of the package and haven't fiddled with anything. I do not know > what process might be locking a needed file. > > > I am not on Windows, so I doubt I can be very helpful. But one thing you > might try is manually deleting the directory C:\ProgramData\MiKTeX\2.9\. > It's possible there is a some file in there that is somehow locked. > > Richard > >
LyX Win7 package install fails because Miktex install fails.
Hi. I had LyX 2.2.0 (LyX-220-Bundle-3) running on a brand new Win 7 laptop but for various reasons to do with not being able to generate pdfs and missing .sty files I decided to uninstall and reinstall. The 2.2.0 reinstallation then failed on several attempts, so I tried uninstalling that and installing 2.1.4 (LyX-2.1.4-Bundle-1) downloaded from LyX.org. Same problem. What happens is 1) LyX seems to be installing fine, gets to the point where it says to install Miktex, that seems to be installing fine as well. 2) The MikTex install seems to almost run to the end then fails with “The operation failed for some reason” message. 3) Clicking OK there is an Miktex install failed message. 4) Clicking OK there is a “No LaTeX distribution could be found” message . 5) LyX tries to abort but hangs when it tries to delete the main LyX directory. The error log which I assume is recording what happened at step 2 above says:- 2016-08-03 11:12:28,372+1000 INFO initexmf - starting: MiKTeX Configuration Utility 2.9.5900 (MiKTeX 2.9) 2016-08-03 11:12:28,388+1000 INFO initexmf - Removing fndb (C:\ProgramData\MiKTeX\2.9)... 2016-08-03 11:12:28,388+1000 FATAL initexmf - Windows API error 32: The process cannot access the file because it is being used by another process. 2016-08-03 11:12:28,388+1000 FATAL initexmf - Info: path="C:\ProgramData\MiKTeX\2.9\miktex/data/le\1756f6ade37d5f870f23c05a7f81e257.fndb" 2016-08-03 11:12:28,388+1000 FATAL initexmf - Source: Libraries\MiKTeX\Core\File\win\winFile.cpp 2016-08-03 11:12:28,388+1000 FATAL initexmf - Line: 286 This is a "clean" install in the sense I have done unistalls and reinstalls of the package and haven't fiddled with anything. I do not know what process might be locking a needed file. Regards Mark Kortink
Re: View (in pdf) opens but no document
Mark Kortink kortink.com> writes: > > Hi, I have upgraded to LyX 2.1.3 on my two laptops. > > On one laptop when I click View [Ctl-R] Adobe Reader XI opens and displays > the document. On the other it opens but does not display the document, > instead it displays recently viewed files (a LyX one is not there). > > I am guessing but judging by the time it takes I think a pdf is generated > somewhere, it is just not passed to the pdf program to open. > > Can you suggest some things for me to chaeck/fix. > > Thanks > Mark > > Using Sumatra worked instantly, shame the official Win10 pdf viewer can't handle it!
Layout sondard was not found.
When I open one on my LyX articles I get the message "Layout `sondard' was not found." I have never used or heard of this layout, and the only package the document uses is "xy" for xypic (Document Class is an American Mathematical Society Book). Once I close the dialog everything works fine. How can I get rid of this annoying message? Thanks
View (in pdf) opens but no document
Hi, I have upgraded to LyX 2.1.3 on my two laptops. On one laptop when I click View [Ctl-R] Adobe Reader XI opens and displays the document. On the other it opens but does not display the document, instead it displays recently viewed files (a LyX one is not there). I am guessing but judging by the time it takes I think a pdf is generated somewhere, it is just not passed to the pdf program to open. Can you suggest some things for me to chaeck/fix. Thanks Mark
Re: View (in pdf) opens but no document
Thanks, I will do that if I can't get the Adobe one working, prefer to have only one pdf viewer if I can.
Pstricks problem
Pstricks problem A file that includes a simple drawing using pstricks worked perfectly with 2.1.3, but now after updating to 2.1.4 it does not work. Trying to get a pdf results in error messages. There is \usepackage{pstricks} \usepackage{pst-plot} in the preamble. Any suggestions? Mark
Pstricks problem
Pstricks problem A file that includes a simple drawing using pstricks worked perfectly with 2.1.3, but now after updating to 2.1.4 it does not work. Trying to get a pdf results in error messages. There is \usepackage{pstricks} \usepackage{pst-plot} in the preamble. Any suggestions? Mark
tar.gz
Looked everywhere, but cannot find instructions for updating with lyx-2.1.4.tar.gz Mark
tar.gz
Looked everywhere, but cannot find instructions for updating with lyx-2.1.4.tar.gz Mark
Enumerate changes spacing over 2 pages
I have an enumerated list under a section with a number of items that are indented one level. The list begins towards the bottom of the page and continues on the next page. The spacing on the list items on the second page changes drastically from what appear to be 1 line to several lines. I've attached a pdf of the 2 pages in question so it's easier to see what I'm talking about. Any suggestions on how to remedy this would be greatly appreciated. Best regards, Mark Garrow Appendix9-10.pdf Description: Adobe PDF document
Enumerate changes spacing over 2 pages
I have an enumerated list under a section with a number of items that are indented one level. The list begins towards the bottom of the page and continues on the next page. The spacing on the list items on the second page changes drastically from what appear to be 1 line to several lines. I've attached a pdf of the 2 pages in question so it's easier to see what I'm talking about. Any suggestions on how to remedy this would be greatly appreciated. Best regards, Mark Garrow Appendix9-10.pdf Description: Adobe PDF document
Enumerate changes spacing over 2 pages
I have an enumerated list under a section with a number of items that are indented one level. The list begins towards the bottom of the page and continues on the next page. The spacing on the list items on the second page changes drastically from what appear to be 1 line to several lines. I've attached a pdf of the 2 pages in question so it's easier to see what I'm talking about. Any suggestions on how to remedy this would be greatly appreciated. Best regards, Mark Garrow Appendix9-10.pdf Description: Adobe PDF document
Re: new documents always have change-tracking on
Stephan Witt st.witt at gmx.net writes: Am 17.11.2014 um 04:37 schrieb Mark Bravington mark.bravington at csiro.au: Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with change-tracking switched on You've saved this state with your document defaults. To get rid of it you may disable change tracking in a new document and in document preferences save this document as default again. Stephan Thanks, that solves it. It does seem a bit odd that change-tracking status can be a document default, since all the other things on the document-settings page are output-related--- but maybe there's nowhere else that's more appropriate. Mark
Re: new documents always have change-tracking on
Stephan Witt st.witt at gmx.net writes: Am 17.11.2014 um 04:37 schrieb Mark Bravington mark.bravington at csiro.au: Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with change-tracking switched on You've saved this state with your document defaults. To get rid of it you may disable change tracking in a new document and in document preferences save this document as default again. Stephan Thanks, that solves it. It does seem a bit odd that change-tracking status can be a document default, since all the other things on the document-settings page are output-related--- but maybe there's nowhere else that's more appropriate. Mark
Re: new documents always have change-tracking on
> Stephan Witt gmx.net> writes: > > Am 17.11.2014 um 04:37 schrieb Mark Bravington csiro.au>: > > > Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with > > change-tracking switched on > You've saved this state with your document defaults. > > To get rid of it you may disable change tracking in a new document > and in document preferences save this document as default again. > > Stephan Thanks, that solves it. It does seem a bit odd that change-tracking status can be a "document default", since all the other things on the document-settings page are output-related--- but maybe there's nowhere else that's more appropriate. Mark
new documents always have change-tracking on
Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with change-tracking switched on, so that I start typing and then have to undo it and turn off change-tracking and start again. Not life-threatening, but annoying... and I can't find where to control this behaviour. If it's not just me, then Tools/Preferences/LookFeel/Document handling could be a good place for a checkbox to turn this off/on for new documents. Mark
new documents always have change-tracking on
Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with change-tracking switched on, so that I start typing and then have to undo it and turn off change-tracking and start again. Not life-threatening, but annoying... and I can't find where to control this behaviour. If it's not just me, then Tools/Preferences/LookFeel/Document handling could be a good place for a checkbox to turn this off/on for new documents. Mark
new documents always have change-tracking on
Lyx 2.1.2 on Windows 7: When I do File/New document, it opens up with change-tracking switched on, so that I start typing and then have to undo it and turn off change-tracking and start again. Not life-threatening, but annoying... and I can't find where to control this behaviour. If it's not just me, then Tools/Preferences/Look/Document handling could be a good place for a checkbox to turn this off/on for new documents. Mark
tex2lyx
I'm running Lyx 2.1 and trying to convert tex-file to lyx-file. Follow the standard pass: file importLatex(plain); however am getting an error message: An error occurred while running tex2lyx-froot1.texroot1.lyx What should I do? Thanks, Mark
tex2lyx
I'm running Lyx 2.1 and trying to convert tex-file to lyx-file. Follow the standard pass: file importLatex(plain); however am getting an error message: An error occurred while running tex2lyx-froot1.texroot1.lyx What should I do? Thanks, Mark
tex2lyx
I'm running Lyx 2.1 and trying to convert tex-file to lyx-file. Follow the standard pass: file> import>Latex(plain); however am getting an error message: An error occurred while running tex2lyx-f"root1.tex""root1.lyx" What should I do? Thanks, Mark
Re: Adding new class into LyX
I totally agree!!!I have wasted so much time trying and given up. Also where is the best repository for alternative classes- I am using a Mac OSX - like many Mac users have nearly given up with LyX¹s lack of support for Mac- LyX is a pleasure when it works but when it doesn¹t it is a total waste of time and time is something we just don¹t have. The documentation just isn¹t clear and Mac support is terrible. From: Steven Fredman stevenfred...@gmail.com Date: Friday, 28 March 2014 09:25 To: lyx-users@lists.lyx.org Subject: Adding new class into LyX Hi I'm trying to import a new class into LyX. The class and all of it's associated files can be found at http://labproj.eie.wits.ac.za/labproj/papers/witseie-paper-2005.zip I've spent quite a bit of time on Google looking for a method to do this, but all of the tutorials are vague and seem to contradict each other - I've followed the instructions on a number of them and they don't seem to work. Can you please give me a clear set of instructions of how to go about adding this type of document. I'm running LyX Version 2.0.7 with MiKTeX 2.9.4248 on Windows 8 64-bit. Alternatively, is there a better or easier way for me to use the template provided? Any assistance will be greatly appreciated. Thanks Kind Regards Steven Fredman
Re: Adding new class into LyX
Aplogies for lack of immediate response - I had to teach. I have had frustrations with Lyx ever since I moved from SciWord several years ago. Yesterday I upgraded to the latest beta and now when I try and load up a New file I get the error message that there is no begin document command when there clearly is in the source file- I wasted half a day trying to work out what was wrong- in fact I still don¹t know what was wrong but by removing use theme warsaw from the Latex preamble it works for some reason- secondly the installation on MacOSx does not drop the relevant files -templates etc. in the right places where the system can find them - so when I ask for a New from template I am told the file will not compile as it requires external files which are not available.etc. Etc. etc. can you understand how frustrating this is when you are under pressure??? I am not a TeX speaker but someone who needs to use the wonderful system that you have helped to create in a professional context. However. It is just a real pain that it does not work properly on a Mac largely because of install problems I believe. I fully understand your effort and all those who along with you have helped create Lyx in the form it is today thank you- but that is not the point nobody should put any software out to the public which does not work as it should my time as yours is valuable. It is simply not professional. Mark From: Jürgen Spitzmüller sp...@lyx.org Date: Friday, 28 March 2014 10:44 To: Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Cc: Mark Salmon markhsal...@gmail.com, Steven Fredman stevenfred...@gmail.com, LyX Users List lyx-users@lists.lyx.org Subject: Re: Adding new class into LyX 2014-03-28 11:33 GMT+01:00 Murat Yildizoglu: Don't get vexed so quickly Jürgen :-) The users should be able to tell the problems they meet. Sure, but in a constructive way. We cannot fix a total waste of time and terrible support. It is true that writing a module for supporting a new class file is not very easy, but I do not know how it could be. We must find a way to tell to the WSYWYM software a way to represent on the screen the new logical components that are specific to this new class. Scientific Word (a commercial software costing a LOT money- especially in France) has always been confronted to the same problem, even if they provided a graphical style composer (it was not very easy to use either, but I have not tested it recently, since I have switched to Lyx). Sure. We all want some graphical tool to setup layout files. There even were attempts to do so. But then, we are about 7 persons in the core team, all of has have a job and a career, so it is a it is in OSS: Things get implemented if someone finds the time and interest. OTOH, I think LyX has a great community. Usually, if someone requests for help with setting up a layout, he gets help within the same day. I have responded the OP within minutes, even though I actually have a paper to write myself at this very moment (where the deadline has passed already). So with all respect to wishes and dreams, my understanding for such unconstructive rants is rather limited. Jürgen
Re: Adding new class into LyX
Murat Thank you for your reply. If these problems which have frustrated me and wasted my time are well known by other users and there are solutions to them as you say - then WHY have the solutions not been embedded in the latest beta? I understand software development issues and the need to update as changes are made but my comment above remains- as a simple user I need to be able to use the software- if there are well know problems in the software on particular platforms then surely the developers have a responsibility to remove them when the software is upgraded? This applies equally to open source community based as to commercial software. Mark From: Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Date: Friday, 28 March 2014 13:39 To: Mark Salmon markhsal...@gmail.com Cc: Jürgen Spitzmüller sp...@lyx.org, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr, LyX Users List lyx-users@lists.lyx.org Subject: Re: Adding new class into LyX Mark, I understand your frustrations, but these installation discrepancies are small problems, and they are perfectly known normally by the users (you can search the mail list, and you will find these problems there and solutions to them). So you have not been cheated by a commercial vendor hiding from you the deficiencies of the product he sells (see below on your responsibilities as a user, from my point of view as a user)... There was also a lot of discussion about the big rewriting of the BEAMER module in the previous beta version. This is a big change, but it goes in the correct direction, even if each of us had to take sometime to get used to the new standard. You should read the documentation on the new beamer module. My beamer slides from much older versions of LyX have nearly all been imported without any big problems (including elements in the preamble, but see the end of this paragraph). You sometime need to add a separation at the end of a slide, and eliminate instructions - old tricks - that are not necessary in the newer versions of beamer. In any case, this is a software developed by a community of dedicated developers with limited resources, as J ürgen reminds it in his message. And I am grateful to them that they indeed put this software out to the public, to which I belong (I am mainly a user). Communities developing open source softs cannot just reply take it or leave it to users who formulate criticisms, but these users have also the responsibility of taking time to collect some information about the soft before adopting it (because adopting a new software is a time consuming process, whatever is the software - commercial like SWP or not), and of making suggestions of amelioration for the soft, when they have new needs, instead of flaming the community with their definitive improductive judgements. I hope that you will quickly solve your problems. Murat 2014-03-28 13:58 GMT+01:00 Mark Salmon markhsal...@gmail.com: Aplogies for lack of immediate response - I had to teach. I have had frustrations with Lyx ever since I moved from SciWord several years ago. Yesterday I upgraded to the latest beta and now when I try and load up a New file I get the error message that there is no begin document command when there clearly is in the source file- I wasted half a day trying to work out what was wrong- in fact I still don¹t know what was wrong but by removing use theme warsaw from the Latex preamble it works for some reason- secondly the installation on MacOSx does not drop the relevant files -templates etc. in the right places where the system can find them - so when I ask for a New from template I am told the file will not compile as it requires external files which are not available.etc. Etc. etc. can you understand how frustrating this is when you are under pressure??? I am not a TeX speaker but someone who needs to use the wonderful system that you have helped to create in a professional context. However. It is just a real pain that it does not work properly on a Mac largely because of install problems I believe. I fully understand your effort and all those who along with you have helped create Lyx in the form it is today thank you- but that is not the point nobody should put any software out to the public which does not work as it should my time as yours is valuable. It is simply not professional. Mark From: Jürgen Spitzmüller sp...@lyx.org Date: Friday, 28 March 2014 10:44 To: Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Cc: Mark Salmon markhsal...@gmail.com, Steven Fredman stevenfred...@gmail.com, LyX Users List lyx-users@lists.lyx.org Subject: Re: Adding new class into LyX 2014-03-28 11:33 GMT+01:00 Murat Yildizoglu: Don't get vexed so quickly Jürgen :-) The users should be able to tell the problems they meet. Sure, but in a constructive way. We cannot fix a total waste of time and terrible support. It is true that writing a module for supporting a new class file
Re: Adding new class into LyX
I totally agree!!!I have wasted so much time trying and given up. Also where is the best repository for alternative classes- I am using a Mac OSX - like many Mac users have nearly given up with LyX¹s lack of support for Mac- LyX is a pleasure when it works but when it doesn¹t it is a total waste of time and time is something we just don¹t have. The documentation just isn¹t clear and Mac support is terrible. From: Steven Fredman stevenfred...@gmail.com Date: Friday, 28 March 2014 09:25 To: lyx-users@lists.lyx.org Subject: Adding new class into LyX Hi I'm trying to import a new class into LyX. The class and all of it's associated files can be found at http://labproj.eie.wits.ac.za/labproj/papers/witseie-paper-2005.zip I've spent quite a bit of time on Google looking for a method to do this, but all of the tutorials are vague and seem to contradict each other - I've followed the instructions on a number of them and they don't seem to work. Can you please give me a clear set of instructions of how to go about adding this type of document. I'm running LyX Version 2.0.7 with MiKTeX 2.9.4248 on Windows 8 64-bit. Alternatively, is there a better or easier way for me to use the template provided? Any assistance will be greatly appreciated. Thanks Kind Regards Steven Fredman
Re: Adding new class into LyX
Aplogies for lack of immediate response - I had to teach. I have had frustrations with Lyx ever since I moved from SciWord several years ago. Yesterday I upgraded to the latest beta and now when I try and load up a New file I get the error message that there is no begin document command when there clearly is in the source file- I wasted half a day trying to work out what was wrong- in fact I still don¹t know what was wrong but by removing use theme warsaw from the Latex preamble it works for some reason- secondly the installation on MacOSx does not drop the relevant files -templates etc. in the right places where the system can find them - so when I ask for a New from template I am told the file will not compile as it requires external files which are not available.etc. Etc. etc. can you understand how frustrating this is when you are under pressure??? I am not a TeX speaker but someone who needs to use the wonderful system that you have helped to create in a professional context. However. It is just a real pain that it does not work properly on a Mac largely because of install problems I believe. I fully understand your effort and all those who along with you have helped create Lyx in the form it is today thank you- but that is not the point nobody should put any software out to the public which does not work as it should my time as yours is valuable. It is simply not professional. Mark From: Jürgen Spitzmüller sp...@lyx.org Date: Friday, 28 March 2014 10:44 To: Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Cc: Mark Salmon markhsal...@gmail.com, Steven Fredman stevenfred...@gmail.com, LyX Users List lyx-users@lists.lyx.org Subject: Re: Adding new class into LyX 2014-03-28 11:33 GMT+01:00 Murat Yildizoglu: Don't get vexed so quickly Jürgen :-) The users should be able to tell the problems they meet. Sure, but in a constructive way. We cannot fix a total waste of time and terrible support. It is true that writing a module for supporting a new class file is not very easy, but I do not know how it could be. We must find a way to tell to the WSYWYM software a way to represent on the screen the new logical components that are specific to this new class. Scientific Word (a commercial software costing a LOT money- especially in France) has always been confronted to the same problem, even if they provided a graphical style composer (it was not very easy to use either, but I have not tested it recently, since I have switched to Lyx). Sure. We all want some graphical tool to setup layout files. There even were attempts to do so. But then, we are about 7 persons in the core team, all of has have a job and a career, so it is a it is in OSS: Things get implemented if someone finds the time and interest. OTOH, I think LyX has a great community. Usually, if someone requests for help with setting up a layout, he gets help within the same day. I have responded the OP within minutes, even though I actually have a paper to write myself at this very moment (where the deadline has passed already). So with all respect to wishes and dreams, my understanding for such unconstructive rants is rather limited. Jürgen
Re: Adding new class into LyX
Murat Thank you for your reply. If these problems which have frustrated me and wasted my time are well known by other users and there are solutions to them as you say - then WHY have the solutions not been embedded in the latest beta? I understand software development issues and the need to update as changes are made but my comment above remains- as a simple user I need to be able to use the software- if there are well know problems in the software on particular platforms then surely the developers have a responsibility to remove them when the software is upgraded? This applies equally to open source community based as to commercial software. Mark From: Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Date: Friday, 28 March 2014 13:39 To: Mark Salmon markhsal...@gmail.com Cc: Jürgen Spitzmüller sp...@lyx.org, Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr, LyX Users List lyx-users@lists.lyx.org Subject: Re: Adding new class into LyX Mark, I understand your frustrations, but these installation discrepancies are small problems, and they are perfectly known normally by the users (you can search the mail list, and you will find these problems there and solutions to them). So you have not been cheated by a commercial vendor hiding from you the deficiencies of the product he sells (see below on your responsibilities as a user, from my point of view as a user)... There was also a lot of discussion about the big rewriting of the BEAMER module in the previous beta version. This is a big change, but it goes in the correct direction, even if each of us had to take sometime to get used to the new standard. You should read the documentation on the new beamer module. My beamer slides from much older versions of LyX have nearly all been imported without any big problems (including elements in the preamble, but see the end of this paragraph). You sometime need to add a separation at the end of a slide, and eliminate instructions - old tricks - that are not necessary in the newer versions of beamer. In any case, this is a software developed by a community of dedicated developers with limited resources, as J ürgen reminds it in his message. And I am grateful to them that they indeed put this software out to the public, to which I belong (I am mainly a user). Communities developing open source softs cannot just reply take it or leave it to users who formulate criticisms, but these users have also the responsibility of taking time to collect some information about the soft before adopting it (because adopting a new software is a time consuming process, whatever is the software - commercial like SWP or not), and of making suggestions of amelioration for the soft, when they have new needs, instead of flaming the community with their definitive improductive judgements. I hope that you will quickly solve your problems. Murat 2014-03-28 13:58 GMT+01:00 Mark Salmon markhsal...@gmail.com: Aplogies for lack of immediate response - I had to teach. I have had frustrations with Lyx ever since I moved from SciWord several years ago. Yesterday I upgraded to the latest beta and now when I try and load up a New file I get the error message that there is no begin document command when there clearly is in the source file- I wasted half a day trying to work out what was wrong- in fact I still don¹t know what was wrong but by removing use theme warsaw from the Latex preamble it works for some reason- secondly the installation on MacOSx does not drop the relevant files -templates etc. in the right places where the system can find them - so when I ask for a New from template I am told the file will not compile as it requires external files which are not available.etc. Etc. etc. can you understand how frustrating this is when you are under pressure??? I am not a TeX speaker but someone who needs to use the wonderful system that you have helped to create in a professional context. However. It is just a real pain that it does not work properly on a Mac largely because of install problems I believe. I fully understand your effort and all those who along with you have helped create Lyx in the form it is today thank you- but that is not the point nobody should put any software out to the public which does not work as it should my time as yours is valuable. It is simply not professional. Mark From: Jürgen Spitzmüller sp...@lyx.org Date: Friday, 28 March 2014 10:44 To: Murat Yildizoglu murat.yildizo...@u-bordeaux4.fr Cc: Mark Salmon markhsal...@gmail.com, Steven Fredman stevenfred...@gmail.com, LyX Users List lyx-users@lists.lyx.org Subject: Re: Adding new class into LyX 2014-03-28 11:33 GMT+01:00 Murat Yildizoglu: Don't get vexed so quickly Jürgen :-) The users should be able to tell the problems they meet. Sure, but in a constructive way. We cannot fix a total waste of time and terrible support. It is true that writing a module for supporting a new class file
Re: Adding new class into LyX
I totally agree!!!I have wasted so much time trying and given up. Also where is the best repository for alternative classes- I am using a Mac OSX - like many Mac users have nearly given up with LyX¹s lack of support for Mac- LyX is a pleasure when it works but when it doesn¹t it is a total waste of time and time is something we just don¹t have. The documentation just isn¹t clear and Mac support is terrible. From: Steven FredmanDate: Friday, 28 March 2014 09:25 To: Subject: Adding new class into LyX Hi I'm trying to import a new class into LyX. The class and all of it's associated files can be found at http://labproj.eie.wits.ac.za/labproj/papers/witseie-paper-2005.zip I've spent quite a bit of time on Google looking for a method to do this, but all of the tutorials are vague and seem to contradict each other - I've followed the instructions on a number of them and they don't seem to work. Can you please give me a clear set of instructions of how to go about adding this type of document. I'm running LyX Version 2.0.7 with MiKTeX 2.9.4248 on Windows 8 64-bit. Alternatively, is there a better or easier way for me to use the template provided? Any assistance will be greatly appreciated. Thanks Kind Regards Steven Fredman
Re: Adding new class into LyX
Aplogies for lack of immediate response - I had to teach. I have had frustrations with Lyx ever since I moved from SciWord several years ago. Yesterday I upgraded to the latest beta and now when I try and load up a New file I get the error message that there is no begin document command when there clearly is in the source file- I wasted half a day trying to work out what was wrong- in fact I still don¹t know what was wrong but by removing use theme warsaw from the Latex preamble it works for some reason- secondly the installation on MacOSx does not drop the relevant files -templates etc. in the right places where the system can find them - so when I ask for a New from template I am told the file will not compile as it requires external files which are not available.etc. Etc. etc. can you understand how frustrating this is when you are under pressure??? I am not a TeX speaker but someone who needs to use the wonderful system that you have helped to create in a professional context. However. It is just a real pain that it does not work properly on a Mac largely because of install problems I believe. I fully understand your effort and all those who along with you have helped create Lyx in the form it is today thank you- but that is not the point nobody should put any software out to the public which does not work as it should my time as yours is valuable. It is simply not professional. Mark From: Jürgen Spitzmüller <sp...@lyx.org> Date: Friday, 28 March 2014 10:44 To: Murat Yildizoglu <murat.yildizo...@u-bordeaux4.fr> Cc: Mark Salmon <markhsal...@gmail.com>, Steven Fredman <stevenfred...@gmail.com>, LyX Users List <lyx-users@lists.lyx.org> Subject: Re: Adding new class into LyX 2014-03-28 11:33 GMT+01:00 Murat Yildizoglu: > Don't get vexed so quickly Jürgen :-) The users should be able to tell the > problems they meet. Sure, but in a constructive way. We cannot fix "a total waste of time" and "terrible support". > It is true that writing a module for supporting a new class file is not very > easy, but I do not know how it could be. We must find a way to tell to the > WSYWYM software a way to represent on the screen the new logical components > that are specific to this new class. Scientific Word (a commercial software > costing a LOT money- especially in France) has always been confronted to the > same problem, even if they provided a graphical style composer (it was not > very easy to use either, but I have not tested it recently, since I have > switched to Lyx). Sure. We all want some graphical tool to setup layout files. There even were attempts to do so. But then, we are about 7 persons in the core team, all of has have a job and a career, so it is a it is in OSS: Things get implemented if someone finds the time and interest. OTOH, I think LyX has a great community. Usually, if someone requests for help with setting up a layout, he gets help within the same day. I have responded the OP within minutes, even though I actually have a paper to write myself at this very moment (where the deadline has passed already). So with all respect to wishes and dreams, my understanding for such unconstructive rants is rather limited. Jürgen
Re: Adding new class into LyX
Murat Thank you for your reply. If these problems which have frustrated me and wasted my time are well known by other users and there are solutions to them as you say - then WHY have the solutions not been embedded in the latest beta? I understand software development issues and the need to update as changes are made but my comment above remains- as a simple user I need to be able to use the software- if there are well know problems in the software on particular platforms then surely the developers have a responsibility to remove them when the software is upgraded? This applies equally to open source community based as to commercial software. Mark From: Murat Yildizoglu <murat.yildizo...@u-bordeaux4.fr> Date: Friday, 28 March 2014 13:39 To: Mark Salmon <markhsal...@gmail.com> Cc: Jürgen Spitzmüller <sp...@lyx.org>, Murat Yildizoglu <murat.yildizo...@u-bordeaux4.fr>, LyX Users List <lyx-users@lists.lyx.org> Subject: Re: Adding new class into LyX Mark, I understand your frustrations, but these installation discrepancies are small problems, and they are perfectly known normally by the users (you can search the mail list, and you will find these problems there and solutions to them). So you have not been cheated by a commercial vendor hiding from you the deficiencies of the product he sells (see below on your responsibilities as a user, from my point of view as a user)... There was also a lot of discussion about the big rewriting of the BEAMER module in the previous beta version. This is a big change, but it goes in the correct direction, even if each of us had to take sometime to get used to the new standard. You should read the documentation on the new beamer module. My beamer slides from much older versions of LyX have nearly all been imported without any big problems (including elements in the preamble, but see the end of this paragraph). You sometime need to add a separation at the end of a slide, and eliminate instructions - old tricks - that are not necessary in the newer versions of beamer. In any case, this is a software developed by a community of dedicated developers with limited resources, as J ürgen reminds it in his message. And I am grateful to them that they indeed "put this software out to the public", to which I belong (I am mainly a user). Communities developing open source softs cannot just reply "take it or leave it" to users who formulate criticisms, but these users have also the responsibility of taking time to collect some information about the soft before adopting it (because adopting a new software is a time consuming process, whatever is the software - commercial like SWP or not), and of making suggestions of amelioration for the soft, when they have new needs, instead of flaming the community with their definitive improductive judgements. I hope that you will quickly solve your problems. Murat 2014-03-28 13:58 GMT+01:00 Mark Salmon <markhsal...@gmail.com>: > Aplogies for lack of immediate response - I had to teach. I have had > frustrations with Lyx ever since I moved from SciWord several years ago. > Yesterday I upgraded to the latest beta and now when I try and load up a New > file I get the error message that there is no begin document command when > there clearly is in the source file- I wasted half a day trying to work out > what was wrong- in fact I still don¹t know what was wrong but by removing use > theme warsaw from the Latex preamble it works for some reason- secondly the > installation on MacOSx does not drop the relevant files -templates etc. in > the right places where the system can find them - so when I ask for a New > from template I am told the file will not compile as it requires external > files which are not available.etc. Etc. etc. can you understand how > frustrating this is when you are under pressure??? I am not a TeX speaker but > someone who needs to use the wonderful system that you have helped to create > in a professional context. However. It is just a real pain that it does not > work properly on a Mac largely because of install problems I believe. I fully > understand your effort and all those who along with you have helped create Lyx > in the form it is today thank you- but that is not the point nobody should > put any software out to the public which does not work as it should my time > as yours is valuable. It is simply not professional. > Mark > > From: Jürgen Spitzmüller <sp...@lyx.org> > Date: Friday, 28 March 2014 10:44 > To: Murat Yildizoglu <murat.yildizo...@u-bordeaux4.fr> > Cc: Mark Salmon <markhsal...@gmail.com>, Steven Fredman > <stevenfred...@gmail.com>, LyX Users List <lyx-users@lists.lyx.org> > Subject: Re: Adding new class into LyX > > 2014-03-28 11:33 GMT+01:00 Murat Yildizoglu: >> Don't get vexed so
Re: LyX label and reference problem - Faulty pdf
Hi Scott, Thank you for the e-mail. I have received no other suggestions about this problem. Yes, of course, it could be a problem in MikTeK. Or XP. I will try to get an example next time it happens. Anyway, LyX has been a great help. Thank you! All the best, Mark On 2013-11-11 21:33, Scott Kostyshak wrote: 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: LyX label and reference problem - Faulty pdf
Hi Scott, Thank you for the e-mail. I have received no other suggestions about this problem. Yes, of course, it could be a problem in MikTeK. Or XP. I will try to get an example next time it happens. Anyway, LyX has been a great help. Thank you! All the best, Mark On 2013-11-11 21:33, Scott Kostyshak wrote: 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: LyX label and reference problem - Faulty pdf
Hi Scott, Thank you for the e-mail. I have received no other suggestions about this problem. Yes, of course, it could be a problem in MikTeK. Or XP. I will try to get an example next time it happens. Anyway, LyX has been a great help. Thank you! All the best, Mark On 2013-11-11 21:33, Scott Kostyshak wrote: 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
LyX label and reference problem - Faulty pdf
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. 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. Is there a cure for this serious malfunctioning? Mark
LyX label and reference problem - Faulty pdf
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. 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. Is there a cure for this serious malfunctioning? Mark
LyX label and reference problem - Faulty pdf
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. 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. Is there a cure for this serious malfunctioning? Mark
Re: Beginners need to tweak layout
Steve Litt slitt at troubleshooters.com writes: On Tue, 29 Oct 2013 16:43:02 + (UTC) Mark Horton mark.horton001 at yahoo.co.uk wrote: Hi I am a beginner in Lyx and understand a bit about the principles of Latex. I understand the advantages of a fixed layout and have seen some code to create a simple one. However it looks like a very steep learning curve. Hi Mark, You're exactly right. LaTeX, and therefore layouts, have a steep learning curve. I'd recommend you make your first one in the same directory as your document, but test it with a tiny test document. All I would like to do is 2 little adjustments to the standard book layout. It looks fine on A4 paper but when dropping down to A5 paper the space around the Chapter heading text is too big and the Chapter heading text is too big. I believe there are two possible routes, something about a local module to override current settings which would be best. Or if possible get the original source for the book layout and create my own local layout from it. (But I wouldn't know where to find that.. or if it is available) That's a last resort, Mark. It's best just to specify only the changes, if possible, rather than rewriting the whole environment and modifying it. Here's the idiomatic way people specify the changes: \let\oldmiscstyle=\miscstyle \let\endoldmiscstyle=\endmiscstyle \renewenvironment{miscstyle}{ %%% Stuff to do before invoking original environment \begin{oldmiscstyle} Stuff to do after invoking original, but before the text }{ Stuff to do before ending original, but after text \end{oldmiscstyle} Stuff to do after original environment ends } Mark, if you've been a software developer in the past, the line with \endoldmiscstyle probably looks like Voodoo, especially given that neither \endoldmiscstyle nor \endmiscstyle is ever mentioned again. Do it anyway: Somehow, when an environment \whatever is made, LaTeX seems to make a corresponding \endwhatever that gets executed upon \whatever's completion. I've personally had situations where this idiom didn't work unless I put in the line: \let\endoldmiscstyle=\endmiscstyle It's best not to give too much thought to such thing as it could screw up your brain --- just do it. So much for the principle. Any advice on where to find out about the practice (at beginner level) would be appreciated. I gave a beginners-eye view of making your own layout here: http://www.troubleshooters.com/lpm/200210/200210.htm#_MakingYourOwnLayout If I were you, I'd read the entire document, in order. http://www.troubleshooters.com/lpm/200210/200210.htm I'd estimate it would be about a day to assimilate all the information, and you'll get back your day after writing 200 pages of LyX-authored content, and from then on you'll benefit from the knowledge. WARNING WARNING WARNING WARNING My document was written before LyX had a great facility for placing the layout file in the local directory. Unless you have a reason to believe that you'll use the same layout for lots of books (I never have), then use current directory layouts, like this: Document-Settings-Document_class-Local_layout_button WARNING: DEFINITION ALERT LyX now has two different definitions for Local Layout. Definition 1: Document-Settings-Document_class-Local_layout_button Definition 2: Document-Settings-Local_layout Definition 1 refers to a layout file in the same directory as the document. Definition 2 refers to putting the text you would normally put in a layout file, into the document itself. I personally always do it with Definition 1 because I can use my editor of choice (which of course is Vim), and because I don't have to deal with the hassles of the Validate button. When you use a Definition 1 layout file, be sure to Tools-Reconfigure and then restart LyX after every change to the layout file. This hassle is one reason I recommend a small test document while building and fine-tuning your layout. I often put everything in a shellscript that loops. There are people on this list who know how to do a reconfigure from the command line: Ask them how to do that --- makes it easier, but be careful, you need to be in the right directory when you issue that command. Lastly, I'd like to congratulate you. There are people in this world who say Oh, LyX is trivially easy, anyone can use it!. Those people have no credibility with me, because they've obviously always used LyX defaults and have never made layout files. In making your layout file, you become a LyX journeyman, with its attendant credibility. Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance Steve Guenter Steve Thanks for your long and prompt reply. It was your document on creating a layout that I looked
Re: Beginners need to tweak layout
Steve Litt slitt at troubleshooters.com writes: On Tue, 29 Oct 2013 16:43:02 + (UTC) Mark Horton mark.horton001 at yahoo.co.uk wrote: Hi I am a beginner in Lyx and understand a bit about the principles of Latex. I understand the advantages of a fixed layout and have seen some code to create a simple one. However it looks like a very steep learning curve. Hi Mark, You're exactly right. LaTeX, and therefore layouts, have a steep learning curve. I'd recommend you make your first one in the same directory as your document, but test it with a tiny test document. All I would like to do is 2 little adjustments to the standard book layout. It looks fine on A4 paper but when dropping down to A5 paper the space around the Chapter heading text is too big and the Chapter heading text is too big. I believe there are two possible routes, something about a local module to override current settings which would be best. Or if possible get the original source for the book layout and create my own local layout from it. (But I wouldn't know where to find that.. or if it is available) That's a last resort, Mark. It's best just to specify only the changes, if possible, rather than rewriting the whole environment and modifying it. Here's the idiomatic way people specify the changes: \let\oldmiscstyle=\miscstyle \let\endoldmiscstyle=\endmiscstyle \renewenvironment{miscstyle}{ %%% Stuff to do before invoking original environment \begin{oldmiscstyle} Stuff to do after invoking original, but before the text }{ Stuff to do before ending original, but after text \end{oldmiscstyle} Stuff to do after original environment ends } Mark, if you've been a software developer in the past, the line with \endoldmiscstyle probably looks like Voodoo, especially given that neither \endoldmiscstyle nor \endmiscstyle is ever mentioned again. Do it anyway: Somehow, when an environment \whatever is made, LaTeX seems to make a corresponding \endwhatever that gets executed upon \whatever's completion. I've personally had situations where this idiom didn't work unless I put in the line: \let\endoldmiscstyle=\endmiscstyle It's best not to give too much thought to such thing as it could screw up your brain --- just do it. So much for the principle. Any advice on where to find out about the practice (at beginner level) would be appreciated. I gave a beginners-eye view of making your own layout here: http://www.troubleshooters.com/lpm/200210/200210.htm#_MakingYourOwnLayout If I were you, I'd read the entire document, in order. http://www.troubleshooters.com/lpm/200210/200210.htm I'd estimate it would be about a day to assimilate all the information, and you'll get back your day after writing 200 pages of LyX-authored content, and from then on you'll benefit from the knowledge. WARNING WARNING WARNING WARNING My document was written before LyX had a great facility for placing the layout file in the local directory. Unless you have a reason to believe that you'll use the same layout for lots of books (I never have), then use current directory layouts, like this: Document-Settings-Document_class-Local_layout_button WARNING: DEFINITION ALERT LyX now has two different definitions for Local Layout. Definition 1: Document-Settings-Document_class-Local_layout_button Definition 2: Document-Settings-Local_layout Definition 1 refers to a layout file in the same directory as the document. Definition 2 refers to putting the text you would normally put in a layout file, into the document itself. I personally always do it with Definition 1 because I can use my editor of choice (which of course is Vim), and because I don't have to deal with the hassles of the Validate button. When you use a Definition 1 layout file, be sure to Tools-Reconfigure and then restart LyX after every change to the layout file. This hassle is one reason I recommend a small test document while building and fine-tuning your layout. I often put everything in a shellscript that loops. There are people on this list who know how to do a reconfigure from the command line: Ask them how to do that --- makes it easier, but be careful, you need to be in the right directory when you issue that command. Lastly, I'd like to congratulate you. There are people in this world who say Oh, LyX is trivially easy, anyone can use it!. Those people have no credibility with me, because they've obviously always used LyX defaults and have never made layout files. In making your layout file, you become a LyX journeyman, with its attendant credibility. Thanks, SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance Steve Guenter Steve Thanks for your long and prompt reply. It was your document on creating a layout that I looked
Re: Beginners need to tweak layout
Steve Litt troubleshooters.com> writes: > > On Tue, 29 Oct 2013 16:43:02 + (UTC) > Mark Horton yahoo.co.uk> wrote: > > > Hi I am a beginner in Lyx and understand a bit about the principles > > of Latex. I understand the advantages of a "fixed" layout and have > > seen some code to create a simple one. However it looks like a very > > steep learning curve. > > Hi Mark, > > You're exactly right. LaTeX, and therefore layouts, have a steep > learning curve. I'd recommend you make your first one in the same > directory as your document, but test it with a tiny test document. > > > > > All I would like to do is 2 little adjustments to the standard "book" > > layout. It looks fine on A4 paper but when dropping down to A5 paper > > the space around the Chapter heading text is too big and the Chapter > > heading text is too big. > > > > I believe there are two possible routes, something about a "local" > > module to override current settings which would be best. Or if > > possible get the original source for the book layout and create my > > own local layout from it. (But I wouldn't know where to find that.. > > or if it is available) > > That's a last resort, Mark. It's best just to specify only the changes, > if possible, rather than rewriting the whole environment and modifying > it. > > Here's the idiomatic way people specify the changes: > > \let\oldmiscstyle=\miscstyle > \let\endoldmiscstyle=\endmiscstyle > \renewenvironment{miscstyle}{ > %%% Stuff to do before invoking original environment > \begin{oldmiscstyle} > Stuff to do after invoking original, but before the text > }{ > Stuff to do before ending original, but after text > \end{oldmiscstyle} > Stuff to do after original environment ends > } > > Mark, if you've been a software developer in the past, the line with > \endoldmiscstyle probably looks like Voodoo, especially given that > neither \endoldmiscstyle nor \endmiscstyle is ever mentioned again. Do > it anyway: Somehow, when an environment \whatever is made, LaTeX seems > to make a corresponding \endwhatever that gets executed upon > \whatever's completion. I've personally had situations where this idiom > didn't work unless I put in the line: > > \let\endoldmiscstyle=\endmiscstyle > > It's best not to give too much thought to such thing as it could screw > up your brain --- just do it. > > > > > So much for the principle. Any advice on where to find out about the > > practice (at beginner level) would be appreciated. > > I gave a beginners-eye view of making your own layout here: > > http://www.troubleshooters.com/lpm/200210/200210.htm#_MakingYourOwnLayout > > If I were you, I'd read the entire document, in order. > > http://www.troubleshooters.com/lpm/200210/200210.htm > > I'd estimate it would be about a day to assimilate all the information, > and you'll get back your day after writing 200 pages of LyX-authored > content, and from then on you'll benefit from the knowledge. > > WARNING WARNING WARNING WARNING > > My document was written before LyX had a great facility for placing the > layout file in the local directory. Unless you have a reason to believe > that you'll use the same layout for lots of books (I never have), then > use current directory layouts, like this: > > Document->Settings->Document_class->Local_layout_button > > WARNING: DEFINITION ALERT > > LyX now has two different definitions for "Local Layout". Definition 1: > Document->Settings->Document_class->Local_layout_button > > Definition 2: > Document->Settings->Local_layout > > Definition 1 refers to a layout file in the same directory as the > document. Definition 2 refers to putting the text you would normally > put in a layout file, into the document itself. > > I personally always do it with Definition 1 because I can use my editor > of choice (which of course is Vim), and because I don't have to deal > with the hassles of the Validate button. > > When you use a Definition 1 layout file, be sure to Tools->Reconfigure > and then restart LyX after every change to the layout file. This hassle > is one reason I recommend a small test document while building and > fine-tuning your layout. I often put everything in a shellscript that > loops. There are people on this list who know how to do a reconfigure > from the command line: Ask them how to do that --- makes it easier, but > be careful, you need to be in the right directory when you issue that > command. > > Lastly, I'd like to con
Beginners need to tweak layout
Hi I am a beginner in Lyx and understand a bit about the principles of Latex. I understand the advantages of a fixed layout and have seen some code to create a simple one. However it looks like a very steep learning curve. All I would like to do is 2 little adjustments to the standard book layout. It looks fine on A4 paper but when dropping down to A5 paper the space around the Chapter heading text is too big and the Chapter heading text is too big. I believe there are two possible routes, something about a local module to override current settings which would be best. Or if possible get the original source for the book layout and create my own local layout from it. (But I wouldn't know where to find that.. or if it is available) So much for the principle. Any advice on where to find out about the practice (at beginner level) would be appreciated. (needed but not urgently required) Best Regards Mark H :-)
Beginners need to tweak layout
Hi I am a beginner in Lyx and understand a bit about the principles of Latex. I understand the advantages of a fixed layout and have seen some code to create a simple one. However it looks like a very steep learning curve. All I would like to do is 2 little adjustments to the standard book layout. It looks fine on A4 paper but when dropping down to A5 paper the space around the Chapter heading text is too big and the Chapter heading text is too big. I believe there are two possible routes, something about a local module to override current settings which would be best. Or if possible get the original source for the book layout and create my own local layout from it. (But I wouldn't know where to find that.. or if it is available) So much for the principle. Any advice on where to find out about the practice (at beginner level) would be appreciated. (needed but not urgently required) Best Regards Mark H :-)
Beginners need to tweak layout
Hi I am a beginner in Lyx and understand a bit about the principles of Latex. I understand the advantages of a "fixed" layout and have seen some code to create a simple one. However it looks like a very steep learning curve. All I would like to do is 2 little adjustments to the standard "book" layout. It looks fine on A4 paper but when dropping down to A5 paper the space around the Chapter heading text is too big and the Chapter heading text is too big. I believe there are two possible routes, something about a "local" module to override current settings which would be best. Or if possible get the original source for the book layout and create my own local layout from it. (But I wouldn't know where to find that.. or if it is available) So much for the principle. Any advice on where to find out about the practice (at beginner level) would be appreciated. (needed but not urgently required) Best Regards Mark H :-)
Re: LyX XMPP-Enhanced Chat
Wow, I could see how that could be quite useful in collaborative efforts! Well done, and I hope it gets picked up! Cheers, MArkL On 21 October 2013 10:54, Tommaso Cucinotta tomm...@lyx.org wrote: Hi all, I couldn't resist the temptation in the end, and I refined a bit that patch for a LyX Chat, going forward along the QXMPP path. I just attached the new patch to the original ticket: http://www.lyx.org/trac/ticket/7964 and being XMPP-based, it also interoperates nicely with Pidgin for example, as shown in the VIDEO AT: www.youtube.com/watch?v=lQnVxbX8A3w Plus, it doesn't need any chat server from the LyX side, as the many existing XMPP ones can easily be used (as in the shown example, where I'm using jabber.org). Comments are welcome of course, as always. T.
Re: LyX XMPP-Enhanced Chat
Wow, I could see how that could be quite useful in collaborative efforts! Well done, and I hope it gets picked up! Cheers, MArkL On 21 October 2013 10:54, Tommaso Cucinotta tomm...@lyx.org wrote: Hi all, I couldn't resist the temptation in the end, and I refined a bit that patch for a LyX Chat, going forward along the QXMPP path. I just attached the new patch to the original ticket: http://www.lyx.org/trac/ticket/7964 and being XMPP-based, it also interoperates nicely with Pidgin for example, as shown in the VIDEO AT: www.youtube.com/watch?v=lQnVxbX8A3w Plus, it doesn't need any chat server from the LyX side, as the many existing XMPP ones can easily be used (as in the shown example, where I'm using jabber.org). Comments are welcome of course, as always. T.
Re: LyX XMPP-Enhanced Chat
Wow, I could see how that could be quite useful in collaborative efforts! Well done, and I hope it gets picked up! Cheers, MArkL On 21 October 2013 10:54, Tommaso Cucinottawrote: > Hi all, > > I couldn't resist the temptation in the end, and I refined a bit > that patch for a LyX Chat, going forward along the QXMPP path. > > I just attached the new patch to the original ticket: > > http://www.lyx.org/trac/ticket/7964 > > and being XMPP-based, it also interoperates nicely with Pidgin for > example, as shown in the VIDEO AT: > > www.youtube.com/watch?v=lQnVxbX8A3w > > Plus, it doesn't need any chat server from the LyX side, as the many > existing XMPP ones > can easily be used (as in the shown example, where I'm using jabber.org). > > Comments are welcome of course, as always. > > T. > >
Re: New Feature Request: Chapter Contents
Guenter Milde milde at users.sf.net writes: On 2013-10-13, Andrew Parsloe wrote: On 14/10/2013 5:35 a.m., Mark Horton wrote: Mark Horton mark.horton001 at yahoo.co.uk writes: ... However I am still getting the problem of being unable to control the depth of the initial Table of contents. This is controlled in LyX by going to Document Settings Numbering TOC and adjusting the slider. And if you open ViewSource and click whole document, you will see the correct LaTeX code inserted into the document preamble to customize the tocdepth Günter Hi All This all seems to be working now thanks to your help. :-) Andrew: The only thing not quite resolved is a new issue, that binary file. I can't seem to open or import it. So I can't even change the compression setting. Best Wishes Mark :-)
Re: New Feature Request: Chapter Contents
Guenter Milde milde at users.sf.net writes: On 2013-10-13, Andrew Parsloe wrote: On 14/10/2013 5:35 a.m., Mark Horton wrote: Mark Horton mark.horton001 at yahoo.co.uk writes: ... However I am still getting the problem of being unable to control the depth of the initial Table of contents. This is controlled in LyX by going to Document Settings Numbering TOC and adjusting the slider. And if you open ViewSource and click whole document, you will see the correct LaTeX code inserted into the document preamble to customize the tocdepth Günter Hi All This all seems to be working now thanks to your help. :-) Andrew: The only thing not quite resolved is a new issue, that binary file. I can't seem to open or import it. So I can't even change the compression setting. Best Wishes Mark :-)
Re: New Feature Request: Chapter Contents
Guenter Milde users.sf.net> writes: > > On 2013-10-13, Andrew Parsloe wrote: > > On 14/10/2013 5:35 a.m., Mark Horton wrote: > >> Mark Horton yahoo.co.uk> writes: > > ... > > >> However I am still getting the problem of being unable to control the depth > >> of the initial Table of contents. > > > This is controlled in LyX by going to Document > Settings > Numbering & > > TOC and adjusting the slider. > > And if you open View>Source and click "whole document", you will see the > correct LaTeX code inserted into the document preamble to customize the > tocdepth > > Günter > > Hi All This all seems to be working now thanks to your help. :-) Andrew: The only thing not quite resolved is a "new" issue, that binary file. I can't seem to open or import it. So I can't even change the compression setting. Best Wishes Mark :-)
Re: New Feature Request: Chapter Contents
Andrew Parsloe aparsloe at clear.net.nz writes: On 9/10/2013 11:34 a.m., Andrew Parsloe wrote: Stephano has replied, but he has not used MikTeX and doesn't use windows. Combining that with my near complete ignorance he has quite sensibly suggested I try to find out about installing packages with MikTeX. Having so far managed to produce a pretty impressive document (if only by weight) in LyX I am quite keen to keep it up and finish it in LyX if I can. Mark Have you managed to produce a pdf version of your document? If you have then you most likely already have MiKTeX installed on your system. Go to the Start button, click on All Programs and scan down the list to MiKTeX, click on that, then on Maintenance, then on Package Manager. Scan down the list of packages until you come to minitoc. If it is already installed there will be a date in the Installed on column. If not, select minitoc and click the + button, upper left of the package manager window. Assuming you are currently connected to the internet, the minitoc package will be downloaded and installed for you. I omitted one item in the recipe for using minitoc in my previous posting. The sequence is this: 1. Add \usepackage{minitoc} to your document preamble 2. Insert \dominitoc in ERT (or TeX code) *before* your document's table of contents 3. After each chapter heading insert \minitoc in ERT That's it. All the rest is tinkering or catering for special circumstances. The minitoc documentation is large, but only the first two chapters are relevant to the user. Andrew Further to the above, I've attached a summary about using minitoc with LyX -- changing various settings. I was going to put it on the wiki, but it's not clear to me exactly where to put it. Andrew Attachment (minitoc.lyx): application/x-lyx, 13 KiB Hi Andrew Thanks for that, I have a bit of your solution working... Firstly your attached file is Binary, and I don't know what to do with it, it may lead to the info I need. If it is a link to the minitoc user manual I have it. Next I tried to edit the latex “source”, as described. Because that doesn’t seem to be possible in Lyx I used TexWorks, as found in the MiTeX2.9 directory. However this meant exporting from Lyx to latex plain format. After doing the edits and re-importing back into Lyx I found that firstly the links to graphics were broken. The loss of graphics is not a major problem because there are only 9 graphics in the whole document. More of a problem (I think) is that I cannot view what I have done so far, (I have not used any option settings just put code in as suggested.) because lots of errors come up. For the graphics there are… LaTeX Error: Cannot determine size of graphic in C:/stringC:/Users/Mark/Download For the command lines you said to insert there are… Undefined control sequence. Nevertheless I have continued to work in TeXworks to see how far I can get. With the Tables of Contents and have got quite far… The new mini TOC’s seem to be behaving ok, and respond to depth changes, but the initial Table of Contents still lists everything. I have tried a number of things including… \setcounter{minitocdepth}{1} \dominitoc \tableofcontents Or … \mtcsetdepth{minitoc}{1} \dominitoc \tableofcontents But whatever figure I put in, the initial TOC depth remains unchanged, listing everything. I am probably missing something obvious, or it will be when pointed out :-) Best Regards Mark :-)
Re: New Feature Request: Chapter Contents
Mark Horton mark.horton001 at yahoo.co.uk writes: Nevertheless I have continued to work in TeXworks to see how far I can get. With the Tables of Contents and have got quite far… The new mini TOC’s seem to be behaving ok, and respond to depth changes, but the initial Table of Contents still lists everything. I have tried a number of things including… \setcounter{minitocdepth}{1} \dominitoc \tableofcontents Or … \mtcsetdepth{minitoc}{1} \dominitoc \tableofcontents But whatever figure I put in, the initial TOC depth remains unchanged, listing everything. I am probably missing something obvious, or it will be when pointed out Best Regards Mark An update... I have now inserted the commands into a Lyx document using the Lyx environment. However I am still getting the problem of being unable to control the depth of the initial Table of contents.
Re: New Feature Request: Chapter Contents
Andrew Parsloe aparsloe at clear.net.nz writes: On 9/10/2013 11:34 a.m., Andrew Parsloe wrote: Stephano has replied, but he has not used MikTeX and doesn't use windows. Combining that with my near complete ignorance he has quite sensibly suggested I try to find out about installing packages with MikTeX. Having so far managed to produce a pretty impressive document (if only by weight) in LyX I am quite keen to keep it up and finish it in LyX if I can. Mark Have you managed to produce a pdf version of your document? If you have then you most likely already have MiKTeX installed on your system. Go to the Start button, click on All Programs and scan down the list to MiKTeX, click on that, then on Maintenance, then on Package Manager. Scan down the list of packages until you come to minitoc. If it is already installed there will be a date in the Installed on column. If not, select minitoc and click the + button, upper left of the package manager window. Assuming you are currently connected to the internet, the minitoc package will be downloaded and installed for you. I omitted one item in the recipe for using minitoc in my previous posting. The sequence is this: 1. Add \usepackage{minitoc} to your document preamble 2. Insert \dominitoc in ERT (or TeX code) *before* your document's table of contents 3. After each chapter heading insert \minitoc in ERT That's it. All the rest is tinkering or catering for special circumstances. The minitoc documentation is large, but only the first two chapters are relevant to the user. Andrew Further to the above, I've attached a summary about using minitoc with LyX -- changing various settings. I was going to put it on the wiki, but it's not clear to me exactly where to put it. Andrew Attachment (minitoc.lyx): application/x-lyx, 13 KiB Hi Andrew Thanks for that, I have a bit of your solution working... Firstly your attached file is Binary, and I don't know what to do with it, it may lead to the info I need. If it is a link to the minitoc user manual I have it. Next I tried to edit the latex “source”, as described. Because that doesn’t seem to be possible in Lyx I used TexWorks, as found in the MiTeX2.9 directory. However this meant exporting from Lyx to latex plain format. After doing the edits and re-importing back into Lyx I found that firstly the links to graphics were broken. The loss of graphics is not a major problem because there are only 9 graphics in the whole document. More of a problem (I think) is that I cannot view what I have done so far, (I have not used any option settings just put code in as suggested.) because lots of errors come up. For the graphics there are… LaTeX Error: Cannot determine size of graphic in C:/stringC:/Users/Mark/Download For the command lines you said to insert there are… Undefined control sequence. Nevertheless I have continued to work in TeXworks to see how far I can get. With the Tables of Contents and have got quite far… The new mini TOC’s seem to be behaving ok, and respond to depth changes, but the initial Table of Contents still lists everything. I have tried a number of things including… \setcounter{minitocdepth}{1} \dominitoc \tableofcontents Or … \mtcsetdepth{minitoc}{1} \dominitoc \tableofcontents But whatever figure I put in, the initial TOC depth remains unchanged, listing everything. I am probably missing something obvious, or it will be when pointed out :-) Best Regards Mark :-)
Re: New Feature Request: Chapter Contents
Mark Horton mark.horton001 at yahoo.co.uk writes: Nevertheless I have continued to work in TeXworks to see how far I can get. With the Tables of Contents and have got quite far… The new mini TOC’s seem to be behaving ok, and respond to depth changes, but the initial Table of Contents still lists everything. I have tried a number of things including… \setcounter{minitocdepth}{1} \dominitoc \tableofcontents Or … \mtcsetdepth{minitoc}{1} \dominitoc \tableofcontents But whatever figure I put in, the initial TOC depth remains unchanged, listing everything. I am probably missing something obvious, or it will be when pointed out Best Regards Mark An update... I have now inserted the commands into a Lyx document using the Lyx environment. However I am still getting the problem of being unable to control the depth of the initial Table of contents.
Re: New Feature Request: Chapter Contents
Andrew Parsloe clear.net.nz> writes: > > > On 9/10/2013 11:34 a.m., Andrew Parsloe wrote: > > > >> Stephano has replied, but he has not used MikTeX and doesn't use windows. > >> Combining that with my near complete ignorance he has quite sensibly > >> suggested I try to find out about installing packages with MikTeX. > >> > >> Having so far managed to produce a pretty impressive document (if only by > >> weight) in LyX I am quite keen to keep it up and finish it in LyX if I > >> can. > >> > >> > >> Mark > >> > > > > Have you managed to produce a pdf version of your document? If you have > > then you most likely already have MiKTeX installed on your system. Go to > > the Start button, click on All Programs and scan down the list to > > MiKTeX, click on that, then on Maintenance, then on Package Manager. > > Scan down the list of packages until you come to minitoc. If it is > > already installed there will be a date in the "Installed on" column. If > > not, select minitoc and click the + button, upper left of the package > > manager window. Assuming you are currently connected to the internet, > > the minitoc package will be downloaded and installed for you. > > > > I omitted one item in the recipe for using minitoc in my previous > > posting. The sequence is this: > > > > 1. Add \usepackage{minitoc} to your document preamble > > > > 2. Insert \dominitoc in ERT (or TeX code) *before* your document's table > > of contents > > > > 3. After each chapter heading insert \minitoc in ERT > > > > That's it. All the rest is tinkering or catering for special > > circumstances. The minitoc documentation is large, but only the first > > two chapters are relevant to the user. > > > > Andrew > > > > Further to the above, I've attached a summary about using minitoc with > LyX -- changing various settings. I was going to put it on the wiki, but > it's not clear to me exactly where to put it. > > Andrew > > Attachment (minitoc.lyx): application/x-lyx, 13 KiB Hi Andrew Thanks for that, I have a bit of your solution working... Firstly your attached file is Binary, and I don't know what to do with it, it may lead to the info I need. If it is a link to the minitoc user manual I have it. Next I tried to edit the latex “source”, as described. Because that doesn’t seem to be possible in Lyx I used TexWorks, as found in the MiTeX2.9 directory. However this meant exporting from Lyx to latex plain format. After doing the edits and re-importing back into Lyx I found that firstly the links to graphics were broken. The loss of graphics is not a major problem because there are only 9 graphics in the whole document. More of a problem (I think) is that I cannot view what I have done so far, (I have not used any option settings just put code in as suggested.) because lots of errors come up. For the graphics there are… LaTeX Error: Cannot determine size of graphic in C:/string"C:/Users/Mark/Download For the command lines you said to insert there are… Undefined control sequence. Nevertheless I have continued to work in TeXworks to see how far I can get. With the Tables of Contents and have got quite far… The new mini TOC’s seem to be behaving ok, and respond to depth changes, but the initial Table of Contents still lists everything. I have tried a number of things including… \setcounter{minitocdepth}{1} \dominitoc \tableofcontents Or … \mtcsetdepth{minitoc}{1} \dominitoc \tableofcontents But whatever figure I put in, the initial TOC depth remains unchanged, listing everything. I am probably missing something obvious, or it will be when pointed out :-) Best Regards Mark :-)
Re: New Feature Request: Chapter Contents
Mark Horton yahoo.co.uk> writes: > Nevertheless I have continued to work in TeXworks to see how far I can get. > With the Tables of Contents and have got quite far… > The new mini TOC’s seem to be behaving ok, and respond to depth changes, > but the initial Table of Contents still lists everything. I have tried a > number of things including… > \setcounter{minitocdepth}{1} > \dominitoc > \tableofcontents > > Or … > > \mtcsetdepth{minitoc}{1} > \dominitoc > \tableofcontents > > But whatever figure I put in, the initial TOC depth remains unchanged, > listing everything. > I am probably missing something obvious, or it will be when pointed out > > Best Regards > Mark > > An update... I have now inserted the commands into a Lyx document using the Lyx environment. However I am still getting the problem of being unable to control the depth of the initial Table of contents.
Re: New Feature Request: Chapter Contents
stefano franchi stefano.franchi at gmail.com writes: On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at yahoo.co.uk wrote:I found the package to do the job called Minitoc. Unfortunately being anignorant beginner in this field I don't know how to Install it and make it work from Latex. Mark, installation of a Latex package is usually done, nowadays, by invoking the TeX package manager used by your TeX distribution. But there are several of those, and we can't help you further unless you tell us more about your system. Which platform are you on? Linux, Mac, Windows? How did you install (La)TeX? Detailed instructions on how to install the minitoc package depends on the answers to those questions.Cheers,Stefano -- __Stefano FranchiAssociate Research ProfessorDepartment of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845- 6421College Station, Texas, USAstefano at tamu.eduhttp://stefano.cleinias.org Wow Thanks Stephano, this is a very helpful group. I am Using Windows 7 Home Premium and Lyx ver 2.06 I have downloaded an upgrade and don't remember exactly how I did the original. I do remember it was very simple. I downloaded the Lyx file and then ran the Lyx installer application, choosing whatever defaults were offered. I don't recall installing La(Tex) in a separate process. Regards Mark :-)
Re: New Feature Request: Chapter Contents
Mark Horton mark.horton001 at yahoo.co.uk writes: stefano franchi stefano.franchi at gmail.com writes: On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at yahoo.co.uk wrote:I found the package to do the job called Minitoc. Unfortunately being anignorant beginner in this field I don't know how to Install it and make it work from Latex. Mark, installation of a Latex package is usually done, nowadays, by invoking the TeX package manager used by your TeX distribution. But there are several of those, and we can't help you further unless you tell us more about your system. Which platform are you on? Linux, Mac, Windows? How did you install (La)TeX? Detailed instructions on how to install the minitoc package depends on the answers to those questions.Cheers,Stefano -- __Stefano FranchiAssociate Research ProfessorDepartment of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845- 6421College Station, Texas, USAstefano at tamu.eduhttp://stefano.cleinias.org Wow Thanks Stephano, this is a very helpful group. I am Using Windows 7 Home Premium and Lyx ver 2.06 I have downloaded an upgrade and don't remember exactly how I did the original. I do remember it was very simple. I downloaded the Lyx file and then ran the Lyx installer application, choosing whatever defaults were offered. I don't recall installing La(Tex) in a separate process. Regards Mark Stephano has replied, but he has not used MikTeX and doesn't use windows. Combining that with my near complete ignorance he has quite sensibly suggested I try to find out about installing packages with MikTeX. Having so far managed to produce a pretty impressive document (if only by weight) in LyX I am quite keen to keep it up and finish it in LyX if I can. Mark
Re: New Feature Request: Chapter Contents
stefano franchi stefano.franchi at gmail.com writes: On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at yahoo.co.uk wrote:I found the package to do the job called Minitoc. Unfortunately being anignorant beginner in this field I don't know how to Install it and make it work from Latex. Mark, installation of a Latex package is usually done, nowadays, by invoking the TeX package manager used by your TeX distribution. But there are several of those, and we can't help you further unless you tell us more about your system. Which platform are you on? Linux, Mac, Windows? How did you install (La)TeX? Detailed instructions on how to install the minitoc package depends on the answers to those questions.Cheers,Stefano -- __Stefano FranchiAssociate Research ProfessorDepartment of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845- 6421College Station, Texas, USAstefano at tamu.eduhttp://stefano.cleinias.org Wow Thanks Stephano, this is a very helpful group. I am Using Windows 7 Home Premium and Lyx ver 2.06 I have downloaded an upgrade and don't remember exactly how I did the original. I do remember it was very simple. I downloaded the Lyx file and then ran the Lyx installer application, choosing whatever defaults were offered. I don't recall installing La(Tex) in a separate process. Regards Mark :-)
Re: New Feature Request: Chapter Contents
Mark Horton mark.horton001 at yahoo.co.uk writes: stefano franchi stefano.franchi at gmail.com writes: On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton mark.horton001 at yahoo.co.uk wrote:I found the package to do the job called Minitoc. Unfortunately being anignorant beginner in this field I don't know how to Install it and make it work from Latex. Mark, installation of a Latex package is usually done, nowadays, by invoking the TeX package manager used by your TeX distribution. But there are several of those, and we can't help you further unless you tell us more about your system. Which platform are you on? Linux, Mac, Windows? How did you install (La)TeX? Detailed instructions on how to install the minitoc package depends on the answers to those questions.Cheers,Stefano -- __Stefano FranchiAssociate Research ProfessorDepartment of Hispanic Studies Ph: +1 (979) 845-2125 Texas AM University Fax: +1 (979) 845- 6421College Station, Texas, USAstefano at tamu.eduhttp://stefano.cleinias.org Wow Thanks Stephano, this is a very helpful group. I am Using Windows 7 Home Premium and Lyx ver 2.06 I have downloaded an upgrade and don't remember exactly how I did the original. I do remember it was very simple. I downloaded the Lyx file and then ran the Lyx installer application, choosing whatever defaults were offered. I don't recall installing La(Tex) in a separate process. Regards Mark Stephano has replied, but he has not used MikTeX and doesn't use windows. Combining that with my near complete ignorance he has quite sensibly suggested I try to find out about installing packages with MikTeX. Having so far managed to produce a pretty impressive document (if only by weight) in LyX I am quite keen to keep it up and finish it in LyX if I can. Mark
Re: New Feature Request: Chapter Contents
stefano franchi gmail.com> writes: > > > > On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton yahoo.co.uk> wrote:I found the "package" to do the job called Minitoc. Unfortunately being anignorant beginner in this field I don't know how to "Install it " and make > it work from Latex. > > > > Mark, > > installation of a Latex package is usually done, nowadays, by invoking the TeX package manager used by your TeX distribution. But there are several of those, and we can't help you further unless you tell us more about your system. Which platform are you on? Linux, Mac, Windows? How did you install (La)TeX? Detailed instructions on how to install the minitoc package depends on the answers to those questions.Cheers,Stefano > > > > > -- __Stefano FranchiAssociate Research ProfessorDepartment of Hispanic Studies Ph: +1 (979) 845-2125 > Texas A University Fax: +1 (979) 845- 6421College Station, Texas, USAstefano tamu.eduhttp://stefano.cleinias.org > > Wow Thanks Stephano, this is a very helpful group. I am Using Windows 7 Home Premium and Lyx ver 2.06 I have downloaded an upgrade and don't remember exactly how I did the original. I do remember it was very simple. I downloaded the Lyx file and then ran the Lyx installer application, choosing whatever defaults were offered. I don't recall installing La(Tex) in a separate process. Regards Mark :-)
Re: New Feature Request: Chapter Contents
Mark Horton yahoo.co.uk> writes: > > stefano franchi gmail.com> writes: > > > > > > > > > On Mon, Oct 7, 2013 at 5:17 PM, Mark Horton > yahoo.co.uk> wrote:I found the "package" to do the job called Minitoc. > Unfortunately being anignorant beginner in this field I don't know how to > "Install it " and make > > it work from Latex. > > > > > > > > Mark, > > > > installation of a Latex package is usually done, nowadays, by invoking the > TeX package manager used by your TeX distribution. But there are several of > those, and we can't help you further unless you tell us more about your > system. Which platform are you on? Linux, Mac, Windows? How did you install > (La)TeX? Detailed instructions on how to install the minitoc package depends > on the answers to those questions.Cheers,Stefano > > > > > > > > > > -- __Stefano > FranchiAssociate Research ProfessorDepartment of Hispanic Studies > Ph: +1 (979) 845-2125 > > Texas A University Fax: +1 (979) 845- > 6421College Station, Texas, USAstefano > tamu.eduhttp://stefano.cleinias.org > > > > > Wow Thanks Stephano, this is a very helpful group. > > I am Using Windows 7 Home Premium and Lyx ver 2.06 > I have downloaded an upgrade and don't remember exactly how I did the > original. > I do remember it was very simple. I downloaded the Lyx file and then ran the > Lyx installer application, choosing whatever defaults were offered. > I don't recall installing La(Tex) in a separate process. > > Regards > > Mark > > Stephano has replied, but he has not used MikTeX and doesn't use windows. Combining that with my near complete ignorance he has quite sensibly suggested I try to find out about installing packages with MikTeX. Having so far managed to produce a pretty impressive document (if only by weight) in LyX I am quite keen to keep it up and finish it in LyX if I can. Mark
Re: New Feature Request: Chapter Contents
Guenter Milde milde at users.sf.net writes: On 2013-10-06, Andrew Parsloe wrote: On 7/10/2013 4:49 a.m., Richard Heck wrote: On 10/06/2013 07:33 AM, Mark Horton wrote: Hi Developers It would make navigation a lot easier for large documents if we had the the ability to generate a contents of Chapters at the start. Plus a more detailed contents page at the start of each Chapter. ... I've used the LaTeX minitoc package successfully with LyX for a large book (600 pages). It creates a table of contents for each chapter, inserted at the start of the chapter. I restricted the main TOC at the start of the book to section level, but each chapter TOC was to subsubsection level. Each chapter has \minitoc in ERT after the chapter heading, but that's all, so ERT use is minimal. The preamble to the master document (each chapter is a child document has nothing in the preamble) has \usepackage[tight]{minitoc} \setcounter{minitocdepth}{3} \setlength{\mtcindent}{24pt} \renewcommand{\mtcfont}{\small\rm} \renewcommand{\mtcSfont}{\small\bf} \renewcommand{\mtcSSSfont}{\footnotesize\it} \renewcommand{\mtctitle}{} which shows the kind of tailoring to individual whims that is possible. It should be fairly easy to create a LyX module to support the minitoc package. Günter Hi Richard Andrew and Günter Thanks for your replies. I found the package to do the job called Minitoc. Unfortunately being an ignorant beginner in this field I don't know how to Install it and make it work from Latex. It appears to have no windows type executable or install files in the set I have downloaded. Though I guess some of them may be some sort of macro runable in Latex based software. The installation instructions suggest were some files should go, but I haven't found were all of them should go yet. Even if they were all located it gives no indication as to what to do next. Is there somewhere on the LyX site which gives some general guide to the principles of installing such packages to use from Lyx? Or am I thinking nonsense that won't happen for reasons I don't understand? Is the long learning curve of Latex the only way forwards for me? Best Regards Mark :-)
Re: New Feature Request: Chapter Contents
Guenter Milde milde at users.sf.net writes: On 2013-10-06, Andrew Parsloe wrote: On 7/10/2013 4:49 a.m., Richard Heck wrote: On 10/06/2013 07:33 AM, Mark Horton wrote: Hi Developers It would make navigation a lot easier for large documents if we had the the ability to generate a contents of Chapters at the start. Plus a more detailed contents page at the start of each Chapter. ... I've used the LaTeX minitoc package successfully with LyX for a large book (600 pages). It creates a table of contents for each chapter, inserted at the start of the chapter. I restricted the main TOC at the start of the book to section level, but each chapter TOC was to subsubsection level. Each chapter has \minitoc in ERT after the chapter heading, but that's all, so ERT use is minimal. The preamble to the master document (each chapter is a child document has nothing in the preamble) has \usepackage[tight]{minitoc} \setcounter{minitocdepth}{3} \setlength{\mtcindent}{24pt} \renewcommand{\mtcfont}{\small\rm} \renewcommand{\mtcSfont}{\small\bf} \renewcommand{\mtcSSSfont}{\footnotesize\it} \renewcommand{\mtctitle}{} which shows the kind of tailoring to individual whims that is possible. It should be fairly easy to create a LyX module to support the minitoc package. Günter Hi Richard Andrew and Günter Thanks for your replies. I found the package to do the job called Minitoc. Unfortunately being an ignorant beginner in this field I don't know how to Install it and make it work from Latex. It appears to have no windows type executable or install files in the set I have downloaded. Though I guess some of them may be some sort of macro runable in Latex based software. The installation instructions suggest were some files should go, but I haven't found were all of them should go yet. Even if they were all located it gives no indication as to what to do next. Is there somewhere on the LyX site which gives some general guide to the principles of installing such packages to use from Lyx? Or am I thinking nonsense that won't happen for reasons I don't understand? Is the long learning curve of Latex the only way forwards for me? Best Regards Mark :-)
Re: New Feature Request: Chapter Contents
Guenter Milde users.sf.net> writes: > > On 2013-10-06, Andrew Parsloe wrote: > > On 7/10/2013 4:49 a.m., Richard Heck wrote: > >> On 10/06/2013 07:33 AM, Mark Horton wrote: > >>> Hi Developers > > >>> It would make navigation a lot easier for large documents if we had the > >>> the ability to generate a contents of Chapters at the start. > > >>> Plus a more detailed contents page at the start of each Chapter. > > ... > > > I've used the LaTeX minitoc package successfully with LyX for a large > > book (600 pages). It creates a table of contents for each chapter, > > inserted at the start of the chapter. I restricted the main TOC at the > > start of the book to section level, but each chapter TOC was to > > subsubsection level. Each chapter has \minitoc in ERT after the chapter > > heading, but that's all, so ERT use is minimal. The preamble to the > > master document (each chapter is a child document & has nothing in the > > preamble) has > > > \usepackage[tight]{minitoc} > > \setcounter{minitocdepth}{3} > > \setlength{\mtcindent}{24pt} > > \renewcommand{\mtcfont}{\small\rm} > > \renewcommand{\mtcSfont}{\small\bf} > > \renewcommand{\mtcSSSfont}{\footnotesize\it} > > \renewcommand{\mtctitle}{} > > > which shows the kind of tailoring to individual whims that is possible. > > It should be fairly easy to create a LyX module to support the minitoc > package. > > Günter > > Hi Richard Andrew and Günter Thanks for your replies. I found the "package" to do the job called Minitoc. Unfortunately being an ignorant beginner in this field I don't know how to "Install it " and make it work from Latex. It appears to have no windows type executable or install files in the set I have downloaded. Though I guess some of them may be some sort of macro runable in Latex based software. The installation "instructions" suggest were some files should go, but I haven't found were all of them should go yet. Even if they were all located it gives no indication as to what to do next. Is there somewhere on the LyX site which gives some general guide to the principles of installing such packages to use from Lyx? Or am I thinking nonsense that won't happen for reasons I don't understand? Is the long learning curve of Latex the only way forwards for me? Best Regards Mark :-)
New Feature Request: Chapter Contents
Hi Developers It would make navigation a lot easier for large documents if we had the the ability to generate a contents of Chapters at the start. Plus a more detailed contents page at the start of each Chapter. Best Regards Mark Horton
New Feature Request: Chapter Contents
Hi Developers It would make navigation a lot easier for large documents if we had the the ability to generate a contents of Chapters at the start. Plus a more detailed contents page at the start of each Chapter. Best Regards Mark Horton
New Feature Request: Chapter Contents
Hi Developers It would make navigation a lot easier for large documents if we had the the ability to generate a contents of Chapters at the start. Plus a more detailed contents page at the start of each Chapter. Best Regards Mark Horton
Lost labels
I have been using LyX with no problems for years, but now suddenly . . . A paper is already 40 pages long, and has about 90 labels, with many cross-references. Just today, when I look at a PDF output, the cross-references are gone, only ?? shows in the PDF, for each cross-reference. This is about internal cross-references, not bibliographic references. All the labels and cross-references do show up okay in the paper and in the left window. Any suggestions? Mark Mandelkern
Lost labels
I have been using LyX with no problems for years, but now suddenly . . . A paper is already 40 pages long, and has about 90 labels, with many cross-references. Just today, when I look at a PDF output, the cross-references are gone, only ?? shows in the PDF, for each cross-reference. This is about internal cross-references, not bibliographic references. All the labels and cross-references do show up okay in the paper and in the left window. Any suggestions? Mark Mandelkern
Lost labels
I have been using LyX with no problems for years, but now suddenly . . . A paper is already 40 pages long, and has about 90 labels, with many cross-references. Just today, when I look at a PDF output, the cross-references are gone, only ?? shows in the PDF, for each cross-reference. This is about internal cross-references, not bibliographic references. All the labels and cross-references do show up okay in the paper and in the left window. Any suggestions? Mark Mandelkern
Keyboard shortcut preferences file location
I have Windows 7 and LyX 2.0.5.1 on this machine. When I go to ToolsPreferencesEditingShortcuts, it says cua at the top, and I can see a lot of edits which have not gone away when updating LyX. I would now like to move those to another Windows 7 machine, but I don't know where my changes have been stored. They don't seem to have modified ...\Lyx 2.0\Resources\bind\cua.bind. Any help locating a file I can copy/rename to get the same shortcuts on another computer would be greatly appreciated. -Mark Spindler
Keyboard shortcut preferences file location
I have Windows 7 and LyX 2.0.5.1 on this machine. When I go to ToolsPreferencesEditingShortcuts, it says cua at the top, and I can see a lot of edits which have not gone away when updating LyX. I would now like to move those to another Windows 7 machine, but I don't know where my changes have been stored. They don't seem to have modified ...\Lyx 2.0\Resources\bind\cua.bind. Any help locating a file I can copy/rename to get the same shortcuts on another computer would be greatly appreciated. -Mark Spindler
Keyboard shortcut preferences file location
I have Windows 7 and LyX 2.0.5.1 on this machine. When I go to Tools>Preferences>Editing>Shortcuts, it says "cua" at the top, and I can see a lot of edits which have not gone away when updating LyX. I would now like to move those to another Windows 7 machine, but I don't know where my changes have been stored. They don't seem to have modified ...\Lyx 2.0\Resources\bind\cua.bind. Any help locating a file I can copy/rename to get the same shortcuts on another computer would be greatly appreciated. -Mark Spindler
Working with Lyx and Sweave; pasting R-code from Emacs into Lyx seems awkward. Any suggestions?
Hi, I use Lyx for writing reports on data analysis. To incorporate results from those analysis, I use Sweave within Lyx. This is all nicely integrated in the recent versions of Lyx. There is one major inconvenience remaining for me, however, and that is described here. I usually develop my R-code in Emacs (ESS-mode). This permits me to refine my tables and graphs before I incorporate them into Lyx. This is much faster as it interactive and avoids the time to run LaTeX (or export the R, etc etc). Then I write the text part of my report, and, in the Lyx scrap, I paste the required chunks of R-code. Nice and simple (thank you!). The problem is that when I paste the R-code from Emacs to the Lyx scrap, the End-Of-Line character gets converted into something else (a BLANK or some other white space, I guess), which is not acceptable to the R-parser when Sweave runs. This means that every paste operation is followed by many edit operations to convert the blanks back into new-lines. Is is possible to prevent this mangling of the paste? Or could there be a right-click option to paste-retaining-newlines or something such item? Or is this a user-error and there is a better way to perform the actions I am describing (A wild example that I have not tried: in a blank Lyx window, import the Emacs file, then cut-and-paste from one Lyx buffer to another). System: Linux (Kubuntu 8.04) Lyx: 2.0.5.1, built from source. Cut-and-paste: Standard Linux/X11, selecting with left-mouse button and pasting with center mouse button. Regards, Mark -- Mark Dalphin Ph.D. Director of Bioinformatics mark.dalp...@pacificedge.co.nz mailto:mark.dalp...@pacificedge.co.nz *Ph:* +64-3-479-5805 *Cell:* +64-21-156-7625 *Skype:* mark.dalphin.pel http://www.facebook.com/pages/Pacific-Edge/111356775582456 http://twitter.com/#%21/pacificEdgeLtd http://www.youtube.com/PacificEdgeLtd 87 St David St, PO Box 56, Dunedin, New Zealand 9016www.pacificedge.co.nz attachment: mark_dalphin.vcf
Re: Working with Lyx and Sweave; pasting R-code from Emacs into Lyx seems awkward. Any suggestions?
Thanks to both Scott Kostyshak and Yihui Xie (I appreciate Yihui not reminding me that he has already suggested I switch to knitr). I mis-wrote when I said scrap in my text; it is indeed the chunk into which I paste my text from Emacs. When I use ctrl-shift-v into a chunk that I have pre-filled with echo=FALSE,fig=TRUE=\n (where \n means I am on the next line, not the literal characters), the first line adds correctly, then there is a blank line and change of paragraph type into Standard, with the remaining lines in that standard paragraph. If I change my work order and paste-special into a Standard paragraph, it looks alright, but then selection of those lines and conversion to a Chunk paragraph yields a similar output: one good, chunk line, a blank line plus several lines in the following Standard paragraph. Trying Yihui's ERT format seemed to paste correctly, however, I am left wondering then in what kind of paragraph should the ERT exist. Just as a stand-alone Standard paragraph? I can live with that if it leads to clean processing of my report. Does anyone have any comments on possible side-effects of using the ERT to contain the Sweave material? Cheers, Mark Scott Kostyshak wrote: On Sun, Apr 14, 2013 at 7:06 PM, Mark Dalphin mark.dalp...@pacificedge.co.nz wrote: I usually develop my R-code in Emacs (ESS-mode). This permits me to refine my tables and graphs before I incorporate them into Lyx. This is much faster as it interactive and avoids the time to run LaTeX (or export the R, etc etc). Then I write the text part of my report, and, in the Lyx scrap, I paste the required chunks of R-code. Nice and simple (thank you!). The problem is that when I paste the R-code from Emacs to the Lyx scrap, the End-Of-Line character gets converted into something else (a BLANK or some other white space, I guess), which is not acceptable to the R-parser when Sweave runs. This means that every paste operation is followed by many edit operations to convert the blanks back into new-lines. Is is possible to prevent this mangling of the paste? Hi Mark, Does ctrl+shift+v work for you? Or, Edit Paste Special Plain Text ? Best, Scott -- Mark Dalphin Ph.D. Director of Bioinformatics mark.dalp...@pacificedge.co.nz mailto:mark.dalp...@pacificedge.co.nz *Ph:* +64-3-479-5805 *Cell:* +64-21-156-7625 *Skype:* mark.dalphin.pel http://www.facebook.com/pages/Pacific-Edge/111356775582456 http://twitter.com/#%21/pacificEdgeLtd http://www.youtube.com/PacificEdgeLtd 87 St David St, PO Box 56, Dunedin, New Zealand 9016www.pacificedge.co.nz attachment: mark_dalphin.vcf
Working with Lyx and Sweave; pasting R-code from Emacs into Lyx seems awkward. Any suggestions?
Hi, I use Lyx for writing reports on data analysis. To incorporate results from those analysis, I use Sweave within Lyx. This is all nicely integrated in the recent versions of Lyx. There is one major inconvenience remaining for me, however, and that is described here. I usually develop my R-code in Emacs (ESS-mode). This permits me to refine my tables and graphs before I incorporate them into Lyx. This is much faster as it interactive and avoids the time to run LaTeX (or export the R, etc etc). Then I write the text part of my report, and, in the Lyx scrap, I paste the required chunks of R-code. Nice and simple (thank you!). The problem is that when I paste the R-code from Emacs to the Lyx scrap, the End-Of-Line character gets converted into something else (a BLANK or some other white space, I guess), which is not acceptable to the R-parser when Sweave runs. This means that every paste operation is followed by many edit operations to convert the blanks back into new-lines. Is is possible to prevent this mangling of the paste? Or could there be a right-click option to paste-retaining-newlines or something such item? Or is this a user-error and there is a better way to perform the actions I am describing (A wild example that I have not tried: in a blank Lyx window, import the Emacs file, then cut-and-paste from one Lyx buffer to another). System: Linux (Kubuntu 8.04) Lyx: 2.0.5.1, built from source. Cut-and-paste: Standard Linux/X11, selecting with left-mouse button and pasting with center mouse button. Regards, Mark -- Mark Dalphin Ph.D. Director of Bioinformatics mark.dalp...@pacificedge.co.nz mailto:mark.dalp...@pacificedge.co.nz *Ph:* +64-3-479-5805 *Cell:* +64-21-156-7625 *Skype:* mark.dalphin.pel http://www.facebook.com/pages/Pacific-Edge/111356775582456 http://twitter.com/#%21/pacificEdgeLtd http://www.youtube.com/PacificEdgeLtd 87 St David St, PO Box 56, Dunedin, New Zealand 9016www.pacificedge.co.nz attachment: mark_dalphin.vcf
Re: Working with Lyx and Sweave; pasting R-code from Emacs into Lyx seems awkward. Any suggestions?
Thanks to both Scott Kostyshak and Yihui Xie (I appreciate Yihui not reminding me that he has already suggested I switch to knitr). I mis-wrote when I said scrap in my text; it is indeed the chunk into which I paste my text from Emacs. When I use ctrl-shift-v into a chunk that I have pre-filled with echo=FALSE,fig=TRUE=\n (where \n means I am on the next line, not the literal characters), the first line adds correctly, then there is a blank line and change of paragraph type into Standard, with the remaining lines in that standard paragraph. If I change my work order and paste-special into a Standard paragraph, it looks alright, but then selection of those lines and conversion to a Chunk paragraph yields a similar output: one good, chunk line, a blank line plus several lines in the following Standard paragraph. Trying Yihui's ERT format seemed to paste correctly, however, I am left wondering then in what kind of paragraph should the ERT exist. Just as a stand-alone Standard paragraph? I can live with that if it leads to clean processing of my report. Does anyone have any comments on possible side-effects of using the ERT to contain the Sweave material? Cheers, Mark Scott Kostyshak wrote: On Sun, Apr 14, 2013 at 7:06 PM, Mark Dalphin mark.dalp...@pacificedge.co.nz wrote: I usually develop my R-code in Emacs (ESS-mode). This permits me to refine my tables and graphs before I incorporate them into Lyx. This is much faster as it interactive and avoids the time to run LaTeX (or export the R, etc etc). Then I write the text part of my report, and, in the Lyx scrap, I paste the required chunks of R-code. Nice and simple (thank you!). The problem is that when I paste the R-code from Emacs to the Lyx scrap, the End-Of-Line character gets converted into something else (a BLANK or some other white space, I guess), which is not acceptable to the R-parser when Sweave runs. This means that every paste operation is followed by many edit operations to convert the blanks back into new-lines. Is is possible to prevent this mangling of the paste? Hi Mark, Does ctrl+shift+v work for you? Or, Edit Paste Special Plain Text ? Best, Scott -- Mark Dalphin Ph.D. Director of Bioinformatics mark.dalp...@pacificedge.co.nz mailto:mark.dalp...@pacificedge.co.nz *Ph:* +64-3-479-5805 *Cell:* +64-21-156-7625 *Skype:* mark.dalphin.pel http://www.facebook.com/pages/Pacific-Edge/111356775582456 http://twitter.com/#%21/pacificEdgeLtd http://www.youtube.com/PacificEdgeLtd 87 St David St, PO Box 56, Dunedin, New Zealand 9016www.pacificedge.co.nz attachment: mark_dalphin.vcf
Working with Lyx and Sweave; pasting R-code from Emacs into Lyx seems awkward. Any suggestions?
Hi, I use Lyx for writing reports on data analysis. To incorporate results from those analysis, I use Sweave within Lyx. This is all nicely integrated in the recent versions of Lyx. There is one major inconvenience remaining for me, however, and that is described here. I usually develop my R-code in Emacs (ESS-mode). This permits me to refine my tables and graphs before I incorporate them into Lyx. This is much faster as it interactive and avoids the time to run LaTeX (or export the R, etc etc). Then I write the text part of my report, and, in the Lyx scrap, I paste the required chunks of R-code. Nice and simple (thank you!). The problem is that when I paste the R-code from Emacs to the Lyx scrap, the End-Of-Line character gets converted into something else (a BLANK or some other white space, I guess), which is not acceptable to the R-parser when Sweave runs. This means that every paste operation is followed by many edit operations to convert the blanks back into new-lines. Is is possible to prevent this mangling of the paste? Or could there be a right-click option to "paste-retaining-newlines" or something such item? Or is this a user-error and there is a better way to perform the actions I am describing (A wild example that I have not tried: in a blank Lyx window, import the Emacs file, then cut-and-paste from one Lyx buffer to another). System: Linux (Kubuntu 8.04) Lyx: 2.0.5.1, built from source. Cut-and-paste: Standard Linux/X11, selecting with left-mouse button and pasting with center mouse button. Regards, Mark -- Mark Dalphin Ph.D. Director of Bioinformatics mark.dalp...@pacificedge.co.nz <mailto:mark.dalp...@pacificedge.co.nz> *Ph:* +64-3-479-5805 *Cell:* +64-21-156-7625 *Skype:* mark.dalphin.pel <http://www.facebook.com/pages/Pacific-Edge/111356775582456> <http://twitter.com/#%21/pacificEdgeLtd> <http://www.youtube.com/PacificEdgeLtd> 87 St David St, PO Box 56, Dunedin, New Zealand 9016www.pacificedge.co.nz <>
Re: Working with Lyx and Sweave; pasting R-code from Emacs into Lyx seems awkward. Any suggestions?
Thanks to both Scott Kostyshak and Yihui Xie (I appreciate Yihui not reminding me that he has already suggested I switch to knitr). I mis-wrote when I said "scrap" in my text; it is indeed the "chunk" into which I paste my text from Emacs. When I use "ctrl-shift-v" into a chunk that I have pre-filled with
Re: Degraded figures going from ps to pdf
Hi Vivian, I recently did the same sort of thing (also using TexWorks) and found the same results. It seems to me that the vector based formats (line art) work fine, but bitmap based formats (images) go wonky / degrade. Cheers, MarkL On 27 March 2013 04:27, Vivian per...@husky.neu.edu wrote: Hi, I'm encountering the following problem producing pdfs with Lyx. I've upgraded to Lyx 2.051, and I'm using MiKTeX 2.9 (from previous Lyx installation) in Windows 7 environment. I have eps figures that I generated from emf files (figures saved from Powerpoint slides) using the Lyx utility metafile2eps. The eps figures themselves look very nice in Ghostview, and ps output directly from Lyx looks good, too. However, when I generate a pdf, most of the figures (strangely, not all!) suffer visible degradation in quality. I've noticed that in figures with a combination of line art and photographs/images, it's the latter that fare worse. Does anyone have any idea what may be going on? I've tried bypassing Lyx and using TeXworks (with package epstopdf, and pdfLatex+MakeIndex+BibTex), but this gives me the same (degraded) pdf output. Conversion of the ps file generated by Lyx (which looks good) using Ghostview also results in the same pdf.