All Projects → gillescastel → Inkscape Shortcut Manager

gillescastel / Inkscape Shortcut Manager

Licence: mit
Inkscape shorcut manager

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Inkscape Shortcut Manager

hyperkeys
Unleash you keyboard shorcuts
Stars: ✭ 35 (-82.5%)
Mutual labels:  productivity, shortcuts
Icanhazshortcut
simple shortcut manager for macOS
Stars: ✭ 204 (+2%)
Mutual labels:  productivity, shortcuts
Xcactionbar
"Alfred for Xcode" plugin
Stars: ✭ 1,217 (+508.5%)
Mutual labels:  productivity, shortcuts
Start-Menu-Manager
App to add websites/software/files/folders/scripts to the Windows 10 Start Menu and Taskbar, and priority shortcuts to Windows 10 Search.
Stars: ✭ 126 (-37%)
Mutual labels:  productivity, shortcuts
Sublimetutor
An interactive in-editor keyboard shortcuts tutorial for Sublime Text 3
Stars: ✭ 336 (+68%)
Mutual labels:  productivity, shortcuts
Gata
Bookmarks made better
Stars: ✭ 17 (-91.5%)
Mutual labels:  productivity, shortcuts
Njt
njt (npm jump to): a quick navigation tool for npm packages
Stars: ✭ 179 (-10.5%)
Mutual labels:  productivity, shortcuts
Ipypublish
A workflow for creating and editing publication ready scientific reports and presentations, from one or more Jupyter Notebooks, without leaving the browser!
Stars: ✭ 188 (-6%)
Mutual labels:  latex
Highlight
Source code to formatted text converter
Stars: ✭ 191 (-4.5%)
Mutual labels:  latex
Awesome Cv
📄 Awesome CV is LaTeX template for your outstanding job application
Stars: ✭ 14,957 (+7378.5%)
Mutual labels:  latex
Novathesis
LaTeX template for MSc and PhD thesis (for NOVA University Lisbon an other institutions)
Stars: ✭ 185 (-7.5%)
Mutual labels:  latex
Resume
Software developer resume in Latex
Stars: ✭ 2,664 (+1232%)
Mutual labels:  latex
Latex G7 32
Стиль LaTeX для оформления отчетов о НИР, расчётно-пояснительной записки к курсовым и дипломным работам (ГОСТ 7.32-2001 и ГОСТ РВ 15.110-2003).
Stars: ✭ 193 (-3.5%)
Mutual labels:  latex
Beamermaterialdesign
Theme for Beamer inspired by Google's Material Design
Stars: ✭ 186 (-7%)
Mutual labels:  latex
Hatch
A modern project, package, and virtual env manager for Python
Stars: ✭ 2,268 (+1034%)
Mutual labels:  productivity
Plotneuralnet
Latex code for making neural networks diagrams
Stars: ✭ 14,316 (+7058%)
Mutual labels:  latex
Bookdownplus
The easiest way to use R package bookdown for writing varied types of books and documents
Stars: ✭ 198 (-1%)
Mutual labels:  latex
Core
Forge Core Framework APIs and Implementation
Stars: ✭ 195 (-2.5%)
Mutual labels:  productivity
Sudo Productivity
Boost your "productivity" to the max! A fun project made for slackers by slackers.
Stars: ✭ 190 (-5%)
Mutual labels:  productivity
Nudtpaper
A LaTeX template for Master/PhD Thesis of NUDT
Stars: ✭ 189 (-5.5%)
Mutual labels:  latex

Inkscape shortcut manager

A shortcut manager that speeds up drawing (mathematical) figures in Inkscape.

Problem

I write my lecture notes in LaTeX and I want to draw figures in real time, i.e. while the lecturer is drawing on the blackboard. While the figures I want to draw quite simple, drawing them in Inkscape with default shortcuts takes too much time to keep up with a fast paced lecture. My goal is to draw figures like this:

Elliptic curve

Complex Analysis

Solution

I created a custom shortcut manager that intercepts all keyboard events sent to Inkscape windows giving me full control of user input. The script has the following features

  • Press clusters of keys (key chords) to apply common styles. Pressing d+a gives a dotted arrow, f+s fills the selection in gray and adds a stroke. You want a circle that's dotted and filled? Press f + d. Try pressing combinations of s, a, d, g, h, x, e, b, f, w. Being able to combine these common styles by pressing key chords feels quite intuitive after a while.
  • Save custom styles and objects. Press Shift+S or Shift+A to give a style or object a name. Use it by pressing s or a and typing the name. For common styles that aren't covered by the key chords, this comes in handy.
  • Use your editor to write LaTeX. Pressing t opens an instance of vim (or any editor you want). Write some LaTeX, close it, and the shortcut manager pastes the text in the figure. Pressing Shift+T does the same but renders the LaTeX as an svg and adds it to the document.
  • Ergonomic shortcuts for frequently used functions. Press w for pencil, x to toggle snapping, f for Bézier, z to undo, Shift+z to delete and ` to dis/enable the shortcut manager.

For more details and context, feel free to read my blog post.

Installing

Note that this script only works on GNU/Linux using Python ≥ 3.6. It also has the following dependencies:

  • Xlib python library to intercept keyboard events
  • pdflatex and pdf2svg to render LaTeX in Inkscape
  • xclip to access the clipboard
  • rofi for a selection dialog when saving styles and objects

Use the shortcut manager by running python3 main.py and opening an Inkscape window.

Configuration

You can configure the shortcut manager by creating a file located at ~/.config/inkscape-shortcut-manager/config.py. You can override the rofi theme, font, editor, as well as the LaTeX template that's being used. It's merged with the default config located at config.py. An example configuration file is located in the examples directory.

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].