Discussion Overview
The discussion revolves around the challenges and tools available for formatting programming code in academic papers, particularly in comparison to LaTeX for mathematical typesetting. Participants explore various software options and their capabilities in preserving code formatting when copied into other applications.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
Main Points Raised
- Some participants inquire whether there are specific tools for writing programming papers that can automatically format code, similar to LaTeX for math.
- One participant suggests using Notepad++ for syntax highlighting but notes that copying to other programs like Word loses formatting.
- Another participant mentions that MATLAB preserves formatting when copying code, raising the question of whether other editors can do the same.
- There is a discussion about the nature of code formatting, with one participant arguing that automatically formatting code is not as critical as typesetting math, which requires specialized systems like LaTeX.
- Some participants express frustration with Notepad++'s handling of formatting, while others defend its functionality as a text editor.
- One participant recommends the "listings" package in LaTeX for including source code, asserting that it works well for this purpose.
Areas of Agreement / Disagreement
Participants express differing opinions on the effectiveness of various text editors, particularly Notepad++, and whether they meet the needs for formatting code in papers. There is no consensus on a single best solution, and multiple competing views remain regarding the tools and methods for formatting programming code.
Contextual Notes
Some limitations include the dependence on specific software capabilities, the subjective nature of user experience with different editors, and the unresolved question of how to best preserve formatting when transferring code between applications.