A more accurate analogy is that if you avoid eating pork you must also avoid eating anything with gelatin made from pig bones, such as licorice, pudding, and some baking mixes.
Similarly many Jews disagree on the definition of work on the Sabbath. If a Jewish person took off on the Sabbath for religious reasons, is the the employers place to tell them they can't turn any lights on, or use the oven?
So only meat is banned and only when it's not "necessary" (which is really open to interpretation)
It's directly a 1-1 relationship even more than pork and gelatin.