Syntax highlighting
Posted: 2019-08-04 Filed under: office, system | Tags: highlight, html, libreoffice, openoffice, syntax, word, WPS Office, writer Leave a commentI’ve been writing a text document, where I want to paste an excerpt of a shell script. I want to put it in a frame as a separate “figure”, referred to in the text as “Box ##”. To make it clearer to the reader, I want to have the appropriate syntax highlighting. How to do it?
Read the rest of this entry »
FASTA syntax highlight
Posted: 2017-06-25 Filed under: academic | Tags: amino acid, color code, DNA, fasta, gedit, highlight, medit, nucleotide, protein, sequence, syntax 1 CommentFASTA is among the most common text formats for nucleotide or amino acid sequences. I use medit and a feature that I have been looking for is a syntax highlighting for FASTA
files. I want to have colour code for nucleotides and amino acids, similarly to how scripting or programming languages are displayed by the editor. I have been looking for this feature for a long time and all I found was the fasta.lang at GNOME’s wiki and the fastalang at git. Both projects are for Gedit
and support only nucleotide sequences. Let’s say neither of these did the job for me, but I appreciate very much both projects. I decided to do things myself.
Read the rest of this entry »