Jump to content

Search the Community

Showing results for tags 'latex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
    • Advanced Tips & Tricks
  • Alfred Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting
  • Alfred 5 Early Access
    • Alfred 5 Early Access


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




Found 10 results

  1. My fashcard software supports neither LaTeX nor MathML. Given that image is the only way to go, I created this workflow where you, Open Alfred Type ` (backtick) Start typing a math expression in AsciiMath syntax. As soon as you start typing, another window opens and it displays the typesetted math in real time as you type. Pressing enter closes both alfred and the math window, and puts a PNG image into clipboard. Instead of pressing enter, if you pressed command + enter, it copies LaTeX instead of the image to clipboard. Q: Why AsciiMath? A: Because it is extremely concise and intuitive. Check out this handy list of asciimath-vs-latex comparison examples. Q: What if I don't know how to write a particular thing in AsciiMath? A: If you are stuck in middle of typing, just stop, hit shift, and it'll pop up a reference. When done consulting the reference, hit escape again, and start typing from where you left off! (see gif below) Meta: A thing that I find exciting is this gives an example of a "rich preview as you type" workflow. Broad Technical details: custom protocol URLs: gives a cheap one-way-server functionality, ie, a way for alfred scripts to communicate with the running app, instead of launching an app every script invocation, or, running a server manually in the app (or some other complicated IPC scheme) monitor window events so that even if the user presses escape and quits the workflow without actioning, the math window can be hidden Download: AsciiMath.alfredworkflow
  2. I found myself chatting with people from time to time and needing to send equations. Obviously when Latex is available it's preferable but sometimes it's not. As a result I need a solution that requires zero installs but formats text a little better than you can get with the standard characters on the keyboard. Example: let's not say x^2 but x². Let's not say sqrt(x) but √(x). I want to be able to do this without looking up characters in a character table and I don't want it to add to how much I have to type much. Enter snippets. They allow for decently complex notation without needing Latex. Because this is just unicode it works in most browsers and on most smartphones as well. Github link.
  3. If you are a STEM student, you might have been familiar with the markup language LaTex. Typing equations in LaTex is painful and it is almost impossible to compile the latex document without getting an error once or twice. To facilitate writing LaTex documents, I have created a comprehensive (more than 2000) snippets especially dedicated to latex greek letters. Example usage: Type this: \\a This expands to: \alpha Type this: \\ax This expands to: $\alpha$ and so on. Here: prefix = \\ letter = a expands to = alpha The snippet can be found in my GitHub: https://github.com/bhishanpdl/ALFRED/blob/master/AlfredSnippets/LatexGreek.alfredsnippets Installation: 1. Download the snippet and double click 2. UNCHECK the option Strip snippet of auto expand flag (by default it is checked, uncheck it) Detailed usage: Some rules: 1. I call Partial, Angle and Bold as prefix terms. 2. I call other attributes such as bar, prime, hat, etc suffix. 3. x means surround by the two dollar sign. E.g to create $\alpha$ we need to type \\ax. 4. suffix attributes need only one extra letter at the beginning. Eg. to create \bar{\alpha} we need to type \\ab` where b means bar. 5. prefix attributes needs two surrounding letters. E.g. to create \partial{\alpha} we need to type \\pay here prefix p means partial and we also need last letter y.
  4. LaTeX ⟷ Markdown Alfred Workflow Quickly convert Markdown to LaTeX or vice versa from your clipboard with Pandoc. Description A simple routine to convert snippets of markdown to LateX from your clipboard or vice versa. The workflow creates either a *.md or *.tex file relative to your input and at the location you choose. The file is converted with Pandoc by calling it from the terminal. The converted file subsequently gets output at the same place. Existing files will be overwritten. Pandoc is key and has to be installed: $ brew install pandoc GitHub: github.com/zeitlings/alfred-latex-md/raw/master/LaTeX-MD.alfredworkflow (direct download) github.com/zeitlings/alfred-latex-md Alternative Method: Clipboard only An altered version that removes all created files and copies the converted output back to your clipboard: Convert markdown to LateX from your clipboard or vice versa. The workflow creates either a *.md or *.tex file at your ~/Documents folder. The file will be converted with pandoc by calling it from the Terminal. The contents of the converted file will be copied to your clipboard. Both files will be moved to your trash bin. GitHub: github.com/zeitlings/alfred-latex-md-direct/raw/master/LaTeX-MD-direct.alfredworkflow (direct download) github.com/zeitlings/alfred-latex-md-direct _____________ The workflow is piggybagging off these two: https://www.alfredforum.com/topic/459-workflow-create-a-new-text-file-with-clipboard-content/ https://www.alfredforum.com/topic/394-fixed-create-a-new-file-in-the-finder/ https://pandoc.org/
  5. I can't seem to get Alfred to run a pandoc conversion to pdf. Neither of the pandoc commands bellow will run in Alfred but I have confirmed that xelatex and pdflatex are installed, and both run perfectly fine in Terminal and from my FastScripts menu, so it seems the issue is with Alfred. I am specifying the full path to pandoc (/usr/local/bin/pandoc) so this is not a path issue (as mentioned here: https://github.com/shawnrice/alfred-documentation/wiki/Environmental-Variables). I'm fairly certain it's exclusively a PDf (xelatex, pdflatex) issue because pandoc conversions to HTML run perfectly fine for me in Alfred. This syntax is directly from Pandoc Demos (https://pandoc.org/demos.html) and runs perfectly fine in my Terminal: /usr/local/bin/pandoc ~/Desktop/MANUAL.txt --pdf-engine=xelatex -o ~/Desktop/example13.pdf But produces the following error when called within a "Run Script" action (Language /bin/bash/) in Alfred: [ERROR: action.script] xelatex not found. Please select a different --pdf-engine or install xelatex This syntax also runs perfectly fine in Terminal: /usr/local/bin/pandoc ~/Desktop/MANUAL.txt -o ~/Desktop/example13.pdf But produces the following error when called within a "Run Script" action (Language /bin/bash/) in Alfred: [ERROR: action.script] pdflatex not found. Please select a different --pdf-engine or install pdflatex Both of these also fail with I run them in an external shell script called from Alfred. What am I missing?
  6. BibQuery Search BibDesk from Alfred Version: 1.0.1 Download from Packal BibQuery is essentially a visual clone of ZotQuery for the Mac app BibDesk, which is a citation manager for BibTeX. Users of BibDesk can now enjoy the clean search interface found in ZotQuery, which clear icons for publication type, and clean presentation of publication data. Users can also search their .bib databases with the same variety of queries: general (keywords: bib or b) titles (keywords: bib:t or bt) creators (keywords: bib:a or ba) in-keyword (keywords: bib:nk or bnk) in-group (keywords: bib:ng or bng) for keyword (keywords: bib:k or bk) for group (keywords: bib:g or bg) Also of note, BibQuery works without BibDesk being open and even functions if you have multiple .bib databases that BibDesk manages. In short, BibQuery brings all of your citations to you. Once you find the item you're looking for, BibQuery currently has 3 possible actions: you can open up BibDesk to that item (simply press return) you can copy a LaTeX cite command for that item (simply press control+return) you can open that item's PDF attachment, if it has one (simply press shift+return) For those of you interested, the source code can be found on my GitHub. Enjoy! stephen
  7. Hi all, I've put together a basic workflow for TeXdoc to query the local LaTeX documentation of your system or access the online documentation from either texdoc.net or CTAN. There is not a lot of fancy stuff going on under the hood, the heavy lifting is done by the texdoc tool which comes with MacTex (and TeXLive). If you use LaTeX regularly, I have found this to be a real time-saver when I have to look for documentation of LaTeX packages. The development takes place on GitHub, or you can get the workflow from Packal.
  8. Hello, Recently I've written a new workflow named 'LaTeX Symbols' ! It will help you looking for LaTeX symbol commands with ease. It is quite similar to Detexify (http://detexify.kirelabs.org/symbols.html), and the list of symbols are borrowed from @kirel's detexify. You can download the workflow at https://github.com/wookayin/alfred-latex-symbols-workflow/releases or (Direct Download, v0.2) or, browse the github repository: https://github.com/wookayin/alfred-latex-symbols-workflow Please let me know if there is any bug or suggestions for improvement. You'll need a ruby installation. Enjoy!
  9. LaTeX Tools: tools for working with LaTeX files. Currently a word/figure/equation count workflow, and a diff workflow for comparing two LaTeX files in a compiled PDF. (follow Github link for further details and download link)
  10. Hi there! Following help from our Guru David, I'm trying to set a chained script filter workflow to paste a text string, chosen from a feedback list. My purpose is to get my personal shortcuts for TeXShop, a TeX editor, working from Alfred. However, there are few points I can't figure out (my competence stop with AppleScript ). You can download my draft workflow here: http://d.pr/f/3BPN The first step saves the OS X selection. The second step can be invoked by another hotkey, in case I don't select any text. The script filter in this step provides the text strings that I'm susceptible to need. E.g., \emph{}, \ref{} (minimal example, I'll set many more later). I would like that the selected text (saved in a .txt file at step 1) comes between the brackets of the commands, like \emph{Previously selected text}. Or nothing if I haven't selected any text. Also, I would like the second step not to show all the items from the script filter, but rather those who match what I will type in Alfred. Does one of you know how to fix that? Any help will be much appreciated!
  • Create New...