Re: lyx 2.0.6 debian failes to run
On Wednesday 06 November 2013 16:54:13 David L. Johnson wrote: > On 11/06/2013 03:47 AM, Wolfgang Engelmann wrote: > > On Wednesday 06 November 2013 09:26:57 Scott Kostyshak wrote: > > > On Wed, Nov 6, 2013 at 3:20 AM, Wolfgang Engelmann > > > > > > wrote: > > > > I am sorry to bother you with this off topic issue, but it hinders > > > > me > > > > > > > > to use Lyx at the moment. > > > > > > > > > > > > > > > > Any suggestions/proposals are very welcome and appreciated > > > > > > I'm surprised this isn't causing more problems besides LyX and cd > > > > > > w. This could be very bad. > > > > > > > > > > > > I don't know enough to have any advice on solving the main problem > > > > > > you're experiencing. If you are really only concerned about LyX (you > > > > > > should be concerned about more, IMO), you could try running LyX as > > > > > > root to see if it has the same problem. > > > > Good idea, Scott. Under root it runs without problems. Would it help > > if I create a new user and try it there until I have solved the > > (non-Lyx) issue under my current Home (or Homes)? > > Ah. So either you have a permissions problem with some file LyX needs > (this should not happen, but...), or there is something in your > $HOME/.lyx directory that is messing things up. When you run as root, > it only looks in /root/.lyx, creating what it needs if necessary. > > Try this. Rename your $HOME/.lyx directory to something else, then run > LyX as your usual username. If things work (after a setup timelag), > then there is just some messed up configuration file. This is the terminal output after following your suggestion: wolfgang@wolfgang:~$ Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans- fonts.conf", line 103: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in isn't supported and may not work as expected LyX: Erstellen des Verzeichnisses /home/wolfgang/.lyx/ LyX: Konfiguriere das Benutzerverzeichnis neu Running: python -tt "/usr/share/lyx/configure.py" Traceback (most recent call last): File "/usr/share/lyx/configure.py", line 17, in filemode = 'w') File "/usr/lib/python2.7/logging/__init__.py", line 1530, in basicConfig hdlr = FileHandler(filename, mode) File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib/python2.7/logging/__init__.py", line 926, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/home/wolfgang/configure.log' support/Systemcall.cpp (273): Systemcall: 'python -tt "/usr/share/lyx/configure.py"' finished with exit code 1 LyX: Fertig! LayoutFile.cpp (107): LayoutFileList::Read: unable to find textclass file `textclass.lst'. LayoutFile.cpp (164): LayoutFileList::Read: no textclasses found! ModuleList.cpp (136): unable to find modules file `lyxmodules.lst'. No modules will be available. Could not create cache directory `/home/wolfgang/.lyx/cache'. I waited for about 10 minutes, but lyx was not started. I therefore rebooted, but the result was again that lyx did not start. Terminal output similar to the above one: wolfgang@wolfgang:~$ lyx & [1] 4419 wolfgang@wolfgang:~$ Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans- fonts.conf", line 103: Having multiple values in isn't supported and may not work as expected Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in isn't supported and may not work as expected LyX: Konfiguriere das Benutzerverzeichnis neu Running: python -tt "/usr/share/lyx/configure.py" Traceback (most recent call last): File "/usr/share/lyx/configure.py", line 17, in filemode = 'w') File "/usr/lib/python2.7/logging/__init__.py", line 1530, in basicConfig hdlr = FileHandler(filename, mode) File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__ StreamHandler.__init__(self, self._open()) File "/usr/lib/python2.7/logging/__init__.py", line 926, in _open stream = open(self.baseFilename, self.mode) IOError: [Errno 13] Permission denied: '/home/wolfgang/configure.log' support/Systemcall.cpp (273): Systemcall: 'python -tt "/usr/share/lyx/configure.py"' finished with exit code 1 LyX: Fertig! LayoutFile.cpp (107): LayoutFileList::Read: unable to find textclass file `textclass.lst'. LayoutFile.cpp (164): LayoutFileList::Read: no textclasses found! ModuleList.cpp (136): unable to find modules file `lyxmodules.lst'. No modules will be available. Could not create cache directory `/home/wolfgang/.lyx/cache'. I do not find the configure.log in my home (wanted to check the permission) Wolfgang
Re: Logic: Tableau Proofs (trees)
Ernesto, I'm writing a paper using LyX, and I need to insert several specific tableaus into it. Using your numbers: 1) I do not want to add just *any* tableau example. 2) I do want to add several specific tableaus containing particular formulas. Probably just five or six such tableaus, each of which would occupy ten to twenty lines of text. (By a line of text, I mean a horizontal line across the page in the finished, PDF version. Such a line might of course include characters from more that one branch. In the example called Sample Tableau, attached to an earlier message in this string, I count 12 horizontal lines of text in the leftmost branch (not counting the slanted lines that indicate branching).) 3) My original idea was indeed to learn to make my own tableaus so that I could accomplish 2. When you ask "which logic?" I assume you're asking which object-language formulas will appear (with some additional prefixes and suffixes) as items in the tableaus. The answer is: first-order modal logic plus a lambda operator for predicate abstraction. That is the object language used in the Sample Tableau attachment, except that the formulas in the Sample Tableau don't happen to contain any modal connectives. (The modal connectives I'm using are the box and the diamond.) I've been pressed for time the last few days, so I haven't yet had a chance to try the suggestions you made on Nov 4, or the ones you make today (Nov 6). I'll do so tomorrow and let you know what happens. Thanks, Bill On Wed, Nov 6, 2013 at 12:46 PM, Ernesto Posse wrote: > Didn't my last suggestions help? > > I am still unsure about whether you want to 1) add *any* tableau example, > 2) add a specific tableau (i.e., a particular example that you have in mind > with particular formulas), or 3) be able to make your own tableaux. If it > is 1 or 2, which logic? Please clarify. > > In terms of tools, I'm afraid that there is no tool, to the best of my > knowledge, that allows you to make tableaux with absolutely no knowledge of > LaTeX. Even if you try to use a drawing program for this purpose, you'll > have to write at least the formulas in LaTeX, and it is quite tricky to > embed formulas in such drawing tools. So if you want to be able to create > your own, I'm afraid you'll have to learn a little bit. > > As for your example, try doing the following: > > 1. In LyX: open your file; go to "Document->Settings..->LaTeX Preamble" > and enter the following: > > \usepackage{tikz} > > \def\land{\wedge} > \def\lor{\vee} > \def\limp{\to} > \def\closed{\times} > > 2. Open Notepad and enter the following (keep the spaces at the beginning > of each line): > > \begin{minipage}{1\columnwidth}% > \begin{center} > \begin{tikzpicture} > [level distance=1.5cm, > level 1/.style={sibling distance=2cm}, > every child node/.style={anchor=north}, > every child/.style={parent anchor=south}] > \node {\begin{minipage}{4cm}% > \begin{center} > $1~\neg ((p \lor (p \land q)) \limp p)$\\ > $1~p \lor (p \land q)$\\ > $1~\neg p $ > \end{center} >\end{minipage}} > child {node {\begin{minipage}{0.5cm}% >\begin{center} >$1~p$\\ >$\closed$ >\end{center} > \end{minipage}}} > child {node {\begin{minipage}{1.5cm}% >\begin{center} >$1~p \land q$\\ >$1~p$\\ >$1~q$\\ >$\closed$ >\end{center} > \end{minipage}}}; > \end{tikzpicture} > \end{center} > \end{minipage} > > Save this file as "tableau_example.tex" in the same folder as your LyX > file. > > 3. On LyX, go to the part of your file where you want the tableau. If you > had it in a TeX box, remove it, put the cursor in its place, and go to > "Insert->File->Child document...". Click on "Browse..." and select > "tableau_example.tex". > Click OK. > > 4. Save your LyX file, and now you should be able to preview it or export > it. > > > PS: Finally, when posting messages to the mailing list please keep the > same subject line (which you can do by clicking "Reply" on your e-mail > client). This allows other people who have a similar problem to follow the > conversation. Also, ensure that when replying to help from someone in the > list (including myself), don't forget to CC the mailing list, again, so > that people can follow the conversation and see the possible solutions. > > > > > On Mon, Nov 4, 2013 at 10:13 PM, William Hanson wrote: > >> Despite much help from Ernesto Posse, for which I'm grateful, and which >> has allowed me to make some progress, I'm still far from being able to >> create tableau proof
Lost DVI output rendering with TexShop upgrading to 3.26 for Mac
Hello Sirs at Lyx Users; I just upgraded to the newest version of TexShop vs. 3.26 for Mac (mini + Mavericks) and whatever setting I choose on the LyX (vs. 2.0.6) preferences (dealing with "converters" options and "file formats") the result is always the same: I receive a frustrating TextEdit (a Mac .rtf / .txt default app) window with proto-ur-dinosaur code ! I checked the TexShop default settings, and everything seems ok (synchronization files, etc.) maybe it can depend from the (Preferences -> Engine -> Path) of "(pdf)TeX" and "Distiller" ? Acutally they are set on:/usr/texbin AND /usr/local/bin (As one million times stated here in the forum: if I work with .pdf outputs from LyX instead of DVI, everything works fine ! and I get a .pdf opened from Acrobat Writer. ) But I want to work into the TexShop window from DVI synchro ! Why it doesn't work ? Can you suggest me a step by step procedure to re-set the preferences correctly ? Thank You, Best Regards Manu
Re: problem with centering tables with JASA template
On Wed, Nov 6, 2013 at 2:58 PM, Benoît Bergès wrote: > Dear Scott, > > Thank you very much for the help and sorry about not providing a minimal > example. > > The examples your provided me makes the point about my problem. However, > when generating the pdf file, my table remains aligned on the left even > though I define it as centered in the code. > > Regards > > Benoit Dear Benoit, I noted this behavior in my previous email. My only guess is the following (I would be very surprised if I'm right but it's all I got): Perhaps JASA does not want tables centered and so they disable centering. Perhaps disabling works for \centering but they incorrectly ignored/dealt with \begin{centering}..\end{centering}. At this point I would suggest contacting the JASA LaTeX maintainers or posting on tex.stackexchange.com (if you do this please tag your question with 'lyx' and link back to this discussion: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg97222.html). In any case, if you find out more information, please let us know. Best of luck, Scott
Re: problem with centering tables with JASA template
On Tue, Nov 5, 2013 at 7:37 AM, Benoît Bergès wrote: > Hi, > > I am writing a document using the lyx JASA template > (http://wiki.lyx.org/Layouts.JASATeX) and I encountered a problem when > centering a table. I create a float table environment and then insert a > table in it. This all works fine but when I modify the paragraph settings > alignment to center, I get an error message with the following description: > > \par > > \end{centering} > > I suspect you've forgotten a `}', causing me to apply this > > control sequence to too much text. How can we recover? > > My plan is to forget the whole thing and hope for the best. > > > I have been trying to look for solutions but can't figure out how to > overcome this problem. I was wondering if you would have a solution. > > > Thanks in advance > > > Regards > > > Benoit Hi Benoit, Next time can you please send a minimal example (wiki.lyx.org/FAQ/MinimalExample) ? I can reproduce now, but it took me a long time to do so. The problem has to do with whether the table is the only paragraph you have in the float or not. If the table is the only paragraph in the float, \centering{} is used. If there is another paragraph, \begin{centering} ... \end{centering} is used. In the first case, the table is still not centered in the output. In the second case, I get an error. See the difference in the two attached examples. My first reaction is that this is a problem with the JASA package, not with LyX, because with standard article class everything works fine. I know little about this though so I could be wrong. Scott JASA_good_MWE.20.lyx Description: application/lyx JASA_bad_MWE.20.lyx Description: application/lyx
Re: Logic: Tableau Proofs (trees)
Didn't my last suggestions help? I am still unsure about whether you want to 1) add *any* tableau example, 2) add a specific tableau (i.e., a particular example that you have in mind with particular formulas), or 3) be able to make your own tableaux. If it is 1 or 2, which logic? Please clarify. In terms of tools, I'm afraid that there is no tool, to the best of my knowledge, that allows you to make tableaux with absolutely no knowledge of LaTeX. Even if you try to use a drawing program for this purpose, you'll have to write at least the formulas in LaTeX, and it is quite tricky to embed formulas in such drawing tools. So if you want to be able to create your own, I'm afraid you'll have to learn a little bit. As for your example, try doing the following: 1. In LyX: open your file; go to "Document->Settings..->LaTeX Preamble" and enter the following: \usepackage{tikz} \def\land{\wedge} \def\lor{\vee} \def\limp{\to} \def\closed{\times} 2. Open Notepad and enter the following (keep the spaces at the beginning of each line): \begin{minipage}{1\columnwidth}% \begin{center} \begin{tikzpicture} [level distance=1.5cm, level 1/.style={sibling distance=2cm}, every child node/.style={anchor=north}, every child/.style={parent anchor=south}] \node {\begin{minipage}{4cm}% \begin{center} $1~\neg ((p \lor (p \land q)) \limp p)$\\ $1~p \lor (p \land q)$\\ $1~\neg p $ \end{center} \end{minipage}} child {node {\begin{minipage}{0.5cm}% \begin{center} $1~p$\\ $\closed$ \end{center} \end{minipage}}} child {node {\begin{minipage}{1.5cm}% \begin{center} $1~p \land q$\\ $1~p$\\ $1~q$\\ $\closed$ \end{center} \end{minipage}}}; \end{tikzpicture} \end{center} \end{minipage} Save this file as "tableau_example.tex" in the same folder as your LyX file. 3. On LyX, go to the part of your file where you want the tableau. If you had it in a TeX box, remove it, put the cursor in its place, and go to "Insert->File->Child document...". Click on "Browse..." and select "tableau_example.tex". Click OK. 4. Save your LyX file, and now you should be able to preview it or export it. PS: Finally, when posting messages to the mailing list please keep the same subject line (which you can do by clicking "Reply" on your e-mail client). This allows other people who have a similar problem to follow the conversation. Also, ensure that when replying to help from someone in the list (including myself), don't forget to CC the mailing list, again, so that people can follow the conversation and see the possible solutions. On Mon, Nov 4, 2013 at 10:13 PM, William Hanson wrote: > Despite much help from Ernesto Posse, for which I'm grateful, and which > has allowed me to make some progress, I'm still far from being able to > create tableau proofs in LyX. > > The attached file contains an example of what I want to create. It's a > tree, each node of which consists of one or more lines of text (one line > above another). These multi-line nodes are connected by slanted lines that > indicate branching. The trees do not contain any vertical lines. There > are examples in many logic texts, the best source being Melvin Fitting and > Richard Mendelsohn, First-Order Modal Logic, Kluwer, 1999. > > I know there are sources on the web that cover related matters (tress in > linguistics, sequent-calculus proof), but I've not yet found anything > that's both close to what I need and usable by someone who doesn't know > LaTeX. > > I've been using LyX for several years. But since I don't know LaTeX, I'm > not able to download an existing program and customize it to my needs. > > Bill Hanson > > > -- Ernesto Posse Modelling and Analysis in Software Engineering School of Computing Queen's University - Kingston, Ontario, Canada
Re: Adding new French item in Lyx to the AMS article set
Thanks Paul for your directions. I'll investigate that and come back then.
Re: Custom labels for itemize environment
On Wed, Nov 6, 2013 at 1:22 AM, Jürgen Spitzmüller wrote: > 2013/11/6 stefano franchi > > My questions are: >> >> 1. is the LaTeX code the best way to achieve the desired effect or is >> there some package that allows manipulation of labels in itemized and, even >> better, enumerated list? A quick search did not turn out anything, but the >> LaTeX universe is large >> >> 2. Is there a better way to produce the LaTeX code above in LyX? (I would >> be the first to admit that it looks like an ugly hack). >> > > In LyX 2.1, you can use Insert > Custom Item. In LyX 2.0, LaTeX code is > probably the best approach (there are packages for customizing the labels > of whole lists, such as the enumerate package, but this is not what you > want). > > Thanks Jürgen. I am still on 2.0.6 for production purposes so it looks like I'll have to live with the LateX code. BTW: I was asked to submit a draft of the text raggedright and a simple reformatting of the whole body text though LyX Edit>>Paragraph settings (which resulted in every paragraph being wrapped in the flushleft environment) broke the code. The pdf output nows shows un unformatted (monospaced) [2'.] label for the item's label (including the square brackets). Not a big deal in thi sparticular case (it was just a one-off draft the editor wanted to see for some particular reason), bot good to know for the future. Cheers, Stefano -- __ Stefano Franchi Associate Research Professor Department of Hispanic StudiesPh: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org
Fwd: Latex error in viewing all my documents
Dear LyX experts. I solve my problem installing all the complements of Texlive from Synaptic Package manager, to my computer wiyh Ubuntu 13.10 When I upgrade from Ubuntu 13.04 the newest version of Texlive was installed but not the language complements and other programs, then systematic errors arraised. Thank you again for your attention. Eugenio. -- Forwarded message -- From: Eugenio Raliuga Date: Mon, Oct 28, 2013 at 5:13 PM Subject: Latex error in viewing all my documents To: lyx-users@lists.lyx.org Hi, dear list experts. After upgrade from Ubuntu 13.04 to 13.10 I can't view any of my documents in LyX because all of them present in the Latex error screen, the next lines: Package babel Error: You haven't specified a language option. Undefined control sequence. Undefined control sequence. LaTeX Error: Missing \begin{document}. - But The language is defined as Automatic \usepacage{babel} in the "LyX preferences" menu and in the "Document Settings" menu as Spanish The problem appears in the next class "Article", "book (KOMA-Script)", "Article (KOMA-Script)" The documents "Additional Features" and "Embedded Objets" from the Help menu presents the next lines: --- Package babel Error: Unknow option `ngerman'. Either you misspelled it Package babel Error: You haven't defined the language ngerman yet. The language defined for this document is English The document "Customization from the Help menu presents the same lines but for the French language. I think there are important bugs in my installation. I reinstalled LyX from Ubuntu's Synaptic Package Manager but ther was not any change. Could you help me? I have only elementary knoweledge of LaTeX. Thank you for your attention. Eugenio Aguilar
Re: lyx 2.0.6 debian failes to run
On Wed, Nov 6, 2013 at 3:47 AM, Wolfgang Engelmann wrote: > On Wednesday 06 November 2013 09:26:57 Scott Kostyshak wrote: > >> On Wed, Nov 6, 2013 at 3:20 AM, Wolfgang Engelmann > >> > >> wrote: > >> > I am sorry to bother you with this off topic issue, but it hinders me > >> > to use Lyx at the moment. > >> > > >> > Any suggestions/proposals are very welcome and appreciated > >> > >> I'm surprised this isn't causing more problems besides LyX and cd > >> w. This could be very bad. > >> > >> I don't know enough to have any advice on solving the main problem > >> you're experiencing. If you are really only concerned about LyX (you > >> should be concerned about more, IMO), you could try running LyX as > >> root to see if it has the same problem. > > > > Good idea, Scott. Under root it runs without problems. Would it help if I > create a new user and try it there until I have solved the (non-Lyx) issue > under my current Home (or Homes)? > > > > By the way, the completion of a name does also work under root. Creating a new user is a good idea. The best idea would be to seek out a Debian expert :) Scott
Re: lyx 2.0.6 debian failes to run
On Wednesday 06 November 2013 09:26:57 Scott Kostyshak wrote: > On Wed, Nov 6, 2013 at 3:20 AM, Wolfgang Engelmann > > wrote: > > I am sorry to bother you with this off topic issue, but it hinders me > > to use Lyx at the moment. > > > > Any suggestions/proposals are very welcome and appreciated > > I'm surprised this isn't causing more problems besides LyX and cd > w. This could be very bad. > > I don't know enough to have any advice on solving the main problem > you're experiencing. If you are really only concerned about LyX (you > should be concerned about more, IMO), you could try running LyX as > root to see if it has the same problem. Good idea, Scott. Under root it runs without problems. Would it help if I create a new user and try it there until I have solved the (non-Lyx) issue under my current Home (or Homes)? By the way, the completion of a name does also work under root. Wolfgang
Re: lyx 2.0.6 debian failes to run
On Wed, Nov 6, 2013 at 3:20 AM, Wolfgang Engelmann wrote: > I am sorry to bother you with this off topic issue, but it hinders me to use > Lyx at the moment. > > Any suggestions/proposals are very welcome and appreciated I'm surprised this isn't causing more problems besides LyX and cd w. This could be very bad. I don't know enough to have any advice on solving the main problem you're experiencing. If you are really only concerned about LyX (you should be concerned about more, IMO), you could try running LyX as root to see if it has the same problem. Scott
Re: LyX XMPP-Enhanced Chat
On 04/11/13 16:44, Nico Williams wrote: > Hi, this is pretty awesome indeed! > > Would it be possible to do somethin OTR-like (in the sense of hiding > extra data) for exchanging cursor movement operations / cursor > location, and changes (typing, ...)? That would make it possible to > collaboratively edit LyX docs. The idea of a collaborative editor had been proposed as one of the GSoC projects this year http://wiki.lyx.org/Devel/SummerOfCode2013Ideas#toc10 but unfortunately it was not selected at the end. There's been quite some discussion on the ML about how to realize it, e.g. in: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg178180.html or other threads with GSoC applicant students. Also, the patch available at: http://www.lyx.org/trac/attachment/ticket/7964/lyx-collaborate-v4.patch see also the video at http://retis.sssup.it/~tommaso/lyx-collaborate.ogv was actually a very rough sketch of exchanging information on cursor movements, instantiating a Buffer with multiple remote views, and sending back and forth all editing LFUNs, but the prototype also highlighted that LyX would require non-negligible internal relifts, in order to support that properly. Perhaps it might be worthwhile to follow up and re-propose the project for a possible GSoC'14 ? On the other hand, the LyX Chat (also proposed as GSoC project) was way simpler, both from a conceptual and a usability viewpoint, and I think it really mixes seamlessly with XMPP and other chat clients. In other words, I see the chat as an easy add-on that might constitute another cool and advertisable feature of LyX helping to spread the word and widen the users community :-) T.
Re: lyx 2.0.6 debian failes to run
On Wednesday 06 November 2013 07:23:21 Scott Kostyshak wrote: > On Tue, Nov 5, 2013 at 3:32 AM, Wolfgang Engelmann > > wrote: > > may be something is wrong here: > > > > my local /tmp dir > > > > permission shows for the lyx_tmpdir files > > > > 4 d- 2 wolfgang > > > > is this correct? > > This does not look correct. What are the permissions of your /tmp > directory? Can you show both the command you use to get permissions > and the output? Note that I am no Debian expert but I wanted to give > you some feedback since it's been almost 24h. > > Scott The permissions of the local /tmp dir are rwx But I am a bit confused: In my file manager dolphin the /tmp of my /Home shows 0 files, but if I do a wolfgang@wolfgang:~$ ls -l /tmp I get a list of directories and files, among them the lyx_tmpdir. directory. I wonder whether it has to do with the fact that I have a harddisk in my PC which contains the debian system and a harddisk which contains my data and backups If I open a terminal for this harddisk: wolfgang@wolfgang:/home$ and a ls -l shows among others drwx rwx rwx for wolfgang wolfgang may be lyx is as confused as I am to find the correct /tmp on this second harddisk? I noticed also that I can't complete a name with the <-- --> key e.g. cd w (I press the right/left arrow key tio get wolfgang) gives me cd wbash: cannot create temp file for here-document: no permission I am not sure whether this has to do with the issue above. I am sorry to bother you with this off topic issue, but it hinders me to use Lyx at the moment. Any suggestions/proposals are very welcome and appreciated Wolfgang