Highlight text on Lyx documents - highlight

I am using Lyx for my homework (text+math) for a while now, but there are a few features I couldn't find and it is hard for me to believe they don't exist (even with some workaround).
Is there an option to highlight text on LYX?
example for how I'd like it to appear on my PDF product:
an example for PDF with highlighted text
I couldn't find it on the interface or settings.
I googled it, asked my T.As, posted a question on several Lyx related facebook communities - but couldn't find any solution.
On the other hand, no one told me "I have checked it and it's not possible" - so I keep looking.🤷‍♂️
Some add-on? Packages?

You can do this with "Soul" module. Here are the steps:
Download the module.
Put the module in the "layouts" directory inside your user directory. You can find your user directory by going to Help > About.
In LyX, do Tools > Reconfigure.
Restart LyX.
Open a document in LyX and go to Document Settings > Modules. After steps (3) and (4) you should now see "Soul Text Markup" as a module. Click "Add" and then "OK". Here is a screenshot (before clicking "Add"):
After (5), you can now select text in your document and go to Edit > Text Style > highlight.
More information is on the module wiki page. I have never heard of Facebook LyX communites. I suggest instead to join our lyx-users mailing list. There are a lot of knowledgeable and friendly LyX users helping each other out.

Related

Editing Visio Shape Excel OLE Links

I have a Visio doc that has ~200 links to a collection of Excel spreadsheets. I have the spreadsheets but the Visio links point to a path that is inaccessible. I would like to change these. Using Visio Plan 2.
By a lot of experimenting the only way I could find was to open the doc, tell Visio to update the links, then when it failed go through the links in the convert dialog that appeared.
This dialog isn't very helpful as the file path is all jammed into a small text box with no resizing controls. Fortunately, I could see the end of the filename and that was sufficient for me to determine which file was for each link.
I had to edit each one of these entries individually as one can't group select and edit in this dialog.
Pain that it was, I did get the links hardcoded to another location, so at least that aspect works.
However, I need to have these as a relative location so that the vsd and xls files can travel together and any other user can open the vsd no matter the location, just so the vsd and xls are in the same folder.
I can't find a way to do this. I tried prepending the file name with '..\filename', Visio complained but I went through and edited all of them, saved, but it failed to find them when I re-opened the document.
How can I make a relative path in these? Is there an easier way to edit the links?
Thanks.
Call "Links" window via pane "Tell me what you want to do"

umbraco how to extend the rich text editor

In Umbraco, is there a way to extend the RTE?
The only menus I have available to me when I am entering text are;
I need to be able to turn on the full suite of options not just those 8.
Go to Developer section, Data Types and find "Simple RTE" (or something like that). Inside that, you can add or remove options.
There's also a tinyMceConfig.config file in the /config/ folder that you can use to configure (duh) and expand on tinyMCE functionality in general. More on that here: https://our.umbraco.org/documentation/Using-Umbraco/Config-files/tinyMceConfig/ and here: http://imulus.com/our-thoughts/extending-tinymce-in-umbraco/

RubyMine searching with find usages

I have just bought a license to use Ruby Mine and am really struggling to learn how to use it. I keep having to go back to Text Mate to do simple things like searching.
I'm trying to find where i have defined a css div (called "category title"). From what I can gather, I need to use 'Find Usages' in Ruby Mine. Most times when I go to the edit/find menu, 'find usages' is greyed out. Then, if I click on the uppermost 'app' folder, and click find usages, it searches for 'app'. It doesn't recognise the search in the search bar. If i type the div name in the code and click alt/F7, it gives me a typo warning rather than a search option.
Does anyone know how to search the entire app (not just the specific file of the app) in RubyMine? I'm finding this incredibly frustrating.
Thank you
The command you need is Find in Path which will search your entire project, set of projects if they are open together, a specific director, etc. It has a bunch of options, including a regex search. For Mac, it is Command+Shift+f, for windows Ctrl+Shift+f
Checkout this site for keyboard reference.
https://www.jetbrains.com/ruby/documentation/index.html
You might also try shift+shift which is search everywhere, files, classes, symbols.

Syncing Sublime Text 2 to Ruby on Rails

Good morning,
I am currently following a tutorial video on ruby on rails. I created a server and my next step is to view the files associated with my server in sublime text 2. In the video, all the instructor does is open sublime text 2 and all the files/folders are already loaded. When I open sublime text 2, I get a blank document. I think I need to do something related to this link: http://www.sublimetext.com/docs/2/osx_command_line.html but I really don't understand the lingo or how to go about using those commands. Whenever I use them I get "command not found" Any insight would be greatly appreciated, thanks!
Just open up Sublime Text 2
Then go to the menu bar and click -> Project, then select -> Add folder to project. From the pop up select your app folder and you should see all the files there :)
Hope this helps

WiX custom license file: setup shows links with < >

I created a WiX 3.5 setup with a custom license file by putting this into the .wxs file:
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
This works perfectly and the link is displayed when I run the created .msi file.
(I'm using the WixUI_InstallDir Dialog Set)
Now I want to put a hyperlink into the license file.
I just put the link into the file by opening it in WordPad and pasting http://mylink.com (WordPad turns it into a hyperlink automatically).
When I compile that in WiX, the license agreement dialog shows the link like this:
<http://mylink.com>
I noticed that this seems to relate to WordPad creating a hyperlink automatically (see above).
When I remove the http:// part from the link in the license file, WordPad doesn't recognize it as a link anymore and in the compiled .msi file, the < and > in the license agreement dialog go away.
Any ideas how I can get rid of the additional < and >, except putting the link into the license file without the http:// part?
EDIT:
Okay, maybe I didn't think enough when I used the word "hyperlink".
What I actually meant was: It does not have to be an actual clickable hyperlink.
I just want the adress of my web page to be displayed at the top of the license file.
I'm perfectly fine if it's just the URL as text (not clickable), but I want it to be displayed as I entered it, and not with < >.
The problem is that WordPad automatically turns any URL into a hyperlink as soon as I enter it, so I have no idea how to get the license agreement dialog to treat it as normal text.
Windows Installer doesn't support hyperlinks in the scrollable text control. This is why the link is not displayed correctly. Even if it was, nothing would happen when you click it because Windows Installer doesn't handle this event.
A hyperlink in a scrollable text control works only if you use an external UI which handles it.
Edit:
If you just want to display some text as a link, the usual approach is make it blue and underlined. As you already noticed Windows Installer doesn't show conventional hyperlinks correctly.
If you want to show a link as normal text, simply open the RTF file with a normal text editor (for example notepad.exe) and remove the hyperlink markers. Just follow the normal text formatting and you will easily spot the markers you want to remove.

Resources