GnuPlot
I'm trying to incoporate GnuPlot into LyX. As I understand things, I have to add a path for LyX to find it. How do I go about doing that? Thanks for any help! Best Regards, Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Deleting outline entry
24 de set. de 2023, 3:25 per xraco...@gmx.de: > On 2023-09-23 21:09, Daniel wrote: > >> On 2023-09-23 18:50, Dan via lyx-users wrote: >> >>>> Is there a way to delete an outline entry? A right-click on the entry does >>>> not offer that option and the delete key removes characters in the >>>> chapter/section title, not the chapter/section itself. >>>> >>> I do not see any way of accomplishing this via the GUI, but it can be done >>> by means of the command interpreter with a pair of commands. >>> >>> Say you want to delete section 2.2 of your document >>> 1. Place the cursor at the title of section 2.2. >>> 2. Issue in the command interpreter "section-select". This will select >>> the whole section 2.2. >>> 3. To delete the entire section, then enter this command: >>> "char-delete-forward". This will erase the whole section. >>> >>> These steps work for any kind of sectioning (division of the text >>> hierarchycally): parts, chapters, paragraphs, etc. You could even customize >>> your UI file to bind these pair of commands to a button in the toolbars. >>> >> >> I was about to suggest to add a "Delete Section" menu entry to the TOC >> context menu. But that doesn't work for some reason and I am not sure why. >> >> In any case, such a (working) menu entry should probably be available. >> >> Daniel >> > > Maybe there is some kind of cursor update missing after the "section-select" > command? > > command-sequence section-select;char-delete-forward > > apparently works fine when the cursor is already in the heading but not when > executed merely from the context-menu. > > Daniel > Apparently the command "char-delete-forward" (and its twin "char-delete-backward") is "forbidden" in that location. Thus, adding the item "Delete Section|e" "command-sequence section-select; char-delete-forward" to stdcontext.inc does not work, by design. Try it by yourself with the debugging category "action" enabled in the messages pane (View > Messages Pane). Otherwise, see the debug messages attached. It may be possible, but I do not know how. Daniel. -- Enviat amb Tutanota. 20:12:26.110: Command disabledGuiApplication.cpp (1746): cmd: action: 173 [command-sequence] arg: 'section-select; char-delete-forward' x: 0 y: 0 GuiApplication.cpp (1746): cmd: action: 332 [section-select] arg: '' x: 0 y: 0 GuiApplication.cpp (1746): cmd: action: 196 [paragraph-goto] arg: '1 0' x: 0 y: 0 BufferView.cpp (1366): BufferView::dispatch: cmd: action: 196 [paragraph-goto] arg: '1 0' x: 0 y: 0 GuiApplication.cpp (1514): dispatch msg is `' Cursor.cpp (781): Cursor::dispatch: cmd: action: 332 [section-select] arg: '' x: 0 y: 0 Cursor.cpp (811): Cursor::dispatch: cmd: action: 332 [section-select] arg: '' x: 0 y: 0 insets/InsetText.cpp (311): InsetText::doDispatch(): cmd: action: 332 [section-select] arg: '' x: 0 y: 0 Text.cpp (4038): Text::dispatch: cmd: action: 332 [section-select] arg: '' x: 0 y: 0 GuiApplication.cpp (1514): dispatch msg is `' GuiApplication.cpp (1746): cmd: action: 61 [char-delete-forward] arg: '' x: 0 y: 0 GuiApplication.cpp (1754): action char-delete-forward [] is disabled at this location GuiApplication.cpp (1514): dispatch msg is `Command disabled' GuiApplication.cpp (1514): dispatch msg is `' -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Deleting outline entry
> On 2023-09-23 18:50, Dan via lyx-users wrote: > >>> Is there a way to delete an outline entry? A right-click on the entry does >>> not offer that option and the delete key removes characters in the >>> chapter/section title, not the chapter/section itself. >>> >> I do not see any way of accomplishing this via the GUI, but it can be done >> by means of the command interpreter with a pair of commands. >> I am dumb. I have just realized there is a context-menu item "Select Section": right-clicking on any section in the outline pane. So you could just use that and then the "delete" key. > I was about to suggest to add a "Delete Section" menu entry to the TOC > context menu. But that doesn't work for some reason and I am not sure why. > > In any case, such a (working) menu entry should probably be available. > > Daniel > I have just run a couple of tests and, unexpectedly, the sequence of commands works when added to the toolbars (only if cursor is in the title), but not when added to the context menu of the TOC. See the attached (diff) files to see the changes I made to "stdcontext.inc" and "stdtoolbars.inc", and try it out by yourself. Daniel. -- Enviat amb Tutanota. 717d716 < Item "Delete Section|S" "command-sequence section-select; char-delete-forward" 106d105 < Item "Delete section" "command-sequence section-select; char-delete-forward" -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Deleting outline entry
> Is there a way to delete an outline entry? A right-click on the entry does > not offer that option and the delete key removes characters in the > chapter/section title, not the chapter/section itself. > I do not see any way of accomplishing this via the GUI, but it can be done by means of the command interpreter with a pair of commands. Say you want to delete section 2.2 of your document 1. Place the cursor at the title of section 2.2. 2. Issue in the command interpreter "section-select". This will select the whole section 2.2. 3. To delete the entire section, then enter this command: "char-delete-forward". This will erase the whole section. These steps work for any kind of sectioning (division of the text hierarchycally): parts, chapters, paragraphs, etc. You could even customize your UI file to bind these pair of commands to a button in the toolbars. If you do not know how to open the command interpreter, do this 1. Place the mouse pointer on the toolbars. 2. Right click and set the toolbar "Command Buffer" visibility to "On". This will bring up a text box to type command in. Use the tab key when typing to autocomplete commands. Hope this helps. Kind regards. Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problem converting some svgz
> On Fri, Sep 15, 2023 at 07:25:44PM +0200, Dan via lyx-users wrote: > >> Yes, I did, that's why I suspect the problem is actually with these >> third-party apps rather than LyX. >> Generate PDF files (attached) from redo.svgz >> 1. Cairosvg: "cairosvg -f pdf -o redo_cairosvg.pdf lib/images/redo.svgz" >> 2. Inkscape: "inkscape -D -o redo_inkscape.pdf lib/images/redo.svgz" >> > > I could reproduce the problem with Inkscape. I can actually open the file in > Inkscape and it looks fine (though there are Warning on the console about svg > content). > It's the export when it breaks completely. I suggest to file bug against > inkscape itself. > Asked for peer confirmation on IRC as well. A person replied to me confirming the problem with version 1.3; but also told me that this problem does not happen in the upstream version (1.4-dev) of Inkscape. That person recommended me to file a bug so that the "fix" is backported to the next release of Inkscape (1.3.1). > For LyX purposes you could bypass this problem by using rsvg-convert instead > of inkscape (works fine here). > Another way could by to try luck in different vector editor, resave it and > try again. > > Pavel > Thanks for the suggestion! I stopped using Inkscape because the packaged AppImage is quite slow compared to other options, such as cairosvg. Will give it a try. Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problem with frame inset
> This is since "InsetLayout Box" (in stcinsetc.inc) sets the label color > to "foreground" (the text color), which is not a good idea in dark > mode. Setting it to static "black" fixes the issue. I'll do this in > master. > > -- > Jürgen > I have come across the very same problem again with listing buttons (when editing externally). The solution is the very same as well. STEPS TO REPRODUCE: 1. Insert > Program listing 2. Type something in. 3. Open context menu (right clic) and choose "Edit externally". 4. A button for the program listing inset shows whose text is barely readable. See attached image. SOLUTION: I have tried mimicking your solution to the previous problem: switching the label's text colour from "foreground" to "black". See the text attachment (diff of changes to lib/layouts/stdinsets.inc) Daniel. -- Enviat amb Tutanota. diff.stdinsets.inc Description: Binary data -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Is there a way to abort the file output?
> Am Montag, dem 18.09.2023 um 08:07 -0400 schrieb Dan: > >> I occasionally (ahem!) make a coding error. Sometimes when this >> happens LyX will hang when converting the code to a PDF format. Is >> there a way to abort the conversion engine? I've been using the >> built in Windows task manager to do this but it would be nicer to use >> the LyX version, if it has one, so I wouldn't have to exit and reload >> the file. It's not a big deal, I'm just curious. >> > > With LyX 2.4, there is a small abort button next to the spinning wheel > in the task bar. > Additionally to what Jürgen said; there are two other ways of cancelling an ongoing export process, which may be handy: 1. Add a keyboard shortcut to the LyX function "export-cancel" in Tools > Preferences > Editing > Shortcuts. 2. During the export process of a document, a menuitem spawns in the Document menu. Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Is there a way to abort the file output?
I occasionally (ahem!) make a coding error. Sometimes when this happens LyX will hang when converting the code to a PDF format. Is there a way to abort the conversion engine? I've been using the built in Windows task manager to do this but it would be nicer to use the LyX version, if it has one, so I wouldn't have to exit and reload the file. It's not a big deal, I'm just curious. Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problem converting some svgz
> Both PDFs (attached) display only the shadow of the arrow, not the arrow > itself. > Forgot to add the attachments, I am dumb :(. Daniel. Enviat amb Tutanota. redo_cairosvg.pdf Description: Adobe PDF document redo_inkscape.pdf Description: Adobe PDF document -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problem converting some svgz
>> > I have replaced cairosvg (version 2.5.2) for Inkscape (version 1.3, the >> > latest AppImage(d)), but the problem partially persists: now the Undo icon >> > displays properly in workarea and PDF, but Redo does not in neither of >> > them. See the attached images. >> > >> Sorry, I meant now Redo is not showing properly >> 1. Neither in LyX workarea nor in PDF output when cache is enabled. >> 2. Only in PDF output when cache is disabled. >> > > Can you reproduce the problem directly on the command line with cairosvg and > inkscape? > > Scott > Yes, I did, that's why I suspect the problem is actually with these third-party apps rather than LyX. Generate PDF files (attached) from redo.svgz 1. Cairosvg: "cairosvg -f pdf -o redo_cairosvg.pdf lib/images/redo.svgz" 2. Inkscape: "inkscape -D -o redo_inkscape.pdf lib/images/redo.svgz" Both PDFs (attached) display only the shadow of the arrow, not the arrow itself. I tested this with other icons (cut, paste, undo) - Inkscape gave no problems. - Cairosvg gave no problems with the first two, but the latter yielded an empty pdf. Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Ask for support for a small diploma work
> I'm a little confused about what's being asked, but if the goal is to > generate diplomas for people, Inkscape is a MUCH better alternative > than LyX. You put tokens in the diploma SVG file, run a simple > shellscript or Python or whatever to convert those tokens to the > current graduate from a list of graduates, and crank them out. Easy > Peazy, and with Inkscape you can align everything exactly how you want > it. I can't begin to imagine how horrible this job would be with LyX. > > SteveT > My email is a response to an email in the lyx-dev mailing list, telling that person to move further replies to this list. The inicial question is linked at the beginning of my reply (http://lists.lyx.org/pipermail/lyx-devel/2023-September/010691.html). Apparently that person needs to create some modules and was asking for information on how to proceed. Sorry for the confusion ;). Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Ask for support for a small diploma work
Hello, first and foremost, I think this topic (http://lists.lyx.org/pipermail/lyx-devel/2023-September/010691.html) fits best the user mailing list, not this one (development). So post there any further doubts or problems with this subject. > > Can someone tell me how to proceed so that I can write a corresponding Lyx > module? > > I have searched the LyX's wiki for information on creating layouts and modules; a good starting point is this page: https://wiki.lyx.org/Layouts/CreatingLayouts Note that it references the Customization manual for information on layouts and modules, so you should read that as well, namely sections 5.1, 5.2 and 5.3. Wish you luck with that! Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Problem converting some svgz
> I have replaced cairosvg (version 2.5.2) for Inkscape (version 1.3, the > latest AppImage(d)), but the problem partially persists: now the Undo icon > displays properly in workarea and PDF, but Redo does not in neither of them. > See the attached images. > Sorry, I meant now Redo is not showing properly 1. Neither in LyX workarea nor in PDF output when cache is enabled. 2. Only in PDF output when cache is disabled. Daniel. -- Enviat amb Tutanota. -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Problem converting some svgz
Hello, I am having a problem with some svgz (gzipped svg files) not displaying propely in both, the LyX's workarea and the PDF output. I ask here to see if someone else has (or has had) a similar problem and can give me some advice. PROBLEM Follow through these steps 1. Run LyX. 2. Deactivate the cache for converters (Tools > Preferences > File Handling > Converters) and delete the content of the cache folder (~/.lyx/cache in GNU/Linux). 3. Open the attached file (is a minimal example). 4. Check whether you see the Undo and Redo icons in the workarea. 5. Generate a PDF output and check whether the Undo and Redo icons display properly. In my case, all the icons displayed correctly, but the Undo and Redo ones. After some exploration and looking into the debug messages (lyx -dbg graphics my-file.lyx), I realized 1. With cache for files disabled, no conversion is actually carried out to display the icons in the workarea. When cache is enabled, the problem with Undo and Redo icons shows in the workarea as well. 2. The problem has to do with the converter from SVGZ to PDF and PNG formats, in my case cairosvg ("cairosvg -f pdf -o $$o $$i" for PDF, for instance). I have replaced cairosvg (version 2.5.2) for Inkscape (version 1.3, the latest AppImage(d)), but the problem partially persists: now the Undo icon displays properly in workarea and PDF, but Redo does not in neither of them. See the attached images. My converter instruction is now: inkscape --export-area-drawing -o $$o $$i The conversion type is inferred by Inkscape from the output-file extension, but Inkscape is not very verbose about the process and what goes wrong, so I am stuck now... Any help would be appreciated, as I do not want to face this problem in an actual and more important document in the future. Thanks. SYTEM INFO == Inkscape (inkscape --debug-info) Inkscape 1.3 (0e150ed, 2023-07-21) GLib version: 2.64.6 GTK version: 3.24.20 glibmm version: 2.64.2 gtkmm version: 3.24.2 libxml2 version: 2.9.10 libxslt version: 1.1.34 Cairo version: 1.17.7 Pango version: 1.44.7 HarfBuzz version: 2.6.4 OS version: Linux Mint 21.2 Lyx: Version 2.4.0~RC1.devel (not released yet) Built from git commit hash b5bd214c Qt Version (run-time): 5.15.3 on platform xcb Qt Version (compile-time): 5.15.3 OS Version (run-time): Linux Mint 21.2 Python detected: 3.10.12 (/usr/bin/python3) Daniel. -- Enviat amb Tutanota. Problem-with-icons_minimal-example.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Double brackets
I am trying to write a Lie bracket [[a, b ]]. The commands \llbracket and \rrbracket work just fine in the LyX math formula, but doesn't render in LuaTex. I could conceivably use a negative space and join the symbols | and [ (with some fussing) but I can't get LyX to recognize \! as a negative spacer. (That's another question, really. I don't need that answered here if there is a simpler way to do this.) Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Spacing at the top and bottom of tabular
The code is working just fine, but I need to add something to give a little more space at the top and bottom of a table. Here's the code: \begin{tabular}{|c|c|} \hline \text{Example} & \text{Code} \\ \hline x = \dfrac{-b\pm\sqrt{b^{2}-4ac}}{2a} & \textrm{ x = \backslash frac\{-b \backslash pm \backslash sqrt\{ b \hat{} 2 - 4ac\} \}\{2a\} } \\ \hline \end{tabular} The square root at the top of the box is crushed up into the \hline and the 2a at the bottom is similar. I can find all sorts of things to do to change horizontal spacing, and I even found a method to add extra vertical space to the rows (\arraystretch), but it doesn't do anything with the very top and bottom. A have attached a full file. Thanks! -Dan Sample.lyx Description: application/lyx -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
\text{ \cdot }
When I type \text{ \cdot } into the math compiler it gives me the little dot, not the text "\cdot". How do I fix this? I'm writing a MathJax tutorial and I need to be able to put the codes in an array. Here's a sample of the code: \begin{array}{|l|l|} \hline \text{Symbol} & \text{Code} \\ + & + \\ - & - \\ \text{ * } & \text{ * } \\ \cdot & \text{ \cdot} \\ \times & \text{ \times} \\ /&/ \\ \div & \text{ \div } \\ \hline \end{array} (The really weird part about this is that MathJax simply refuses the command line entirely.) Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Grammar Checking -- noob help!
I'm writing what is essentially going to be a small text in Physics with a lot of high end Mathematics, so a good Science grammar checker would be a nice idea. I found the LyX wiki and the lyx-cg system. Are there other options? I'm also looking at Grammarly but I'm not sure it can handle the kind of language help I might need. Let's say I go with the lyx-cg idea. (Which is why I'm posting this here. :) ) I have a few questions. 1) Is lyx-cg up to date? I'm noticing that the Github files are as much as 8 years old. 2) If I have to buy something I'd prefer to buy it outright. langaugetool charges per month. Is there any way around this? 3) But the main problem is the actual lyx-cg file. I have it on Github, but what do I do with it? I was expecting to download a file and extract it. But it's giving me a list of files with their codes, not something I can download? Sorry, I'm a bit of a noob. I could use a hand. Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Formatting/Equation numbering
I know how I can number equations, but I would like the equations to be in the following type of format: Eq. 1.1 (equation) Eq. 1.2 (equation) indented slightly. IMO I don't like having them centered like the usual Edit, Math, NumberWholeFormula method does. I know LaTeX supports defining a user formatting code but I don't know how to do that in LyX. Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Danish letter o
I am having troubles with the Danish letter "o" with a slash through it. As far as I can tell it's supposed to reder under LaTeX with the code \o but it doesn't seem to work. I'm currently using \cancel{\text{o}} but it doesn't really look right. Is there a package I should be using? Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Default location for files
I am trying to plot data from a csv file using TikZ but the system can't seem to find the file location. Is there a specific folder I need to put this file in, or is there a way I can set a default folder for LyX to look for? Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Drawing an arc
Hello! I'm having troubles with drawing an arc. The rest of the diagram works fine and the code seems to parse but nothing shows up on the picture. Here's the code: \begin{tikzpicture}[domain=3:10] \draw (0,0) rectangle (3,5); \draw (0,0) -- (10, 0); \draw [<->] (2,0) -- (2,5); \coordinate [label=left:{$h$}] (h) at (2,2.5); \draw [<->] (3,-0.5) -- (10,-0.5); \coordinate [label=below:{$R$}] (R) at(6.5,-0.5); \draw (3,5) -- (5,5); \draw[->] (3,5) -- (5,7); \path (3,5) to node [above] {$v_0$} (5,8); \path (3,5) arc [start angle=0, end angle=45, radius=3mm]; \coordinate [label={$\theta$}] (t) at (4, 5.1); \draw [dashed] plot (\x,{5+tan(45)*((\x)-3)-4.9*(((\x)-3)/(6.33*cos(45)))^2}); \end{tikzpicture} The problem is the path line 4 lines above the bottom. This is practically a copy of a line I got out of a manual but I can't seem to make it work. The arc is supposed to appear in the corner next to the symbol theta. See the attachment. (It's a little fuzzy, but it will do.) Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
TikZ
I was wondering if LyX supports any TikZ packages? Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Table of contents and links in pdf
Is it possible to construct a table of contents in LyX that will allow a person viewing the pdf to click a link to get to a specific section? Or is this an Adobe feature? Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Cannot edit LaTeX child document in LyX 2.1
Subject basically says it all: When I try to edit a LaTeX child document from within LyX 2.1.1 (by clicking 'edit' in the child document window) I get an error message 'LyX: Cannot edit file. Auto-edit file path-to-file failed.' It does work with LyX child documents and it also works with LyX 2.0.8.1, which is also installed on the same machine. It did not work with 2.1.0, either. As far as I can see the paths/settings are the same in 2.1.1 and 2.0.8.1, but please let me know whether I should check something specific. I'm on Windows 7 btw. Thanks!
RE: frage
El, can't you use deadkeys in LyX on Mac? http://en.wikipedia.org/wiki/Dead_key#Dead_keys_on_various_keyboard_layouts You might also want to try changing the keyboard layout to US International: From http://hints.macworld.com/article.php?story=Howtotypeletterswit20100304073426167: If you use the US International - PC keyboard layout, you instantly get the fast way of entering the letters with diacritics! Go to System Preferences » Language Text » Input Sources. Check the US International - PC input method in the list of Input Methods. (If you also use other Input Methods, uncheck the others or select the US International - PC method as the current Input Method.) Now you can use the fastest way of entering these characters. For á, é, í, ó, ú: press ' and directly after that, the vowel.For à, è, ì, ò, ù: press ` and directly after that, the vowel. (Note that ` is slightly different slightly different from ' ... on my keyboard, it is located right of the left-side Shift key.)For ä, ë, ï, ö, ü: press and directly after that, the vowel.For ã, ñ, õ: press ˜ and directly after that, the letter. NOTE: Setting your keyboard layout to US International - PC could change the location of some other symbols if you ordered your Mac with an other-than-International keyboard. In my case, everything was still where it should be, but check this and experiment a little with it and find out what best suits your needs. To: lyx-users@lists.lyx.org From: nos...@lisse.na Subject: Re: frage Date: Wed, 20 Aug 2014 12:29:33 +0100 I also write on and off German language texts, and though I have a German Mac keyboard as spare at home and will connect it if I write something long, I really would like to be able to easily/quickly type the German Umlaute in lower and Upper case on the standard (US) keybopard. Alt-s is helpful, but I can't find the others. ERT is not only Evil, it also takes 4-5 Keystrokes for the price of one :-)-O Any ideas, perhaps for assignments to key combinations? greetings, el on 2014-08-19, 21:09 David L. Johnson said the following: On 08/19/2014 10:33 AM, Stephan Witt wrote: Am 19.08.2014 um 16:08 schrieb Volker Steinbach steine...@gmail.com: no joke : i wanted to know if there is a cheap solution tothe problem : in german, we had a character called 'eszet' or sharp s. it looks almost like a greek beta. i wondered if there is a latex sign (beginning with \) that prints it. i remember thirty years ago i could use \3 for it ! thats it. And you don't have a keyboard with an ß ? In case you're using LyX you shouldn't have a problem to get it printed after you successfully typed it. Ok, there are some problematic languages, but with german I don't know any. Try \ss, making it TeX mode, or what we call ERT.
Cannot edit LaTeX child document in LyX 2.1
Subject basically says it all: When I try to edit a LaTeX child document from within LyX 2.1.1 (by clicking 'edit' in the child document window) I get an error message 'LyX: Cannot edit file. Auto-edit file path-to-file failed.' It does work with LyX child documents and it also works with LyX 2.0.8.1, which is also installed on the same machine. It did not work with 2.1.0, either. As far as I can see the paths/settings are the same in 2.1.1 and 2.0.8.1, but please let me know whether I should check something specific. I'm on Windows 7 btw. Thanks!
RE: frage
El, can't you use deadkeys in LyX on Mac? http://en.wikipedia.org/wiki/Dead_key#Dead_keys_on_various_keyboard_layouts You might also want to try changing the keyboard layout to US International: From http://hints.macworld.com/article.php?story=Howtotypeletterswit20100304073426167: If you use the US International - PC keyboard layout, you instantly get the fast way of entering the letters with diacritics! Go to System Preferences » Language Text » Input Sources. Check the US International - PC input method in the list of Input Methods. (If you also use other Input Methods, uncheck the others or select the US International - PC method as the current Input Method.) Now you can use the fastest way of entering these characters. For á, é, í, ó, ú: press ' and directly after that, the vowel.For à, è, ì, ò, ù: press ` and directly after that, the vowel. (Note that ` is slightly different slightly different from ' ... on my keyboard, it is located right of the left-side Shift key.)For ä, ë, ï, ö, ü: press and directly after that, the vowel.For ã, ñ, õ: press ˜ and directly after that, the letter. NOTE: Setting your keyboard layout to US International - PC could change the location of some other symbols if you ordered your Mac with an other-than-International keyboard. In my case, everything was still where it should be, but check this and experiment a little with it and find out what best suits your needs. To: lyx-users@lists.lyx.org From: nos...@lisse.na Subject: Re: frage Date: Wed, 20 Aug 2014 12:29:33 +0100 I also write on and off German language texts, and though I have a German Mac keyboard as spare at home and will connect it if I write something long, I really would like to be able to easily/quickly type the German Umlaute in lower and Upper case on the standard (US) keybopard. Alt-s is helpful, but I can't find the others. ERT is not only Evil, it also takes 4-5 Keystrokes for the price of one :-)-O Any ideas, perhaps for assignments to key combinations? greetings, el on 2014-08-19, 21:09 David L. Johnson said the following: On 08/19/2014 10:33 AM, Stephan Witt wrote: Am 19.08.2014 um 16:08 schrieb Volker Steinbach steine...@gmail.com: no joke : i wanted to know if there is a cheap solution tothe problem : in german, we had a character called 'eszet' or sharp s. it looks almost like a greek beta. i wondered if there is a latex sign (beginning with \) that prints it. i remember thirty years ago i could use \3 for it ! thats it. And you don't have a keyboard with an ß ? In case you're using LyX you shouldn't have a problem to get it printed after you successfully typed it. Ok, there are some problematic languages, but with german I don't know any. Try \ss, making it TeX mode, or what we call ERT.
Cannot edit LaTeX child document in LyX 2.1
Subject basically says it all: When I try to edit a LaTeX child document from within LyX 2.1.1 (by clicking 'edit' in the child document window) I get an error message 'LyX: Cannot edit file. Auto-edit file "path-to-file" failed.' It does work with LyX child documents and it also works with LyX 2.0.8.1, which is also installed on the same machine. It did not work with 2.1.0, either. As far as I can see the paths/settings are the same in 2.1.1 and 2.0.8.1, but please let me know whether I should check something specific. I'm on Windows 7 btw. Thanks!
RE: frage
El, can't you use deadkeys in LyX on Mac? http://en.wikipedia.org/wiki/Dead_key#Dead_keys_on_various_keyboard_layouts You might also want to try changing the keyboard layout to US International: >From >http://hints.macworld.com/article.php?story=Howtotypeletterswit20100304073426167: "If you use the US International - PC keyboard layout, you instantly get the fast way of entering the letters with diacritics! Go to System Preferences » Language & Text » Input Sources. Check the US International - PC input method in the list of Input Methods. (If you also use other Input Methods, uncheck the others or select the US International - PC method as the current Input Method.) Now you can use the fastest way of entering these characters. For á, é, í, ó, ú: press ' and directly after that, the vowel.For à, è, ì, ò, ù: press ` and directly after that, the vowel. (Note that ` is slightly different slightly different from ' ... on my keyboard, it is located right of the left-side Shift key.)For ä, ë, ï, ö, ü: press " and directly after that, the vowel.For ã, ñ, õ: press ˜ and directly after that, the letter. NOTE: Setting your keyboard layout to US International - PC could change the location of some other symbols if you ordered your Mac with an other-than-International keyboard. In my case, everything was still where it should be, but check this and experiment a little with it and find out what best suits your needs." > To: lyx-users@lists.lyx.org > From: nos...@lisse.na > Subject: Re: frage > Date: Wed, 20 Aug 2014 12:29:33 +0100 > > I also write on and off German language texts, and though I have a > German Mac keyboard as spare at home and will connect it if I write > something long, I really would like to be able to easily/quickly > type the German Umlaute in lower and Upper case on the standard (US) > keybopard. > > Alt-s is helpful, but I can't find the others. > > ERT is not only Evil, it also takes 4-5 Keystrokes for the price of > one :-)-O > > Any ideas, perhaps for assignments to key combinations? > > greetings, el > > on 2014-08-19, 21:09 David L. Johnson said the following: > > On 08/19/2014 10:33 AM, Stephan Witt wrote: > >> Am 19.08.2014 um 16:08 schrieb Volker Steinbach > >>: > >> > >>> no joke : i wanted to know if there is a cheap solution tothe > >>> problem : in german, we had a character called 'eszet' or sharp > >>> s. it looks almost like a greek beta. i wondered if there is a > >>> latex sign (beginning with \) that prints it. i remember thirty > >>> years ago i could use \3 for it ! thats it. > >> And you don't have a keyboard with an "ß" ? > >> > >> In case you're using LyX you shouldn't have a problem to get it > >> printed after you successfully typed it. Ok, there are some > >> problematic languages, but with german I don't know any. > > Try \ss, making it "TeX mode", or what we call ERT. > > > >
Change branch activation for a child document?
I would like to change the branch activation for just one child document in my project. I was wondering if this is possible? And if so, how may I do it? Thanks! Dan Stark Let them revere nothing but religion, morality and liberty. - John Adams Work hard and become a leader; be lazy and never succeed. - Proverbs 12:24 Criticize through creating. - Michelangelo If you're quiet, you're not living. You've got to be noisy and colorful and lively. - Mel Brooks How small, of all that human hearts endure, that part which laws or kings can cause or cure. - Samuel Johnson
Change branch activation for a child document?
I would like to change the branch activation for just one child document in my project. I was wondering if this is possible? And if so, how may I do it? Thanks! Dan Stark Let them revere nothing but religion, morality and liberty. - John Adams Work hard and become a leader; be lazy and never succeed. - Proverbs 12:24 Criticize through creating. - Michelangelo If you're quiet, you're not living. You've got to be noisy and colorful and lively. - Mel Brooks How small, of all that human hearts endure, that part which laws or kings can cause or cure. - Samuel Johnson
Change branch activation for a child document?
I would like to change the branch activation for just one child document in my project. I was wondering if this is possible? And if so, how may I do it? Thanks! Dan Stark Let them revere nothing but religion, morality and liberty. - John Adams Work hard and become a leader; be lazy and never succeed. - Proverbs 12:24 Criticize through creating. - Michelangelo If you're quiet, you're not living. You've got to be noisy and colorful and lively. - Mel Brooks How small, of all that human hearts endure, that part which laws or kings can cause or cure. - Samuel Johnson
Math macros don't show up in pdf output
Hi there, I am using LyX 1.6.5 on Windows XP installed via the alternative installer. When I define math macros, they seem to be working just fine while editing the document (that is, I can use them). However, when I try to view the document as a PDF or DVI, every part of the document not using math macros shows up in the output (as it should), while the math macros seems to be simply ignored, with no error message of any sort. Any advice on this matter? Thanks in advance, Dan.
Re: Math macros don't show up in pdf output
On Wed, Dec 23, 2009 at 12:23 AM, Dan Kilman dankil...@gmail.com wrote: Hi there, I am using LyX 1.6.5 on Windows XP installed via the alternative installer. When I define math macros, they seem to be working just fine while editing the document (that is, I can use them). However, when I try to view the document as a PDF or DVI, every part of the document not using math macros shows up in the output (as it should), while the math macros seems to be simply ignored, with no error message of any sort. Any advice on this matter? Thanks in advance, Dan. Figured it out.. I'm sorry to have bothered you. I guess reading the manual is the first thing I should have done.
Math macros don't show up in pdf output
Hi there, I am using LyX 1.6.5 on Windows XP installed via the alternative installer. When I define math macros, they seem to be working just fine while editing the document (that is, I can use them). However, when I try to view the document as a PDF or DVI, every part of the document not using math macros shows up in the output (as it should), while the math macros seems to be simply ignored, with no error message of any sort. Any advice on this matter? Thanks in advance, Dan.
Re: Math macros don't show up in pdf output
On Wed, Dec 23, 2009 at 12:23 AM, Dan Kilman dankil...@gmail.com wrote: Hi there, I am using LyX 1.6.5 on Windows XP installed via the alternative installer. When I define math macros, they seem to be working just fine while editing the document (that is, I can use them). However, when I try to view the document as a PDF or DVI, every part of the document not using math macros shows up in the output (as it should), while the math macros seems to be simply ignored, with no error message of any sort. Any advice on this matter? Thanks in advance, Dan. Figured it out.. I'm sorry to have bothered you. I guess reading the manual is the first thing I should have done.
Math macros don't show up in pdf output
Hi there, I am using LyX 1.6.5 on Windows XP installed via the alternative installer. When I define math macros, they seem to be working just fine while editing the document (that is, I can use them). However, when I try to view the document as a PDF or DVI, every part of the document not using math macros shows up in the output (as it should), while the math macros seems to be simply ignored, with no error message of any sort. Any advice on this matter? Thanks in advance, Dan.
Re: Math macros don't show up in pdf output
On Wed, Dec 23, 2009 at 12:23 AM, Dan Kilman <dankil...@gmail.com> wrote: > Hi there, > > I am using LyX 1.6.5 on Windows XP installed via the alternative installer. > > When I define math macros, they seem to be working just fine while editing > the document (that is, I can use them). > However, when I try to view the document as a PDF or DVI, every part of the > document not using math macros shows up in the output (as it should), > while the math macros seems to be simply ignored, with no error message of > any sort. > > Any advice on this matter? > > Thanks in advance, Dan. > Figured it out.. I'm sorry to have bothered you. I guess reading the manual is the first thing I should have done.
CLS file not found anymore after updating LyX and MacTeX
Dear All, I updated to MacTeX 2009 and LyX 1.6.4.2 and now LyX cannot locate a CLS file that I was using. I have it located in /usr/share/texmf/tex/latex currently. Is there any way to get LyX to see the CLS file again? Thanks! Dan Stark Let them revere nothing but religion, morality and liberty. - John Adams Work hard and become a leader; be lazy and never succeed. - Proverbs 12:24 If you're quiet, you're not living. You've got to be noisy and colorful and lively. - Mel Brooks How small, of all that human hearts endure, that part which laws or kings can cause or cure. - Samuel Johnson
CLS file not found anymore after updating LyX and MacTeX
Dear All, I updated to MacTeX 2009 and LyX 1.6.4.2 and now LyX cannot locate a CLS file that I was using. I have it located in /usr/share/texmf/tex/latex currently. Is there any way to get LyX to see the CLS file again? Thanks! Dan Stark Let them revere nothing but religion, morality and liberty. - John Adams Work hard and become a leader; be lazy and never succeed. - Proverbs 12:24 If you're quiet, you're not living. You've got to be noisy and colorful and lively. - Mel Brooks How small, of all that human hearts endure, that part which laws or kings can cause or cure. - Samuel Johnson
CLS file not found anymore after updating LyX and MacTeX
Dear All, I updated to MacTeX 2009 and LyX 1.6.4.2 and now LyX cannot locate a CLS file that I was using. I have it located in /usr/share/texmf/tex/latex currently. Is there any way to get LyX to see the CLS file again? Thanks! Dan Stark Let them revere nothing but religion, morality and liberty. - John Adams Work hard and become a leader; be lazy and never succeed. - Proverbs 12:24 If you're quiet, you're not living. You've got to be noisy and colorful and lively. - Mel Brooks How small, of all that human hearts endure, that part which laws or kings can cause or cure. - Samuel Johnson
How to typeset units
As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan
How to typeset units
As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan
How to typeset units
As far as I know, the proper way to typeset values and dimensions is to use units package. When you want to write 1 mm, you use: \unit[1]{mm}. In Lyx, if I select that expression and press Ctrl+M to convert it to a formula, I works perfectly. But if I start math mode first by pressing Ctrl+M and type \unit[... it does not seem to work. Anyone has an idea how to do that? Thanks Dan
An extra space after hyperlinks in PDF
I use hyperref to generate clickable links in PDFs file, but I got extra spaces after many, but not all, of my links. That means an end of sentence period or comma may end up in another line, which is very ugly. Is this a Latex or LyX problem? How do I resolve it? Thanks Dan
An extra space after hyperlinks in PDF
I use hyperref to generate clickable links in PDFs file, but I got extra spaces after many, but not all, of my links. That means an end of sentence period or comma may end up in another line, which is very ugly. Is this a Latex or LyX problem? How do I resolve it? Thanks Dan
An extra space after hyperlinks in PDF
I use hyperref to generate clickable links in PDFs file, but I got extra spaces after many, but not all, of my links. That means an end of sentence period or comma may end up in another line, which is very ugly. Is this a Latex or LyX problem? How do I resolve it? Thanks Dan
Where is preferences file located?
I am using Windows Vista. My LyX installation folder is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located? Thank you guys Dan
Re: Where is preferences file located?
In the folder I couldn't find the file. I created it and add some settings and it works. Thanks 2009/4/15 Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl Dan Phan schreef: I am using Windows Vista. My LyX installation folder is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located? Thank you guys Dan C:\Users\DAN\AppData\Roaming\lyx or lyx16 Vincent
Where is preferences file located?
I am using Windows Vista. My LyX installation folder is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located? Thank you guys Dan
Re: Where is preferences file located?
In the folder I couldn't find the file. I created it and add some settings and it works. Thanks 2009/4/15 Vincent van Ravesteijn v.f.vanraveste...@tudelft.nl Dan Phan schreef: I am using Windows Vista. My LyX installation folder is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located? Thank you guys Dan C:\Users\DAN\AppData\Roaming\lyx or lyx16 Vincent
Where is preferences file located?
I am using Windows Vista. My LyX installation folder is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located? Thank you guys Dan
Re: Where is preferences file located?
In the folder I couldn't find the file. I created it and add some settings and it works. Thanks 2009/4/15 Vincent van Ravesteijn <v.f.vanraveste...@tudelft.nl> > Dan Phan schreef: > > I am using Windows Vista. My LyX installation folder >> is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located? >> Thank you guys >> Dan >> >> >> > C:\Users\DAN\AppData\Roaming\lyx or lyx16 > > Vincent >
LyX for bill drafting
I have some general questions about using LyX for a somewhat different type of publication than it is currently built for. (As an aside, kudos to whoever coded the nested equation editing stuff. WOW.) I'm curious if anyone else is trying to do this with LyX: I work at the Wisconsin Legislature, which currently drafts bills and edits its statutes and various other documents in a technical publishing suite called QuickSilver, previously known in the 80s and 90s as InterLeaf. Our current systems are somewhat template-based, like LyX, but [unfortunately] the user base has gotten used to the idea of formatting carrying semantic meaning; a problem I'm sure some folks on this list have dealt with in the past. LyX tries to minimize this, while still giving the user a good idea of what the finished product will look like... which is awesome. Current examples of our output, as a frame of reference for my questions: statute: http://www.legis.state.wi.us/statutes/Stat0005.pdf bill: http://www.legis.state.wi.us/2009/data/AB-1.pdf We're trying to add more functionality (links, bookmarks) to our PDFs, and possibly move to an open source editing environment in the future. I have a few questions now after my experimenting, though! 1. The new hyperref stuff in 1.6 is very slick. Is there any way to make a cross reference to a section or subsection, without adding a label? So the user might say As defined in s. 10.91 without having to go to section 10.91 and adding a label? 2. Is there a facility for arbitrary section numbering that integrates with LyX? I have seen ERT solutions that allow forcing a numbering change; is there any way to do that through the LyX UI as of v1.6? (Re: 1 and 2, I think we would possibly end up using section types like Section* in the default article class and allowing the user to input arbitrary numbers and letters at the beginning, and then having an external filter to update labels at the correct points with the correct names. That would then allow the users to quickly link to arbitrary depths; a statute reference can go 6 levels deep with fairly arbitrary numbering, like 10.91 (2m) (c) 1. a... Trust me, you probably don't want to know more about that.) 3. Non-line-breaking sections. You will notice that if a child subsection follows a section, it does not cause a line break. See the example statute at the top after the TOC: 5.01 Scope. (1) Construction... the section .01 flows directly into its first subsection (1). Is it possible to set up a custom document class to do this? I'm a TeX novice at this point, so I'm just asking for yes, that is possible or no, don't even try it. 4. Line numbering. Is it possible with LaTeX to do line numbering on a per-page, per-section-type basis? I can see how to turn it off and back on, but look at the bill example -- the numbers need to start over on each successive page. (Again, I have no idea why they do it this way, but we have to figure out how to support it.) Thanks for your time if you read this far. I really am amazed by the program -- even if we can't quite mold it for legislation, I will definitely be recommending it to my friends who are frustrated writing academic papers in Word. It makes me *want* to write a book. Scary. Dan
Re: LyX for bill drafting
Thanks to the list denizens for being incredibly helpful on this thread, already, within the space of a single day. You folks rock, and you obviously have a fierce love of your project! On Mon, Apr 13, 2009 at 2:35 PM, Charles de Miramon cmira...@kde-france.org wrote: Richard Heck wrote: Dan Fitch wrote: 2. Is there a facility for arbitrary section numbering that integrates with LyX? I have seen ERT solutions that allow forcing a numbering change; is there any way to do that through the LyX UI as of v1.6? No, but it might be possible to do this via modules. I'm not sure. The tough part would be the (4) (4c) (4e) (4m) (5) How does it work in your actual software ? Is there any logic in the letters ? Cheers, Charles It is ad hoc so they can always insert sections between two existing sections; for example, if there is already a 1 and a 2, they can't renumber those very easily, on account of existing law which may refer to them. So they make a 1m to go between. That's only one level of the structured document; additionally, the cross references can go across documents. It gets ugly, and it's a very large corpus of text. As some folks on the lists are pointing out, this kind of arbitrary section numbering and referencing is a bad idea for many reasons, not least of which the fact that it clearly causes a huge mess. Of course, labyrinthine systems have built up over the years to try validate the user input. They are unmaintainable. I am basically glorified tech support for this legacy system, so I can't say DO IT THIS WAY! We are hoping to push the users in a saner direction someday soon, and that may include something like: - Extending LyX so that the cross reference window has a second tab with a document structure tree, and if they pick an element from that, it checks to see if there is a label there; creating it if not - Reducing their reliance on implicit references, where they can say See chapter 4, section 5.14 (b) and have that automatically turned into a cross reference by The Labyrinth - Convincing them that their current method of referencing is a bit crazy All this cross reference stuff is one thing; the way bills get amended is worse, derived directly from how they used to amend things with typewriters, scissors, and tape by saying Change line 4 on page 3 to read XYZ. It seems initially like LyX is a pretty good fit for this problem area -- I am curious if anyone else is using it, possibly along with some of the legal LaTeX/TeX packages like jurabib or lextex. Thanks again for all your input! Dan
LyX for bill drafting
I have some general questions about using LyX for a somewhat different type of publication than it is currently built for. (As an aside, kudos to whoever coded the nested equation editing stuff. WOW.) I'm curious if anyone else is trying to do this with LyX: I work at the Wisconsin Legislature, which currently drafts bills and edits its statutes and various other documents in a technical publishing suite called QuickSilver, previously known in the 80s and 90s as InterLeaf. Our current systems are somewhat template-based, like LyX, but [unfortunately] the user base has gotten used to the idea of formatting carrying semantic meaning; a problem I'm sure some folks on this list have dealt with in the past. LyX tries to minimize this, while still giving the user a good idea of what the finished product will look like... which is awesome. Current examples of our output, as a frame of reference for my questions: statute: http://www.legis.state.wi.us/statutes/Stat0005.pdf bill: http://www.legis.state.wi.us/2009/data/AB-1.pdf We're trying to add more functionality (links, bookmarks) to our PDFs, and possibly move to an open source editing environment in the future. I have a few questions now after my experimenting, though! 1. The new hyperref stuff in 1.6 is very slick. Is there any way to make a cross reference to a section or subsection, without adding a label? So the user might say As defined in s. 10.91 without having to go to section 10.91 and adding a label? 2. Is there a facility for arbitrary section numbering that integrates with LyX? I have seen ERT solutions that allow forcing a numbering change; is there any way to do that through the LyX UI as of v1.6? (Re: 1 and 2, I think we would possibly end up using section types like Section* in the default article class and allowing the user to input arbitrary numbers and letters at the beginning, and then having an external filter to update labels at the correct points with the correct names. That would then allow the users to quickly link to arbitrary depths; a statute reference can go 6 levels deep with fairly arbitrary numbering, like 10.91 (2m) (c) 1. a... Trust me, you probably don't want to know more about that.) 3. Non-line-breaking sections. You will notice that if a child subsection follows a section, it does not cause a line break. See the example statute at the top after the TOC: 5.01 Scope. (1) Construction... the section .01 flows directly into its first subsection (1). Is it possible to set up a custom document class to do this? I'm a TeX novice at this point, so I'm just asking for yes, that is possible or no, don't even try it. 4. Line numbering. Is it possible with LaTeX to do line numbering on a per-page, per-section-type basis? I can see how to turn it off and back on, but look at the bill example -- the numbers need to start over on each successive page. (Again, I have no idea why they do it this way, but we have to figure out how to support it.) Thanks for your time if you read this far. I really am amazed by the program -- even if we can't quite mold it for legislation, I will definitely be recommending it to my friends who are frustrated writing academic papers in Word. It makes me *want* to write a book. Scary. Dan
Re: LyX for bill drafting
Thanks to the list denizens for being incredibly helpful on this thread, already, within the space of a single day. You folks rock, and you obviously have a fierce love of your project! On Mon, Apr 13, 2009 at 2:35 PM, Charles de Miramon cmira...@kde-france.org wrote: Richard Heck wrote: Dan Fitch wrote: 2. Is there a facility for arbitrary section numbering that integrates with LyX? I have seen ERT solutions that allow forcing a numbering change; is there any way to do that through the LyX UI as of v1.6? No, but it might be possible to do this via modules. I'm not sure. The tough part would be the (4) (4c) (4e) (4m) (5) How does it work in your actual software ? Is there any logic in the letters ? Cheers, Charles It is ad hoc so they can always insert sections between two existing sections; for example, if there is already a 1 and a 2, they can't renumber those very easily, on account of existing law which may refer to them. So they make a 1m to go between. That's only one level of the structured document; additionally, the cross references can go across documents. It gets ugly, and it's a very large corpus of text. As some folks on the lists are pointing out, this kind of arbitrary section numbering and referencing is a bad idea for many reasons, not least of which the fact that it clearly causes a huge mess. Of course, labyrinthine systems have built up over the years to try validate the user input. They are unmaintainable. I am basically glorified tech support for this legacy system, so I can't say DO IT THIS WAY! We are hoping to push the users in a saner direction someday soon, and that may include something like: - Extending LyX so that the cross reference window has a second tab with a document structure tree, and if they pick an element from that, it checks to see if there is a label there; creating it if not - Reducing their reliance on implicit references, where they can say See chapter 4, section 5.14 (b) and have that automatically turned into a cross reference by The Labyrinth - Convincing them that their current method of referencing is a bit crazy All this cross reference stuff is one thing; the way bills get amended is worse, derived directly from how they used to amend things with typewriters, scissors, and tape by saying Change line 4 on page 3 to read XYZ. It seems initially like LyX is a pretty good fit for this problem area -- I am curious if anyone else is using it, possibly along with some of the legal LaTeX/TeX packages like jurabib or lextex. Thanks again for all your input! Dan
LyX for bill drafting
I have some general questions about using LyX for a somewhat different type of publication than it is currently built for. (As an aside, kudos to whoever coded the nested equation editing stuff. WOW.) I'm curious if anyone else is trying to do this with LyX: I work at the Wisconsin Legislature, which currently drafts bills and edits its statutes and various other documents in a technical publishing suite called QuickSilver, previously known in the 80s and 90s as InterLeaf. Our current systems are somewhat template-based, like LyX, but [unfortunately] the user base has gotten used to the idea of formatting carrying semantic meaning; a problem I'm sure some folks on this list have dealt with in the past. LyX tries to minimize this, while still giving the user a good idea of what the finished product will look like... which is awesome. Current examples of our output, as a frame of reference for my questions: statute: http://www.legis.state.wi.us/statutes/Stat0005.pdf bill: http://www.legis.state.wi.us/2009/data/AB-1.pdf We're trying to add more functionality (links, bookmarks) to our PDFs, and possibly move to an open source editing environment in the future. I have a few questions now after my experimenting, though! 1. The new hyperref stuff in 1.6 is very slick. Is there any way to make a "cross reference" to a section or subsection, without adding a label? So the user might say "As defined in s. 10.91" without having to go to section 10.91 and adding a label? 2. Is there a facility for arbitrary section numbering that integrates with LyX? I have seen ERT solutions that allow forcing a numbering change; is there any way to do that through the LyX UI as of v1.6? (Re: 1 and 2, I think we would possibly end up using section types like Section* in the default article class and allowing the user to input arbitrary numbers and letters at the beginning, and then having an external filter to update labels at the correct points with the correct names. That would then allow the users to quickly link to arbitrary depths; a statute reference can go 6 levels deep with fairly arbitrary numbering, like 10.91 (2m) (c) 1. a... Trust me, you probably don't want to know more about that.) 3. Non-line-breaking sections. You will notice that if a "child" subsection follows a section, it does not cause a line break. See the example statute at the top after the TOC: "5.01 Scope. (1) Construction..." the section .01 flows directly into its first subsection (1). Is it possible to set up a custom document class to do this? I'm a TeX novice at this point, so I'm just asking for "yes, that is possible" or "no, don't even try it." 4. Line numbering. Is it possible with LaTeX to do line numbering on a per-page, per-section-type basis? I can see how to turn it off and back on, but look at the bill example -- the numbers need to start over on each successive page. (Again, I have no idea why they do it this way, but we have to figure out how to support it.) Thanks for your time if you read this far. I really am amazed by the program -- even if we can't quite mold it for legislation, I will definitely be recommending it to my friends who are frustrated writing academic papers in Word. It makes me *want* to write a book. Scary. Dan
Re: LyX for bill drafting
Thanks to the list denizens for being incredibly helpful on this thread, already, within the space of a single day. You folks rock, and you obviously have a fierce love of your project! On Mon, Apr 13, 2009 at 2:35 PM, Charles de Miramon <cmira...@kde-france.org> wrote: > Richard Heck wrote: > >> Dan Fitch wrote: >>> 2. Is there a facility for arbitrary section numbering that integrates >>> with LyX? I have seen ERT solutions that allow forcing a numbering >>> change; is there any way to do that through the LyX UI as of v1.6? >>> >>> >> No, but it might be possible to do this via modules. I'm not sure. >> > > The tough part would be the (4) (4c) (4e) (4m) (5) > > How does it work in your actual software ? Is there any logic in the letters > ? > > Cheers, > Charles It is "ad hoc" so they can always insert sections between two existing sections; for example, if there is already a 1 and a 2, they can't renumber those very easily, on account of existing law which may refer to them. So they make a "1m" to go between. That's only one level of the structured document; additionally, the cross references can go across documents. It gets ugly, and it's a very large corpus of text. As some folks on the lists are pointing out, this kind of arbitrary section numbering and referencing is a bad idea for many reasons, not least of which the fact that it clearly causes a huge mess. Of course, labyrinthine systems have built up over the years to try validate the user input. They are unmaintainable. I am basically glorified tech support for this legacy system, so I can't say "DO IT THIS WAY!" We are hoping to push the users in a saner direction someday soon, and that may include something like: - Extending LyX so that the cross reference window has a second tab with a document structure tree, and if they pick an element from that, it checks to see if there is a label there; creating it if not - Reducing their reliance on "implicit" references, where they can say "See chapter 4, section 5.14 (b)" and have that "automatically" turned into a cross reference by The Labyrinth - Convincing them that their current method of referencing is a bit crazy All this cross reference stuff is one thing; the way bills get amended is worse, derived directly from how they used to amend things with typewriters, scissors, and tape by saying "Change line 4 on page 3 to read XYZ". It seems initially like LyX is a pretty good fit for this problem area -- I am curious if anyone else is using it, possibly along with some of the legal LaTeX/TeX packages like jurabib or lextex. Thanks again for all your input! Dan
Configuring LyX and Sweave for R on a Windows platform
Hi. I'm trying to configure Lyx to work with Sweave on a Windows XP platform. I have done various searches of the web and found some information on how to do this, but it appears as though all the information I can find is specific only to *nix systems. I don't have time to waste trying to get things up and running. This should be an automatic thing in LyX (under Windows or *nix). I think that life would be lots easier if I could just point Lyx to my R directory and my MikTeX directory and then it just self-configures to allow Sweave use! Can this be done? Otherwise, is there any 'specific' information giving the step-by-step procedure for making LyX and R work together via Sweave under a Windows environment? Thanks, Dan.
Configuring LyX and Sweave for R on a Windows platform
Hi. I'm trying to configure Lyx to work with Sweave on a Windows XP platform. I have done various searches of the web and found some information on how to do this, but it appears as though all the information I can find is specific only to *nix systems. I don't have time to waste trying to get things up and running. This should be an automatic thing in LyX (under Windows or *nix). I think that life would be lots easier if I could just point Lyx to my R directory and my MikTeX directory and then it just self-configures to allow Sweave use! Can this be done? Otherwise, is there any 'specific' information giving the step-by-step procedure for making LyX and R work together via Sweave under a Windows environment? Thanks, Dan.
Configuring LyX and Sweave for R on a Windows platform
Hi. I'm trying to configure Lyx to work with Sweave on a Windows XP platform. I have done various searches of the web and found some information on how to do this, but it appears as though all the information I can find is specific only to *nix systems. I don't have time to waste trying to get things up and running. This should be an automatic thing in LyX (under Windows or *nix). I think that life would be lots easier if I could just point Lyx to my R directory and my MikTeX directory and then it just self-configures to allow Sweave use! Can this be done? Otherwise, is there any 'specific' information giving the step-by-step procedure for making LyX and R work together via Sweave under a Windows environment? Thanks, Dan.
Re: Long Equation
Dear Lyx Users, I tried the solution that Helge suggested, but its not working quite right. I need to put a long equation at the bottom of a two column formatted paper. LaTeX normally does not allow two-column-wide floats at the bottom, so I am using the stfloats package to allow that. Then I am using a figure float: \begin{figure*}[!b] \begin{equation} % equation \end{equation} \end{figure*} However, the float ALWAYS appears at the bottom of the NEXT page, even if there are no other floats on the page where I call that float. Any idea what's going wrong and how I can get the equation float to go at the bottom of the page I want it to be on? Thanks! Sincerely, Dan Kaplan On 4/25/07, Helge Hafting [EMAIL PROTECTED] wrote: Dan Kaplan wrote: Dear Lyx Users, I am writing an article and I want to follow IEEE format guidelines. So I'm making my article two columns. However, I have an equation which is too long for a single column. Rather than break the equation in two, the IEEE has the equation move to the bottom of the page where it can span across both columns without breaking. It is further separated from the text by a horizontal line. How can I create this with LaTeX? Use a figure float. (Or a table float or algorithm float if you prefer.) The type of float only affects the caption. A figure float may span both columns, and it can be set to appear at the bottom of the page. It will be numbered too, and the number can be used for automatic referencing. Instead of an actual graphich, put your wide formula inside the float. Take care so it doesn't accidentally get into the caption though. You can remove the caption if you don't want it - although it is generally useful to have. Helge Hafting
Re: Long Equation
Dear Lyx Users, I tried the solution that Helge suggested, but its not working quite right. I need to put a long equation at the bottom of a two column formatted paper. LaTeX normally does not allow two-column-wide floats at the bottom, so I am using the stfloats package to allow that. Then I am using a figure float: \begin{figure*}[!b] \begin{equation} % equation \end{equation} \end{figure*} However, the float ALWAYS appears at the bottom of the NEXT page, even if there are no other floats on the page where I call that float. Any idea what's going wrong and how I can get the equation float to go at the bottom of the page I want it to be on? Thanks! Sincerely, Dan Kaplan On 4/25/07, Helge Hafting [EMAIL PROTECTED] wrote: Dan Kaplan wrote: Dear Lyx Users, I am writing an article and I want to follow IEEE format guidelines. So I'm making my article two columns. However, I have an equation which is too long for a single column. Rather than break the equation in two, the IEEE has the equation move to the bottom of the page where it can span across both columns without breaking. It is further separated from the text by a horizontal line. How can I create this with LaTeX? Use a figure float. (Or a table float or algorithm float if you prefer.) The type of float only affects the caption. A figure float may span both columns, and it can be set to appear at the bottom of the page. It will be numbered too, and the number can be used for automatic referencing. Instead of an actual graphich, put your wide formula inside the float. Take care so it doesn't accidentally get into the caption though. You can remove the caption if you don't want it - although it is generally useful to have. Helge Hafting
Re: Long Equation
Dear Lyx Users, I tried the solution that Helge suggested, but its not working quite right. I need to put a long equation at the bottom of a two column formatted paper. LaTeX normally does not allow two-column-wide floats at the bottom, so I am using the stfloats package to allow that. Then I am using a figure float: \begin{figure*}[!b] \begin{equation} % equation \end{equation} \end{figure*} However, the float ALWAYS appears at the bottom of the NEXT page, even if there are no other floats on the page where I call that float. Any idea what's going wrong and how I can get the equation float to go at the bottom of the page I want it to be on? Thanks! Sincerely, Dan Kaplan On 4/25/07, Helge Hafting <[EMAIL PROTECTED]> wrote: Dan Kaplan wrote: > Dear Lyx Users, > > I am writing an article and I want to follow IEEE format guidelines. > So I'm > making my article two columns. However, I have an equation which is > too long > for a single column. Rather than break the equation in two, the IEEE > has the > equation move to the bottom of the page where it can span across both > columns without breaking. It is further separated from the text by a > horizontal line. How can I create this with LaTeX? Use a figure float. (Or a table float or algorithm float if you prefer.) The type of float only affects the caption. A figure float may span both columns, and it can be set to appear at the bottom of the page. It will be numbered too, and the number can be used for automatic referencing. Instead of an actual graphich, put your wide formula inside the float. Take care so it doesn't accidentally get into the caption though. You can remove the caption if you don't want it - although it is generally useful to have. Helge Hafting
Long Equation
Dear Lyx Users, I am writing an article and I want to follow IEEE format guidelines. So I'm making my article two columns. However, I have an equation which is too long for a single column. Rather than break the equation in two, the IEEE has the equation move to the bottom of the page where it can span across both columns without breaking. It is further separated from the text by a horizontal line. How can I create this with LaTeX? Sincerely, Dan Kaplan
Long Equation
Dear Lyx Users, I am writing an article and I want to follow IEEE format guidelines. So I'm making my article two columns. However, I have an equation which is too long for a single column. Rather than break the equation in two, the IEEE has the equation move to the bottom of the page where it can span across both columns without breaking. It is further separated from the text by a horizontal line. How can I create this with LaTeX? Sincerely, Dan Kaplan
Long Equation
Dear Lyx Users, I am writing an article and I want to follow IEEE format guidelines. So I'm making my article two columns. However, I have an equation which is too long for a single column. Rather than break the equation in two, the IEEE has the equation move to the bottom of the page where it can span across both columns without breaking. It is further separated from the text by a horizontal line. How can I create this with LaTeX? Sincerely, Dan Kaplan
Creating Chapter front pages
To All, I would like to have every chapter in my book have an introductory page with just the chapter title and then a sub-Table of contents for just that chapter. Is there an easy way to do this in LyX? Sincerely, Dan Kaplan
Creating Chapter front pages
To All, I would like to have every chapter in my book have an introductory page with just the chapter title and then a sub-Table of contents for just that chapter. Is there an easy way to do this in LyX? Sincerely, Dan Kaplan
Creating Chapter front pages
To All, I would like to have every chapter in my "book" have an introductory page with just the chapter title and then a sub-Table of contents for just that chapter. Is there an easy way to do this in LyX? Sincerely, Dan Kaplan
Layouts in LyX
I am a new user of LyX and I'm confused about something: the User's Manual is formatted as scrbook, but when I go to the DocumentSettings window, LyX says scrbook (as well as most of the other layouts) is unavailable. I'm confused about this, since it appears that the scrbook.layout file is in the layout folder. Why isn't LyX registering the fact that it has scrbook (and all the other layouts, too)? Any help would be appreciated. Sincerely, Dan Kaplan
Re: Layouts in LyX
Dear Mr. Baum and Mr. Rubin, Thanks for your help. It appears I have some of the class files, but I am missing many of the other classes. I seem to have many layout files without corresponding class files. Still, some of the class files I have don't appear to work. Do they all need to be in a particular directory? Sincerely, Dan Kaplan On 10/11/06, Paul A. Rubin [EMAIL PROTECTED] wrote: Dan Kaplan wrote: I am a new user of LyX and I'm confused about something: the User's Manual is formatted as scrbook, but when I go to the DocumentSettings window, LyX says scrbook (as well as most of the other layouts) is unavailable. I'm confused about this, since it appears that the scrbook.layout file is in the layout folder. Why isn't LyX registering the fact that it has scrbook (and all the other layouts, too)? Any help would be appreciated. Sincerely, Dan Kaplan You need four things to all go right in order to use a document class: 1. you need the class installed in LaTeX; 2. you need the class *visible* in LaTeX (i.e., the LaTeX database has been refreshed); 3. you need the layout file installed; and 4. LyX needs to know that stuff is there (meaning that LyX needs to be reconfigured and restarted if any of the above change). How does your installation stack up against that checklist? /Paul
Layouts in LyX
I am a new user of LyX and I'm confused about something: the User's Manual is formatted as scrbook, but when I go to the DocumentSettings window, LyX says scrbook (as well as most of the other layouts) is unavailable. I'm confused about this, since it appears that the scrbook.layout file is in the layout folder. Why isn't LyX registering the fact that it has scrbook (and all the other layouts, too)? Any help would be appreciated. Sincerely, Dan Kaplan
Re: Layouts in LyX
Dear Mr. Baum and Mr. Rubin, Thanks for your help. It appears I have some of the class files, but I am missing many of the other classes. I seem to have many layout files without corresponding class files. Still, some of the class files I have don't appear to work. Do they all need to be in a particular directory? Sincerely, Dan Kaplan On 10/11/06, Paul A. Rubin [EMAIL PROTECTED] wrote: Dan Kaplan wrote: I am a new user of LyX and I'm confused about something: the User's Manual is formatted as scrbook, but when I go to the DocumentSettings window, LyX says scrbook (as well as most of the other layouts) is unavailable. I'm confused about this, since it appears that the scrbook.layout file is in the layout folder. Why isn't LyX registering the fact that it has scrbook (and all the other layouts, too)? Any help would be appreciated. Sincerely, Dan Kaplan You need four things to all go right in order to use a document class: 1. you need the class installed in LaTeX; 2. you need the class *visible* in LaTeX (i.e., the LaTeX database has been refreshed); 3. you need the layout file installed; and 4. LyX needs to know that stuff is there (meaning that LyX needs to be reconfigured and restarted if any of the above change). How does your installation stack up against that checklist? /Paul
Layouts in LyX
I am a new user of LyX and I'm confused about something: the User's Manual is formatted as scrbook, but when I go to the Document>Settings window, LyX says scrbook (as well as most of the other layouts) is unavailable. I'm confused about this, since it appears that the scrbook.layout file is in the layout folder. Why isn't LyX registering the fact that it has scrbook (and all the other layouts, too)? Any help would be appreciated. Sincerely, Dan Kaplan
Re: Layouts in LyX
Dear Mr. Baum and Mr. Rubin, Thanks for your help. It appears I have some of the class files, but I am missing many of the other classes. I seem to have many layout files without corresponding class files. Still, some of the class files I have don't appear to work. Do they all need to be in a particular directory? Sincerely, Dan Kaplan On 10/11/06, Paul A. Rubin < [EMAIL PROTECTED]> wrote: Dan Kaplan wrote: > I am a new user of LyX and I'm confused about something: the User's Manual > is formatted as scrbook, but when I go to the Document>Settings window, LyX > says scrbook (as well as most of the other layouts) is unavailable. I'm > confused about this, since it appears that the scrbook.layout file is in > the > layout folder. Why isn't LyX registering the fact that it has scrbook (and > all the other layouts, too)? Any help would be appreciated. > > Sincerely, > Dan Kaplan > You need four things to all go right in order to use a document class: 1. you need the class installed in LaTeX; 2. you need the class *visible* in LaTeX (i.e., the LaTeX database has been refreshed); 3. you need the layout file installed; and 4. LyX needs to know that stuff is there (meaning that LyX needs to be reconfigured and restarted if any of the above change). How does your installation stack up against that checklist? /Paul
[Re: adding hollywood TeX class]
Original Message Subject: Re: adding hollywood TeX class From:[EMAIL PROTECTED] Date:Thu, September 7, 2006 12:38 pm To: Matej Cepl [EMAIL PROTECTED] -- Matej, Thanks for your reply. I am running linux with slackware-current (almost 11.0) and I have tetex-3.0-i486-4 and lyx-1.4.2-i486-1rsa installed. Lyx has the following files included: /usr/share/lyx/tex/hollywood.cls /usr/share/lyx/bind/hollywood.bind /usr/share/lyx/layouts/hollywood.layout /usr/share/lyx/templates/hollywood.lyx so it seems the proper class file is there, but Lyx is not seeing it. thanks for any help, Dan [EMAIL PROTECTED] wrote: Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? It is usually part of the LyX package (lyx-common in Debian to be exact). What is your distribution/operating system? Best, MatÄj -- 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
[Re: adding hollywood TeX class]
Matej, Here is the output from texhash. texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /usr/share/texmf-var/ls-R... texhash: Done. But Lyx is still not seeing the hollywood class. I notice that texhash is not looking in /usr/share/lyx for files. Is there a way to force texhash to add that path? thanks, Dan On Thu 7. September 2006 12:38, you wrote: so it seems the proper class file is there, but Lyx is not seeing it. su -c texhash Matìj -- 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC Courage is resistance of fear, mastery of fear, not absence of fear.
Re: [Re: adding hollywood TeX class]
Matej, Bob, Thanks for the help. Matej's suggested changes along with the Reconfigure did the trick. For whatever reason, texhash was not working with the modifications. thanks again, Dan On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote: [EMAIL PROTECTED] wrote: /usr/share/lyx/tex/hollywood.cls /usr/share/lyx/bind/hollywood.bind /usr/share/lyx/layouts/hollywood.layout /usr/share/lyx/templates/hollywood.lyx Sorry, you need also (before running texhash) make this symlink: mkdir /usr/share/texmf-var/tex/latex/hollywood/ ln -sf /usr/share/lyx/tex/hollywood.cls /usr/share/texmf-var/tex/latex/hollywood/ Then run texhash. MatÄj I did something similar but in a more low-end user way. 1. I logged in as root 2. Copied the contents of /usr/share/lyx/tex to /usr/share/texmf/tex/latex/base 3. Opened LyX and ran ToolsReconfigure Voila, all of the .cls document files were available in LyX. Bob Lounsbury
[Re: adding hollywood TeX class]
Original Message Subject: Re: adding hollywood TeX class From:[EMAIL PROTECTED] Date:Thu, September 7, 2006 12:38 pm To: Matej Cepl [EMAIL PROTECTED] -- Matej, Thanks for your reply. I am running linux with slackware-current (almost 11.0) and I have tetex-3.0-i486-4 and lyx-1.4.2-i486-1rsa installed. Lyx has the following files included: /usr/share/lyx/tex/hollywood.cls /usr/share/lyx/bind/hollywood.bind /usr/share/lyx/layouts/hollywood.layout /usr/share/lyx/templates/hollywood.lyx so it seems the proper class file is there, but Lyx is not seeing it. thanks for any help, Dan [EMAIL PROTECTED] wrote: Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? It is usually part of the LyX package (lyx-common in Debian to be exact). What is your distribution/operating system? Best, MatÄj -- 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
[Re: adding hollywood TeX class]
Matej, Here is the output from texhash. texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /usr/share/texmf-var/ls-R... texhash: Done. But Lyx is still not seeing the hollywood class. I notice that texhash is not looking in /usr/share/lyx for files. Is there a way to force texhash to add that path? thanks, Dan On Thu 7. September 2006 12:38, you wrote: so it seems the proper class file is there, but Lyx is not seeing it. su -c texhash Matìj -- 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC Courage is resistance of fear, mastery of fear, not absence of fear.
Re: [Re: adding hollywood TeX class]
Matej, Bob, Thanks for the help. Matej's suggested changes along with the Reconfigure did the trick. For whatever reason, texhash was not working with the modifications. thanks again, Dan On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote: [EMAIL PROTECTED] wrote: /usr/share/lyx/tex/hollywood.cls /usr/share/lyx/bind/hollywood.bind /usr/share/lyx/layouts/hollywood.layout /usr/share/lyx/templates/hollywood.lyx Sorry, you need also (before running texhash) make this symlink: mkdir /usr/share/texmf-var/tex/latex/hollywood/ ln -sf /usr/share/lyx/tex/hollywood.cls /usr/share/texmf-var/tex/latex/hollywood/ Then run texhash. MatÄj I did something similar but in a more low-end user way. 1. I logged in as root 2. Copied the contents of /usr/share/lyx/tex to /usr/share/texmf/tex/latex/base 3. Opened LyX and ran ToolsReconfigure Voila, all of the .cls document files were available in LyX. Bob Lounsbury
[Re: adding hollywood TeX class]
Original Message Subject: Re: adding hollywood TeX class From:[EMAIL PROTECTED] Date:Thu, September 7, 2006 12:38 pm To: "Matej Cepl" <[EMAIL PROTECTED]> -- Matej, Thanks for your reply. I am running linux with slackware-current (almost 11.0) and I have tetex-3.0-i486-4 and lyx-1.4.2-i486-1rsa installed. Lyx has the following files included: /usr/share/lyx/tex/hollywood.cls /usr/share/lyx/bind/hollywood.bind /usr/share/lyx/layouts/hollywood.layout /usr/share/lyx/templates/hollywood.lyx so it seems the proper class file is there, but Lyx is not seeing it. thanks for any help, Dan > [EMAIL PROTECTED] wrote: >> Where can I find the hollywood TeX class, and how do I install it so >> that >> Lyx will find it? > > It is usually part of the LyX package (lyx-common in Debian to be exact). > What is your distribution/operating system? > > Best, > > MatÄj > > -- > 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 > http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa > GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC > > They that can give up essential liberty to obtain a little > temporary safety deserve neither liberty nor safety. > -- Benjamin Franklin, Historical Review >of Pennsylvania, 1759. > > >
[Re: adding hollywood TeX class]
Matej, Here is the output from texhash. texhash: Updating /usr/share/texmf/ls-R... texhash: Updating /usr/share/texmf-var/ls-R... texhash: Done. But Lyx is still not seeing the hollywood class. I notice that texhash is not looking in /usr/share/lyx for files. Is there a way to force texhash to add that path? thanks, Dan > On Thu 7. September 2006 12:38, you wrote: >> so it seems the proper class file is there, but Lyx is not >> seeing it. > > su -c texhash > > Matìj > > -- > 23 Marion St. #3, Cambridge, MA 02141, (617) 876-1259 > http://matej.ceplovi.cz/blog/, map http://tinyurl.com/r2lfa > GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC > > Courage is resistance of fear, mastery of fear, not absence of > fear. >
Re: [Re: adding hollywood TeX class]
Matej, Bob, Thanks for the help. Matej's suggested changes along with the Reconfigure did the trick. For whatever reason, texhash was not working with the modifications. thanks again, Dan > On Thu, 2006-09-07 at 15:31 -0400, Matej Cepl wrote: >> [EMAIL PROTECTED] wrote: >> > /usr/share/lyx/tex/hollywood.cls >> > /usr/share/lyx/bind/hollywood.bind >> > /usr/share/lyx/layouts/hollywood.layout >> > /usr/share/lyx/templates/hollywood.lyx >> >> Sorry, you need also (before running texhash) make this symlink: >> >> mkdir /usr/share/texmf-var/tex/latex/hollywood/ >> ln -sf /usr/share/lyx/tex/hollywood.cls >> /usr/share/texmf-var/tex/latex/hollywood/ >> >> Then run texhash. >> >> MatÄj >> > > I did something similar but in a more low-end user way. > > 1. I logged in as root > 2. Copied the contents of /usr/share/lyx/tex > to /usr/share/texmf/tex/latex/base > 3. Opened LyX and ran Tools>Reconfigure > > Voila, all of the .cls document files were available in LyX. > > Bob Lounsbury > >
adding hollywood TeX class
Hi, I'm new to Lyx and want to use it for writing a screenplay. I apologize if this has been asked before, but I have been unable to find an answer after two days of searching. When I open the hollywood.lyx template, it tells me the document uses a missing TeX class hollywood and that Lyx will not be able to produce output. Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? thanks, Dan
adding hollywood TeX class
Hi, I'm new to Lyx and want to use it for writing a screenplay. I apologize if this has been asked before, but I have been unable to find an answer after two days of searching. When I open the hollywood.lyx template, it tells me the document uses a missing TeX class hollywood and that Lyx will not be able to produce output. Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? thanks, Dan
adding hollywood TeX class
Hi, I'm new to Lyx and want to use it for writing a screenplay. I apologize if this has been asked before, but I have been unable to find an answer after two days of searching. When I open the hollywood.lyx template, it tells me the document uses a missing TeX class hollywood and that Lyx will not be able to produce output. Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? thanks, Dan
adding hollywood TeX class
Hi, I'm new to Lyx and want to use it for writing a screenplay. I apologize if this has been asked before, but I have been unable to find an answer after two days of searching. When I open the hollywood.lyx template, it tells me the document uses a missing TeX class hollywood and that Lyx will not be able to produce output. Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? thanks, Dan
adding hollywood TeX class
Hi, I'm new to Lyx and want to use it for writing a screenplay. I apologize if this has been asked before, but I have been unable to find an answer after two days of searching. When I open the hollywood.lyx template, it tells me the document uses a missing TeX class "hollywood" and that Lyx will not be able to produce output. Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? thanks, Dan
adding hollywood TeX class
Hi, I'm new to Lyx and want to use it for writing a screenplay. I apologize if this has been asked before, but I have been unable to find an answer after two days of searching. When I open the hollywood.lyx template, it tells me the document uses a missing TeX class "hollywood" and that Lyx will not be able to produce output. Where can I find the hollywood TeX class, and how do I install it so that Lyx will find it? thanks, Dan
LyX donation
Wow! I just discovered LyX. This is a truly great project---one I'd like to support with a modest donation. How can I do this? Dan Levin, President EducAide Software 237 Georgia St Vallejo, CA 94590 707-554-6505 ext. 111
LyX donation
Wow! I just discovered LyX. This is a truly great project---one I'd like to support with a modest donation. How can I do this? Dan Levin, President EducAide Software 237 Georgia St Vallejo, CA 94590 707-554-6505 ext. 111
LyX donation
Wow! I just discovered LyX. This is a truly great project---one I'd like to support with a modest donation. How can I do this? Dan Levin, President EducAide Software 237 Georgia St Vallejo, CA 94590 707-554-6505 ext. 111
Graphics output difficulties
Hi everyone, I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with the QT frontend. I have been working on numerous documents with no problems at all. When my document was complete I inserted numerous 'figures' ie graphics into the document. As suggested I created a figure float and inserted my image into the float. The images display perfectly within LyX however when I attempt any form of output my figure is completely ignored. In an attempt to cover all bases, I ran lyx -dbg graphics and I was presented with: Setting debug level to graphics Debugging `graphics' (Graphics conversion and loading) Recognised Fileformat: ppm [GrahicsCacheItem::convertToDisplayFormat] Attempting to convert image file: /usr/share/lyx/images/banner.ppm with displayed filename: /usr/share/lyx/images/banner.ppm Recognised Fileformat: ppm The file contains ppm format data. The image loader can load the following directly: BMP GIF JPEG MNG PBM PGM PNG PPM XBM XPM Of these, LyX recognises the following formats: bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm No conversion needed (from == to)! Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScaledDImensions() params.scale : 100 width : 425 height : 290 pixmap isNull 0 xformed_pixmap_ isNull 0 setPixmap() which would appear to be correct, ie I have all filter support. When I attempt to export-PDF(latex) I receive the following output: The font scaling factor is 125.55 insetgraphics::latex: Filename = /home/danny/Documents/nID/DigiQLite/Chart1.xpm Message = Opts = Before = \includegraphics after = [InsetGraphics::prepareFile] orig_file = /home/danny/Documents/nID/DigiQLite/Chart1.xpm with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm Recognised Fileformat: xpm Recognised Fileformat: xpm findTargetFormat: PDF mode we have: from xpm to png the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm changed to: /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm succeeded The original file is /home/danny/Documents/nID/DigiQLite/Chart1.xpm A copy has been made and convert is to be called with: file to convert = /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm outfile_base = /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1 from xpm to png No converter defined! I use convertDefault.sh: /usr/share/lyx/scripts/convertDefault.sh xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png Recognised Fileformat: xpm [GrahicsCacheItem::convertToDisplayFormat] Attempting to convert image file: /home/danny/Documents/nID/DigiQLite/Chart1.xpm with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm Recognised Fileformat: xpm The file contains xpm format data. No conversion needed (from == to)! Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScaledDImensions() params.scale : 100 width : 769 height : 568 pixmap isNull 0 xformed_pixmap_ isNull 0 setPixmap() Recognised Fileformat: xpm Recognised Fileformat: xpm [readBB_from_PSFile] no(e)ps-format The resulting output is excellent except for the missing image. The current output is based on an XPM version, however I have the same results with PNG and EPS. Any help with my issue would be greatly appreciated! Cheers, -- Dan Nedelko, BSc. CS/Math Lead Systems Developer nID Solutions Inc. 519-744-9221 ext 220519-581-1062 fax [EMAIL PROTECTED]www.nIDsolutions.com Suite 810, 101 Frederick Street, Kitchener, Ontario N2L 5R9
Graphics output difficulties
Hi everyone, I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with the QT frontend. I have been working on numerous documents with no problems at all. When my document was complete I inserted numerous 'figures' ie graphics into the document. As suggested I created a figure float and inserted my image into the float. The images display perfectly within LyX however when I attempt any form of output my figure is completely ignored. In an attempt to cover all bases, I ran lyx -dbg graphics and I was presented with: Setting debug level to graphics Debugging `graphics' (Graphics conversion and loading) Recognised Fileformat: ppm [GrahicsCacheItem::convertToDisplayFormat] Attempting to convert image file: /usr/share/lyx/images/banner.ppm with displayed filename: /usr/share/lyx/images/banner.ppm Recognised Fileformat: ppm The file contains ppm format data. The image loader can load the following directly: BMP GIF JPEG MNG PBM PGM PNG PPM XBM XPM Of these, LyX recognises the following formats: bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm No conversion needed (from == to)! Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScaledDImensions() params.scale : 100 width : 425 height : 290 pixmap isNull 0 xformed_pixmap_ isNull 0 setPixmap() which would appear to be correct, ie I have all filter support. When I attempt to export-PDF(latex) I receive the following output: The font scaling factor is 125.55 insetgraphics::latex: Filename = /home/danny/Documents/nID/DigiQLite/Chart1.xpm Message = Opts = Before = \includegraphics after = [InsetGraphics::prepareFile] orig_file = /home/danny/Documents/nID/DigiQLite/Chart1.xpm with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm Recognised Fileformat: xpm Recognised Fileformat: xpm findTargetFormat: PDF mode we have: from xpm to png the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm changed to: /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm succeeded The original file is /home/danny/Documents/nID/DigiQLite/Chart1.xpm A copy has been made and convert is to be called with: file to convert = /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm outfile_base = /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1 from xpm to png No converter defined! I use convertDefault.sh: /usr/share/lyx/scripts/convertDefault.sh xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png Recognised Fileformat: xpm [GrahicsCacheItem::convertToDisplayFormat] Attempting to convert image file: /home/danny/Documents/nID/DigiQLite/Chart1.xpm with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm Recognised Fileformat: xpm The file contains xpm format data. No conversion needed (from == to)! Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScaledDImensions() params.scale : 100 width : 769 height : 568 pixmap isNull 0 xformed_pixmap_ isNull 0 setPixmap() Recognised Fileformat: xpm Recognised Fileformat: xpm [readBB_from_PSFile] no(e)ps-format The resulting output is excellent except for the missing image. The current output is based on an XPM version, however I have the same results with PNG and EPS. Any help with my issue would be greatly appreciated! Cheers, -- Dan Nedelko, BSc. CS/Math Lead Systems Developer nID Solutions Inc. 519-744-9221 ext 220519-581-1062 fax [EMAIL PROTECTED]www.nIDsolutions.com Suite 810, 101 Frederick Street, Kitchener, Ontario N2L 5R9
Graphics output difficulties
Hi everyone, I am having problems with graphics output in Lyx 1.3.2 on Redhat 9 with the QT frontend. I have been working on numerous documents with no problems at all. When my document was complete I inserted numerous 'figures' ie graphics into the document. As suggested I created a figure float and inserted my image into the float. The images display perfectly within LyX however when I attempt any form of output my figure is completely ignored. In an attempt to cover all bases, I ran lyx -dbg graphics and I was presented with: Setting debug level to graphics Debugging `graphics' (Graphics conversion and loading) Recognised Fileformat: ppm [GrahicsCacheItem::convertToDisplayFormat] Attempting to convert image file: /usr/share/lyx/images/banner.ppm with displayed filename: /usr/share/lyx/images/banner.ppm Recognised Fileformat: ppm The file contains ppm format data. The image loader can load the following directly: BMP GIF JPEG MNG PBM PGM PNG PPM XBM XPM Of these, LyX recognises the following formats: bmp, gif, jpg, pbm, pgm, png, ppm, xbm, xpm No conversion needed (from == to)! Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScaledDImensions() params.scale : 100 width : 425 height : 290 pixmap isNull 0 xformed_pixmap_ isNull 0 setPixmap() which would appear to be correct, ie I have all filter support. When I attempt to export->PDF(latex) I receive the following output: The font scaling factor is 125.55 insetgraphics::latex: Filename = /home/danny/Documents/nID/DigiQLite/Chart1.xpm Message = "" Opts = Before = \includegraphics after = [InsetGraphics::prepareFile] orig_file = /home/danny/Documents/nID/DigiQLite/Chart1.xpm with path: /home/danny/Documents/nID/DigiQLite/Chart1.xpm Recognised Fileformat: xpm Recognised Fileformat: xpm findTargetFormat: PDF mode we have: from xpm to png the orig file is: /home/danny/Documents/nID/DigiQLite/Chart1.xpm changed to: /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm copying from /home/danny/Documents/nID/DigiQLite/Chart1.xpm to /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm succeeded The original file is /home/danny/Documents/nID/DigiQLite/Chart1.xpm A copy has been made and convert is to be called with: file to convert = /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm outfile_base = /tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1 from xpm to png No converter defined! I use convertDefault.sh: /usr/share/lyx/scripts/convertDefault.sh xpm:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.xpm png:/tmp/lyx_tmpdir30499s4SURP/lyx_tmpbuf0/_home_danny_Documents_nID_DigiQLite_Chart1.png Recognised Fileformat: xpm [GrahicsCacheItem::convertToDisplayFormat] Attempting to convert image file: /home/danny/Documents/nID/DigiQLite/Chart1.xpm with displayed filename: ~/Documents/nID/DigiQLite/Chart1.xpm Recognised Fileformat: xpm The file contains xpm format data. No conversion needed (from == to)! Loading image. just Loaded. pixmap isNull 0 xformed_pixmap_ isNull 0 Image loading succeeded. GraphicsImage::getScaledDImensions() params.scale : 100 width : 769 height : 568 pixmap isNull 0 xformed_pixmap_ isNull 0 setPixmap() Recognised Fileformat: xpm Recognised Fileformat: xpm [readBB_from_PSFile] no(e)ps-format The resulting output is excellent except for the missing image. The current output is based on an XPM version, however I have the same results with PNG and EPS. Any help with my issue would be greatly appreciated! Cheers, -- Dan Nedelko, BSc. CS/Math Lead Systems Developer nID Solutions Inc. 519-744-9221 ext 220519-581-1062 fax [EMAIL PROTECTED]www.nIDsolutions.com Suite 810, 101 Frederick Street, Kitchener, Ontario N2L 5R9
Re: fonts.alias / fonts.scale
In the last episode (Mar 30), /* jsha */ said: I've got a directory filled with Type1 fonts (.afm, .inf, .pfa, .pfb and .pfm accompanying each font release) which I'm trying to install on X11. However, in order to make mkfontdir work I seem to need a fonts.alias and/or fonts.scale in advance. How do I make one? The XFree86 4.3.0 port installs a mkfontscale command that generates fonts.scale files from Type1 and TTF fonts. -- Dan Nelson [EMAIL PROTECTED]