Re: Adding hyperrefs with page numbers to nomenclature entries
> I will do that but cannot find the time right now. > As a last attempt (not very promising anyway) try this: > a) change the document class from KOMA-Script report to KOMA-Script article > b) if not yet done add the Module 'Linguistic' (in this case you will > also have to have covington.sty in place) > c) in the preamble add \usepackage[style=long,nolist]{glossaries} > > Michael > > Thank you for your help. Unfortunately this attempt did not work, either. I will try this solution next http://tex.stackexchange.com/questions/12346/use-a-quality-glossary-and-acronym-list-in-lyx Maybe this works for me. Ludwig
Re: Embed Gnuplot commands in Lyx
On Tue, Feb 16, 2016 at 08:52:53PM +0100, Jürgen Lange wrote: > It works now. > I had to add the argument -shell-escape to the Converter syntax pdflatex in > the Preferences. > > Thanks Glad you got it working. We wanted to make LyX work more seamlessly with gnuplot. I believe that Koji made efforts towards this goal. I wanted to continue his work but I did not find the time and have since lost interest. I CC Koji just in case you two want to attempt to bring those efforts back to life. Scott > > > Am 16.02.2016, 20:16 Uhr, schrieb Guenter Milde: > > >On 2016-02-16, Jürgen Lange wrote: > >>Hello, > >>I tried to embed Gnuplot commands in Lyx. > >>The necessary package is gnuplottex. > >>Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the > >>Lyx-preamble. > >>With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) > >>\end{gnuplot}, I don't get any gnuplot output. > > > >LyX does not "know" about any raw LaTeX - so it may be you have to export > >the > >file to LaTeX and then run LaTeX Gnuplot etc. "by hand". > > > >Günter signature.asc Description: PGP signature
Re: Hyperlinks work in one PDF viewer and not another
On Tue, Feb 16, 2016 at 09:20:06AM -0500, John Kane wrote: > It's a minor point as I am just experimenting as I've never needed links > but I seem to be able to create a file which generates a PDF with a > web-link that works with Document Viewer or Adobe Reader. > > > > It may just be a problem with my Okular installation but would someone be > kind enough to see how it works on their machines? For me it opens in Evince (Document Viewer) and Okular. I'm on Ubuntu 15.04. Scott signature.asc Description: PGP signature
Re: לא מופיע לי התפריט "מבנה (layout), ואני רוצה להוסיף חבילה למסמך.
On Tue, Feb 16, 2016 at 11:47:29AM +0200, סיון חרזי wrote: > אני משתמשת חדשה ממש. > אשמח לעזרתכם. > חוץ מזה, מישהו יודע להגיד לי איך אני משנה את תוכנה שלי לאנגלית? משום מה זה > התקין לי באופן אוטומטי את הגרסה בעברית. > > תודה מראש :) Hi Sivan, To change the language to English, Go to Tools > Preferences > Language Settings > Language and change the User Interface language. Then click save. Exit and restart. Best, Scott signature.asc Description: PGP signature
Re: How to place questions in a box?
Hi Paste this code in LyX local layout then click enable then apply then save: Style mybox Category MainText MarginStatic LatexType Environment LatexName exarab NextNoIndent 1 LeftMarginMMM RightMargin MMM ParIndent MM ParSkip 0 ItemSep 0 TopSep0.5 BottomSep 0.5 ParSep0 Align Block AlignPossible Block, Left, Right, Center Preamble\usepackage{multicol}\usepackage{etoolbox}%\usepackage{blindtext}%\usepackage[theorems,skins,breakable]{tcolorbox}% \newtcbtheorem[number within=section]{exarab}{mybox}{breakable,overlay={ },colback=blue!5,colframe=blue!25!black,fonttitle=\bfseries,title after break={Proof \csuse{the\tcbcounter} -- \raggedleft Continued}}{exarab} EndPreamble End regards في الثلاثاء، ١٦ فبراير، ٢٠١٦, Benjamin Bergكتب: > Hey, > > have you tried just putting them into a box from the "framed" or > "mdframed" package? > > i.e. > \usepackage{framed} > > \begin{framed} > Question here. > \end{framed} > > mdframed is much more fancy compared to framed. Have a look a the > documentation of each. > > Benjamin > > On Sa, 2016-01-30 at 13:18 +0800, Dominique Gerald Cimafranca wrote: > > Hi. I would like to know how to add a bounding box to all the > > questions in my questionnaire. I have a fairly long survey > > instrument > > with plenty of options for some questions. A bounding box would > > clearly delineate one question from another. > > > > Thanks in advance. > > > > --Dom > > > >
Can't change Description list label width
Hi, In the Lyx User's Guide (July 17, 2006) on page 31 at the bottom it is stated (and I'm paraphrasing) that the width of the label in Description lists can be changed via the Edit . Paragraph Settings dialog and the Label width text box. After selecting a Description list label and opening the dialog, I find that the text box is there, but basically inoperative since I can't enter anything. I'm using Lyx version 2.1.4 (July 24, 2015) on a Mac running 10.11.13 . Is this a problem with this Lyx version? How do I get Lyx to let me change the label width if this label box is inactive? Thanks. Roger -- Roger Martz Los Alamos National Laboratory
Re: Embed Gnuplot commands in Lyx
It works now. I had to add the argument -shell-escape to the Converter syntax pdflatex in the Preferences. Thanks Am 16.02.2016, 20:16 Uhr, schrieb Guenter Milde: On 2016-02-16, Jürgen Lange wrote: Hello, I tried to embed Gnuplot commands in Lyx. The necessary package is gnuplottex. Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the Lyx-preamble. With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) \end{gnuplot}, I don't get any gnuplot output. LyX does not "know" about any raw LaTeX - so it may be you have to export the file to LaTeX and then run LaTeX Gnuplot etc. "by hand". Günter gnuplot_test.pdf Description: Adobe PDF document
Re: Embed Gnuplot commands in Lyx
On 2016-02-16, Jürgen Lange wrote: > Hello, > I tried to embed Gnuplot commands in Lyx. > The necessary package is gnuplottex. > Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the > Lyx-preamble. > With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) > \end{gnuplot}, I don't get any gnuplot output. LyX does not "know" about any raw LaTeX - so it may be you have to export the file to LaTeX and then run LaTeX Gnuplot etc. "by hand". Günter
Re: Embed Gnuplot commands in Lyx
On 2016-02-16, Jürgen Lange wrote: > Hello, > I tried to embed Gnuplot commands in Lyx. > The necessary package is gnuplottex. > Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the > Lyx-preamble. > With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) > \end{gnuplot}, I don't get any gnuplot output. Try to create a small LaTeX file that works and import this into LyX. This might help to find the required raw LaTeX command(s). Günter
Re: Hyperlinks work in one PDF viewer and not another
My system is: Win10, sumatrapdf and the web-link is ok. Regards Am 16.02.2016, 15:20 Uhr, schrieb John Kane: It's a minor point as I am just experimenting as I've never needed links but I seem to be able to create a file which generates a PDF with a web-link that works with >Document Viewer or Adobe Reader. It may just be a problem with my Okular installation but would someone be kind enough to see how it works on their machines? Thanks. --John Kane Kingston ON Canada
Hyperlinks work in one PDF viewer and not another
It's a minor point as I am just experimenting as I've never needed links but I seem to be able to create a file which generates a PDF with a web-link that works with Document Viewer or Adobe Reader. It may just be a problem with my Okular installation but would someone be kind enough to see how it works on their machines? Thanks. -- John Kane Kingston ON Canada linky2.pdf Description: Adobe PDF document linky2.lyx Description: application/lyx
Re: Adding hyperrefs with page numbers to nomenclature entries
On 02/16/2016 02:04 PM, Ludwig Kräh wrote: Ludwig, I am wondering; My Document Class is KOMA-Script Article like yours. In Class Options - Custom I have these entries: paper=A4,fontsize=11pt,idxtotoc,listof=totoc,refpage,prefix=a (this last entry is for Indexing and of no relevance for a nomenclature) and that works just fine. In > Preferences > Language Settings > Language you may try Active/Deactivate the 'Set languages globally' and see if that brings a change. In my preamble there is not a single line that has to do with nomenclature (and I think there is no need for it). BTW, I am using four different languages in my document Michael Michael, I created a new minimal document with the settings you described http://pastebin.com/qe9Bp0WH but it's still not working. I really don't know what I'm getting wrong here. Could you perhaps provide a very basic working example? Ludwig I will do that but cannot find the time right now. As a last attempt (not very promising anyway) try this: a) change the document class from KOMA-Script report to KOMA-Script article b) if not yet done add the Module 'Linguistic' (in this case you will also have to have covington.sty in place) c) in the preamble add \usepackage[style=long,nolist]{glossaries} Michael
Re: compilation runs endlosly
Hi Uwe, John, thanks for your attention and contributions. This is the issue as reported earlier: Text as per screenshot 'underbar.png' worked in KOMA-Script Article but not in a linguistic document using André Miedes Classicthesis v4.1. More specificly: exporting the child document to PDF worked but did not after including the child in the master document. Starting compilation produced fatal results: it never ended and if the power was not immediately cutting off the child and even the master got erased (0 bites). I overcame this problem by removing the underbar as shown in screenshot 'nounderbar' but left all the other formats untouched. I exercised this throughout my entire document on 14 similar examples and now get a straight forward export to PDF. As an ordinary user I have to shift this problem to the experts: LaTeX bug, LyX bug or Miede's template or what else? Thanks and regards, Michael Berger On 02/15/2016 04:36 PM, John Kane wrote: Hi Michael, "Miede's template?" Well, I couldn't think what else to call it. It seems, upon inspection to be "ClassicThesis.lyx". I have something in my director called template.lyx but it is definitely not what I thought it was. I'm not sure what it is. I rather suspected that you were running into an interaction problem. I think the only thing to do is the old programming trick of starting out with just the one child document, run; add another, run; until you get a run that goes into the loop. Once you have that it, try running the first child with the last and see if you get the loop. If so, then send the master and child docs here and see what the experts can do. If not, resume the "add another, run" routine. Another thought, particularly if you find it's only two child documents, is run it in LaTeX and see what happens. That might show us if it is a specifically LyX problem or one to refer to the LaTeX maintainers. Sorry I cannot be of more help. On 02/14/2016 06:29 PM, John Kane wrote: Yes does the one sub-file do the same thing if you compile it alone in the template ? On 14 February 2016 at 12:13,> wrote: On 2016-02-14 08:59, Michael Berger wrote: Hi all, can somebody help, please! -- John Kane Kingston ON Canada -- John Kane Kingston ON Canada
Re: Justification of text.
Le 15/02/2016 12:08, Bryan Mitchell a écrit : I also attach a screen shot of the relevant Lyx box. If I highlight a paragraph and choose "Justified", it will not keep the choice but reverts to Default. If I do not highlight anything, then choose "Justified", it will keep the setting, but the result of the pdflatex output is unchanged. Am I misunderstanding this? Is it possible that the choice only affects the Lyx text? What you have here is that the default of the text is "justified". So in a not really intuitive manner, the dialog resets the value to "default". Note however, that justified is the natural alignment in LaTeX, and it is to my knowledge not possible to force it. What is possible to force, though is left/center/right. But as I explained before, we do not have the same expectations about what "justified" should do. JMarc
Re: Adding hyperrefs with page numbers to nomenclature entries
> Ludwig, I am wondering; > My Document Class is KOMA-Script Article like yours. > In Class Options - Custom I have these entries: > paper=A4,fontsize=11pt,idxtotoc,listof=totoc,refpage,prefix=a (this last > entry is for Indexing and of no relevance for a nomenclature) > and that works just fine. > In > Preferences > Language Settings > Language you may try > Active/Deactivate the 'Set languages globally' and see if that brings a > change. > In my preamble there is not a single line that has to do with > nomenclature (and I think there is no need for it). > BTW, I am using four different languages in my document > > Michael > > Michael, I created a new minimal document with the settings you described http://pastebin.com/qe9Bp0WH but it's still not working. I really don't know what I'm getting wrong here. Could you perhaps provide a very basic working example? Ludwig
Re: Adding hyperrefs with page numbers to nomenclature entries
On 02/16/2016 12:24 PM, Ludwig Kräh wrote: Ludwig, Document Settings > Document Class, in Class Options - Custom add 'refpage' Your problem should be gone -please confirm. Michael Hello Michael, I already tried that one. My custom options are "liststotoc, bibtotoc, intoc, refpage" The document class I'm using is report (KOMA-script). Ludwig Ludwig, I am wondering; My Document Class is KOMA-Script Article like yours. In Class Options - Custom I have these entries: paper=A4,fontsize=11pt,idxtotoc,listof=totoc,refpage,prefix=a (this last entry is for Indexing and of no relevance for a nomenclature) and that works just fine. In > Preferences > Language Settings > Language you may try Active/Deactivate the 'Set languages globally' and see if that brings a change. In my preamble there is not a single line that has to do with nomenclature (and I think there is no need for it). BTW, I am using four different languages in my document Michael
Embed Gnuplot commands in Lyx
Hello, I tried to embed Gnuplot commands in Lyx. The necessary package is gnuplottex. Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the Lyx-preamble. With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) \end{gnuplot}, I don't get any gnuplot output. Thanks for help and regards Jürgen
Re: Adding hyperrefs with page numbers to nomenclature entries
> Ludwig, > Document Settings > Document Class, in Class Options - Custom add 'refpage' > Your problem should be gone -please confirm. > Michael > > Hello Michael, I already tried that one. My custom options are "liststotoc, bibtotoc, intoc, refpage" The document class I'm using is report (KOMA-script). Ludwig
Re: Adding hyperrefs with page numbers to nomenclature entries
On 02/16/2016 10:23 AM, Ludwig Kräh wrote: Hallo Ludwig, have you tried > Document > Settings > PDF properties > then activate 'Use Hyperref Support' and in tab Hyperlinks activate Color Links and/or Backreferences Good luck, Michel Berger PS: after that you may have to remove/alter some of the entries in your preamble Hallo Michael, Thank you, I already activated basic hyperref support, but I forgot/missed that other option. I chose "Backlinks: Page" in the dropdown menu. Now there are backlinks in my bibliography (which is nice), but still not in the nomenclature. I did not have to change my preamble, it still works. Ludwig Kräh Ludwig, Document Settings > Document Class, in Class Options - Custom add 'refpage' Your problem should be gone -please confirm. Michael
לא מופיע לי התפריט "מבנה (layout), ואני רוצה להוסיף חבילה למסמך.
אני משתמשת חדשה ממש. אשמח לעזרתכם. חוץ מזה, מישהו יודע להגיד לי איך אני משנה את תוכנה שלי לאנגלית? משום מה זה התקין לי באופן אוטומטי את הגרסה בעברית. תודה מראש :) -- Sivan Harazi Department of Chemistry Bar-Ilan University Ramat-Gan 5290002 Israel Work: 03-5318634 Mobile 050-6404083
Re: Justification of text.
Le 15/02/2016 12:08, Bryan Mitchell a écrit : Yes, in the example given two words are hyphenated to make the text fit to the margins. With justification there should be no hyphenation. I am surprised by this last statement. Do you have a reference for it? I always thought that programs that don't do hyphenation do so by laziness. On way of maybe reducing hyphenation while keeping reasonable typesetting is to use \usepackage{microtype} JMarc
Re: Adding hyperrefs with page numbers to nomenclature entries
> Hallo Ludwig, > have you tried > Document > Settings > PDF properties > then activate > 'Use Hyperref Support' and in tab Hyperlinks activate Color Links and/or > Backreferences > > Good luck, > Michel Berger > PS: after that you may have to remove/alter some of the entries in your > preamble > > Hallo Michael, Thank you, I already activated basic hyperref support, but I forgot/missed that other option. I chose "Backlinks: Page" in the dropdown menu. Now there are backlinks in my bibliography (which is nice), but still not in the nomenclature. I did not have to change my preamble, it still works. Ludwig Kräh
Re: Adding hyperrefs with page numbers to nomenclature entries
On 02/16/2016 09:30 AM, Ludwig Kräh wrote: Hello LyX users, I'm new to LyX and trying out some things. I'm using a nomenclature and now wondering about the following. How can I automatically add hyperrefs to my nomenclature entries, which point back to where the name has been used? It's kind of similar to what this user here asked, but I can't get this solution to work in LyX. http://tex.stackexchange.com/questions/197166/how-to-make-page-numbers-in-a-nomenclature-hyperref-links I already managed to make the page number appear in my language with \renewcommand{\pagedeclaration}[1]{ (Seite\nobreakspace{}#1)} but this \renewcommand{\pagedeclaration}[1]{ \hyperlink{page.#1}{page\nobreakspace#1} } does not work. This is my preamble % \usepackage{charter} \usepackage[scaled=.92]{helvet} \usepackage{courier} \usepackage{microtype} \pagenumbering{roman} \let\myTOC\tableofcontents \renewcommand\tableofcontents{ \myTOC \clearpage \pagenumbering{arabic} } \renewcommand\nomname{Nomenklatur} \renewcommand{\pagedeclaration}[1]{ (Seite\nobreakspace{}#1)} %Not working %\renewcommand{\pagedeclaration}[1]{ \hyperlink{page.#1}{page\nobreakspace#1} } %== Any ideas? Thank you very much in advance. Hallo Ludwig, have you tried > Document > Settings > PDF properties > then activate 'Use Hyperref Support' and in tab Hyperlinks activate Color Links and/or Backreferences Good luck, Michel Berger PS: after that you may have to remove/alter some of the entries in your preamble
Adding hyperrefs with page numbers to nomenclature entries
Hello LyX users, I'm new to LyX and trying out some things. I'm using a nomenclature and now wondering about the following. How can I automatically add hyperrefs to my nomenclature entries, which point back to where the name has been used? It's kind of similar to what this user here asked, but I can't get this solution to work in LyX. http://tex.stackexchange.com/questions/197166/how-to-make-page-numbers-in-a-nomenclature-hyperref-links I already managed to make the page number appear in my language with \renewcommand{\pagedeclaration}[1]{ (Seite\nobreakspace{}#1)} but this \renewcommand{\pagedeclaration}[1]{ \hyperlink{page.#1}{page\nobreakspace#1} } does not work. This is my preamble % \usepackage{charter} \usepackage[scaled=.92]{helvet} \usepackage{courier} \usepackage{microtype} \pagenumbering{roman} \let\myTOC\tableofcontents \renewcommand\tableofcontents{ \myTOC \clearpage \pagenumbering{arabic} } \renewcommand\nomname{Nomenklatur} \renewcommand{\pagedeclaration}[1]{ (Seite\nobreakspace{}#1)} %Not working %\renewcommand{\pagedeclaration}[1]{ \hyperlink{page.#1}{page\nobreakspace#1} } %== Any ideas? Thank you very much in advance.