Tcl/Tk Documentation and Website

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2024-11-13
08:39
- output Span to Markdown using bracketed spans
- add a 'Syntax' AST element to group Tcl snytax into one command line
- add 'Div' AST element to group Tcl command lines (so they can be recognized and formatted when converted to HTML)
- add test for cases where there are more than a command name plus subcommand name (not in synopsis but in later sections of manual pages)
Leaf check-in: 5cd847aaff user: Torsten tags: torsten
2024-11-11
23:44
implemented code to represent Tcl command syntax in the AST (next is to output this using Markdown bracketed spans) check-in: 7d443f877b user: Torsten tags: torsten
2024-10-29
08:34
- changed test script to cover parseInline instead of BIR2markdown
- added more backslash patterns
- introduced a proc to handle exception cases and over-agressive parsing that would otherwise need manual editing of the produced markdown
- added preliminary support for lists
- added more tests (not all are passing right now)
check-in: 7efb2d8fed user: Torsten tags: torsten
2024-07-05
08:50
- do some preprocessing to avoid italic or bold whitespace (this solves [597e7dc909](tktview/597e7dc909))
- included handling of VS/VE inside of TP/IP lists (this also solves [c5855e85d7](tktview/c5855e85d7))
check-in: ecc5c4bf5c user: Torsten tags: torsten
2024-06-28
06:50
fixed an italic whitespace in concat.n making the conversion script error out check-in: e0ca1f879e user: Torsten tags: torsten
2024-06-24
07:41
merge the trunk to get the updated manual pages to my branch check-in: 046ea71b51 user: Torsten tags: torsten
07:40
New script to automatically transfer the Tcl and Tk manual pages from the Tcl/Tk source repositories to this repository Leaf check-in: d2b0189c89 user: Torsten tags: trunk
07:32
Transferred newest version of Tk man pages check-in: 734218627c user: Torsten tags: trunk
07:30
Transferred newest version of Tcl man pages check-in: f2f67895c8 user: Torsten tags: trunk
2024-06-21
18:26
added handling of \fP (only used in Tk manual pages), treating it the same as \fR based on the usage check-in: b242cf2d34 user: Torsten tags: torsten
2024-06-14
15:36
converter now again works
- corrected wrong "Code" handling during parseInline and subsequently adapted markdown outpur routine
- corrected wrong handling of "DlistItem" attributes during block expansion
- guarded against an endless loop when the \f escape occurs as literal backslash followed by f (as opposed to starting bold, italic, roman)
- removed last bits of old parser code
check-in: cc09406eec user: Torsten tags: torsten
2024-06-05
10:20
Note: this commit is an intermediate step. It currently fails to execute properly. The commit is just to preserve the current stage and is not meant to be merged into other branches.

- changed BIR handling from regexp to simple matching
- added further tests for \fB, \fI and \fR
- added special case in markdown conversion to handle literal asterisks
- factored out the code for parsing an nroff macro call into a list (for general use)
- added parsing of .PQ and .QR macro and re-worked handling of .QW to merge it with .PQ and .QR
- added parsing of .IP macro within a generalized version of the .TP handling
- workded arount the issue of terms in a Dlist without a definition (file(n) manual page)
- now also handle the backslash as literal character

Note: proper list indentation in definition lists is still broken sometimes (worked for string(n) but not for file(n))
check-in: 5c27b222c8 user: Torsten tags: torsten

