Comments (4)
I cannot test this right now, but try by adding features=none
to disable ligatures for teletype fonts.
\definefontfamily [mainface] [tt] [Consolas][features=none]
from filter.
This is most likely due to a font misconfiguration. Can you post a minimal example showing the bug.
from filter.
You seem to be right about font issues. In the following code if I comment out \definefontfamily [mainface] [tt] [Consolas]
, I see normal dashes. Is it an issue with Consolas
font?
test.tex:
% Choose US paper format
\setuppapersize[letter]
\definefontfamily [mainface] [rm] [Cambria]
\definefontfamily [mainface] [ss] [Calibri]
\definefontfamily [mainface] [tt] [Consolas]
\definefontfamily [mainface] [mm] [Asana Math]
\setupbodyfont[mainface]
\usemodule[vim]
\definevimtyping[C][
syntax=c,
numbering=yes]
\starttext
\typeCfile{main.c}
\stoptext
main.c:
/*----------------------------------------------------------------------------------
* File: main.c
* Function: foo
* Description: bar
*----------------------------------------------------------------------------------*/
void main()
{
int i = 0;
i--;
return 0;
}
from filter.
[features=none]
solves the problem. Thank you so much for your help!
from filter.
Related Issues (20)
- Decide if and how to map style `command` parameter to CSS HOT 5
- Question: Does filter module work with ConTeXtLMTX and can it be used in Windows? HOT 2
- Test 51-colorscheme.tex is failing - both comments in blue color HOT 3
- css path is inserted wrongly HOT 5
- Accents are not displayed when using filter with R HOT 2
- t-vim doesn't appear to set vimrc correctly HOT 4
- Utility of line 172 in 2context.vim HOT 4
- Test 07-indenting is failing
- Dead link in vim-readme HOT 1
- Minimum working example of t-vim HOT 3
- Insufficient coloring of c++ code HOT 7
- numberdistance not considering margin HOT 4
- numbering in conflict with itemize[columns] HOT 1
- t-vim in conflict with setupbodyfont HOT 1
- Vim filter cannot process two files with same name but different extensions
- process LaTeX fragments? HOT 4
- t-vim `.vimout` file name clashing HOT 9
- Using filter twice gives same replaced output HOT 4
- \SYN command causes fuzzy paragraph warnings in xmlexporter HOT 6
- Multichunk processing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filter.