emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Missing the second '}'
@ 2022-01-24 15:59 Sharon Kimble
  2022-01-24 16:46 ` Juan Manuel Macías
  2022-01-24 22:17 ` John Kitchin
  0 siblings, 2 replies; 4+ messages in thread
From: Sharon Kimble @ 2022-01-24 15:59 UTC (permalink / raw)
  To: emacs-orgmode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi folks.

In a document that I'm compiling I seem to have failed to close the '{'
and '}', and the second one isn't in the document. If I write '\label{}'
then it succeeds, but at a couple of places in the document this show
'\label{'.

How can I find where I've failed to close the brackets please, so that I
can then achieve normality please?

Thanks
    Sharon.    
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmHuzPAdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vLKA//Y298U9Rb+t+VYvhy
PepzASzFj+HDFbUUhnCouODx0fQbIxEZvi0EzRM6HgxUTTkgxOqy8puGI+XUJPdm
ncbWyVqqA7M5xjl/w9HMX08dwd/0pIRIUmODP2IDBO2HdwyOA8QNW2Nab6/+UlMU
leJh0263TCfpv54Dsjg1RDhNulHubKr5TNadHJDqy50dT87wSRJC2RdKFJ71ljQZ
4zlUzEwulvgRB+6KbxGdoEQJW61c3qM7NKz2OQSa8p3EKT/t0LZGF7ToJevZzarJ
cunE7dbnuDPGsmNVberc572xBrqgFH7iVW3zcYwTLc2JRDL4/2BFdH1UoGaAsjyk
9fpgYuqLP5dgJMwBmRCYtCsvKN4VFuyk8k4zYqJx19bJIxobKuYniZtVr5joFUfV
+jgr0ss+ZqLoQPanrrCOPycn0aVxteDVUdN+V37b1iVdDPQuanF/fkL7x59LV3pp
C1r5N9bX3X+5bBGaO4XF5p5UnUyg19luULdIONpC94MbsxWNmUF1XWZJvR2Oh/tj
YI5Ctw7POFITHo92TEny6kdpjtLag2+5INQajl6oQ19Lm+fmhu7/Vm4PSSm/Rybh
KatZgvdgBHd0veollwOqwGSvopNMYPPJ6s5uT5Sop8+gM6bc1guddqdApezVB0WD
i/fweF+vFfk7Ot14Kw8S3efgYm8=
=XMFk
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing the second '}'
  2022-01-24 15:59 Missing the second '}' Sharon Kimble
@ 2022-01-24 16:46 ` Juan Manuel Macías
  2022-01-24 22:17 ` John Kitchin
  1 sibling, 0 replies; 4+ messages in thread
From: Juan Manuel Macías @ 2022-01-24 16:46 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: orgmode

Hi Sharon,

Sharon Kimble writes:

> Hi folks.
>
> In a document that I'm compiling I seem to have failed to close the '{'
> and '}', and the second one isn't in the document. If I write '\label{}'
> then it succeeds, but at a couple of places in the document this show
> '\label{'.
>
> How can I find where I've failed to close the brackets please, so that I
> can then achieve normality please?

Is this an Org document that you are exporting to LaTeX? If there is a
compile error, you can usually see it at the end of the *Org PDF LaTeX
Output* buffer. If it is a badly closed command, it is usually a
"Runaway argument?" warning, and the compiler indicates the problematic
line, which you should look for in the *.tex document. Sometimes it's
not easy to find the problem. The fastest way is to compile the *.tex
document directly with LaTeX and review the log file. It also usually
works to raise the position of \end{document} in the document. There
will come a point where it stops giving errors, and then the problem
will be easily located in the paragraph after \end{document}.

Best regards,

Juan Manuel 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing the second '}'
  2022-01-24 15:59 Missing the second '}' Sharon Kimble
  2022-01-24 16:46 ` Juan Manuel Macías
@ 2022-01-24 22:17 ` John Kitchin
  2022-01-27 13:01   ` Sharon Kimble
  1 sibling, 1 reply; 4+ messages in thread
From: John Kitchin @ 2022-01-24 22:17 UTC (permalink / raw)
  To: Sharon Kimble; +Cc: org-mode-email

[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]

depending on the file, you may be able to use M-x check-parens. I say
depending on the file because it matters how the open/close marker syntax
is defined in the file.

Or go to the beginning, and run M-x forward-sexp repeatedly until you get
an error?

John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Mon, Jan 24, 2022 at 11:02 AM Sharon Kimble <boudiccas@skimble09.plus.com>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi folks.
>
> In a document that I'm compiling I seem to have failed to close the '{'
> and '}', and the second one isn't in the document. If I write '\label{}'
> then it succeeds, but at a couple of places in the document this show
> '\label{'.
>
> How can I find where I've failed to close the brackets please, so that I
> can then achieve normality please?
>
> Thanks
>     Sharon.
> - --
> A taste of linux = http://www.sharons.org.uk
> TGmeds = http://www.tgmeds.org.uk
> DrugFacts = https://www.drugfacts.org.uk
> Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
> -----BEGIN PGP SIGNATURE-----
>
> iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmHuzPAdHGJvdWRpY2Nh
> c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1vLKA//Y298U9Rb+t+VYvhy
> PepzASzFj+HDFbUUhnCouODx0fQbIxEZvi0EzRM6HgxUTTkgxOqy8puGI+XUJPdm
> ncbWyVqqA7M5xjl/w9HMX08dwd/0pIRIUmODP2IDBO2HdwyOA8QNW2Nab6/+UlMU
> leJh0263TCfpv54Dsjg1RDhNulHubKr5TNadHJDqy50dT87wSRJC2RdKFJ71ljQZ
> 4zlUzEwulvgRB+6KbxGdoEQJW61c3qM7NKz2OQSa8p3EKT/t0LZGF7ToJevZzarJ
> cunE7dbnuDPGsmNVberc572xBrqgFH7iVW3zcYwTLc2JRDL4/2BFdH1UoGaAsjyk
> 9fpgYuqLP5dgJMwBmRCYtCsvKN4VFuyk8k4zYqJx19bJIxobKuYniZtVr5joFUfV
> +jgr0ss+ZqLoQPanrrCOPycn0aVxteDVUdN+V37b1iVdDPQuanF/fkL7x59LV3pp
> C1r5N9bX3X+5bBGaO4XF5p5UnUyg19luULdIONpC94MbsxWNmUF1XWZJvR2Oh/tj
> YI5Ctw7POFITHo92TEny6kdpjtLag2+5INQajl6oQ19Lm+fmhu7/Vm4PSSm/Rybh
> KatZgvdgBHd0veollwOqwGSvopNMYPPJ6s5uT5Sop8+gM6bc1guddqdApezVB0WD
> i/fweF+vFfk7Ot14Kw8S3efgYm8=
> =XMFk
> -----END PGP SIGNATURE-----
>
>

[-- Attachment #2: Type: text/html, Size: 3118 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Missing the second '}'
  2022-01-24 22:17 ` John Kitchin
@ 2022-01-27 13:01   ` Sharon Kimble
  0 siblings, 0 replies; 4+ messages in thread
From: Sharon Kimble @ 2022-01-27 13:01 UTC (permalink / raw)
  To: John Kitchin; +Cc: org-mode-email

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> John Kitchin <jkitchin@andrew.cmu.edu> writes:

> depending on the file, you may be able to use M-x check-parens. I say depending on the file because it matters how the open/close
> marker syntax is defined in the file.

I was able to use M-x check-parens on 3 passes to finally get the
document working properly again. Thanks very much for it.

Thanks
    Sharon.    
    
> Or go to the beginning, and run M-x forward-sexp repeatedly until you get an error?
>
> John
>
> -----------------------------------
> Professor John Kitchin (he/him/his)
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
> On Mon, Jan 24, 2022 at 11:02 AM Sharon Kimble <boudiccas@skimble09.plus.com> wrote:
>
>  -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA512
>
>  Hi folks.
>
>  In a document that I'm compiling I seem to have failed to close the '{'
>  and '}', and the second one isn't in the document. If I write '\label{}'
>  then it succeeds, but at a couple of places in the document this show
>  '\label{'.
>
>  How can I find where I've failed to close the brackets please, so that I
>  can then achieve normality please?
>
>  Thanks
>      Sharon.    
>  - -- 
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 11, fluxbox 1.3.7, emacs 29.0.50, org 9.5.2
-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmHyl6MdHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1tzHQ//fxGDBMWFHO7VTjr6
V6MoU4viVZgoM+cYIKmEmrPqsmIRyisjTkthvgSdme7fE34fnVstIsiXzEvnrc5C
Si+OcbrX/MjSytOfpRcYD1yBZY50MnNy6MyUtWridnGFiU3NfRlwVrkMV3IUPIvr
6fGD/gNkttvThxJzY578mTYNk2VylbyJJmZh2ys7ZwP9/F1E8RSrerO4cFg8/Fw/
KbjqxjazMxkBwIBCottIAyBVucUlbleyNReMzYHzI/OGLn/b0AEgEuDmrH08P8At
IJ2ofIgYz1AdACxL3M3+VZ1vUqNQ+mRIdoxUJ6wS30VMhwL7J8eT8CwW5M6EetAv
pyHxfb9n+wH7KAWKP7lzs+B09eZytETB7W4w6SeN3iU09DWgm6w6Dcu/9bVeqb/m
ie8lS1nO69Cwqgvky9Q1jPv6//J3bJ7khwN4y6Ct9loAEc24Ua6H92cPGWwMAzsa
rEy22KKjkJ1KgRxwtR21xU+IQ3O0Z3OkM+lWESzq5K1I3U40L9iMi5hcU1EQM4cS
gz/HVDemQC7/lWlAS0bIw5WQ4mzrXEiVwkCGpvOJbEr1R7ynmwnivu67Q5dFYKaF
3O1XcDlJLYuZykl0RovhafusLkBT/UUKV3CqkM7gayOeOzpU48IRKdpztDGlU9E0
NE67AP6KkkFiJlZebitmHEBV0hQ=
=Af6r
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-27 13:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 15:59 Missing the second '}' Sharon Kimble
2022-01-24 16:46 ` Juan Manuel Macías
2022-01-24 22:17 ` John Kitchin
2022-01-27 13:01   ` Sharon Kimble

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).