2011-11-15 13 views
5

जैसे ऑर्ग-मोड फुटनोट से बचने के लिए मुझे एक ऑर्ग-मोड फ़ाइल में "[16]" मिला है जो टेक्स्ट है जिसे आप आईपीथॉन शैल में देखेंगे। मैं उस पाठ से कैसे बचूं ताकि यह एक ऑर्ग-मोड फुटनोट उत्पन्न न करे? यह एक उदाहरण ब्लॉक के अंदर ठीक है, लेकिन सामान्य पाठ में नहीं। पहली [16] परेशानी है और मैंने जो भी कोशिश की है, अब तक मैंने सीधे निर्यात नहीं किया है जब मैं फ़ाइल निर्यात करता हूं तो HTML आउटपुट में "सामान्य [16]"।टेक्स्ट

#+BEGIN_SRC python 
def setfrequency(): 
    print 'Setting frequency' 
    # Write code here to set the frequency 

setfrequency() 
#+END_SRC 

# This next line is the footnote problem 
Run it again and you should see this, but the command number [16] 
will be different for you: 

#+BEGIN_EXAMPLE 
In [16]: run sonar # This does not export as a footnote. 
Setting frequency 
#+END_EXAMPLE 

धन्यवाद!

उत्तर

4

आप = [1] = (कोड) या ~ [1] ~ (verbatim) ब्लॉक का उपयोग कर वाक्यविन्यास से बच सकते हैं। Emphasis and Monospace पर संगठन मैनुअल अनुभाग देखें।

* This will export the footnote style brackets verbatim 
    [1] by itself will fail 
    =[1]= and ~[1]~ will export as is. 

इस के लिए HTML निर्यात के संबंधित भाग

<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a> 
</sup> by itself will fail 
    <code>[1]</code> and <code>[1]</code> will export as is. 
</p> 

<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a> 
</sup> DEFINITION NOT FOUND: 1 
0

मैं इस तरह की कोशिश की है।

Run it again and you should see this, but the command number 
    #+latex: [16] 
    will be different for you: