Using pdfsync with LyX
Hello, I am looking for a way to have the pdf opened (by Acrobat Reader) in the exact page in which my cursor currently resides in the LyX editor. When using LaTeX directly, this is enabled by using the pdfsync package. Does LyX support this? That is, can I have LyX convert the location of my cursor to a .tex file line, and then use the information provided by pdfsync? Thanks a lot, Ami
Footnote location
Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Thanks, Sandro
Re: Using pdfsync with LyX
There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@meltmail.com wrote: pdfsync
Re: Using pdfsync with LyX
Julio Rojas jcredbe...@... writes: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@... On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@... wrote: pdfsync Hi Julio, Thanks for your reply. I've seen this page on the LyX wiki, but as it says, their solution works only for Sumatra, while I would like to have it working with Acrobat. Anyhow, my OS is Win XP.
Re: Using pdfsync with LyX
Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Amie9kewpuyp...@meltmail.com wrote: pdfsync
RE: how does one quit certain environments?
Here is a minimal example. So, i did something wrong, but I can't find what exactly. I changed the remark-environment in the preamble, because the original text is written in dutch, maybe this is the problem? (if you remove the theorem in the example and compile, you will see that the layout of the remark changes). many thanks Date: Thu, 1 Apr 2010 21:53:24 +0200 From: uwesto...@web.de To: hinsensa...@hotmail.com CC: lyx-users@lists.lyx.org Subject: Re: how does one quit certain environments? kalf va men foeten schrieb: Thank you, however, that does seem to work if e.g. you want to separate a remark followed by a theorem (the theorem changes the layout of the remark into the theorem - layout, even when separated) Can you provide a _small_ LyX example file to have a closer look? regards Uwe _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 newfile1.lyx Description: application/lyx
Re: Using pdfsync with LyX
Nope, Windows... - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:49 PM, E. Kaplan ehud.kap...@mssm.edu wrote: Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@meltmail.com wrote: pdfsync
Re: Using pdfsync with LyX
From a fast Google search it seems you have to stick with Sumatra. I have been using it as my default reader for LyX's output and I really like it. - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:23 PM, Ami e9kewpuyp...@meltmail.com wrote: Julio Rojas jcredbe...@... writes: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@... On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@... wrote: pdfsync Hi Julio, Thanks for your reply. I've seen this page on the LyX wiki, but as it says, their solution works only for Sumatra, while I would like to have it working with Acrobat. Anyhow, my OS is Win XP.
Re: Footnote location
On 04/02/2010 05:23 AM, Sandro Portmann wrote: Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Put something like this in your preamble: | \setlength{\skip\footins}{2cm} rh|
Problem with label and references
Hello to all. I am writing a book (two sides) on astronomy and navigation with a lot of figures, tables and equations. I don't have any problem to reference in the text to the apropiate labels of figures, tables, equations and chapters, but when I put a label in a section title I have this two errors in the errors window and obviuosly LyX don't produce the dvi output: Error 1: Argument of \...@straight@i has an extra }. \section{Leyes de la fuerza magnética} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Error 2: Paragrapgh ended before \...@straight@i was complete. \section{Leyes de la fuerza magnética} 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. My book begins in the Chapter LXII because is the third of a collection and the sections, figures, tables and equations are numerated acorddly. So, in my preamble I have this first command: \setcounter{chapter}{61} In addition, I need to enumerate the sections in the form 6601, 6602, 66036701, 6702,etc.. I do that with the sentence: \renewcommand{\thesection}{\ifnum\value{section}10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi} My book is in spanish language and my complete preamble is this one: \setcounter{chapter}{61} \usepackage[pagestyles]{titlesec} \usepackage{ifthen} \usepackage{graphicx} \usepackage{float} \usepackage{floatflt} \usepackage{colortbl} \usepackage{wrapfig} \usepackage{enumitem} \usepackage{eso-pic,everyshi,calc} \usepackage{pst-math,pstricks-add} \usepackage{marvosym} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathtools} \usepackage{yhmath} \usepackage{txfonts} \usepackage{textcomp} \usepackage{mathcomp} \usepackage[e]{esvect} \usepackage[spanish]{babel} \usepackage{ccaption} \usepackage[labelsep=endash,font={small,it},labelformat=simple,labelfont=bf,figurewithin=none,justification=centering]{caption} \renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\thesection}{\ifnum\value{section}10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi} \renewcommand{\sin}{\sen \nolimits} \renewcommand{\arcsin}{\arcsen \nolimits} \renewcommand{\sinh}{\senh \nolimits} \renewcommand{\tan}{\tg \nolimits} \renewcommand{\arctan}{\arctg \nolimits} \renewcommand{\tanh}{\tgh \nolimits} \renewcommand{\csc}{\cosec \nolimits} \renewcommand{\cot}{\cotg \nolimits} \renewcommand{\lg}{\log \nolimits} \renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}} \addto\captionsspanish{\renewcommand{\figurename}{Fig.}} \DeclareMathOperator{\gs}{\textrm{\!\textdegree}} \titleformat{\chapter}[display] {\Large\bfseries\fillast\vspace{-25pt}} {\normalfont\bfseries\chaptername\hspace{5pt}\thechapter} {.5ex minus .1ex} {\large}[\vspace{-15pt}] \titleformat{\section}[runin] {\normalfont\bfseries} {\thesection.}{.5em}{}[.---\:] \titlespacing{\section} {\parindent}{1.5ex plus .1ex minus .2ex}{0pt} \makeatletter \def\cleardoublepage{\clearpage...@twoside \ifod...@page\else \vspace*{\fill} \thispagestyle{empty} \newpage \...@twocolumn\hbox{}\newpage\fi\fi\fi} \makeatother \setlist{noitemsep} \setenumerate{labelindent=\parindent,leftmargin=*,labelsep=1em} \setitemize{labelindent=\parindent,leftmargin=*,labelsep=1em} \clubpenalty=1 \widowpenalty=1 Some help? Thank you very much in advance. \usepackage[bookmarks=true,bookmarksopen=true,bookmarksopenlevel=2,bookmarksnumbered=true]{hyperref}
Re: how does one quit certain environments?
Am 02.04.2010 13:33, schrieb kalf va men foeten: Here is a minimal example. So, i did something wrong, but I can't find what exactly. I changed the remark-environment in the preamble, because the original text is written in dutch, maybe this is the problem? (if you remove the theorem in the example and compile, you will see that the layout of the remark changes). It was eventually my fault because I forgot to mention in http://wiki.lyx.org/LyX/I18nLabels that one has to add this line to the preamble before redefining theorems \theoremstyle{remark} I'll update the Wiki-page now. some comments to your file: - you used TeX-code to get an optional argument This is not necessary because LyX already support this: menu Insert-Short title I changed this accordingly in the attached file. - you used TeX-code for your alignedat equation. LyX already supports this environment, see LyX's Math manual (that you find in LyX's Help menu) for a description. If you have questions regarding this, please ask. regards Uwe newfile1.lyx Description: application/lyx
Re: Using pdfsync with LyX
On Fri, 2 Apr 2010 13:55:08 +0200 Julio Rojas jcredbe...@gmail.com wrote: Nope, Windows... Is there any way to accomplish the same thing under Linux? Or Linux and wine? Detlef - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:49 PM, E. Kaplan ehud.kaplan-jbn7rztp...@public.gmane.org wrote: Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Ami E9kewPUyPZD1-/OShVl1Zo6pWk0Htik3J/w...@public.gmane.org wrote: pdfsync
Re: Footnote location
I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Generating colored tables for a LyX document
Hello, I need to include a lot of auto-generated tables into a LyX document. What is the best way of getting my tables into LyX? It seems the easiest way would be to simply generate one .lyx file per table and include that in the actual LyX document at the right place. However, I would really like to color my rows and columns differently and it seems that everything I try in LyX/LaTeX looks awful (the lines between the cells seem to change width depending on whether a cell is colored or not, etc.). I based my experiments on this: http://wiki.lyx.org/LyX/Tables#toc7 I had the idea of generating HTML tables and creating PDFs to include in my LyX document, but that fails on the fact that all html-pdf converters that I could find only generate full-page PDFs, whereas I need something cropped to the table size. What would you propose to generate nice tables for my LyX document? Thanks in advance! Cheers, Kosta
Re: Using pdfsync with LyX
Detlef Steuer wrote: Is there any way to accomplish the same thing under Linux? Or Linux and wine? Sec. 4.6 of the Advanced Features help manual covers a wide range of possibilities. However, LyX only supports reverse search. That is: you click in the PDF and then LyX will set the cursor to that place. What Ami wants is forward search (putting the cursor in LyX shall cause the PDF viewer to jump to the respective place). This is not yet implemented in LyX. Jürgen
Re: Footnote location
Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Re: 64bit Lyx 1.6.4 cannot view postscript
Am Mittwoch 31 März 2010 schrieb rgheck: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. tex.pro is part of texlive-base-bin package here (ubuntu). (/usr/share/texmf-texlive/dvips/base/tex.pro) Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
Re: Footnote location
I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Re: Using pdfsync with LyX
Julio Rojas jcredbe...@... writes: From a fast Google search it seems you have to stick with Sumatra. I have been using it as my default reader for LyX's output and I really like it. - Julio Rojas jcredbe...@... I configured LyX to use Sumatra, but now- what should I do to make the sync work? The wiki page discusses ``reverse search, while I'm interested in the opposite direction (line in LyX - line [or page] in pdf when viewing it).
Re: Footnote location
Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh -- Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: 64bit Lyx 1.6.4 cannot view postscript
On Sat, Apr 3, 2010 at 4:25 AM, Kornel Benko kornel.be...@berlin.de wrote: Am Mittwoch 31 März 2010 schrieb rgheck: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. tex.pro is part of texlive-base-bin package here (ubuntu). (/usr/share/texmf-texlive/dvips/base/tex.pro) Kornel Thank you for the comment Kornel. In SUSE, I have tex.pro in the same path, except that your texmf-texlive is replaced by texmf. I have no directory texmf-texlive, though texlive has set up many other directories and files. I don't know whether this is significant or just a Ubunto naming feature. GeorgeL
Re: Footnote location
That doesn't work properly. It puts a space enter the number of the footnote and its text. How I can construct a character style, I unfortunately don't know. I need the whole footnote on the bottom of the page. SP Am 02.04.2010 um 20:31 schrieb Steve Litt: Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh -- Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Lyx... book (memoir) ... getting sections*/subsections* in the table of contents
Just a query: is it possible for me to get sections* and subsections* to show up in the table of contents of a Memoir style book? I can manage with sections/subsections, but don't want any numbers to show up before these. Thanks! FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org
Re: Footnote location
If the ERT didn't work, a character style won't either. The only way to do my kludge is to put it in a modified version of the footnote style. I think there's probably a better and simpler solution -- I just don't know it. SteveT On Friday 02 April 2010 17:38:41 Sandro Portmann wrote: That doesn't work properly. It puts a space enter the number of the footnote and its text. How I can construct a character style, I unfortunately don't know. I need the whole footnote on the bottom of the page. SP Am 02.04.2010 um 20:31 schrieb Steve Litt: Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Re: Lyx... book (memoir) ... getting sections*/subsections* in the table of contents
On 4/2/10, Frederick Noronha fredericknoro...@gmail.com wrote: Just a query: is it possible for me to get sections* and subsections* to show up in the table of contents of a Memoir style book? Yes. See this. http://wiki.lyx.org/FAQ/Unsorted#toc22 Liviu I can manage with sections/subsections, but don't want any numbers to show up before these. Thanks! FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Offer... for technical writing
Dear all: I am a journalist and writer, and a heavy user of Lyx. Please let me know if you need any help (volunteering, without fee) to help write or edit Lyx help files for users. I am not a techie, but understand the software ... with guidance I could do it. My English skills are near-native speaker level. FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org
Using pdfsync with LyX
Hello, I am looking for a way to have the pdf opened (by Acrobat Reader) in the exact page in which my cursor currently resides in the LyX editor. When using LaTeX directly, this is enabled by using the pdfsync package. Does LyX support this? That is, can I have LyX convert the location of my cursor to a .tex file line, and then use the information provided by pdfsync? Thanks a lot, Ami
Footnote location
Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Thanks, Sandro
Re: Using pdfsync with LyX
There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@meltmail.com wrote: pdfsync
Re: Using pdfsync with LyX
Julio Rojas jcredbe...@... writes: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@... On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@... wrote: pdfsync Hi Julio, Thanks for your reply. I've seen this page on the LyX wiki, but as it says, their solution works only for Sumatra, while I would like to have it working with Acrobat. Anyhow, my OS is Win XP.
Re: Using pdfsync with LyX
Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Amie9kewpuyp...@meltmail.com wrote: pdfsync
RE: how does one quit certain environments?
Here is a minimal example. So, i did something wrong, but I can't find what exactly. I changed the remark-environment in the preamble, because the original text is written in dutch, maybe this is the problem? (if you remove the theorem in the example and compile, you will see that the layout of the remark changes). many thanks Date: Thu, 1 Apr 2010 21:53:24 +0200 From: uwesto...@web.de To: hinsensa...@hotmail.com CC: lyx-users@lists.lyx.org Subject: Re: how does one quit certain environments? kalf va men foeten schrieb: Thank you, however, that does seem to work if e.g. you want to separate a remark followed by a theorem (the theorem changes the layout of the remark into the theorem - layout, even when separated) Can you provide a _small_ LyX example file to have a closer look? regards Uwe _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 newfile1.lyx Description: application/lyx
Re: Using pdfsync with LyX
Nope, Windows... - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:49 PM, E. Kaplan ehud.kap...@mssm.edu wrote: Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@meltmail.com wrote: pdfsync
Re: Using pdfsync with LyX
From a fast Google search it seems you have to stick with Sumatra. I have been using it as my default reader for LyX's output and I really like it. - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:23 PM, Ami e9kewpuyp...@meltmail.com wrote: Julio Rojas jcredbe...@... writes: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@... On Fri, Apr 2, 2010 at 10:47 AM, Ami e9kewpuyp...@... wrote: pdfsync Hi Julio, Thanks for your reply. I've seen this page on the LyX wiki, but as it says, their solution works only for Sumatra, while I would like to have it working with Acrobat. Anyhow, my OS is Win XP.
Re: Footnote location
On 04/02/2010 05:23 AM, Sandro Portmann wrote: Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Put something like this in your preamble: | \setlength{\skip\footins}{2cm} rh|
Problem with label and references
Hello to all. I am writing a book (two sides) on astronomy and navigation with a lot of figures, tables and equations. I don't have any problem to reference in the text to the apropiate labels of figures, tables, equations and chapters, but when I put a label in a section title I have this two errors in the errors window and obviuosly LyX don't produce the dvi output: Error 1: Argument of \...@straight@i has an extra }. \section{Leyes de la fuerza magnética} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Error 2: Paragrapgh ended before \...@straight@i was complete. \section{Leyes de la fuerza magnética} 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. My book begins in the Chapter LXII because is the third of a collection and the sections, figures, tables and equations are numerated acorddly. So, in my preamble I have this first command: \setcounter{chapter}{61} In addition, I need to enumerate the sections in the form 6601, 6602, 66036701, 6702,etc.. I do that with the sentence: \renewcommand{\thesection}{\ifnum\value{section}10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi} My book is in spanish language and my complete preamble is this one: \setcounter{chapter}{61} \usepackage[pagestyles]{titlesec} \usepackage{ifthen} \usepackage{graphicx} \usepackage{float} \usepackage{floatflt} \usepackage{colortbl} \usepackage{wrapfig} \usepackage{enumitem} \usepackage{eso-pic,everyshi,calc} \usepackage{pst-math,pstricks-add} \usepackage{marvosym} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathtools} \usepackage{yhmath} \usepackage{txfonts} \usepackage{textcomp} \usepackage{mathcomp} \usepackage[e]{esvect} \usepackage[spanish]{babel} \usepackage{ccaption} \usepackage[labelsep=endash,font={small,it},labelformat=simple,labelfont=bf,figurewithin=none,justification=centering]{caption} \renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\thesection}{\ifnum\value{section}10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi} \renewcommand{\sin}{\sen \nolimits} \renewcommand{\arcsin}{\arcsen \nolimits} \renewcommand{\sinh}{\senh \nolimits} \renewcommand{\tan}{\tg \nolimits} \renewcommand{\arctan}{\arctg \nolimits} \renewcommand{\tanh}{\tgh \nolimits} \renewcommand{\csc}{\cosec \nolimits} \renewcommand{\cot}{\cotg \nolimits} \renewcommand{\lg}{\log \nolimits} \renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}} \addto\captionsspanish{\renewcommand{\figurename}{Fig.}} \DeclareMathOperator{\gs}{\textrm{\!\textdegree}} \titleformat{\chapter}[display] {\Large\bfseries\fillast\vspace{-25pt}} {\normalfont\bfseries\chaptername\hspace{5pt}\thechapter} {.5ex minus .1ex} {\large}[\vspace{-15pt}] \titleformat{\section}[runin] {\normalfont\bfseries} {\thesection.}{.5em}{}[.---\:] \titlespacing{\section} {\parindent}{1.5ex plus .1ex minus .2ex}{0pt} \makeatletter \def\cleardoublepage{\clearpage...@twoside \ifod...@page\else \vspace*{\fill} \thispagestyle{empty} \newpage \...@twocolumn\hbox{}\newpage\fi\fi\fi} \makeatother \setlist{noitemsep} \setenumerate{labelindent=\parindent,leftmargin=*,labelsep=1em} \setitemize{labelindent=\parindent,leftmargin=*,labelsep=1em} \clubpenalty=1 \widowpenalty=1 Some help? Thank you very much in advance. \usepackage[bookmarks=true,bookmarksopen=true,bookmarksopenlevel=2,bookmarksnumbered=true]{hyperref}
Re: how does one quit certain environments?
Am 02.04.2010 13:33, schrieb kalf va men foeten: Here is a minimal example. So, i did something wrong, but I can't find what exactly. I changed the remark-environment in the preamble, because the original text is written in dutch, maybe this is the problem? (if you remove the theorem in the example and compile, you will see that the layout of the remark changes). It was eventually my fault because I forgot to mention in http://wiki.lyx.org/LyX/I18nLabels that one has to add this line to the preamble before redefining theorems \theoremstyle{remark} I'll update the Wiki-page now. some comments to your file: - you used TeX-code to get an optional argument This is not necessary because LyX already support this: menu Insert-Short title I changed this accordingly in the attached file. - you used TeX-code for your alignedat equation. LyX already supports this environment, see LyX's Math manual (that you find in LyX's Help menu) for a description. If you have questions regarding this, please ask. regards Uwe newfile1.lyx Description: application/lyx
Re: Using pdfsync with LyX
On Fri, 2 Apr 2010 13:55:08 +0200 Julio Rojas jcredbe...@gmail.com wrote: Nope, Windows... Is there any way to accomplish the same thing under Linux? Or Linux and wine? Detlef - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:49 PM, E. Kaplan ehud.kaplan-jbn7rztp...@public.gmane.org wrote: Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Ami E9kewPUyPZD1-/OShVl1Zo6pWk0Htik3J/w...@public.gmane.org wrote: pdfsync
Re: Footnote location
I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Generating colored tables for a LyX document
Hello, I need to include a lot of auto-generated tables into a LyX document. What is the best way of getting my tables into LyX? It seems the easiest way would be to simply generate one .lyx file per table and include that in the actual LyX document at the right place. However, I would really like to color my rows and columns differently and it seems that everything I try in LyX/LaTeX looks awful (the lines between the cells seem to change width depending on whether a cell is colored or not, etc.). I based my experiments on this: http://wiki.lyx.org/LyX/Tables#toc7 I had the idea of generating HTML tables and creating PDFs to include in my LyX document, but that fails on the fact that all html-pdf converters that I could find only generate full-page PDFs, whereas I need something cropped to the table size. What would you propose to generate nice tables for my LyX document? Thanks in advance! Cheers, Kosta
Re: Using pdfsync with LyX
Detlef Steuer wrote: Is there any way to accomplish the same thing under Linux? Or Linux and wine? Sec. 4.6 of the Advanced Features help manual covers a wide range of possibilities. However, LyX only supports reverse search. That is: you click in the PDF and then LyX will set the cursor to that place. What Ami wants is forward search (putting the cursor in LyX shall cause the PDF viewer to jump to the respective place). This is not yet implemented in LyX. Jürgen
Re: Footnote location
Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Re: 64bit Lyx 1.6.4 cannot view postscript
Am Mittwoch 31 März 2010 schrieb rgheck: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. tex.pro is part of texlive-base-bin package here (ubuntu). (/usr/share/texmf-texlive/dvips/base/tex.pro) Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
Re: Footnote location
I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Re: Using pdfsync with LyX
Julio Rojas jcredbe...@... writes: From a fast Google search it seems you have to stick with Sumatra. I have been using it as my default reader for LyX's output and I really like it. - Julio Rojas jcredbe...@... I configured LyX to use Sumatra, but now- what should I do to make the sync work? The wiki page discusses ``reverse search, while I'm interested in the opposite direction (line in LyX - line [or page] in pdf when viewing it).
Re: Footnote location
Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh -- Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: 64bit Lyx 1.6.4 cannot view postscript
On Sat, Apr 3, 2010 at 4:25 AM, Kornel Benko kornel.be...@berlin.de wrote: Am Mittwoch 31 März 2010 schrieb rgheck: This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( www.radicaleye.com) dvips: ! Couldn't find header file tex.pro. Note that an absolute path or a relative path with .. are denied in -R2 mode. tex.pro is part of texlive-base-bin package here (ubuntu). (/usr/share/texmf-texlive/dvips/base/tex.pro) Kornel Thank you for the comment Kornel. In SUSE, I have tex.pro in the same path, except that your texmf-texlive is replaced by texmf. I have no directory texmf-texlive, though texlive has set up many other directories and files. I don't know whether this is significant or just a Ubunto naming feature. GeorgeL
Re: Footnote location
That doesn't work properly. It puts a space enter the number of the footnote and its text. How I can construct a character style, I unfortunately don't know. I need the whole footnote on the bottom of the page. SP Am 02.04.2010 um 20:31 schrieb Steve Litt: Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh -- Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Lyx... book (memoir) ... getting sections*/subsections* in the table of contents
Just a query: is it possible for me to get sections* and subsections* to show up in the table of contents of a Memoir style book? I can manage with sections/subsections, but don't want any numbers to show up before these. Thanks! FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org
Re: Footnote location
If the ERT didn't work, a character style won't either. The only way to do my kludge is to put it in a modified version of the footnote style. I think there's probably a better and simpler solution -- I just don't know it. SteveT On Friday 02 April 2010 17:38:41 Sandro Portmann wrote: That doesn't work properly. It puts a space enter the number of the footnote and its text. How I can construct a character style, I unfortunately don't know. I need the whole footnote on the bottom of the page. SP Am 02.04.2010 um 20:31 schrieb Steve Litt: Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? Sorry, don't know the answer to that one. You could try something like: \setlength{\skip\footins}{2cm plus \textheight} which allows LaTeX to stretch that length. But I don't know if it would work. rh
Re: Lyx... book (memoir) ... getting sections*/subsections* in the table of contents
On 4/2/10, Frederick Noronha fredericknoro...@gmail.com wrote: Just a query: is it possible for me to get sections* and subsections* to show up in the table of contents of a Memoir style book? Yes. See this. http://wiki.lyx.org/FAQ/Unsorted#toc22 Liviu I can manage with sections/subsections, but don't want any numbers to show up before these. Thanks! FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Offer... for technical writing
Dear all: I am a journalist and writer, and a heavy user of Lyx. Please let me know if you need any help (volunteering, without fee) to help write or edit Lyx help files for users. I am not a techie, but understand the software ... with guidance I could do it. My English skills are near-native speaker level. FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org
Using pdfsync with LyX
Hello, I am looking for a way to have the pdf opened (by Acrobat Reader) in the exact page in which my cursor currently resides in the LyX editor. When using LaTeX directly, this is enabled by using the pdfsync package. Does LyX support this? That is, can I have LyX convert the location of my cursor to a .tex file line, and then use the information provided by pdfsync? Thanks a lot, Ami
Footnote location
Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Thanks, Sandro
Re: Using pdfsync with LyX
There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Amiwrote: > pdfsync
Re: Using pdfsync with LyX
Julio Rojaswrites: > > There is a way using Sumatra as shown here: > http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 > > What is your OS? > - > Julio Rojas > jcredbe...@... > > On Fri, Apr 2, 2010 at 10:47 AM, Ami wrote: > > pdfsync > > Hi Julio, Thanks for your reply. I've seen this page on the LyX wiki, but as it says, their solution works only for Sumatra, while I would like to have it working with Acrobat. Anyhow, my OS is Win XP.
Re: Using pdfsync with LyX
Are you using SumatraPDF on Linux? I thought it ran only on Windows. EK On 4/2/2010 5:54 AM, Julio Rojas wrote: There is a way using Sumatra as shown here: http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 What is your OS? - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 10:47 AM, Amiwrote: pdfsync
RE: how does one quit certain environments?
Here is a minimal example. So, i did something wrong, but I can't find what exactly. I changed the remark-environment in the preamble, because the original text is written in dutch, maybe this is the problem? (if you remove the theorem in the example and compile, you will see that the layout of the remark changes). many thanks > Date: Thu, 1 Apr 2010 21:53:24 +0200 > From: uwesto...@web.de > To: hinsensa...@hotmail.com > CC: lyx-users@lists.lyx.org > Subject: Re: how does one quit certain environments? > > kalf va men foeten schrieb: > > > Thank you, however, that does seem to work if e.g. you want to separate a > > remark followed by a theorem (the theorem changes the layout of the remark > > into the theorem - layout, even when separated) > > Can you provide a _small_ LyX example file to have a closer look? > > regards Uwe _ Hotmail: Trusted email with powerful SPAM protection. https://signup.live.com/signup.aspx?id=60969 newfile1.lyx Description: application/lyx
Re: Using pdfsync with LyX
Nope, Windows... - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:49 PM, E. Kaplanwrote: > Are you using SumatraPDF on Linux? I thought it ran only on Windows. > EK > > On 4/2/2010 5:54 AM, Julio Rojas wrote: > > There is a way using Sumatra as shown here: > http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 > > What is your OS? > - > Julio Rojas > jcredbe...@gmail.com > > > > On Fri, Apr 2, 2010 at 10:47 AM, Ami wrote: > > > pdfsync >
Re: Using pdfsync with LyX
>From a fast Google search it seems you have to stick with Sumatra. I have been using it as my default reader for LyX's output and I really like it. - Julio Rojas jcredbe...@gmail.com On Fri, Apr 2, 2010 at 12:23 PM, Amiwrote: > Julio Rojas writes: > >> >> There is a way using Sumatra as shown here: >> http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 >> >> What is your OS? >> - >> Julio Rojas >> jcredbe...@... >> >> On Fri, Apr 2, 2010 at 10:47 AM, Ami wrote: >> > pdfsync >> >> > > Hi Julio, > > Thanks for your reply. > > I've seen this page on the LyX wiki, but as it says, > their solution works only for Sumatra, while I would like > to have it working with Acrobat. > > Anyhow, my OS is Win XP. > > >
Re: Footnote location
On 04/02/2010 05:23 AM, Sandro Portmann wrote: Hi, I'm writing a longer work for my history studies, but the footnotes come right after the text. How can I manage, that between the main text and the footnote comes a space from about 1cm? I'm writing my document in article style. Put something like this in your preamble: | \setlength{\skip\footins}{2cm} rh|
Problem with label and references
Hello to all. I am writing a book (two sides) on astronomy and navigation with a lot of figures, tables and equations. I don't have any problem to reference in the text to the apropiate labels of figures, tables, equations and chapters, but when I put a label in a section title I have this two errors in the errors window and obviuosly LyX don't produce the dvi output: Error 1: Argument of \...@straight@i has an extra }. \section{Leyes de la fuerza magnética} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Error 2: Paragrapgh ended before \...@straight@i was complete. \section{Leyes de la fuerza magnética} 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. My book begins in the Chapter LXII because is the third of a collection and the sections, figures, tables and equations are numerated acorddly. So, in my preamble I have this first command: \setcounter{chapter}{61} In addition, I need to enumerate the sections in the form 6601, 6602, 66036701, 6702,etc.. I do that with the sentence: \renewcommand{\thesection}{\ifnum\value{section}<10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi} My book is in spanish language and my complete preamble is this one: \setcounter{chapter}{61} \usepackage[pagestyles]{titlesec} \usepackage{ifthen} \usepackage{graphicx} \usepackage{float} \usepackage{floatflt} \usepackage{colortbl} \usepackage{wrapfig} \usepackage{enumitem} \usepackage{eso-pic,everyshi,calc} \usepackage{pst-math,pstricks-add} \usepackage{marvosym} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathtools} \usepackage{yhmath} \usepackage{txfonts} \usepackage{textcomp} \usepackage{mathcomp} \usepackage[e]{esvect} \usepackage[spanish]{babel} \usepackage{ccaption} \usepackage[labelsep=endash,font={small,it},labelformat=simple,labelfont=bf,figurewithin=none,justification=centering]{caption} \renewcommand{\thechapter}{\Roman{chapter}} \renewcommand{\thesection}{\ifnum\value{section}<10 \arabic{chapter}0\arabic{section}\else\arabic{chapter}\arabic{section}\fi} \renewcommand{\sin}{\sen \nolimits} \renewcommand{\arcsin}{\arcsen \nolimits} \renewcommand{\sinh}{\senh \nolimits} \renewcommand{\tan}{\tg \nolimits} \renewcommand{\arctan}{\arctg \nolimits} \renewcommand{\tanh}{\tgh \nolimits} \renewcommand{\csc}{\cosec \nolimits} \renewcommand{\cot}{\cotg \nolimits} \renewcommand{\lg}{\log \nolimits} \renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}} \addto\captionsspanish{\renewcommand{\figurename}{Fig.}} \DeclareMathOperator{\gs}{\textrm{\!\textdegree}} \titleformat{\chapter}[display] {\Large\bfseries\fillast\vspace{-25pt}} {\normalfont\bfseries\chaptername\hspace{5pt}\thechapter} {.5ex minus .1ex} {\large}[\vspace{-15pt}] \titleformat{\section}[runin] {\normalfont\bfseries} {\thesection.}{.5em}{}[.---\:] \titlespacing{\section} {\parindent}{1.5ex plus .1ex minus .2ex}{0pt} \makeatletter \def\cleardoublepage{\clearpage...@twoside \ifod...@page\else \vspace*{\fill} \thispagestyle{empty} \newpage \...@twocolumn\hbox{}\newpage\fi\fi\fi} \makeatother \setlist{noitemsep} \setenumerate{labelindent=\parindent,leftmargin=*,labelsep=1em} \setitemize{labelindent=\parindent,leftmargin=*,labelsep=1em} \clubpenalty=1 \widowpenalty=1 Some help? Thank you very much in advance. \usepackage[bookmarks=true,bookmarksopen=true,bookmarksopenlevel=2,bookmarksnumbered=true]{hyperref}
Re: how does one quit certain environments?
Am 02.04.2010 13:33, schrieb kalf va men foeten: Here is a minimal example. So, i did something wrong, but I can't find what exactly. > I changed the remark-environment in the preamble, because the original text is > written in dutch, maybe this is the problem? (if you remove the theorem in the > example and compile, you will see that the layout of the remark changes). It was eventually my fault because I forgot to mention in http://wiki.lyx.org/LyX/I18nLabels that one has to add this line to the preamble before redefining theorems \theoremstyle{remark} I'll update the Wiki-page now. some comments to your file: - you used TeX-code to get an optional argument This is not necessary because LyX already support this: menu Insert->Short title I changed this accordingly in the attached file. - you used TeX-code for your alignedat equation. LyX already supports this environment, see LyX's Math manual (that you find in LyX's Help menu) for a description. If you have questions regarding this, please ask. regards Uwe newfile1.lyx Description: application/lyx
Re: Using pdfsync with LyX
On Fri, 2 Apr 2010 13:55:08 +0200 Julio Rojaswrote: > Nope, Windows... Is there any way to accomplish the same thing under Linux? Or Linux and wine? Detlef > - > Julio Rojas > jcredbe...@gmail.com > > > > On Fri, Apr 2, 2010 at 12:49 PM, E. Kaplan > wrote: > > Are you using SumatraPDF on Linux? I thought it ran only on Windows. > > EK > > > > On 4/2/2010 5:54 AM, Julio Rojas wrote: > > > > There is a way using Sumatra as shown here: > > http://wiki.lyx.org/LyX/LyXOnCygwin#toc6 > > > > What is your OS? > > - > > Julio Rojas > > jcredbe...@gmail.com > > > > > > > > On Fri, Apr 2, 2010 at 10:47 AM, Ami > > wrote: > > > > > > pdfsync > > >
Re: Footnote location
I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: > On 04/02/2010 09:45 AM, Sandro Portmann wrote: >> Thanks a lot, works good. But there's an other question I have. How can I >> put the footnote right to the bottom of the page, if the page's not totally >> filled? >> >> > Sorry, don't know the answer to that one. You could try something like: >\setlength{\skip\footins}{2cm plus \textheight} > which allows LaTeX to "stretch" that length. But I don't know if it would > work. > > rh >
Generating colored tables for a LyX document
Hello, I need to include a lot of auto-generated tables into a LyX document. What is the best way of getting my tables into LyX? It seems the easiest way would be to simply generate one .lyx file per table and include that in the actual LyX document at the right place. However, I would really like to color my rows and columns differently and it seems that everything I try in LyX/LaTeX looks awful (the lines between the cells seem to change width depending on whether a cell is colored or not, etc.). I based my experiments on this: http://wiki.lyx.org/LyX/Tables#toc7 I had the idea of generating HTML tables and creating PDFs to include in my LyX document, but that fails on the fact that all html->pdf converters that I could find only generate full-page PDFs, whereas I need something cropped to the table size. What would you propose to generate nice tables for my LyX document? Thanks in advance! Cheers, Kosta
Re: Using pdfsync with LyX
Detlef Steuer wrote: > Is there any way to accomplish the same thing under Linux? > Or Linux and wine? Sec. 4.6 of the Advanced Features help manual covers a wide range of possibilities. However, LyX only supports reverse search. That is: you click in the PDF and then LyX will set the cursor to that place. What Ami wants is forward search (putting the cursor in LyX shall cause the PDF viewer to jump to the respective place). This is not yet implemented in LyX. Jürgen
Re: Footnote location
Kludge alert: Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change the footnote environment to place that before the footnote's text, or if that doesn't work perhaps construct a character style that does the same thing. These are ugly kludges that should be considered last resorts. SteveT On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: > I've tested it, but ut doesn't work. Is there anyone in the community that > can help me? > > SP > > Am 02.04.2010 um 16:43 schrieb rgheck: > > On 04/02/2010 09:45 AM, Sandro Portmann wrote: > >> Thanks a lot, works good. But there's an other question I have. How can > >> I put the footnote right to the bottom of the page, if the page's not > >> totally filled? > > > > Sorry, don't know the answer to that one. You could try something like: > >\setlength{\skip\footins}{2cm plus \textheight} > > which allows LaTeX to "stretch" that length. But I don't know if it would > > work. > > > > rh >
Re: 64bit Lyx 1.6.4 cannot view postscript
Am Mittwoch 31 März 2010 schrieb rgheck: > > This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( > > www.radicaleye.com) > > dvips: ! Couldn't find header file tex.pro. > > Note that an absolute path or a relative path with .. are denied in -R2 > > mode. > tex.pro is part of texlive-base-bin package here (ubuntu). (/usr/share/texmf-texlive/dvips/base/tex.pro) Kornel -- Kornel Benko kornel.be...@berlin.de signature.asc Description: This is a digitally signed message part.
Re: Footnote location
I didn't get the clue. In you're idea, I should put that TeX-Code in to the footnote or before the footnote marker appears in the text? I'm really new in using LyX and I'm not having much experience in customizing it. SP Am 02.04.2010 um 19:14 schrieb Steve Litt: > Kludge alert: > > Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps change > the > footnote environment to place that before the footnote's text, or if that > doesn't work perhaps construct a character style that does the same thing. > These are ugly kludges that should be considered last resorts. > > SteveT > > On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: >> I've tested it, but ut doesn't work. Is there anyone in the community that >> can help me? >> >> SP >> >> Am 02.04.2010 um 16:43 schrieb rgheck: >>> On 04/02/2010 09:45 AM, Sandro Portmann wrote: Thanks a lot, works good. But there's an other question I have. How can I put the footnote right to the bottom of the page, if the page's not totally filled? >>> >>> Sorry, don't know the answer to that one. You could try something like: >>> \setlength{\skip\footins}{2cm plus \textheight} >>> which allows LaTeX to "stretch" that length. But I don't know if it would >>> work. >>> >>> rh >>
Re: Using pdfsync with LyX
Julio Rojaswrites: > > From a fast Google search it seems you have to stick with Sumatra. I > have been using it as my default reader for LyX's output and I really > like it. > - > Julio Rojas > jcredbe...@... > I configured LyX to use Sumatra, but now- what should I do to make the sync work? The wiki page discusses ``reverse search", while I'm interested in the opposite direction (line in LyX -> line [or page] in pdf when viewing it).
Re: Footnote location
Insert the LaTeX one of the three ways I mentioned in my post. As a proof of concept, before the first character of a piece of footnote text, insert the following LaTeX with LyX's LaTeX insertion facility (ERT): ~\\[2cm] SteveT On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: > I didn't get the clue. In you're idea, I should put that TeX-Code in to the > footnote or before the footnote marker appears in the text? I'm really new > in using LyX and I'm not having much experience in customizing it. > > SP > > Am 02.04.2010 um 19:14 schrieb Steve Litt: > > Kludge alert: > > > > Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps > > change the footnote environment to place that before the footnote's text, > > or if that doesn't work perhaps construct a character style that does the > > same thing. These are ugly kludges that should be considered last > > resorts. > > > > SteveT > > > > On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: > >> I've tested it, but ut doesn't work. Is there anyone in the community > >> that can help me? > >> > >> SP > >> > >> Am 02.04.2010 um 16:43 schrieb rgheck: > >>> On 04/02/2010 09:45 AM, Sandro Portmann wrote: > Thanks a lot, works good. But there's an other question I have. How > can I put the footnote right to the bottom of the page, if the page's > not totally filled? > >>> > >>> Sorry, don't know the answer to that one. You could try something like: > >>> \setlength{\skip\footins}{2cm plus \textheight} > >>> which allows LaTeX to "stretch" that length. But I don't know if it > >>> would work. > >>> > >>> rh > -- Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: 64bit Lyx 1.6.4 cannot view postscript
On Sat, Apr 3, 2010 at 4:25 AM, Kornel Benkowrote: > Am Mittwoch 31 März 2010 schrieb rgheck: > > > This is dvips(k) 5.98 Copyright 2009 Radical Eye Software ( > > > www.radicaleye.com) > > > dvips: ! Couldn't find header file tex.pro. > > > Note that an absolute path or a relative path with .. are denied in -R2 > > > mode. > > > tex.pro is part of texlive-base-bin package here (ubuntu). > (/usr/share/texmf-texlive/dvips/base/tex.pro) > >Kornel > Thank you for the comment Kornel. In SUSE, I have tex.pro in the same path, except that your texmf-texlive is replaced by texmf. I have no directory texmf-texlive, though texlive has set up many other directories and files. I don't know whether this is significant or just a Ubunto naming feature. GeorgeL
Re: Footnote location
That doesn't work properly. It puts a space enter the number of the footnote and its text. How I can construct a character style, I unfortunately don't know. I need the whole footnote on the bottom of the page. SP Am 02.04.2010 um 20:31 schrieb Steve Litt: > Insert the LaTeX one of the three ways I mentioned in my post. As a proof of > concept, before the first character of a piece of footnote text, insert the > following LaTeX with LyX's LaTeX insertion facility (ERT): > > ~\\[2cm] > > SteveT > > On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: >> I didn't get the clue. In you're idea, I should put that TeX-Code in to the >> footnote or before the footnote marker appears in the text? I'm really new >> in using LyX and I'm not having much experience in customizing it. >> >> SP >> >> Am 02.04.2010 um 19:14 schrieb Steve Litt: >>> Kludge alert: >>> >>> Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps >>> change the footnote environment to place that before the footnote's text, >>> or if that doesn't work perhaps construct a character style that does the >>> same thing. These are ugly kludges that should be considered last >>> resorts. >>> >>> SteveT >>> >>> On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: I've tested it, but ut doesn't work. Is there anyone in the community that can help me? SP Am 02.04.2010 um 16:43 schrieb rgheck: > On 04/02/2010 09:45 AM, Sandro Portmann wrote: >> Thanks a lot, works good. But there's an other question I have. How >> can I put the footnote right to the bottom of the page, if the page's >> not totally filled? > > Sorry, don't know the answer to that one. You could try something like: > \setlength{\skip\footins}{2cm plus \textheight} > which allows LaTeX to "stretch" that length. But I don't know if it > would work. > > rh >> > > -- > Steve Litt > Recession Relief Package > http://www.recession-relief.US > Twitter: http://www.twitter.com/stevelitt >
Lyx... book (memoir) ... getting sections*/subsections* in the table of contents
Just a query: is it possible for me to get sections* and subsections* to show up in the table of contents of a Memoir style book? I can manage with sections/subsections, but don't want any numbers to show up before these. Thanks! FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org
Re: Footnote location
If the ERT didn't work, a character style won't either. The only way to do my kludge is to put it in a modified version of the footnote style. I think there's probably a better and simpler solution -- I just don't know it. SteveT On Friday 02 April 2010 17:38:41 Sandro Portmann wrote: > That doesn't work properly. It puts a space enter the number of the > footnote and its text. > > How I can construct a character style, I unfortunately don't know. I need > the whole footnote on the bottom of the page. > > SP > > Am 02.04.2010 um 20:31 schrieb Steve Litt: > > Insert the LaTeX one of the three ways I mentioned in my post. As a proof > > of concept, before the first character of a piece of footnote text, > > insert the following LaTeX with LyX's LaTeX insertion facility (ERT): > > > > ~\\[2cm] > > > > SteveT > > > > On Friday 02 April 2010 13:35:46 Sandro Portmann wrote: > >> I didn't get the clue. In you're idea, I should put that TeX-Code in to > >> the footnote or before the footnote marker appears in the text? I'm > >> really new in using LyX and I'm not having much experience in > >> customizing it. > >> > >> SP > >> > >> Am 02.04.2010 um 19:14 schrieb Steve Litt: > >>> Kludge alert: > >>> > >>> Put LaTeX ~\\[2cm] at the start of each footnote's text, or perhaps > >>> change the footnote environment to place that before the footnote's > >>> text, or if that doesn't work perhaps construct a character style that > >>> does the same thing. These are ugly kludges that should be considered > >>> last resorts. > >>> > >>> SteveT > >>> > >>> On Friday 02 April 2010 13:02:36 Sandro Portmann wrote: > I've tested it, but ut doesn't work. Is there anyone in the community > that can help me? > > SP > > Am 02.04.2010 um 16:43 schrieb rgheck: > > On 04/02/2010 09:45 AM, Sandro Portmann wrote: > >> Thanks a lot, works good. But there's an other question I have. How > >> can I put the footnote right to the bottom of the page, if the > >> page's not totally filled? > > > > Sorry, don't know the answer to that one. You could try something > > like: \setlength{\skip\footins}{2cm plus \textheight} > > which allows LaTeX to "stretch" that length. But I don't know if it > > would work. > > > > rh >
Re: Lyx... book (memoir) ... getting sections*/subsections* in the table of contents
On 4/2/10, Frederick Noronhawrote: > Just a query: is it possible for me to get sections* and subsections* > to show up in the table of contents of a Memoir style book? > Yes. See this. http://wiki.lyx.org/FAQ/Unsorted#toc22 Liviu > I can manage with sections/subsections, but don't want any numbers to > show up before these. Thanks! FN > > -- > Frederick Noronha > Books from Goa :: http://goa1556.goa-india.org > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Offer... for technical writing
Dear all: I am a journalist and writer, and a heavy user of Lyx. Please let me know if you need any help (volunteering, without fee) to help write or edit Lyx help files for users. I am not a techie, but understand the software ... with guidance I could do it. My English skills are near-native speaker level. FN -- Frederick Noronha Books from Goa :: http://goa1556.goa-india.org