血糖高适合喝什么酒| 智齿长什么样子| 老母鸡炖什么好吃又有营养价值| 尿路感染吃什么药最见效| 夏至为什么要吃面条| 给孩子测骨龄应该挂什么科| 口干口苦口臭是什么原因| 阴虚内热是什么意思| 羊宝是什么| 天方夜谭是什么生肖| 脚背麻木是什么原因| 天蝎座跟什么星座最配| OB什么意思| 牙齿里面疼是什么原因| 有白痰是什么原因| 大便拉不出来是什么原因| 建档需要准备什么资料| 肾综合征是什么病严重吗| 花甲炒什么配菜好吃| 唐三藏的真名叫什么| 庚午日五行属什么| 7月20号什么星座| xl是什么码| 乳头瘤有什么症状| 赘婿是什么意思| 男人吃秋葵有什么好处| 关节炎看什么科| 土中金是什么生肖| 避重就轻什么意思| 狭鳕鱼是什么鱼| 皮肤发黑是什么原因引起的| 金牛男喜欢什么样的女生| 必修是什么意思| 12.28是什么星座| 梦见抓甲鱼是什么意思| 经期不能吃什么| 亚硝酸钠是什么东西| 337是什么意思| 回族信仰什么教| 蝙蝠长什么样| 觉的部首是什么偏旁| 脑梗是什么病| 嫩绿的什么| 霉菌性阴道炎吃什么消炎药| 崎岖是什么意思| 咖啡有什么好处| 蝙蝠飞到家里是什么预兆| 胃字出头念什么| 女人脖子后面有痣代表什么| 诸事不宜是什么意思| 低烧吃什么药好| 80年五行属什么| 早孕试纸什么时候测最准确| 为什么人会打嗝| 医疗美容需要什么资质| 梦见偷别人东西是什么意思| 小孩脚麻是什么原因| 睡醒后嘴巴苦什么原因| 火彩是什么| 3a是什么意思| 什么是| 三七花泡水喝有什么功效| 小巧思什么意思| 夏天喝什么茶好| 狗发烧吃什么药| 什么情况会导致月经推迟不来| 竹外桃花三两枝的下一句是什么| 腰酸是什么原因女性| 柬埔寨有什么特产| 回南天什么意思| 鸡蛋干配什么菜炒好吃| 头昏脑涨是什么原因| 墨菲定律讲的是什么| 篮球中锋是干什么的| 胰岛素为什么不能口服| 西瓜什么时候传入中国| 为什么脚会抽筋| 梦见自己鼻子流血是什么预兆| 豪爽是什么意思| 葫芦鸡为什么叫葫芦鸡| 碳酸钙d3颗粒什么时候吃最好| 高凝状态是什么意思| 中国的国粹是什么| 拿铁是什么咖啡| 韭菜有什么功效| 腱鞘炎是什么病| 四十不惑是什么意思| 无名指下面的竖线代表什么| 青苹果什么时候成熟| 脑供血不足有什么症状| 为什么会得人工荨麻疹| 不孕不育有什么症状女| 骨折吃什么| 夜尿频多吃什么药效果好| 青枝骨折属于什么骨折| 心水是什么意思| 迁移是什么意思| 肝血不足吃什么补最快| 小虾吃什么| 先天性心脏病是什么原因造成的| 众里寻他千百度是什么意思| sr是什么意思| 18号来月经什么时候是排卵期| 子子念什么| 知府相当于现在什么官| 纸老虎比喻什么样的人| 大便黑色是什么问题| 降钙素原高说明什么| 三皇五帝是什么时期| 狗狗湿疹用什么药膏最有效| 职业年金是什么意思| 阳光灿烂是什么意思| 肚脐右边按压疼是什么原因| 琴酒是什么酒| 动脉导管未闭是什么意思| 市政府办公室主任是什么级别| 脾大是什么原因造成的怎么治疗| 辟支佛是什么意思| 小孩智力发育迟缓挂什么科| 脸上长粉刺是什么原因| 彩色的什么| 喜欢吃酸的是什么原因| 保释是什么意思| 啤酒加鸡蛋有什么功效| 茶宠为什么会变色| 包浆是什么意思| 产能过剩是什么意思| 兴奋剂是什么| 色带是什么| 发心是什么意思| 非洲割礼是什么| 小姐的全套都有什么| 红细胞压积偏高是什么意思| u什么意思| 职业年金什么时候领取| 正常的包皮什么样子| 什么叫脂肪肝| 紫色加红色是什么颜色| 快闪店是什么意思| 三七长什么样子图片| 上腹胀是什么原因| 怨天尤人是什么意思| 坐骨神经痛是什么原因引起的| 忽然流鼻血是什么原因引起的| xxoo什么意思| 24小时动态脑电图能查出什么| 生性凉薄是什么意思| 党内警告处分有什么影响| 乙肝二四五阳性什么意思| 航空器是什么| 青蛙什么| 白练是什么意思| 天天想睡觉没精神是什么原因| 央行放水是什么意思| 火花塞坏了有什么症状| 怀孕第一个月最怕什么| 林黛玉是什么病| 什么是滑档| 蒲公英有什么作用| 躯体症状是什么| 早上起床口苦是什么原因| 印度总统叫什么名字| 香干炒什么菜好吃| 腰封是什么| 阴差阳错是什么意思| 鹅吃什么食物| 柠檬水喝了有什么好处| 苦瓜和什么搭配最好| 反响是什么意思| 什么里什么间| 什么是双修| 咳嗽不能吃什么水果| 内痔用什么药| 慢性肠炎吃什么药调理| 杏花代表什么生肖| 一什么耳朵填量词| 梦见白发是什么意思| 小孩子流鼻血是什么原因引起的| 女人总犯困是什么原因| 男性补肾壮阳吃什么药效果比较好| 2012年什么年| 破伤风疫苗什么时候打| 菊花是什么颜色| 出水痘能吃什么食物| 一花一草一世界的下一句是什么| 阴毛有什么用| 孩子嗓子有痰吃什么药| 胃病吃什么食物养胃| 很容易饿是什么原因| 翻来覆去是什么意思| 为什么会缺铁| 一什么无什么| 左侧卵巢囊性回声是什么意思| 四月初五是什么星座| 哎什么意思| 鼻子里面痒是什么原因| 06年属狗的是什么命| 平均血红蛋白浓度偏低是什么意思| 拿铁咖啡什么意思| 吃菠萝蜜有什么好处| 舌苔厚口臭吃什么药好| 韩红是什么军衔| 脸上长癣是什么原因造成的| 老年骨质疏松疼痛有什么好疗法| 梦见掉牙齿是什么征兆| 长时间手淫有什么危害| 淋巴结用什么药效果好| 甲状腺结节对身体有什么影响| 精液的主要成分是什么| 子宫破裂有什么征兆| 什么蛇没毒| 谭咏麟为什么叫校长| 一什么港湾| 绝经前有什么症状| maby什么意思| 吃什么食物能养肝护肝| 玄孙是什么意思| 老是做噩梦是什么原因| 元胡是什么| 肉桂属于什么茶类| 10月24是什么星座| 犯病是什么意思| 顶到子宫是什么感觉| 乩童是什么意思| 变色龙指什么样的人| 巨蟹座女生喜欢什么样的男生| 车加昆念什么| 胃有灼烧感是什么原因| 女性性高潮是什么感觉| 现在什么手机好用| 什么叫血栓| 咏字五行属什么| 秦五行属什么| 摆摊卖什么好| 临床路径是什么意思| 中国国酒是什么| 9.11是什么星座| 什么人喜欢天天下雨| 胃不好不能吃什么| dan是什么意思| 1977年出生属什么生肖| 倒着走路有什么好处| 领略是什么意思| 乙肝两对半定量是什么意思| 栉风沐雨是什么意思| 肚子不舒服是什么原因| 拔罐颜色深浅代表什么| 金庸原名叫什么| 冷暖自知的前一句是什么| 什么东西快速补血| 丙型肝炎病毒抗体阴性什么意思| 特需门诊和专家门诊有什么区别| gt是什么意思| 煎饼卷什么菜好吃| 葡萄酒中的单宁是什么| iga什么意思| 吃黄瓜有什么好处和坏处| 狻猊是什么| 嬲什么意思| 02年属什么生肖| 据悉是什么意思| 什么颜色加什么颜色等于橙色| 变爻是什么意思| 湿气重吃什么能去湿气| 百度Jump to content

