WIP: remove the text from a hypertarget
authorChristian Thaeter <ct@pipapo.org>
Tue, 17 Aug 2010 13:56:55 +0000 (15:56 +0200)
committerChristian Thaeter <ct@pipapo.org>
Tue, 17 Aug 2010 13:56:55 +0000 (15:56 +0200)
maybe we have to fix this later, in cases where the text is needed
but falling back to a default was bad for invisible anchors

doc/latex.conf

index e5b3a5e..53f442f 100644 (file)
@@ -271,7 +271,7 @@ $$passthrough=|
 !..backslash..!href!..braceleft..!{target}!..braceright..!!..braceleft..!{1={target}}!..braceright..!
 # anchor:id[text]
 [anchor-inlinemacro]
-!..backslash..!label!..braceleft..!{target}!..braceright..!!..backslash..!hypertarget!..braceleft..!{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
+!..backslash..!label!..braceleft..!{target}!..braceright..!!..backslash..!hypertarget!..braceleft..!{target}!..braceright..!!..braceleft..!!..braceright..!
 # [[id,text]]
 [anchor2-inlinemacro]
 !..backslash..!label!..braceleft..!{1}!..braceright..!!..backslash..!hypertarget!..braceleft..!{1}!..braceright..!!..braceleft..!{2={1}}!..braceright..!