2024-05-30
22:32
- properly indent subsequent paragraphs and code snippets in markdown from .TP definition lists
- refine handling of \fI, \fB and \fR and also apply this to definition list terms
- add a test file for the handling of \fI, \fB and \fR (some still failing ...)
check-in: 316b4a84c4 user: Torsten tags: torsten
19:41
Use new version of man2markdown.tcl Leaf check-in: 026155d5dc user: Shaun tags: shaun
19:09
fixed an endless loop when digesting links in the "See also" section when it is not followed by other content but EOF check-in: 2253ee6dc7 user: Torsten tags: torsten
2024-05-28
22:32
Change "ttk:scrollbar" to "ttk::scrollbar" in scrollbar.n see also section check-in: 24844bc0c3 user: Shaun tags: shaun
22:18
Remove fullstop from "vwait." in CrtChnlHdlr.3 see also section check-in: c14822d0d8 user: Shaun tags: shaun
22:16
Remove fullstop from "vwait." in ChnlStack.3 see also section check-in: 2c0365c246 user: Shaun tags: shaun
21:42
- the block parser is now recursive
- re-implemented .TP & .SS macro
- change the inline parsing to follow the recursive structre of the block elements
- moved detection of "See also" ans "Keywords" section to the block parsing stage
- started adaptation of Mardown production procedure to cope with the new nested elements (not finished yet)
check-in: 7fef71d1a5 user: Torsten tags: torsten
20:06
Change the nroff folder names to "tcl 9.0b3" and create /.fossil-settings/ignore-glob check-in: b4992a042c user: Shaun tags: shaun
2024-05-27
14:11
Nroff from last github (Mirror of core.tcl-lang.org) commits for tcl and tk check-in: d2168da674 user: Shaun tags: shaun
2024-05-05
01:07
Bring MDs, parse them Leaf check-in: 211ef1e059 user: Siqs tags: max
2024-05-03
13:33
Side Nav check-in: a93cd7f5bd user: Shaun tags: shaun
2024-02-20
14:27
script layout check-in: feb13fed8b user: Shaun tags: shaun
2024-02-14
15:04
Updated to newest man2markdown.tcl and created control script check-in: 15367a42a8 user: Shaun tags: shaun
12:03
merge current new man2markdown into trunk - now trunk is up to date with a working version of the new parser/converter check-in: 2be8bf30d9 user: Torsten tags: trunk
12:00
forgot to 'fossil add' missing files picked from trunk check-in: e1ae04204d user: Torsten tags: torsten
11:56
updated 4 nroff files from trunk (seem to have been changed in my branch but shouldn't) check-in: 2fd4777c75 user: Torsten tags: torsten
11:52
(re-)introduced missing files from trunk (folder tools) check-in: 38e7207ad0 user: Torsten tags: torsten
11:11
changed folder 'test-scripts' to 'scripts', removed folder 'output' and its content, removed man.macros from scripts folder check-in: fda0969112 user: Torsten tags: trunk
11:04
- include copyright info from manual pages into the YAML metadata block
- put all code into the new namespace ::ndoc in order to avoid problems when sourcing the script from another Tcl script
- changed code so it can be either sourced (in which case you can use the new procedure `::ndoc::man2markdown`) or used in test-mode from the command line
- added documentation at the top of the script on how to call the script and the `::ndoc::man2markdown` procedure
- changed folder name of the man2markdown.tcl script from 'test-scripts' to 'scripts'
- removed 'output' folder and its content
- adapted old and outdated pandoc conversion script to still work with the updated document structure
check-in: 6f97e1d9ab user: Torsten tags: torsten
08:22
Newest torsten implmentation check-in: 1550b8c556 user: Shaun tags: shaun
2024-02-12
23:13
reintroduced § character to explicitly mark quoted text before parsing inline content in order to distinguish bewteen quoted text and a literal quote character check-in: aa946821d9 user: Torsten tags: torsten
22:13
Merge trunk into max, after update of docs check-in: a65c21dd1c user: Max tags: max
15:19
fixed error in processing of .QW when it has '{' of '}' in the quoted text; also got rid of the backslash gauarding '§' character that was introduced as helper by wring my own proper .QW parser check-in: 1ad1265723 user: Torsten tags: torsten
12:34
Fix wrong use of dash in YAML block check-in: 780f5ba9aa user: Torsten tags: torsten
2024-02-08
11:48
merge trunk check-in: ba0d32b600 user: Torsten tags: torsten
10:27
Copied latest doc from Tk trunk check-in: 658a611f9c user: stevel tags: trunk
10:25
Copied latest doc from Tcl trunk check-in: 1f12b49a84 user: stevel tags: trunk
2024-02-06
08:55
- rewrote the conversion from AST to Markdown to work with the new parser
- removed outdated code
- added some cleanup code to parsing inlines placing nroff at the word boundaries instead of including the space
- added support for attributes in paragraphs as Markdown fenced_divs
- removed KEYWORDS and SEE ALSO section from the AST and placed into metadata (Markdown YAML block)
-> next step is to implement the remaining nroff macros but basic conversion in now in place
check-in: bfb2d615bf user: Torsten tags: torsten
00:15
Added nexttcl folder with initial files, to generate new Tcl web site check-in: 5b4f7189bc user: Siqs tags: max
2024-02-05
23:39
Merged changes from trunk into my branch max check-in: 76a822fdcd user: Siqs tags: max
2023-12-11
21:53
man2markdown:
- change of AST specification and better documentation of the AST
- implemented the new nroff block parser (still some nroff macros missing)
- implemented the new nroff inline parser
check-in: 79f223aa4a user: Torsten tags: torsten
2023-12-06
07:55
- finished re-implementation of nroff block parser, inline parser still work
in progress
- added possibility to call an nroff file to be converted from the command
line
check-in: bc915a89a2 user: Torsten tags: torsten
2023-11-24
07:43
comit of changes missing in last commit with initial draft of a new nroff
parser engine
check-in: 6076b1e25d user: Torsten tags: torsten
2023-11-20
07:28
merge trunk check-in: 4bdbea7aa2 user: Torsten tags: torsten
07:27
added procedure to xref.tcl to convert the csv into a markdown-formatted
table where each macro is a column
check-in: a4b2c75b8d user: Torsten tags: trunk
07:20
beginning to re-implement the parsing procedures to allow nested markup (not
yet finished)
check-in: 55dc572b3e user: Torsten tags: torsten
2023-11-16
11:50
man2markdown commandline version argument, and remove old files and folders. check-in: dde55a1d1f user: Shaun tags: shaun
04:25
Removed duplicates from xref check-in: ea02b70406 user: stevel tags: trunk