赛里木湖-果子沟-霍尔果斯口岸-薰衣草赏花一日游

From Wikipedia, the free encyclopedia
GNU TeXmacs
Developer(s)GNU Project
Stable release
2.1.4[1] Edit this on Wikidata / 11 March 2024
Repository
Written inC++
Operating systemLinux, Windows, macOS, Unix-like[2]
Platformx86, x86-64
TypeWord processor
LicenseGPL-3.0-or-later[3]
Websitewww.texmacs.org
百度 从北京到河南信阳,回家的路有一千多公里。

GNU TeXmacs is a scientific word processor and typesetting component of the GNU Project. It originated as a variant of GNU Emacs with TeX functionalities, though it shares no code with those programs, while using TeX fonts.[4] It is written and maintained by Joris van der Hoeven and a group of developers.[5] The program produces structured documents with a WYSIWYG user interface. New document styles can be created by the user. The editor provides high-quality typesetting algorithms and TeX and other fonts for publishing professional looking documents.

Background

[edit]

As a structured WYSIWYG editor and document preparation system, TeXmacs is similar to earlier structured document editors, such as Interleaf (first release 1985), Framemaker (1986), SoftQuad Author/Editor (1988),[6] Lilac,[7] Grif [fr] (1991),[8] and Thot;[9] there was also academic research into interactive editing of complex typographical constructs represented logically.[10][11]

