user10246: I was reading this paper 
https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf
and I have the following question:
ScriptPubKey accompanies a transaction output and specifies under which conditions it can be claimed. ScriptSig accompanies a transaction input and is used to prove that the referenced output can be rightfully claimed.
So in page 2 the ScriptSig should be in Input TX and ScriptPubKey should be in output TX? Author says that scriptA is ScriptSig. 

user12990: I was confused by that too. Here's the picture with some more labels on it.


10246: <p>I was reading this paper 
<a href="https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf" rel="nofollow">https://web.archive.org/web/20140331191527/http://bitcoinhistory.net/Technical_Papers/ProgrammingBitcoinTransactionScripts.pdf</a>
and I have the following question:</p>

<p>ScriptPubKey accompanies a transaction output and specifies under which conditions it can be claimed. ScriptSig accompanies a transaction input and is used to prove that the referenced output can be rightfully claimed.</p>

<p>So in page 2 the ScriptSig should be in Input TX and ScriptPubKey should be in output TX? Author says that scriptA is ScriptSig. </p>
 12990: <p>I was confused by that too. Here's the picture with some more labels on it.</p>

<p><img src="https://i.stack.imgur.com/sdH6r.png" alt="labeled better"></p>
