Commit Graph

  • 2ba5156ee1 Add a global setting for link templates. Tom Alexander 2023-10-06 20:34:13 -04:00
  • ae3a6ff919 Turns out links can have templates. Tom Alexander 2023-10-06 20:18:01 -04:00
  • 4716e1ce5b Switch to using AsRef<str> to make compare_property_quoted_string generic. Tom Alexander 2023-10-06 19:49:06 -04:00
  • 89fcf6cb54 Restrict protocol links to org-link-parameters. Tom Alexander 2023-10-06 19:18:58 -04:00
  • f220fd63e5 Add org-link-parameters to the GlobalSettings. Tom Alexander 2023-10-06 19:14:11 -04:00
  • 7cf1f7b7bb Only orgify the link text if there are line breaks present. Tom Alexander 2023-10-06 19:05:56 -04:00
  • 135ca133ea Add tests for search option. Tom Alexander 2023-10-06 18:56:11 -04:00
  • d126488891 Handle orgifying text in regular link path and raw-link. Tom Alexander 2023-10-06 18:30:08 -04:00
  • 51748afd41 Compare pathreg. Tom Alexander 2023-10-06 17:28:26 -04:00
  • e84135985e Parse out the pathreg on regular links. Tom Alexander 2023-10-06 17:21:43 -04:00
  • 448902bb05 Add regular link tests for all the types. Tom Alexander 2023-10-06 16:51:25 -04:00
  • 65df18171a Add field list for regular link. Tom Alexander 2023-10-06 16:42:31 -04:00
  • e2bc58a469 Merge branch 'compare_fields_macro' Tom Alexander 2023-10-06 16:36:19 -04:00
  • fbe3c76ab7 Cleanup. Tom Alexander 2023-10-06 16:32:49 -04:00
  • 368c6a457e Wrap the parameter sets in parenthesis. Tom Alexander 2023-10-06 16:19:43 -04:00
  • c7dbe596b3 Switch to more generic implementation. Tom Alexander 2023-10-06 16:03:41 -04:00
  • 3da52a0826 Make a more generic version of compare_property_quoted_string. Tom Alexander 2023-10-06 14:07:25 -04:00
  • ae11e390d1 Add a default case for tokens which do not have any expected properties except for :standard-properties. Tom Alexander 2023-10-06 13:45:19 -04:00
  • 45dd38ac2d Assume :standard-properties is an expected field. Tom Alexander 2023-10-06 13:40:11 -04:00
  • 7af18e2312 Move the EmacsField enum since it has nothing to do with ElispFact. Tom Alexander 2023-10-06 13:32:39 -04:00
  • 1b603f3a05 Implement the comparison. Tom Alexander 2023-10-06 13:29:46 -04:00
  • d06e4de7b0 Starting a new macro for comparing fields. Tom Alexander 2023-10-06 13:08:15 -04:00
  • e686666ea0 Merge branch 'text_markup_properties' Tom Alexander 2023-10-06 12:32:05 -04:00
  • 672848d06a Compare the properties of text markup. Tom Alexander 2023-10-06 12:12:24 -04:00
  • 627c785e24 Merge branch 'latex_environment_properties' Tom Alexander 2023-10-06 12:02:29 -04:00
  • 758e224e6d Move consuming trailing element whitespace inside the parsers. Tom Alexander 2023-10-06 11:45:15 -04:00
  • f79606047e Compare value. Tom Alexander 2023-10-05 20:13:10 -04:00
  • dd3de67a8c Merge branch 'babel_call_properties' Tom Alexander 2023-10-05 20:07:30 -04:00
  • 823426a4f1 Cleanup. Tom Alexander 2023-10-05 20:04:52 -04:00
  • fa97124186 Handle nesting of brackets. Tom Alexander 2023-10-05 19:49:07 -04:00
  • 885fefd060 Implement generic function for balanced brackets text. Tom Alexander 2023-10-05 19:19:27 -04:00
  • efac73798f Add a test showing we need to count brackets. Tom Alexander 2023-10-05 18:42:20 -04:00
  • 68e392811e Parse the babel call. Tom Alexander 2023-10-05 16:32:40 -04:00
  • 343af41f78 Separate babel call out to its own parser. Tom Alexander 2023-10-05 16:27:36 -04:00
  • f49a1853ad Merge branch 'fixed_width_area_properties' Tom Alexander 2023-10-05 04:14:35 -04:00
  • 6bd8d9efd7 Cleanup. Tom Alexander 2023-10-05 03:59:24 -04:00
  • 18ad80e018 Compare value. Tom Alexander 2023-10-05 03:58:42 -04:00
  • 34a0858473 Merge branch 'diary_sexp' Tom Alexander 2023-10-05 03:58:19 -04:00
  • 4ba9d7439a Compare value. Tom Alexander 2023-10-05 03:46:14 -04:00
  • 6f0439bb6d Merge branch 'clock_properties' Tom Alexander 2023-10-05 03:41:02 -04:00
  • b478b6f5d7 Compare value, duration, and status. Tom Alexander 2023-10-05 03:19:17 -04:00
  • 02af3d0081 Merge branch 'lesser_block_properties' Tom Alexander 2023-10-05 02:37:58 -04:00
  • 40685f05cc Add a test for multiple names on a single element. Tom Alexander 2023-10-05 02:28:24 -04:00
  • e21701b97c Cleanup. Tom Alexander 2023-10-05 02:26:11 -04:00
  • ef8a6884fe Remove outdated TODO. Tom Alexander 2023-10-05 02:20:25 -04:00
  • ac7125d9b6 Only allow a single export type for export blocks. Tom Alexander 2023-10-05 02:17:53 -04:00
  • 58ca9569a6 Compare export type. Tom Alexander 2023-10-05 02:15:32 -04:00
  • 1da521b08a Compare value for export block. Tom Alexander 2023-10-05 02:06:26 -04:00
  • 386ad5091d End switches at the first unrecognized word in src blocks. Tom Alexander 2023-10-05 01:55:33 -04:00
  • 5f84cd974d Add test showing the first unrecognized word is the end of the switches for src blocks. Tom Alexander 2023-10-05 01:10:50 -04:00
  • d8ea450a46 Add TODOs for comparing caption to elems that can have affiliated keywords. Tom Alexander 2023-10-05 01:06:30 -04:00
  • 3742f4fa08 Remove double option. Tom Alexander 2023-10-05 00:53:11 -04:00
  • 11a7234900 Handle empty parameters with whitespace preceding. Tom Alexander 2023-10-05 00:49:15 -04:00
  • 50a3631b79 Handle whitespace after parameters in src blocks. Tom Alexander 2023-10-05 00:43:03 -04:00
  • da2d7535e8 Add synonyms for name. Tom Alexander 2023-10-05 00:17:06 -04:00
  • 1351577c5a Fix handling affiliated keywords before invalid paragraphs. Tom Alexander 2023-10-04 23:40:38 -04:00
  • 65eda08843 Re-work the element parser to handle affiliated keywords before elements that cannot have affiliated keywords. Tom Alexander 2023-10-04 22:47:13 -04:00
  • b82d4c0eca Fix finding name keyword in affiliated keywords list. Tom Alexander 2023-10-04 21:32:10 -04:00
  • 93fe46e4e7 Populate the name field on elements. Tom Alexander 2023-10-04 21:21:26 -04:00
  • 5b308ea76f Implement a function to read the name from the affiliated keywords. Tom Alexander 2023-10-04 21:12:06 -04:00
  • ab4a0c1224 Clean up. Tom Alexander 2023-10-04 21:05:20 -04:00
  • 786521ad4a Add affiliated keyword matching to the detect_* functions. Tom Alexander 2023-10-04 21:03:32 -04:00
  • d8102b7bc2 Move the affiliated keywords parser inside the specific element parsers. Tom Alexander 2023-10-04 20:01:09 -04:00
  • a26640355c Add check for name on paragraph. Tom Alexander 2023-10-04 19:56:39 -04:00
  • 057c8a1387 Compare name. Tom Alexander 2023-10-04 19:42:14 -04:00
  • 4fc81e983a Add tests for names for lesser blocks. Tom Alexander 2023-10-04 19:37:14 -04:00
  • 258e9485de Add tests for names and references in src and example blocks. Tom Alexander 2023-10-04 19:34:10 -04:00
  • 87ac18e6b2 Add real handling for preserve indent. Tom Alexander 2023-10-04 19:23:47 -04:00
  • e1e4ac75e4 Add a test for preserve indent. Tom Alexander 2023-10-04 19:04:35 -04:00
  • c877116540 Fix handling of spaces between language, switches, and parameters. Tom Alexander 2023-10-04 18:57:51 -04:00
  • 8e70773b15 Fix handling cases where only language is specified before parameters. Tom Alexander 2023-10-04 18:11:38 -04:00
  • f046b16c11 Compare src block parameters. Tom Alexander 2023-10-04 18:02:50 -04:00
  • 1ab7d2f2d7 Add a test showing we are not handling exports flags properly. Tom Alexander 2023-10-04 17:20:46 -04:00
  • a548c7e170 Exclude language from the switches property. Tom Alexander 2023-10-04 17:11:13 -04:00
  • b556f4617f Add src block properties. Tom Alexander 2023-10-04 16:58:45 -04:00
  • 13163f2468 Retain labels stays a boolean without -r. Tom Alexander 2023-10-04 16:21:37 -04:00
  • da5dcd4c1b Support multiple commas when escaping lines. Tom Alexander 2023-10-04 16:03:45 -04:00
  • d059afef07 Add a setting for coderef_label_format. Tom Alexander 2023-10-04 15:48:57 -04:00
  • bcade66e68 Retain labels is actually either a boolean or a number. Tom Alexander 2023-10-04 15:43:09 -04:00
  • 301a6db83e Fix retain labels. Tom Alexander 2023-10-04 15:20:57 -04:00
  • 32da06776c Handle matching no switches. Tom Alexander 2023-10-04 14:49:08 -04:00
  • 169bf69f5e Preserve the leading whitespace before an escape. Tom Alexander 2023-10-04 13:23:57 -04:00
  • 7ee48ff65c Switch to handling the unescaping during the initial parsing. Tom Alexander 2023-10-04 13:08:24 -04:00
  • afb43ff34f Switch to getting the contents with a function to handle the escaped lines. Tom Alexander 2023-10-04 12:59:57 -04:00
  • b56d847cfa Compare label format, retain labels, and use labels. Tom Alexander 2023-10-04 12:36:38 -04:00
  • 1503054994 Make an argument for the line number switch optional. Tom Alexander 2023-10-04 11:46:02 -04:00
  • 03028889bd Fix capturing trailing whitespace for switches. Tom Alexander 2023-10-04 11:34:01 -04:00
  • 317293f0f2 Extract the line number from the switches. Tom Alexander 2023-10-04 11:31:45 -04:00
  • 3d7f411cf9 Compare number lines for example blocks. Tom Alexander 2023-10-04 10:31:01 -04:00
  • 650cbc17db Compare switches for example block. Tom Alexander 2023-10-04 10:03:51 -04:00
  • 1d7770e590 Rename data to switches in example and src block. Tom Alexander 2023-10-04 09:55:00 -04:00
  • bf038db31c Add test showing trailing whitespace is captured in the switches. Tom Alexander 2023-10-04 09:53:33 -04:00
  • 4cdf88a632 Switches are not stored for comment blocks, but they are allowed to appear. Tom Alexander 2023-10-04 09:51:28 -04:00
  • 2eaef82fdb Organize lesser block tests into subfolders. Tom Alexander 2023-10-04 09:46:09 -04:00
  • 00dc7b636c Add more tests. Tom Alexander 2023-10-04 09:42:36 -04:00
  • e6c809ab03 Compare value for comment block. Tom Alexander 2023-10-04 09:35:19 -04:00
  • e673aa862e Publish version 0.1.9. v0.1.9 Tom Alexander 2023-10-03 00:18:00 -04:00
  • 3b6659c5fd Merge branch 'table_properties' Tom Alexander 2023-10-03 00:14:21 -04:00
  • 68a3f8b87e Fix table rule row detection. Tom Alexander 2023-10-03 00:13:15 -04:00
  • b1244de1dc Compare row type. Tom Alexander 2023-10-03 00:03:58 -04:00