In the 2000s and 2010s, interest on interactive editing of structured text encouraged the development of programs intended for scholars in the humanities; an example of this is CWRC-Writer, a visual XML editor with "Close-to-WYSIWYG editing and enrichment of scholarly texts with meaningful visual representations of markup".[12]

On another side of the editing and document preparation world, a program for visual interaction with structured texts written in LaTeX is LyX, which does not aim at WYSIWYG editing but at visual representation of the structure (WYSIWYM).

Features

[edit]
A screenshot showing mathematical formulas and italic font. A cyan focus frame surrounds the innermost environment (a formula environment) the cursor is in, while the subtle gray box surrounds another active tag (the theorem environment).

Like in many WYSIWYG editors (such as Microsoft Word), authors manipulate a document on screen which should print to a similar-looking paper copy. The goal of TeXmacs is to provide a WYSIWYG editor that nevertheless makes it possible to write correctly structured documents with aesthetically pleasing typesetting results. Despite its name, TeXmacs is not a front-end to TeX or LaTeX.[13] However, TeXmacs documents can be converted to either TeX or LaTeX. LaTeX also can be imported (to some extent), and both import from and export to HTML, Scheme, Verbatim, and XML is provided;[14] the HTML export is stylable with CSS (since version 1.99.14). There is a converter for MathML as well, and TeXmacs can output PDF and PostScript for printing.[15]

TeXmacs can handle mathematical formulas, tables, images, cross-references and citations. It can be used as a front-end to a number of computer algebra systems such as Maxima, FriCAS and SageMath, and can in turn integrate some of their output into its typesetting. TeXmacs also supports a Scheme extension language called Guile for customizing the program and writing extensions.

It also features a presentation mode and a small technical drawing editor and there are plans to evolve towards a complete scientific office suite with spreadsheet capabilities. An implementation of spreadsheets is present starting from version 1.99.12; spreadsheets in TeXmacs can take advantage of plugins (for example Python or Maxima) to compute cell values.

TeXmacs currently runs on most Unix-based architectures including Linux, FreeBSD, Cygwin, Haiku and macOS. Along with the Cygwin version, a native port is available for Microsoft Windows.

The TeXmacs editor

[edit]

In the TeXmacs editor structure and appearance of the document are represented at the same time;[16] the structure is made evident to the user by surrounding logical units of the document in nested focus frames carrying color cues that are displayed according to the movement of the cursor.[17] A detailed description of the structure in the proximity of the cursor is provided in the footer of the editor window, finely selectable with left-right arrow presses.[16] In the editor it is possible to switch between text mode and source mode editing, and support for the composition of macros is present; the source editor is syntax-aware.[18]

Mathematical typography

[edit]

TeXmacs facilitates the inputting of mathematical formulas by mapping sequences of keyboard presses to symbols. For example, the symbol can be input by typing =>.

