Re: [O] exporting org-mode to latex gives unwanted \label on all sections

2017-07-04 Thread Rasmus
Sharon Kimble  writes:

> Nicolas Goaziou  writes:
>
>> Hello,
>>
>> Sharon Kimble  writes:
>>
>>> I have an org-mode document that I'm exporting to latex which works
>>> pretty well. But, there is one problem - for every title in all of the
>>> sections, org-mode export has put a label on even where I have none in
>>> my source file!
>>
>> It doesn't hurt, does it? Org uses them to resolve internal references.
>>
>> If you really need to, I guess you can write an headline filter so as to
>> remove them.
>>
> Thanks for replying Nicolas.
>
> Its not a major problem but its annoying when I've manually cleared all
> extraneous references put in by me accidentally, and then discover that
> org-mode is placing them during exporting. Because they don't appear in
> my org-mode document I'm unaware of them and can therefore not utilise
> them in new cross-references. They only appear in the generated latex
> file and not in the org-mode source document.

But you can refer to them.  E.g.:

** Disclaimer
:PROPERTIES:
:CUSTOM_ID: foo
:END:

See [[*Disclaimer]] or [[#foo]]


-- 
Er du tosset for noge' lårt!




Re: [O] exporting org-mode to latex gives unwanted \label on all sections

2017-07-03 Thread Sharon Kimble
Nicolas Goaziou  writes:

> Hello,
>
> Sharon Kimble  writes:
>
>> I have an org-mode document that I'm exporting to latex which works
>> pretty well. But, there is one problem - for every title in all of the
>> sections, org-mode export has put a label on even where I have none in
>> my source file!
>
> It doesn't hurt, does it? Org uses them to resolve internal references.
>
> If you really need to, I guess you can write an headline filter so as to
> remove them.
>
Thanks for replying Nicolas.

Its not a major problem but its annoying when I've manually cleared all
extraneous references put in by me accidentally, and then discover that
org-mode is placing them during exporting. Because they don't appear in
my org-mode document I'm unaware of them and can therefore not utilise
them in new cross-references. They only appear in the generated latex
file and not in the org-mode source document.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7


signature.asc
Description: PGP signature


Re: [O] exporting org-mode to latex gives unwanted \label on all sections

2017-07-03 Thread Nicolas Goaziou
Hello,

Sharon Kimble  writes:

> I have an org-mode document that I'm exporting to latex which works
> pretty well. But, there is one problem - for every title in all of the
> sections, org-mode export has put a label on even where I have none in
> my source file!

It doesn't hurt, does it? Org uses them to resolve internal references.

If you really need to, I guess you can write an headline filter so as to
remove them.

Regards,

-- 
Nicolas Goaziou