How do I run LateX on a emacs file in Linux? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm an absolute beginner and I've never worked on a Linux machine before. I was working on a emacs file from home on a virtual machine. Now that I'm on a Linux machine at school, how do I run LateX on the file and view the dvi? I was able to open emacs and load the file.

You can use C-c C-c, which is bound to the function tex-compile.
Here's a useful hint: you can use C-h m to bring up the documentation for a mode. This documentation usually has a list of the keybindings associated with the mode. In this case, there's a list under the heading "Special Commands:" which includes C-c C-c tex-compile as well as some other commands which may be useful in the future.
One of the best things about Emacs is that it's self-documenting, so learning to use the help system (keys starting with C-h) is invaluable.

Related

Ability to click on filenames in cygwin console to launch file [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
iTerm for the mac has an awesome feature which allows you to ctrl-click on a filename in the terminal. (i.e. from an ls or find etc), and the terminal will attempt to launch that file using the default application for the given file's type.
I'm familiar with various ways of opening a file from cygwin using a command, but am more interested if anyone knows of a method to mouse click to open a file.
Was wondering if anyone has seen/used such a feature in cygwin/putty?
This is implemented in the Mintty terminal along with a lot of other nice features so use that instead of the default cygwin one, you should already have it, if you don't download it from here.

Is it possible to generate glyphs for the Linux terminal on the fly? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
For example, Impulse Tracker for DOS was a nice music production app that was among the first to create a smooth mouse using glyphs generated on the fly in the characters located near the current position of the mouse. (Read here for a better description of what I mean).
So, I'm just wondering if that can be done in Linux terminals (e.g. the tty1-6 terminals or Gnome Terminal). Is it possible?
(EDIT: Should I post this on unix.stackexchange.com instead?)
Seeing as the terminal itself (and not the application) usually sets the font being used, I don't think this is possible. For the tty1-6 terminals, you could use a framebuffer to accomplish this, if you were that dedicated to the idea. With a terminal emulator on a desktop environment, I do not believe this is possible.
Would GPM accomplish what you're looking for, with a lot less hassle?
GPM Link 1
GPM Link 2

How to tab-complete in terminal while stay on the same line? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When double-tab, the terminal shows a list of command candidates, but the cursor line also moves downwards. How to make it stay on the same line while showing all the candidates below?
I'm guessing there must be some config file that can specify this behavior. This also applies to the case when ctrl-c in the middle of typing a command. I'd like the cursor to stay on the current line.
You need shell with rich terminal support.
For example Z Shell. Bash build with readline library for user interaction and it operate only line-by-line...
This behavior allow to run Bash on most platform as does not require special abilities from terminal.

How to save GVIM settings? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just installed GVIM, went through the menus, and changed a bunch of settings.
I closed GVIM, and the settings were all lost. :(
I made my changes again.
Now how do I keep my settings?
You can use :set command to list all settings and put it to ${HOME}/.vimrc.
:se[t] Show all options that differ from their default value.
I wonder why nobody mentioned to use a vim session to save global settings and the views for all windows. Of course mastering .vimrc should be on the agenda of any serious vim user, but sessions can help further. Especially since they are similar to 'profiles' which are familiar to many people.
There also exist a plugin for gvim that facilitates the dealing with sessions further (sessions.vim : Easy session management for gvim.
You should really learn how to use .vimrc. Like VIM itself, learning to do this the hard way means more power and ease of use later.

Linux, Unix or OS X tool for displaying what keyboard typing outputs? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm looking for a tool that will tell me what my keyboard is sending to the operating system when i push different keys.
This is to help me answer this question How to get Cmd-left/right working with iTerm2 and Vim (without requiring .vimrc changes)? which has me trying to figure out why Vim treats my iTerm2 mapping of Cmd-left to Escape-[H differently from Home.
I tried unix's read, and it says that Home and Cmd-left both produce "^[[H". I'm hoping that read is misleading me, and that some other tool will show how Home and Cmd-left are different (note: when I say, Cmd-left in this paragraph, it is when iTerm2's mapping is turned on).
Thanks!
You're doing all this in a terminal, right?
I'm afraid you're not going to do much better than read (my preferred approach is to do cat > file, type, press ^D, and then look at the file in a hex editor).
With regard to the underlying question, it's worth hunting for options in your terminal emulator. Right now it's emulating a terminal which doesn't distinguish between HOME and CMD+LEFT. It may be possible to tell it to emulate a different terminal, which does.

Resources