Some symbols have no such representation ( for instance). These can be input with Tab ? key (e.g. for the key presses are =>Tab ?Tab ? . This keyboard-based entry differs from other formulae editors, that tend to provide point-and-click menus for this task.[19]

Batch processing

[edit]

It is possible to use TeXmacs as a batch processor (which is LaTeX's usual operation mode), using X virtual framebuffer to avoid opening unwanted windows while processing. For example, the command

$ xvfb-run texmacs --convert article.tm article.pdf --quit

generates a PDF file "article.pdf" from a TeXmacs document "article.tm".

The TeXmacs format

[edit]

All TeXmacs documents or document fragments can be thought of as trees (the concept of tree exists as well in the SGML markup language, to which the Texmacs format is similar). For instance, the tree

represents the formula

(written here with the TeX markup used by Wikipedia) and is turned by TeXmacs' own typesetting engine into a typeset formula, here inserted as an image:

TeXmacs trees are represented in TeXmacs files as strings, and in the TeXmacs editor as the typeset representation of the document together with its interactive behaviour.[20] In the on-screen representation of the TeXmacs tree, the cursor movement represents the movement inside the tree. On disk, three representations of the TeXmacs format exist: a native representation, an XML representation and a representation with Scheme S-expressions; the Scheme representation is useful for the interfacing with Scheme programs.

Typesetting and document control

[edit]

The typesetting process converts TeXmacs trees into boxes.[21] Evaluation of TeXmacs trees proceeds by reduction of the primitives, that is by evaluation of macro applications. The typesetting primitives are designed to be very fast and are built-in into the editor; the rendering of many of the primitives can be customized through the built-in environment variables; the stylesheet language allows users to write new primitives as macros on top of the built-in primitives.

TeXmacs uses a global algorithm for "line-breaking" (similar to the TeX one) and in addition uses a global algorithm for "page-breaking"; the page-breaking algorithm takes into account floating objects (figures, table, footnotes) and multi-column content.

Document control

[edit]

Documents can be controlled through a native macro system and through Guile-Scheme. It is possible to customize the editor's menus and keybindings and to act programmatically on the document tree.

TeXmacs macros

[edit]

TeXmacs macros provide a means of structured input (as in TeX/LaTeX) and they are immediately typeset, at the same time maintaining editable input fields. They are written in source code, although the WYSIWYG editor can aid in their composition through the translation of visual structures into their syntax.[22]

Document control through Scheme

[edit]

Scheme is embedded in TeXmacs through GNU Guile; the editor itself can be controlled in this way:[21] menus and keybindings can be customized. Scheme commands can be invoked interactively inside TeXmacs documents, can be invoked from the command line and from inside TeXmacs macros. TeXmacs trees can be passed to Scheme in different forms: as "passive trees" (convenient to manipulate content directly using standard Scheme routines on lists), as "active trees" (keep track of the position of the tree inside the global document tree and can be used to programmatically modify documents), and in a "hybrid" representation.

Graphics

[edit]

Graphics objects are also part of the TeXmacs format and can be manipulated programmatically from Scheme. An example of TeXmacs graphics generated in a TeXmacs Scheme session is shown below together with the session which generated the image. Images generated programmatically in a Scheme session can also be edited using the internal drawing editor, as they are inserted in the document as a tree; Scheme scripts can also be executed through the extern TeXmacs macro—in this case only the typeset material is available in the document and no direct editing is possible (the modifications must be made within the Scheme code).

Scheme]  (define pi (acos -1))
;; A function to define a point in the TeXmacs graphics format using two coordinates
Scheme]  (define (pt x y)
  (point ,(number->string x) ,(number->string y)))
;; Set points
Scheme]  (define xC (- (* 2 (cos (/ pi 3)))))
Scheme]  (define yC (* 2 (sin (/ pi 3))))
Scheme]  (define pA (pt -2 0))
Scheme]  (define pB (pt 2 0))
Scheme]  (define pC (pt xC yC))
Scheme]  (define tA (pt -2.3 -0.5))
Scheme]  (define tB (pt 2.1 -0.5))
Scheme]  (define tC (pt (- xC 0.2) (+ yC 0.2)))
;; Generate graphics
Scheme]  (stree->tree
 (with "gr-geometry" (tuple "geometry" "400px" "300px" "center")
    (graphics
      (with "color" "blue"  (text-at (TeXmacs) ,(pt -0.55 -0.75)))
      (with "color" "black" (arc ,pA ,pC ,pB))
      (with "color" "black" (line ,pA ,pB))
      (with "color" "red"   (cline ,pA ,pB ,pC))
      (with "color" "black" (text-at "A" ,tA))
      (with "color" "black" (text-at "B" ,tB))
      (with "color" "black" (text-at "C" ,tC)))))

Supported back ends

[edit]
A TeXmacs session of Maxima

TeXmacs has back-ends supporting many technologies.

Embedding editable plugin output

[edit]

Plugin output can be embedded within TeXmacs documents using "executable switches";[23] in this way one can switch back and forth between a given input to the system and the corresponding output, which blends seamlessly in the document.

See also

[edit]

References

