emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/latex-table-wizard 583bf279a3 25/70: Typos fixed and re


From: ELPA Syncer
Subject: [elpa] externals/latex-table-wizard 583bf279a3 25/70: Typos fixed and readme expanded
Date: Sat, 13 May 2023 08:59:11 -0400 (EDT)

branch: externals/latex-table-wizard
commit 583bf279a327a9c852c59bae6f62487462c86b13
Author: Enrico Flor <nericoflor@gmail.com>
Commit: Enrico Flor <nericoflor@gmail.com>

    Typos fixed and readme expanded
---
 latex-table-wizard.el |  6 +++---
 readme.org            | 28 +++++++++++++++++++++++++++-
 2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/latex-table-wizard.el b/latex-table-wizard.el
index c514f5c827..34616bf20f 100644
--- a/latex-table-wizard.el
+++ b/latex-table-wizard.el
@@ -236,7 +236,7 @@ If NAME is nil, skip any LaTeX macro that point is looking 
at."
         (match-end 0)))))
 
 (cl-defsubst latex-table-wizard--disjoin (str-list &optional sep)
-  "Concatenate strings in STR-LIST with separtor SEP.
+  "Concatenate strings in STR-LIST with separator SEP.
 
 If SEP is nil, the separator used is \"\\\\|\""
   (let ((separator (or sep "\\|")))
@@ -337,7 +337,7 @@ argument."
     `(,beg ,end ,end-of-row)))
 
 (cl-defsubst latex-table-wizard--get-env-ends (table)
-  "Given TABLE, return beginning and end of the environemnt.
+  "Given TABLE, return beginning and end of the environment.
 
 TABLE is a list of cell plists.  The return type is a cons
 cell (B . E) with B and E being markers."
@@ -1228,7 +1228,7 @@ Only remove them in current buffer."
                  (goto-char))))
 
 (define-minor-mode latex-table-wizard-mode
-  "Minor mode for editing LaTeX table-like environemnts."
+  "Minor mode for editing LaTeX table-like environments."
   :init-value nil
   :global nil
   :lighter " ltw"
diff --git a/readme.org b/readme.org
index 978d6aad91..1d5d0b29cd 100644
--- a/readme.org
+++ b/readme.org
@@ -7,6 +7,8 @@
 #+MACRO: version 0.1.0
 #+MACRO: updated last updated 14 November 2022
 
+    
[[https://melpa.org/#/latex-table-wizard][file:https://melpa.org/packages/latex-table-wizard-badge.svg]]
+
 Copyright (C) 2022 Enrico Flor.
 
      Permission is granted to copy, distribute and/or modify this
@@ -49,7 +51,13 @@ as to how to specify additional syntaxes).
 Whenever we say "current" we mean "at point".
 
 ** Start editing
-Just call ~latex-table-wizard-do~ when point is inside of table-like 
environment.
+Just call ~latex-table-wizard-do~ when point is inside of table-like
+environment.
+
+This commands actually activates the non-global minor mode
+~latex-table-wizard-mode~.  If you intend to use this package's commands
+without the transient interface brought up by ~latex-table-wizard-do~,
+activate this minor mode to have the interactive functions loaded.
 ** Relative motion commands
 
 These commands move point N cells to the right, left, down, and up.  N
@@ -200,7 +208,25 @@ delimiters embedded in a cell.
 | ~latex-table-wizard-clean-whitespace~ | ~w~           |
 | ~latex-table-wizard-align~            | ~TAB~         |
 
+* Known issues
+
+** Empty cells in single-column tables
+This package handles empty cells (that is, cells without any text in
+them except perhaps comments) well.  The only exception is in tables
+with a single column.  The problem is that a buffer substring like
+~\\ \\~ is not parsed as a cell. This is normally not a problem, but if
+the table has only one column then that substring could be meant to be
+an empty or blank cell.
+
+A way to avoid this problem may be defining a LaTeX macro that does
+nothing, and use it in the cell you intend to be empty so that the
+parser sees some text.
+
+#+begin_src latex
+\newcommand{\blk}{}
+#+end_src
 
+So instead of ~\\ \\~ we will have ~\\ \blk{} \\~.
 * Customization
 ** Change keybindings
 To change the default keybindings, you need to provide a new



reply via email to

[Prev in Thread] Current Thread [Next in Thread]