[edit]
  1. ^ Joris van der Hoeven (2 April 2024). "TeXmacs 2.1.4". Retrieved 2 April 2024.
  2. ^ "Downloading and installing TeXmacs (FSF GNU project)". Texmacs.org. Retrieved 2025-08-05.
  3. ^ "The GNU General Public License". Texmacs.org. Retrieved 2025-08-05.
  4. ^ Frequently asked questions (FSF GNU project)
  5. ^ "Authors of GNU TeXmacs". Retrieved 2025-08-05.
  6. ^ Brown, Susan (2025-08-05). "Remediating the Editor". Interdisciplinary Science Reviews. 40 (1): 78–94. Bibcode:2015ISRv...40...78B. doi:10.1179/0308018814Z.000000000106. ISSN 0308-0188. S2CID 144086542.
  7. ^ Brooks, K.P. (June 1991). "Lilac: a two-view document editor". Computer. 24 (6): 7–19. doi:10.1109/2.86832. ISSN 0018-9162. S2CID 2239112.
  8. ^ "GriF SGML Editor". Retrieved 2025-08-05.[permanent dead link]
  9. ^ "Thot structured document editor". Retrieved 2025-08-05.
  10. ^ A structured document model, Clement Shin Tai-Yin, PhD Thesis, Department of Computing, Imperial College London, 1989
  11. ^ "Editing Graphical Objects Using Procedural Representations", Paul Asente, PhD Thesis, Department of Computer Science, Stanford University (1987)
  12. ^ CWRC-Writer: An In-Browser XML Editor, G. Rockwell et al., Digital Humanities 2012 Conference
  13. ^ van der Hoeven, Joris (2025-08-05). "GNU TeXmacs: a scientific editing platform" (PDF). www.texmacs.org. pp. 7f. Retrieved 2025-08-05. Since TeXmacs is not a LaTeX front-end, it follows that we can only ensure correct conversions for a (quite large) sublanguage of LaTeX.
  14. ^ van der Hoeven, Joris; Seidl, Andreas (2011). "Frequently asked questions". www.texmacs.org. Retrieved 2025-08-05.
  15. ^ van der Hoeven, Joris (2012). "Welcome to GNU TeXmacs". www.texmacs.org. Retrieved 2025-08-05.
  16. ^ a b van der Hoeven, Joris. "GNU TeXmacs, A free, structured, wysiwyg and technical text editor" (PDF). Cahiers Gutenberg. 39–40: 39–50.
  17. ^ "The TeXmacs manual. 2.2, Typing structured text" (PDF). Retrieved 2025-08-05.
  18. ^ "GNU TEXMACS user manual; 11.2. Rendering of style files and packages" (PDF). Retrieved 2025-08-05.
  19. ^ See the user manual : ? Typing mathematical symbols ?.
  20. ^ van der Hoeven, Joris. "The TeXmacs format". Retrieved 2025-08-05.
  21. ^ a b M. Gubinelli, The Guile in TeXmacs, presentation at the Guile and Guix Days in Strasbourg, June 21–22, 2019 pdf Retrieved 2025-08-05.
  22. ^ "The TeXmacs Manual; 11.1 Writing a simple style package" (PDF). Retrieved 2025-08-05.
  23. ^ "TeXmacs user manual, section "Traversal of a presentation"" (PDF). Retrieved 2025-08-05.
[edit]
28属什么的生肖 38岁适合什么护肤品 肺ca是什么意思 咖啡豆是什么动物粪便 2003年属什么生肖
opo是什么 口吐白沫是什么原因 打呼噜有什么危害 唐老鸭叫什么名字 鱼缸底部铺什么好
韩红是什么军衔 肚子下面是什么部位 醒酒是什么意思 高圆圆老公叫什么名字 青石是什么石头
干红是什么意思 胆囊息肉是什么原因造成的 实属什么意思 壮阳吃什么 强直性脊柱炎吃什么药
旦上面加一横是什么字hcv8jop9ns2r.cn yuri是什么意思dayuxmw.com o型血容易得什么病hcv7jop4ns5r.cn 嘴唇发黑是什么原因引起的hcv7jop7ns0r.cn 探店是什么意思hcv7jop9ns2r.cn
什么水果是碱性的dayuxmw.com 不生孩子的叫什么族hcv8jop3ns6r.cn 什么回大什么hcv8jop3ns5r.cn 拉肚子为什么会肚子疼hcv8jop9ns4r.cn 人又不人鬼不鬼是什么生肖bjhyzcsm.com
总监是什么级别hcv8jop2ns2r.cn 什么叫脑梗hcv9jop0ns5r.cn 世界上最长的蛇是什么蛇creativexi.com 嚭是什么意思qingzhougame.com 腋窝爱出汗是什么原因hcv7jop6ns9r.cn
抑郁症什么症状yanzhenzixun.com 二尖瓣关闭不全是什么意思baiqunet.com 长方脸适合什么样的发型onlinewuye.com 吃樱桃有什么好处hcv8jop2ns5r.cn 头上爱出汗是什么原因hcv8jop0ns9r.cn
百度